diff --git a/node_modules/aws-sdk/.jshintrc b/node_modules/aws-sdk/.jshintrc
new file mode 100644
index 0000000000000000000000000000000000000000..89fbbba59ca28ade8e185f06452af2aad828d88a
--- /dev/null
+++ b/node_modules/aws-sdk/.jshintrc
@@ -0,0 +1,68 @@
+{
+ // JSHint Default Configuration File (as on JSHint website)
+ // See http://jshint.com/docs/ for more details
+
+ "maxerr" : 50, // {int} Maximum error before stopping
+
+ // Enforcing
+ "bitwise" : false, // true: Prohibit bitwise operators (&, |, ^, etc.)
+ "camelcase" : false, // true: Identifiers must be in camelCase
+ "curly" : false, // true: Require {} for every new block or scope
+ "eqeqeq" : true, // true: Require triple equals (===) for comparison
+ "forin" : true, // true: Require filtering for..in loops with obj.hasOwnProperty()
+ "immed" : false, // true: Require immediate invocations to be wrapped in parens e.g. `(function () { } ());`
+ "indent" : false, // {int} Number of spaces to use for indentation
+ "latedef" : false, // true: Require variables/functions to be defined before being used
+ "newcap" : false, // true: Require capitalization of all constructor functions e.g. `new F()`
+ "noarg" : true, // true: Prohibit use of `arguments.caller` and `arguments.callee`
+ "noempty" : true, // true: Prohibit use of empty blocks
+ "nonew" : false, // true: Prohibit use of constructors for side-effects (without assignment)
+ "plusplus" : false, // true: Prohibit use of `++` & `--`
+ "quotmark" : "single", // Quotation mark consistency:
+ // false : do nothing (default)
+ // true : ensure whatever is used is consistent
+ // "single" : require single quotes
+ // "double" : require double quotes
+ "undef" : true, // true: Require all non-global variables to be declared (prevents global leaks)
+ "unused" : true, // true: Require all defined variables be used
+ "strict" : false, // true: Requires all functions run in ES5 Strict Mode
+ "maxparams" : false, // {int} Max number of formal params allowed per function
+ "maxdepth" : false, // {int} Max depth of nested blocks (within functions)
+ "maxstatements" : false, // {int} Max number statements per function
+ "maxcomplexity" : false, // {int} Max cyclomatic complexity per function
+ "maxlen" : false, // {int} Max number of characters per line
+
+ // Relaxing
+ "asi" : false, // true: Tolerate Automatic Semicolon Insertion (no semicolons)
+ "boss" : false, // true: Tolerate assignments where comparisons would be expected
+ "debug" : false, // true: Allow debugger statements e.g. browser breakpoints.
+ "eqnull" : false, // true: Tolerate use of `== null`
+ "es5" : false, // true: Allow ES5 syntax (ex: getters and setters)
+ "esnext" : false, // true: Allow ES.next (ES6) syntax (ex: `const`)
+ "moz" : false, // true: Allow Mozilla specific syntax (extends and overrides esnext features)
+ // (ex: `for each`, multiple try/catch, function expression…)
+ "evil" : false, // true: Tolerate use of `eval` and `new Function()`
+ "expr" : false, // true: Tolerate `ExpressionStatement` as Programs
+ "funcscope" : false, // true: Tolerate defining variables inside control statements
+ "globalstrict" : false, // true: Allow global "use strict" (also enables 'strict')
+ "iterator" : false, // true: Tolerate using the `__iterator__` property
+ "lastsemic" : false, // true: Tolerate omitting a semicolon for the last statement of a 1-line block
+ "laxbreak" : false, // true: Tolerate possibly unsafe line breakings
+ "laxcomma" : false, // true: Tolerate comma-first style coding
+ "loopfunc" : false, // true: Tolerate functions being defined in loops
+ "multistr" : false, // true: Tolerate multi-line strings
+ "proto" : false, // true: Tolerate using the `__proto__` property
+ "scripturl" : false, // true: Tolerate script-targeted URLs
+ "shadow" : false, // true: Allows re-define variables later in code e.g. `var x=1; x=2;`
+ "sub" : true, // true: Tolerate using `[]` notation when it can still be expressed in dot notation
+ "supernew" : false, // true: Tolerate `new function () { ... };` and `new Object;`
+ "validthis" : false, // true: Tolerate using this in a non-constructor function
+
+ // Environments
+ "browser" : true, // Web Browser (window, document, etc)
+ "node" : true, // Node.js
+ "nonstandard" : true, // Widely adopted globals (escape, unescape, etc)
+
+ // Custom Globals
+ "globals" : {} // additional predefined global variables
+}
diff --git a/node_modules/aws-sdk/.npmignore b/node_modules/aws-sdk/.npmignore
new file mode 100644
index 0000000000000000000000000000000000000000..3d4358cb5a3e11da640a726251b0960bf1ecc21e
--- /dev/null
+++ b/node_modules/aws-sdk/.npmignore
@@ -0,0 +1,18 @@
+.yard*
+.eslintrc
+.travis.yml
+.gitignore
+apis/*.normal.json
+configuration
+configuration.sample
+coverage
+doc
+doc-src
+eslint-rules
+Gemfile
+Gemfile.lock
+features
+Rakefile
+test
+tasks
+vendor
diff --git a/node_modules/aws-sdk/CONTRIBUTING.md b/node_modules/aws-sdk/CONTRIBUTING.md
new file mode 100644
index 0000000000000000000000000000000000000000..79cbc7ee694718e3b24404053d23fff42d37618f
--- /dev/null
+++ b/node_modules/aws-sdk/CONTRIBUTING.md
@@ -0,0 +1,84 @@
+# Contributing to the AWS SDK for JavaScript
+
+We work hard to provide a high-quality and useful SDK, and we greatly value
+feedback and contributions from our community. Whether it's a bug report,
+new feature, correction, or additional documentation, we welcome your issues
+and pull requests. Please read through this document before submitting any
+issues or pull requests to ensure we have all the necessary information to
+effectively respond to your bug report or contribution.
+
+
+## Filing Bug Reports
+
+You can file bug reports against the SDK on the [GitHub issues][issues] page.
+
+If you are filing a report for a bug or regression in the SDK, it's extremely
+helpful to provide as much information as possible when opening the original
+issue. This helps us reproduce and investigate the possible bug without having
+to wait for this extra information to be provided. Please read the following
+guidelines prior to filing a bug report.
+
+1. Search through existing [issues][] to ensure that your specific issue has
+ not yet been reported. If it is a common issue, it is likely there is
+ already a bug report for your problem.
+
+2. Ensure that you have tested the latest version of the SDK. Although you
+ may have an issue against an older version of the SDK, we cannot provide
+ bug fixes for old versions. It's also possible that the bug may have been
+ fixed in the latest release.
+
+3. Provide as much information about your environment, SDK version, and
+ relevant dependencies as possible. For example, let us know what version
+ of Node.js you are using, or if it's a browser issue, which browser you
+ are using. If the issue only occurs with a specific dependency loaded,
+ please provide that dependency name and version.
+
+4. Provide a minimal test case that reproduces your issue or any error
+ information you related to your problem. We can provide feedback much
+ more quickly if we know what operations you are calling in the SDK. If
+ you cannot provide a full test case, provide as much code as you can
+ to help us diagnose the problem. Any relevant information should be provided
+ as well, like whether this is a persistent issue, or if it only occurs
+ some of the time.
+
+
+## Submitting Pull Requests
+
+We are always happy to receive code and documentation contributions to the SDK.
+Please be aware of the following notes prior to opening a pull request:
+
+1. The SDK is released under the [Apache license][license]. Any code you submit
+ will be released under that license. For substantial contributions, we may
+ ask you to sign a [Contributor License Agreement (CLA)][cla].
+
+2. If you would like to implement support for a significant feature that is not
+ yet available in the SDK, please talk to us beforehand to avoid any
+ duplication of effort.
+
+### Testing
+
+To run the tests locally, install `phantomjs`. You can do so using [Homebrew][homebrew]:
+
+```
+brew install phantomjs
+```
+
+Then, to run all tests:
+
+```
+npm test
+```
+
+To run a particular test subset e.g. just the unit tests:
+
+```
+npm run-script unit
+```
+
+See the implementation of the `test` script in `package.json` for more options.
+
+[issues]: https://github.com/aws/aws-sdk-js/issues
+[pr]: https://github.com/aws/aws-sdk-js/pulls
+[license]: http://aws.amazon.com/apache2.0/
+[cla]: http://en.wikipedia.org/wiki/Contributor_License_Agreement
+[homebrew]: http://brew.sh/
diff --git a/node_modules/aws-sdk/LICENSE.txt b/node_modules/aws-sdk/LICENSE.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d645695673349e3947e8e5ae42332d0ac3164cd7
--- /dev/null
+++ b/node_modules/aws-sdk/LICENSE.txt
@@ -0,0 +1,202 @@
+
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "[]"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright [yyyy] [name of copyright owner]
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
diff --git a/node_modules/aws-sdk/NOTICE.txt b/node_modules/aws-sdk/NOTICE.txt
new file mode 100644
index 0000000000000000000000000000000000000000..54cd045206dc597f407ed88285a381aa6bf382f1
--- /dev/null
+++ b/node_modules/aws-sdk/NOTICE.txt
@@ -0,0 +1,5 @@
+AWS SDK for JavaScript
+Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+
+This product includes software developed at
+Amazon Web Services, Inc. (http://aws.amazon.com/).
diff --git a/node_modules/aws-sdk/README.md b/node_modules/aws-sdk/README.md
new file mode 100644
index 0000000000000000000000000000000000000000..c69f7a71e6a7e69a8f377802782277ac09e101ab
--- /dev/null
+++ b/node_modules/aws-sdk/README.md
@@ -0,0 +1,132 @@
+# AWS SDK for JavaScript
+
+[](https://nodei.co/npm/aws-sdk/)
+
+[](https://gitter.im/aws/aws-sdk-js)
+
+[](http://badge.fury.io/js/aws-sdk) [](https://travis-ci.org/aws/aws-sdk-js) [](https://coveralls.io/r/aws/aws-sdk-js?branch=master)
+
+The official AWS SDK for JavaScript, available for browsers and mobile devices,
+or Node.js backends
+
+Release notes can be found at http://aws.amazon.com/releasenotes/SDK/JavaScript
+
+
+If you are upgrading from 1.x to 2.0 of the SDK, please see
+the {file:UPGRADING.md} notes for information on how to migrate existing code
+to work with the new major version.
+
+
+## Installing
+
+### In the Browser
+
+To use the SDK in the browser, simply add the following script tag to your
+HTML pages:
+
+
+
+You can also build a custom browser SDK with your specified set of AWS services.
+This can allow you to reduce the SDK's size, specify different API versions of
+services, or use AWS services that don't currently support CORS if you are
+working in an environment that does not enforce CORS. To get started:
+
+http://docs.aws.amazon.com/AWSJavaScriptSDK/guide/browser-building.html
+
+The AWS SDK is also compatible with [browserify](http://browserify.org).
+
+### In Node.js
+
+The preferred way to install the AWS SDK for Node.js is to use the
+[npm](http://npmjs.org) package manager for Node.js. Simply type the following
+into a terminal window:
+
+```sh
+npm install aws-sdk
+```
+
+### Using Bower
+
+You can also use [Bower](http://bower.io) to install the SDK by typing the
+following into a terminal window:
+
+```sh
+bower install aws-sdk-js
+```
+
+## Usage and Getting Started
+
+You can find a getting started guide at:
+
+http://docs.aws.amazon.com/AWSJavaScriptSDK/guide/
+
+## Supported Services
+
+Note :
+Although all services are supported in the browser version of the SDK,
+not all of the services are available in the default hosted build (using the
+script tag provided above). A list of services in the hosted build are provided
+in the "Working With Services "
+section of the browser SDK guide, including instructions on how to build a
+custom version of the SDK with extra services.
+
+
+The SDK currently supports the following services:
+
+
+
+ Service Name
+ Class Name
+ API Version
+
+
+ Amazon CloudFront AWS.CloudFront 2014-10-21
+ Amazon CloudSearch AWS.CloudSearch 2013-01-01
+ Amazon CloudSearch Domain AWS.CloudSearchDomain 2013-01-01
+ Amazon CloudWatch AWS.CloudWatch 2010-08-01
+ Amazon CloudWatch Logs AWS.CloudWatchLogs 2014-03-28
+ Amazon Cognito Identity AWS.CognitoIdentity 2014-06-30
+ Amazon Cognito Sync AWS.CognitoSync 2014-06-30
+ Amazon DynamoDB AWS.DynamoDB 2012-08-10
+ Amazon EC2 Container Service AWS.ECS 2014-11-13
+ Amazon Elastic Compute Cloud AWS.EC2 2014-10-01
+ Amazon Elastic MapReduce AWS.EMR 2009-03-31
+ Amazon Elastic Transcoder AWS.ElasticTranscoder 2012-09-25
+ Amazon ElastiCache AWS.ElastiCache 2014-09-30
+ Amazon Glacier AWS.Glacier 2012-06-01
+ Amazon Kinesis AWS.Kinesis 2013-12-02
+ Amazon Redshift AWS.Redshift 2012-12-01
+ Amazon Relational Database Service AWS.RDS 2014-09-01
+ Amazon Route 53 AWS.Route53 2013-04-01
+ Amazon Route 53 Domains AWS.Route53Domains 2014-05-15
+ Amazon Simple Email Service AWS.SES 2010-12-01
+ Amazon Simple Notification Service AWS.SNS 2010-03-31
+ Amazon Simple Queue Service AWS.SQS 2012-11-05
+ Amazon Simple Storage Service AWS.S3 2006-03-01
+ Amazon Simple Workflow Service AWS.SWF 2012-01-25
+ Amazon SimpleDB AWS.SimpleDB 2009-04-15
+ Auto Scaling AWS.AutoScaling 2011-01-01
+ AWS CloudFormation AWS.CloudFormation 2010-05-15
+ AWS CloudTrail AWS.CloudTrail 2013-11-01
+ AWS CodeDeploy AWS.CodeDeploy 2014-10-06
+ AWS Config AWS.ConfigService 2014-11-12
+ AWS Data Pipeline AWS.DataPipeline 2012-10-29
+ AWS Direct Connect AWS.DirectConnect 2012-10-25
+ AWS Elastic Beanstalk AWS.ElasticBeanstalk 2010-12-01
+ AWS Identity and Access Management AWS.IAM 2010-05-08
+ AWS Import/Export AWS.ImportExport 2010-06-01
+ AWS Key Management Service AWS.KMS 2014-11-01
+ AWS Lambda AWS.Lambda 2014-11-11
+ AWS OpsWorks AWS.OpsWorks 2013-02-18
+ AWS Security Token Service AWS.STS 2011-06-15
+ AWS Storage Gateway AWS.StorageGateway 2013-06-30
+ AWS Support AWS.Support 2013-04-15
+ Elastic Load Balancing AWS.ELB 2012-06-01
+
+
+
+## License
+
+This SDK is distributed under the
+[Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0),
+see LICENSE.txt and NOTICE.txt for more information.
diff --git a/node_modules/aws-sdk/UPGRADING.md b/node_modules/aws-sdk/UPGRADING.md
new file mode 100644
index 0000000000000000000000000000000000000000..f67fd91492d5ca164fd130341ef1b83fcb30a51e
--- /dev/null
+++ b/node_modules/aws-sdk/UPGRADING.md
@@ -0,0 +1,157 @@
+# @!title Upgrading Notes (1.x to 2.0)
+
+# Upgrading Notes (1.x to 2.0)
+
+This document captures breaking changes from 1.x versions to the first
+stable 2.x (non-RC) release of the AWS SDK for JavaScript.
+
+## 1. Automatic Conversion of Base64 and Timestamp Types on Input/Output
+
+The SDK will now automatically encode and decode base64-encoded values, as well
+as timestamp values, on the user's behalf. This change affects any operation
+where Base64 or Timestamp values were sent by a request or returned in a
+response, i.e., `AWS.DynamoDB` and `AWS.SQS`, which allow for Base64
+encoded values.
+
+User code that previously did base64 conversion no longer requires this.
+Furthermore, values encoded as base64 are now returned as Buffer objects
+from server responses (and can also be passed as Buffer input). For
+example, the following 1.x `SQS.sendMessage()` parameters:
+
+```javascript
+var params = {
+ MessageBody: 'Some Message',
+ MessageAttributes: {
+ attrName: {
+ DataType: 'Binary',
+ BinaryValue: new Buffer('example text').toString('base64')
+ }
+ }
+};
+```
+
+Can be rewritten as:
+
+```javascript
+var params = {
+ MessageBody: 'Some Message',
+ MessageAttributes: {
+ attrName: {
+ DataType: 'Binary',
+ BinaryValue: 'example text'
+ }
+ }
+};
+```
+
+And the message will be read as:
+
+```javascript
+sqs.receiveMessage(params, function(err, data) {
+ // buf is
+ var buf = data.Messages[0].MessageAttributes.attrName.BinaryValue;
+ console.log(buf.toString()); // "example text"
+});
+```
+
+## 2. Moved response.data.RequestId to response.requestId
+
+The SDK now stores request IDs for all services in a consistent place on the
+response object, rather than inside the response.data property. This is to
+improve consistency across services that expose request IDs in different ways.
+Note that this is also a breaking change that renames the
+`response.data.RequestId` property to `response.requestId`
+(or `this.requestId` inside of a callback).
+
+To migrate your code, change:
+
+```javascript
+svc.operation(params, function (err, data) {
+ console.log('Request ID:', data.RequestId);
+});
+```
+
+To the following:
+
+```javascript
+svc.operation(params, function () {
+ console.log('Request ID:', this.requestId);
+});
+```
+
+## 3. Exposed Wrapper Elements
+
+If you use {AWS.ElastiCache}, {AWS.RDS}, or {AWS.Redshift}, you must now access
+the response through the top-level output property in the response for certain
+operations. This change corrects the SDK to behave according to documentation
+output, which was previously listing this wrapper element.
+
+Example:
+
+`RDS.describeEngineDefaultParameters()` used to return:
+
+```javascript
+{ Parameters: [ ... ] }
+```
+
+This operation now returns:
+
+```javascript
+{ EngineDefaults: { Parameters: [ ... ] } }
+```
+
+The full list of affected operations for each service are:
+
+**AWS.ElastiCache**: authorizeCacheSecurityGroupIngress, createCacheCluster,
+createCacheParameterGroup, createCacheSecurityGroup, createCacheSubnetGroup,
+createReplicationGroup, deleteCacheCluster, deleteReplicationGroup,
+describeEngineDefaultParameters, modifyCacheCluster, modifyCacheSubnetGroup,
+modifyReplicationGroup, purchaseReservedCacheNodesOffering, rebootCacheCluster,
+revokeCacheSecurityGroupIngress
+
+**AWS.RDS**: addSourceIdentifierToSubscription, authorizeDBSecurityGroupIngress,
+copyDBSnapshot, createDBInstance, createDBInstanceReadReplica,
+createDBParameterGroup, createDBSecurityGroup, createDBSnapshot,
+createDBSubnetGroup, createEventSubscription, createOptionGroup,
+deleteDBInstance, deleteDBSnapshot, deleteEventSubscription,
+describeEngineDefaultParameters, modifyDBInstance, modifyDBSubnetGroup,
+modifyEventSubscription, modifyOptionGroup, promoteReadReplica,
+purchaseReservedDBInstancesOffering, rebootDBInstance,
+removeSourceIdentifierFromSubscription, restoreDBInstanceFromDBSnapshot,
+restoreDBInstanceToPointInTime, revokeDBSecurityGroupIngress
+
+**AWS.Redshift**: authorizeClusterSecurityGroupIngress, authorizeSnapshotAccess,
+copyClusterSnapshot, createCluster, createClusterParameterGroup,
+createClusterSecurityGroup, createClusterSnapshot, createClusterSubnetGroup,
+createEventSubscription, createHsmClientCertificate, createHsmConfiguration,
+deleteCluster, deleteClusterSnapshot, describeDefaultClusterParameters,
+disableSnapshotCopy, enableSnapshotCopy, modifyCluster,
+modifyClusterSubnetGroup, modifyEventSubscription,
+modifySnapshotCopyRetentionPeriod, purchaseReservedNodeOffering, rebootCluster,
+restoreFromClusterSnapshot, revokeClusterSecurityGroupIngress,
+revokeSnapshotAccess, rotateEncryptionKey
+
+## 4. Dropped `.Client` and `.client` Properties
+
+The `.Client` and `.client` properties have been removed from Service objects.
+If you are using the `.Client` property on a Service class or a `.client`
+property on an instance of the service, remove these properties from your code.
+
+Upgrading example:
+
+The following 1.x code:
+
+```
+var sts = new AWS.STS.Client();
+// or
+var sts = new AWS.STS();
+
+sts.client.operation(...);
+```
+
+Should be changed to the following:
+
+```
+var sts = new AWS.STS();
+sts.operation(...)
+```
diff --git a/node_modules/aws-sdk/apis/acm-2015-12-08.min.json b/node_modules/aws-sdk/apis/acm-2015-12-08.min.json
new file mode 100644
index 0000000000000000000000000000000000000000..c0157634da63c9d558dd1a971f36f976ea9a4343
--- /dev/null
+++ b/node_modules/aws-sdk/apis/acm-2015-12-08.min.json
@@ -0,0 +1,200 @@
+{
+ "version": "2.0",
+ "metadata": {
+ "apiVersion": "2015-12-08",
+ "endpointPrefix": "acm",
+ "jsonVersion": "1.1",
+ "protocol": "json",
+ "serviceAbbreviation": "ACM",
+ "serviceFullName": "AWS Certificate Manager",
+ "signatureVersion": "v4",
+ "targetPrefix": "CertificateManager"
+ },
+ "operations": {
+ "DeleteCertificate": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "CertificateArn"
+ ],
+ "members": {
+ "CertificateArn": {}
+ }
+ }
+ },
+ "DescribeCertificate": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "CertificateArn"
+ ],
+ "members": {
+ "CertificateArn": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Certificate": {
+ "type": "structure",
+ "members": {
+ "CertificateArn": {},
+ "DomainName": {},
+ "SubjectAlternativeNames": {
+ "shape": "S7"
+ },
+ "DomainValidationOptions": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "DomainName"
+ ],
+ "members": {
+ "DomainName": {},
+ "ValidationEmails": {
+ "type": "list",
+ "member": {}
+ },
+ "ValidationDomain": {}
+ }
+ }
+ },
+ "Serial": {},
+ "Subject": {},
+ "Issuer": {},
+ "CreatedAt": {
+ "type": "timestamp"
+ },
+ "IssuedAt": {
+ "type": "timestamp"
+ },
+ "Status": {},
+ "RevokedAt": {
+ "type": "timestamp"
+ },
+ "RevocationReason": {},
+ "NotBefore": {
+ "type": "timestamp"
+ },
+ "NotAfter": {
+ "type": "timestamp"
+ },
+ "KeyAlgorithm": {},
+ "SignatureAlgorithm": {},
+ "InUseBy": {
+ "type": "list",
+ "member": {}
+ }
+ }
+ }
+ }
+ }
+ },
+ "GetCertificate": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "CertificateArn"
+ ],
+ "members": {
+ "CertificateArn": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Certificate": {},
+ "CertificateChain": {}
+ }
+ }
+ },
+ "ListCertificates": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "CertificateStatuses": {
+ "type": "list",
+ "member": {}
+ },
+ "NextToken": {},
+ "MaxItems": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "NextToken": {},
+ "CertificateSummaryList": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "CertificateArn": {},
+ "DomainName": {}
+ }
+ }
+ }
+ }
+ }
+ },
+ "RequestCertificate": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DomainName"
+ ],
+ "members": {
+ "DomainName": {},
+ "SubjectAlternativeNames": {
+ "shape": "S7"
+ },
+ "IdempotencyToken": {},
+ "DomainValidationOptions": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "DomainName",
+ "ValidationDomain"
+ ],
+ "members": {
+ "DomainName": {},
+ "ValidationDomain": {}
+ }
+ }
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "CertificateArn": {}
+ }
+ }
+ },
+ "ResendValidationEmail": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "CertificateArn",
+ "Domain",
+ "ValidationDomain"
+ ],
+ "members": {
+ "CertificateArn": {},
+ "Domain": {},
+ "ValidationDomain": {}
+ }
+ }
+ }
+ },
+ "shapes": {
+ "S7": {
+ "type": "list",
+ "member": {}
+ }
+ }
+}
\ No newline at end of file
diff --git a/node_modules/aws-sdk/apis/acm-2015-12-08.paginators.json b/node_modules/aws-sdk/apis/acm-2015-12-08.paginators.json
new file mode 100644
index 0000000000000000000000000000000000000000..036e3584935bb9c3306eb10e38a6434af6dd89d2
--- /dev/null
+++ b/node_modules/aws-sdk/apis/acm-2015-12-08.paginators.json
@@ -0,0 +1,10 @@
+{
+ "pagination": {
+ "ListCertificates": {
+ "limit_key": "MaxItems",
+ "input_token": "NextToken",
+ "output_token": "NextToken",
+ "result_key": "CertificateSummaryList"
+ }
+ }
+}
diff --git a/node_modules/aws-sdk/apis/apigateway-2015-07-09.min.json b/node_modules/aws-sdk/apis/apigateway-2015-07-09.min.json
new file mode 100644
index 0000000000000000000000000000000000000000..989f2a3d2d1cd4affa5e0b951a2d923e5707614d
--- /dev/null
+++ b/node_modules/aws-sdk/apis/apigateway-2015-07-09.min.json
@@ -0,0 +1,2605 @@
+{
+ "version": "2.0",
+ "metadata": {
+ "apiVersion": "2015-07-09",
+ "endpointPrefix": "apigateway",
+ "protocol": "rest-json",
+ "serviceFullName": "Amazon API Gateway",
+ "signatureVersion": "v4"
+ },
+ "operations": {
+ "CreateApiKey": {
+ "http": {
+ "requestUri": "/apikeys",
+ "responseCode": 201
+ },
+ "input": {
+ "type": "structure",
+ "members": {
+ "name": {},
+ "description": {},
+ "enabled": {
+ "type": "boolean"
+ },
+ "stageKeys": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "restApiId": {},
+ "stageName": {}
+ }
+ }
+ }
+ }
+ },
+ "output": {
+ "shape": "S6"
+ }
+ },
+ "CreateAuthorizer": {
+ "http": {
+ "requestUri": "/restapis/{restapi_id}/authorizers",
+ "responseCode": 201
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "restApiId",
+ "name",
+ "type",
+ "authorizerUri",
+ "identitySource"
+ ],
+ "members": {
+ "restApiId": {
+ "location": "uri",
+ "locationName": "restapi_id"
+ },
+ "name": {},
+ "type": {},
+ "authorizerUri": {},
+ "authorizerCredentials": {},
+ "identitySource": {},
+ "identityValidationExpression": {},
+ "authorizerResultTtlInSeconds": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "shape": "Sc"
+ }
+ },
+ "CreateBasePathMapping": {
+ "http": {
+ "requestUri": "/domainnames/{domain_name}/basepathmappings",
+ "responseCode": 201
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "domainName",
+ "restApiId"
+ ],
+ "members": {
+ "domainName": {
+ "location": "uri",
+ "locationName": "domain_name"
+ },
+ "basePath": {},
+ "restApiId": {},
+ "stage": {}
+ }
+ },
+ "output": {
+ "shape": "Se"
+ }
+ },
+ "CreateDeployment": {
+ "http": {
+ "requestUri": "/restapis/{restapi_id}/deployments",
+ "responseCode": 201
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "restApiId",
+ "stageName"
+ ],
+ "members": {
+ "restApiId": {
+ "location": "uri",
+ "locationName": "restapi_id"
+ },
+ "stageName": {},
+ "stageDescription": {},
+ "description": {},
+ "cacheClusterEnabled": {
+ "type": "boolean"
+ },
+ "cacheClusterSize": {},
+ "variables": {
+ "shape": "Si"
+ }
+ }
+ },
+ "output": {
+ "shape": "Sj"
+ }
+ },
+ "CreateDomainName": {
+ "http": {
+ "requestUri": "/domainnames",
+ "responseCode": 201
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "domainName",
+ "certificateName",
+ "certificateBody",
+ "certificatePrivateKey",
+ "certificateChain"
+ ],
+ "members": {
+ "domainName": {},
+ "certificateName": {},
+ "certificateBody": {},
+ "certificatePrivateKey": {},
+ "certificateChain": {}
+ }
+ },
+ "output": {
+ "shape": "So"
+ }
+ },
+ "CreateModel": {
+ "http": {
+ "requestUri": "/restapis/{restapi_id}/models",
+ "responseCode": 201
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "restApiId",
+ "name",
+ "contentType"
+ ],
+ "members": {
+ "restApiId": {
+ "location": "uri",
+ "locationName": "restapi_id"
+ },
+ "name": {},
+ "description": {},
+ "schema": {},
+ "contentType": {}
+ }
+ },
+ "output": {
+ "shape": "Sq"
+ }
+ },
+ "CreateResource": {
+ "http": {
+ "requestUri": "/restapis/{restapi_id}/resources/{parent_id}",
+ "responseCode": 201
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "restApiId",
+ "parentId",
+ "pathPart"
+ ],
+ "members": {
+ "restApiId": {
+ "location": "uri",
+ "locationName": "restapi_id"
+ },
+ "parentId": {
+ "location": "uri",
+ "locationName": "parent_id"
+ },
+ "pathPart": {}
+ }
+ },
+ "output": {
+ "shape": "Ss"
+ }
+ },
+ "CreateRestApi": {
+ "http": {
+ "requestUri": "/restapis",
+ "responseCode": 201
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "name"
+ ],
+ "members": {
+ "name": {},
+ "description": {},
+ "cloneFrom": {}
+ }
+ },
+ "output": {
+ "shape": "S14"
+ }
+ },
+ "CreateStage": {
+ "http": {
+ "requestUri": "/restapis/{restapi_id}/stages",
+ "responseCode": 201
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "restApiId",
+ "stageName",
+ "deploymentId"
+ ],
+ "members": {
+ "restApiId": {
+ "location": "uri",
+ "locationName": "restapi_id"
+ },
+ "stageName": {},
+ "deploymentId": {},
+ "description": {},
+ "cacheClusterEnabled": {
+ "type": "boolean"
+ },
+ "cacheClusterSize": {},
+ "variables": {
+ "shape": "Si"
+ }
+ }
+ },
+ "output": {
+ "shape": "S16"
+ }
+ },
+ "DeleteApiKey": {
+ "http": {
+ "method": "DELETE",
+ "requestUri": "/apikeys/{api_Key}",
+ "responseCode": 202
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "apiKey"
+ ],
+ "members": {
+ "apiKey": {
+ "location": "uri",
+ "locationName": "api_Key"
+ }
+ }
+ }
+ },
+ "DeleteAuthorizer": {
+ "http": {
+ "method": "DELETE",
+ "requestUri": "/restapis/{restapi_id}/authorizers/{authorizer_id}",
+ "responseCode": 202
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "restApiId",
+ "authorizerId"
+ ],
+ "members": {
+ "restApiId": {
+ "location": "uri",
+ "locationName": "restapi_id"
+ },
+ "authorizerId": {
+ "location": "uri",
+ "locationName": "authorizer_id"
+ }
+ }
+ }
+ },
+ "DeleteBasePathMapping": {
+ "http": {
+ "method": "DELETE",
+ "requestUri": "/domainnames/{domain_name}/basepathmappings/{base_path}",
+ "responseCode": 202
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "domainName",
+ "basePath"
+ ],
+ "members": {
+ "domainName": {
+ "location": "uri",
+ "locationName": "domain_name"
+ },
+ "basePath": {
+ "location": "uri",
+ "locationName": "base_path"
+ }
+ }
+ }
+ },
+ "DeleteClientCertificate": {
+ "http": {
+ "method": "DELETE",
+ "requestUri": "/clientcertificates/{clientcertificate_id}",
+ "responseCode": 202
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "clientCertificateId"
+ ],
+ "members": {
+ "clientCertificateId": {
+ "location": "uri",
+ "locationName": "clientcertificate_id"
+ }
+ }
+ }
+ },
+ "DeleteDeployment": {
+ "http": {
+ "method": "DELETE",
+ "requestUri": "/restapis/{restapi_id}/deployments/{deployment_id}",
+ "responseCode": 202
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "restApiId",
+ "deploymentId"
+ ],
+ "members": {
+ "restApiId": {
+ "location": "uri",
+ "locationName": "restapi_id"
+ },
+ "deploymentId": {
+ "location": "uri",
+ "locationName": "deployment_id"
+ }
+ }
+ }
+ },
+ "DeleteDomainName": {
+ "http": {
+ "method": "DELETE",
+ "requestUri": "/domainnames/{domain_name}",
+ "responseCode": 202
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "domainName"
+ ],
+ "members": {
+ "domainName": {
+ "location": "uri",
+ "locationName": "domain_name"
+ }
+ }
+ }
+ },
+ "DeleteIntegration": {
+ "http": {
+ "method": "DELETE",
+ "requestUri": "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration",
+ "responseCode": 204
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "restApiId",
+ "resourceId",
+ "httpMethod"
+ ],
+ "members": {
+ "restApiId": {
+ "location": "uri",
+ "locationName": "restapi_id"
+ },
+ "resourceId": {
+ "location": "uri",
+ "locationName": "resource_id"
+ },
+ "httpMethod": {
+ "location": "uri",
+ "locationName": "http_method"
+ }
+ }
+ }
+ },
+ "DeleteIntegrationResponse": {
+ "http": {
+ "method": "DELETE",
+ "requestUri": "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration/responses/{status_code}",
+ "responseCode": 204
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "restApiId",
+ "resourceId",
+ "httpMethod",
+ "statusCode"
+ ],
+ "members": {
+ "restApiId": {
+ "location": "uri",
+ "locationName": "restapi_id"
+ },
+ "resourceId": {
+ "location": "uri",
+ "locationName": "resource_id"
+ },
+ "httpMethod": {
+ "location": "uri",
+ "locationName": "http_method"
+ },
+ "statusCode": {
+ "location": "uri",
+ "locationName": "status_code"
+ }
+ }
+ }
+ },
+ "DeleteMethod": {
+ "http": {
+ "method": "DELETE",
+ "requestUri": "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}",
+ "responseCode": 204
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "restApiId",
+ "resourceId",
+ "httpMethod"
+ ],
+ "members": {
+ "restApiId": {
+ "location": "uri",
+ "locationName": "restapi_id"
+ },
+ "resourceId": {
+ "location": "uri",
+ "locationName": "resource_id"
+ },
+ "httpMethod": {
+ "location": "uri",
+ "locationName": "http_method"
+ }
+ }
+ }
+ },
+ "DeleteMethodResponse": {
+ "http": {
+ "method": "DELETE",
+ "requestUri": "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/responses/{status_code}",
+ "responseCode": 204
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "restApiId",
+ "resourceId",
+ "httpMethod",
+ "statusCode"
+ ],
+ "members": {
+ "restApiId": {
+ "location": "uri",
+ "locationName": "restapi_id"
+ },
+ "resourceId": {
+ "location": "uri",
+ "locationName": "resource_id"
+ },
+ "httpMethod": {
+ "location": "uri",
+ "locationName": "http_method"
+ },
+ "statusCode": {
+ "location": "uri",
+ "locationName": "status_code"
+ }
+ }
+ }
+ },
+ "DeleteModel": {
+ "http": {
+ "method": "DELETE",
+ "requestUri": "/restapis/{restapi_id}/models/{model_name}",
+ "responseCode": 202
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "restApiId",
+ "modelName"
+ ],
+ "members": {
+ "restApiId": {
+ "location": "uri",
+ "locationName": "restapi_id"
+ },
+ "modelName": {
+ "location": "uri",
+ "locationName": "model_name"
+ }
+ }
+ }
+ },
+ "DeleteResource": {
+ "http": {
+ "method": "DELETE",
+ "requestUri": "/restapis/{restapi_id}/resources/{resource_id}",
+ "responseCode": 202
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "restApiId",
+ "resourceId"
+ ],
+ "members": {
+ "restApiId": {
+ "location": "uri",
+ "locationName": "restapi_id"
+ },
+ "resourceId": {
+ "location": "uri",
+ "locationName": "resource_id"
+ }
+ }
+ }
+ },
+ "DeleteRestApi": {
+ "http": {
+ "method": "DELETE",
+ "requestUri": "/restapis/{restapi_id}",
+ "responseCode": 202
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "restApiId"
+ ],
+ "members": {
+ "restApiId": {
+ "location": "uri",
+ "locationName": "restapi_id"
+ }
+ }
+ }
+ },
+ "DeleteStage": {
+ "http": {
+ "method": "DELETE",
+ "requestUri": "/restapis/{restapi_id}/stages/{stage_name}",
+ "responseCode": 202
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "restApiId",
+ "stageName"
+ ],
+ "members": {
+ "restApiId": {
+ "location": "uri",
+ "locationName": "restapi_id"
+ },
+ "stageName": {
+ "location": "uri",
+ "locationName": "stage_name"
+ }
+ }
+ }
+ },
+ "FlushStageAuthorizersCache": {
+ "http": {
+ "method": "DELETE",
+ "requestUri": "/restapis/{restapi_id}/stages/{stage_name}/cache/authorizers",
+ "responseCode": 202
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "restApiId",
+ "stageName"
+ ],
+ "members": {
+ "restApiId": {
+ "location": "uri",
+ "locationName": "restapi_id"
+ },
+ "stageName": {
+ "location": "uri",
+ "locationName": "stage_name"
+ }
+ }
+ }
+ },
+ "FlushStageCache": {
+ "http": {
+ "method": "DELETE",
+ "requestUri": "/restapis/{restapi_id}/stages/{stage_name}/cache/data",
+ "responseCode": 202
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "restApiId",
+ "stageName"
+ ],
+ "members": {
+ "restApiId": {
+ "location": "uri",
+ "locationName": "restapi_id"
+ },
+ "stageName": {
+ "location": "uri",
+ "locationName": "stage_name"
+ }
+ }
+ }
+ },
+ "GenerateClientCertificate": {
+ "http": {
+ "requestUri": "/clientcertificates",
+ "responseCode": 201
+ },
+ "input": {
+ "type": "structure",
+ "members": {
+ "description": {}
+ }
+ },
+ "output": {
+ "shape": "S1u"
+ }
+ },
+ "GetAccount": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/account"
+ },
+ "input": {
+ "type": "structure",
+ "members": {}
+ },
+ "output": {
+ "shape": "S1w"
+ }
+ },
+ "GetApiKey": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/apikeys/{api_Key}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "apiKey"
+ ],
+ "members": {
+ "apiKey": {
+ "location": "uri",
+ "locationName": "api_Key"
+ }
+ }
+ },
+ "output": {
+ "shape": "S6"
+ }
+ },
+ "GetApiKeys": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/apikeys"
+ },
+ "input": {
+ "type": "structure",
+ "members": {
+ "position": {
+ "location": "querystring",
+ "locationName": "position"
+ },
+ "limit": {
+ "location": "querystring",
+ "locationName": "limit",
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "position": {},
+ "items": {
+ "locationName": "item",
+ "type": "list",
+ "member": {
+ "shape": "S6"
+ }
+ }
+ }
+ }
+ },
+ "GetAuthorizer": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/restapis/{restapi_id}/authorizers/{authorizer_id}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "restApiId",
+ "authorizerId"
+ ],
+ "members": {
+ "restApiId": {
+ "location": "uri",
+ "locationName": "restapi_id"
+ },
+ "authorizerId": {
+ "location": "uri",
+ "locationName": "authorizer_id"
+ }
+ }
+ },
+ "output": {
+ "shape": "Sc"
+ }
+ },
+ "GetAuthorizers": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/restapis/{restapi_id}/authorizers"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "restApiId"
+ ],
+ "members": {
+ "restApiId": {
+ "location": "uri",
+ "locationName": "restapi_id"
+ },
+ "position": {
+ "location": "querystring",
+ "locationName": "position"
+ },
+ "limit": {
+ "location": "querystring",
+ "locationName": "limit",
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "position": {},
+ "items": {
+ "locationName": "item",
+ "type": "list",
+ "member": {
+ "shape": "Sc"
+ }
+ }
+ }
+ }
+ },
+ "GetBasePathMapping": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/domainnames/{domain_name}/basepathmappings/{base_path}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "domainName",
+ "basePath"
+ ],
+ "members": {
+ "domainName": {
+ "location": "uri",
+ "locationName": "domain_name"
+ },
+ "basePath": {
+ "location": "uri",
+ "locationName": "base_path"
+ }
+ }
+ },
+ "output": {
+ "shape": "Se"
+ }
+ },
+ "GetBasePathMappings": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/domainnames/{domain_name}/basepathmappings"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "domainName"
+ ],
+ "members": {
+ "domainName": {
+ "location": "uri",
+ "locationName": "domain_name"
+ },
+ "position": {
+ "location": "querystring",
+ "locationName": "position"
+ },
+ "limit": {
+ "location": "querystring",
+ "locationName": "limit",
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "position": {},
+ "items": {
+ "locationName": "item",
+ "type": "list",
+ "member": {
+ "shape": "Se"
+ }
+ }
+ }
+ }
+ },
+ "GetClientCertificate": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/clientcertificates/{clientcertificate_id}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "clientCertificateId"
+ ],
+ "members": {
+ "clientCertificateId": {
+ "location": "uri",
+ "locationName": "clientcertificate_id"
+ }
+ }
+ },
+ "output": {
+ "shape": "S1u"
+ }
+ },
+ "GetClientCertificates": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/clientcertificates"
+ },
+ "input": {
+ "type": "structure",
+ "members": {
+ "position": {
+ "location": "querystring",
+ "locationName": "position"
+ },
+ "limit": {
+ "location": "querystring",
+ "locationName": "limit",
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "position": {},
+ "items": {
+ "locationName": "item",
+ "type": "list",
+ "member": {
+ "shape": "S1u"
+ }
+ }
+ }
+ }
+ },
+ "GetDeployment": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/restapis/{restapi_id}/deployments/{deployment_id}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "restApiId",
+ "deploymentId"
+ ],
+ "members": {
+ "restApiId": {
+ "location": "uri",
+ "locationName": "restapi_id"
+ },
+ "deploymentId": {
+ "location": "uri",
+ "locationName": "deployment_id"
+ }
+ }
+ },
+ "output": {
+ "shape": "Sj"
+ }
+ },
+ "GetDeployments": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/restapis/{restapi_id}/deployments"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "restApiId"
+ ],
+ "members": {
+ "restApiId": {
+ "location": "uri",
+ "locationName": "restapi_id"
+ },
+ "position": {
+ "location": "querystring",
+ "locationName": "position"
+ },
+ "limit": {
+ "location": "querystring",
+ "locationName": "limit",
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "position": {},
+ "items": {
+ "locationName": "item",
+ "type": "list",
+ "member": {
+ "shape": "Sj"
+ }
+ }
+ }
+ }
+ },
+ "GetDomainName": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/domainnames/{domain_name}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "domainName"
+ ],
+ "members": {
+ "domainName": {
+ "location": "uri",
+ "locationName": "domain_name"
+ }
+ }
+ },
+ "output": {
+ "shape": "So"
+ }
+ },
+ "GetDomainNames": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/domainnames"
+ },
+ "input": {
+ "type": "structure",
+ "members": {
+ "position": {
+ "location": "querystring",
+ "locationName": "position"
+ },
+ "limit": {
+ "location": "querystring",
+ "locationName": "limit",
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "position": {},
+ "items": {
+ "locationName": "item",
+ "type": "list",
+ "member": {
+ "shape": "So"
+ }
+ }
+ }
+ }
+ },
+ "GetExport": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/restapis/{restapi_id}/stages/{stage_name}/exports/{export_type}",
+ "responseCode": 200
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "restApiId",
+ "stageName",
+ "exportType"
+ ],
+ "members": {
+ "restApiId": {
+ "location": "uri",
+ "locationName": "restapi_id"
+ },
+ "stageName": {
+ "location": "uri",
+ "locationName": "stage_name"
+ },
+ "exportType": {
+ "location": "uri",
+ "locationName": "export_type"
+ },
+ "parameters": {
+ "shape": "Si",
+ "location": "querystring"
+ },
+ "accepts": {
+ "location": "header",
+ "locationName": "Accept"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "contentType": {
+ "location": "header",
+ "locationName": "Content-Type"
+ },
+ "contentDisposition": {
+ "location": "header",
+ "locationName": "Content-Disposition"
+ },
+ "body": {
+ "type": "blob"
+ }
+ },
+ "payload": "body"
+ }
+ },
+ "GetIntegration": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "restApiId",
+ "resourceId",
+ "httpMethod"
+ ],
+ "members": {
+ "restApiId": {
+ "location": "uri",
+ "locationName": "restapi_id"
+ },
+ "resourceId": {
+ "location": "uri",
+ "locationName": "resource_id"
+ },
+ "httpMethod": {
+ "location": "uri",
+ "locationName": "http_method"
+ }
+ }
+ },
+ "output": {
+ "shape": "Sz"
+ }
+ },
+ "GetIntegrationResponse": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration/responses/{status_code}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "restApiId",
+ "resourceId",
+ "httpMethod",
+ "statusCode"
+ ],
+ "members": {
+ "restApiId": {
+ "location": "uri",
+ "locationName": "restapi_id"
+ },
+ "resourceId": {
+ "location": "uri",
+ "locationName": "resource_id"
+ },
+ "httpMethod": {
+ "location": "uri",
+ "locationName": "http_method"
+ },
+ "statusCode": {
+ "location": "uri",
+ "locationName": "status_code"
+ }
+ }
+ },
+ "output": {
+ "shape": "S12"
+ }
+ },
+ "GetMethod": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "restApiId",
+ "resourceId",
+ "httpMethod"
+ ],
+ "members": {
+ "restApiId": {
+ "location": "uri",
+ "locationName": "restapi_id"
+ },
+ "resourceId": {
+ "location": "uri",
+ "locationName": "resource_id"
+ },
+ "httpMethod": {
+ "location": "uri",
+ "locationName": "http_method"
+ }
+ }
+ },
+ "output": {
+ "shape": "Su"
+ }
+ },
+ "GetMethodResponse": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/responses/{status_code}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "restApiId",
+ "resourceId",
+ "httpMethod",
+ "statusCode"
+ ],
+ "members": {
+ "restApiId": {
+ "location": "uri",
+ "locationName": "restapi_id"
+ },
+ "resourceId": {
+ "location": "uri",
+ "locationName": "resource_id"
+ },
+ "httpMethod": {
+ "location": "uri",
+ "locationName": "http_method"
+ },
+ "statusCode": {
+ "location": "uri",
+ "locationName": "status_code"
+ }
+ }
+ },
+ "output": {
+ "shape": "Sx"
+ }
+ },
+ "GetModel": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/restapis/{restapi_id}/models/{model_name}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "restApiId",
+ "modelName"
+ ],
+ "members": {
+ "restApiId": {
+ "location": "uri",
+ "locationName": "restapi_id"
+ },
+ "modelName": {
+ "location": "uri",
+ "locationName": "model_name"
+ },
+ "flatten": {
+ "location": "querystring",
+ "locationName": "flatten",
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "shape": "Sq"
+ }
+ },
+ "GetModelTemplate": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/restapis/{restapi_id}/models/{model_name}/default_template"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "restApiId",
+ "modelName"
+ ],
+ "members": {
+ "restApiId": {
+ "location": "uri",
+ "locationName": "restapi_id"
+ },
+ "modelName": {
+ "location": "uri",
+ "locationName": "model_name"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "value": {}
+ }
+ }
+ },
+ "GetModels": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/restapis/{restapi_id}/models"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "restApiId"
+ ],
+ "members": {
+ "restApiId": {
+ "location": "uri",
+ "locationName": "restapi_id"
+ },
+ "position": {
+ "location": "querystring",
+ "locationName": "position"
+ },
+ "limit": {
+ "location": "querystring",
+ "locationName": "limit",
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "position": {},
+ "items": {
+ "locationName": "item",
+ "type": "list",
+ "member": {
+ "shape": "Sq"
+ }
+ }
+ }
+ }
+ },
+ "GetResource": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/restapis/{restapi_id}/resources/{resource_id}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "restApiId",
+ "resourceId"
+ ],
+ "members": {
+ "restApiId": {
+ "location": "uri",
+ "locationName": "restapi_id"
+ },
+ "resourceId": {
+ "location": "uri",
+ "locationName": "resource_id"
+ }
+ }
+ },
+ "output": {
+ "shape": "Ss"
+ }
+ },
+ "GetResources": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/restapis/{restapi_id}/resources"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "restApiId"
+ ],
+ "members": {
+ "restApiId": {
+ "location": "uri",
+ "locationName": "restapi_id"
+ },
+ "position": {
+ "location": "querystring",
+ "locationName": "position"
+ },
+ "limit": {
+ "location": "querystring",
+ "locationName": "limit",
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "position": {},
+ "items": {
+ "locationName": "item",
+ "type": "list",
+ "member": {
+ "shape": "Ss"
+ }
+ }
+ }
+ }
+ },
+ "GetRestApi": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/restapis/{restapi_id}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "restApiId"
+ ],
+ "members": {
+ "restApiId": {
+ "location": "uri",
+ "locationName": "restapi_id"
+ }
+ }
+ },
+ "output": {
+ "shape": "S14"
+ }
+ },
+ "GetRestApis": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/restapis"
+ },
+ "input": {
+ "type": "structure",
+ "members": {
+ "position": {
+ "location": "querystring",
+ "locationName": "position"
+ },
+ "limit": {
+ "location": "querystring",
+ "locationName": "limit",
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "position": {},
+ "items": {
+ "locationName": "item",
+ "type": "list",
+ "member": {
+ "shape": "S14"
+ }
+ }
+ }
+ }
+ },
+ "GetSdk": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/restapis/{restapi_id}/stages/{stage_name}/sdks/{sdk_type}",
+ "responseCode": 200
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "restApiId",
+ "stageName",
+ "sdkType"
+ ],
+ "members": {
+ "restApiId": {
+ "location": "uri",
+ "locationName": "restapi_id"
+ },
+ "stageName": {
+ "location": "uri",
+ "locationName": "stage_name"
+ },
+ "sdkType": {
+ "location": "uri",
+ "locationName": "sdk_type"
+ },
+ "parameters": {
+ "shape": "Si",
+ "location": "querystring"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "contentType": {
+ "location": "header",
+ "locationName": "Content-Type"
+ },
+ "contentDisposition": {
+ "location": "header",
+ "locationName": "Content-Disposition"
+ },
+ "body": {
+ "type": "blob"
+ }
+ },
+ "payload": "body"
+ }
+ },
+ "GetStage": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/restapis/{restapi_id}/stages/{stage_name}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "restApiId",
+ "stageName"
+ ],
+ "members": {
+ "restApiId": {
+ "location": "uri",
+ "locationName": "restapi_id"
+ },
+ "stageName": {
+ "location": "uri",
+ "locationName": "stage_name"
+ }
+ }
+ },
+ "output": {
+ "shape": "S16"
+ }
+ },
+ "GetStages": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/restapis/{restapi_id}/stages"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "restApiId"
+ ],
+ "members": {
+ "restApiId": {
+ "location": "uri",
+ "locationName": "restapi_id"
+ },
+ "deploymentId": {
+ "location": "querystring",
+ "locationName": "deploymentId"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "item": {
+ "type": "list",
+ "member": {
+ "shape": "S16"
+ }
+ }
+ }
+ }
+ },
+ "PutIntegration": {
+ "http": {
+ "method": "PUT",
+ "requestUri": "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration",
+ "responseCode": 201
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "restApiId",
+ "resourceId",
+ "httpMethod",
+ "type"
+ ],
+ "members": {
+ "restApiId": {
+ "location": "uri",
+ "locationName": "restapi_id"
+ },
+ "resourceId": {
+ "location": "uri",
+ "locationName": "resource_id"
+ },
+ "httpMethod": {
+ "location": "uri",
+ "locationName": "http_method"
+ },
+ "type": {},
+ "integrationHttpMethod": {
+ "locationName": "httpMethod"
+ },
+ "uri": {},
+ "credentials": {},
+ "requestParameters": {
+ "shape": "Si"
+ },
+ "requestTemplates": {
+ "shape": "Si"
+ },
+ "cacheNamespace": {},
+ "cacheKeyParameters": {
+ "shape": "S7"
+ }
+ }
+ },
+ "output": {
+ "shape": "Sz"
+ }
+ },
+ "PutIntegrationResponse": {
+ "http": {
+ "method": "PUT",
+ "requestUri": "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration/responses/{status_code}",
+ "responseCode": 201
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "restApiId",
+ "resourceId",
+ "httpMethod",
+ "statusCode"
+ ],
+ "members": {
+ "restApiId": {
+ "location": "uri",
+ "locationName": "restapi_id"
+ },
+ "resourceId": {
+ "location": "uri",
+ "locationName": "resource_id"
+ },
+ "httpMethod": {
+ "location": "uri",
+ "locationName": "http_method"
+ },
+ "statusCode": {
+ "location": "uri",
+ "locationName": "status_code"
+ },
+ "selectionPattern": {},
+ "responseParameters": {
+ "shape": "Si"
+ },
+ "responseTemplates": {
+ "shape": "Si"
+ }
+ }
+ },
+ "output": {
+ "shape": "S12"
+ }
+ },
+ "PutMethod": {
+ "http": {
+ "method": "PUT",
+ "requestUri": "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}",
+ "responseCode": 201
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "restApiId",
+ "resourceId",
+ "httpMethod",
+ "authorizationType"
+ ],
+ "members": {
+ "restApiId": {
+ "location": "uri",
+ "locationName": "restapi_id"
+ },
+ "resourceId": {
+ "location": "uri",
+ "locationName": "resource_id"
+ },
+ "httpMethod": {
+ "location": "uri",
+ "locationName": "http_method"
+ },
+ "authorizationType": {},
+ "authorizerId": {},
+ "apiKeyRequired": {
+ "type": "boolean"
+ },
+ "requestParameters": {
+ "shape": "Sv"
+ },
+ "requestModels": {
+ "shape": "Si"
+ }
+ }
+ },
+ "output": {
+ "shape": "Su"
+ }
+ },
+ "PutMethodResponse": {
+ "http": {
+ "method": "PUT",
+ "requestUri": "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/responses/{status_code}",
+ "responseCode": 201
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "restApiId",
+ "resourceId",
+ "httpMethod",
+ "statusCode"
+ ],
+ "members": {
+ "restApiId": {
+ "location": "uri",
+ "locationName": "restapi_id"
+ },
+ "resourceId": {
+ "location": "uri",
+ "locationName": "resource_id"
+ },
+ "httpMethod": {
+ "location": "uri",
+ "locationName": "http_method"
+ },
+ "statusCode": {
+ "location": "uri",
+ "locationName": "status_code"
+ },
+ "responseParameters": {
+ "shape": "Sv"
+ },
+ "responseModels": {
+ "shape": "Si"
+ }
+ }
+ },
+ "output": {
+ "shape": "Sx"
+ }
+ },
+ "TestInvokeAuthorizer": {
+ "http": {
+ "requestUri": "/restapis/{restapi_id}/authorizers/{authorizer_id}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "restApiId",
+ "authorizerId"
+ ],
+ "members": {
+ "restApiId": {
+ "location": "uri",
+ "locationName": "restapi_id"
+ },
+ "authorizerId": {
+ "location": "uri",
+ "locationName": "authorizer_id"
+ },
+ "headers": {
+ "shape": "S3i"
+ },
+ "pathWithQueryString": {},
+ "body": {},
+ "stageVariables": {
+ "shape": "Si"
+ },
+ "additionalContext": {
+ "shape": "Si"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "clientStatus": {
+ "type": "integer"
+ },
+ "log": {},
+ "latency": {
+ "type": "long"
+ },
+ "principalId": {},
+ "policy": {},
+ "authorization": {
+ "type": "map",
+ "key": {},
+ "value": {
+ "shape": "S7"
+ }
+ }
+ }
+ }
+ },
+ "TestInvokeMethod": {
+ "http": {
+ "requestUri": "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "restApiId",
+ "resourceId",
+ "httpMethod"
+ ],
+ "members": {
+ "restApiId": {
+ "location": "uri",
+ "locationName": "restapi_id"
+ },
+ "resourceId": {
+ "location": "uri",
+ "locationName": "resource_id"
+ },
+ "httpMethod": {
+ "location": "uri",
+ "locationName": "http_method"
+ },
+ "pathWithQueryString": {},
+ "body": {},
+ "headers": {
+ "shape": "S3i"
+ },
+ "clientCertificateId": {},
+ "stageVariables": {
+ "shape": "Si"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "status": {
+ "type": "integer"
+ },
+ "body": {},
+ "headers": {
+ "shape": "S3i"
+ },
+ "log": {},
+ "latency": {
+ "type": "long"
+ }
+ }
+ }
+ },
+ "UpdateAccount": {
+ "http": {
+ "method": "PATCH",
+ "requestUri": "/account"
+ },
+ "input": {
+ "type": "structure",
+ "members": {
+ "patchOperations": {
+ "shape": "S3p"
+ }
+ }
+ },
+ "output": {
+ "shape": "S1w"
+ }
+ },
+ "UpdateApiKey": {
+ "http": {
+ "method": "PATCH",
+ "requestUri": "/apikeys/{api_Key}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "apiKey"
+ ],
+ "members": {
+ "apiKey": {
+ "location": "uri",
+ "locationName": "api_Key"
+ },
+ "patchOperations": {
+ "shape": "S3p"
+ }
+ }
+ },
+ "output": {
+ "shape": "S6"
+ }
+ },
+ "UpdateAuthorizer": {
+ "http": {
+ "method": "PATCH",
+ "requestUri": "/restapis/{restapi_id}/authorizers/{authorizer_id}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "restApiId",
+ "authorizerId"
+ ],
+ "members": {
+ "restApiId": {
+ "location": "uri",
+ "locationName": "restapi_id"
+ },
+ "authorizerId": {
+ "location": "uri",
+ "locationName": "authorizer_id"
+ },
+ "patchOperations": {
+ "shape": "S3p"
+ }
+ }
+ },
+ "output": {
+ "shape": "Sc"
+ }
+ },
+ "UpdateBasePathMapping": {
+ "http": {
+ "method": "PATCH",
+ "requestUri": "/domainnames/{domain_name}/basepathmappings/{base_path}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "domainName",
+ "basePath"
+ ],
+ "members": {
+ "domainName": {
+ "location": "uri",
+ "locationName": "domain_name"
+ },
+ "basePath": {
+ "location": "uri",
+ "locationName": "base_path"
+ },
+ "patchOperations": {
+ "shape": "S3p"
+ }
+ }
+ },
+ "output": {
+ "shape": "Se"
+ }
+ },
+ "UpdateClientCertificate": {
+ "http": {
+ "method": "PATCH",
+ "requestUri": "/clientcertificates/{clientcertificate_id}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "clientCertificateId"
+ ],
+ "members": {
+ "clientCertificateId": {
+ "location": "uri",
+ "locationName": "clientcertificate_id"
+ },
+ "patchOperations": {
+ "shape": "S3p"
+ }
+ }
+ },
+ "output": {
+ "shape": "S1u"
+ }
+ },
+ "UpdateDeployment": {
+ "http": {
+ "method": "PATCH",
+ "requestUri": "/restapis/{restapi_id}/deployments/{deployment_id}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "restApiId",
+ "deploymentId"
+ ],
+ "members": {
+ "restApiId": {
+ "location": "uri",
+ "locationName": "restapi_id"
+ },
+ "deploymentId": {
+ "location": "uri",
+ "locationName": "deployment_id"
+ },
+ "patchOperations": {
+ "shape": "S3p"
+ }
+ }
+ },
+ "output": {
+ "shape": "Sj"
+ }
+ },
+ "UpdateDomainName": {
+ "http": {
+ "method": "PATCH",
+ "requestUri": "/domainnames/{domain_name}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "domainName"
+ ],
+ "members": {
+ "domainName": {
+ "location": "uri",
+ "locationName": "domain_name"
+ },
+ "patchOperations": {
+ "shape": "S3p"
+ }
+ }
+ },
+ "output": {
+ "shape": "So"
+ }
+ },
+ "UpdateIntegration": {
+ "http": {
+ "method": "PATCH",
+ "requestUri": "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "restApiId",
+ "resourceId",
+ "httpMethod"
+ ],
+ "members": {
+ "restApiId": {
+ "location": "uri",
+ "locationName": "restapi_id"
+ },
+ "resourceId": {
+ "location": "uri",
+ "locationName": "resource_id"
+ },
+ "httpMethod": {
+ "location": "uri",
+ "locationName": "http_method"
+ },
+ "patchOperations": {
+ "shape": "S3p"
+ }
+ }
+ },
+ "output": {
+ "shape": "Sz"
+ }
+ },
+ "UpdateIntegrationResponse": {
+ "http": {
+ "method": "PATCH",
+ "requestUri": "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration/responses/{status_code}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "restApiId",
+ "resourceId",
+ "httpMethod",
+ "statusCode"
+ ],
+ "members": {
+ "restApiId": {
+ "location": "uri",
+ "locationName": "restapi_id"
+ },
+ "resourceId": {
+ "location": "uri",
+ "locationName": "resource_id"
+ },
+ "httpMethod": {
+ "location": "uri",
+ "locationName": "http_method"
+ },
+ "statusCode": {
+ "location": "uri",
+ "locationName": "status_code"
+ },
+ "patchOperations": {
+ "shape": "S3p"
+ }
+ }
+ },
+ "output": {
+ "shape": "S12"
+ }
+ },
+ "UpdateMethod": {
+ "http": {
+ "method": "PATCH",
+ "requestUri": "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "restApiId",
+ "resourceId",
+ "httpMethod"
+ ],
+ "members": {
+ "restApiId": {
+ "location": "uri",
+ "locationName": "restapi_id"
+ },
+ "resourceId": {
+ "location": "uri",
+ "locationName": "resource_id"
+ },
+ "httpMethod": {
+ "location": "uri",
+ "locationName": "http_method"
+ },
+ "patchOperations": {
+ "shape": "S3p"
+ }
+ }
+ },
+ "output": {
+ "shape": "Su"
+ }
+ },
+ "UpdateMethodResponse": {
+ "http": {
+ "method": "PATCH",
+ "requestUri": "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/responses/{status_code}",
+ "responseCode": 201
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "restApiId",
+ "resourceId",
+ "httpMethod",
+ "statusCode"
+ ],
+ "members": {
+ "restApiId": {
+ "location": "uri",
+ "locationName": "restapi_id"
+ },
+ "resourceId": {
+ "location": "uri",
+ "locationName": "resource_id"
+ },
+ "httpMethod": {
+ "location": "uri",
+ "locationName": "http_method"
+ },
+ "statusCode": {
+ "location": "uri",
+ "locationName": "status_code"
+ },
+ "patchOperations": {
+ "shape": "S3p"
+ }
+ }
+ },
+ "output": {
+ "shape": "Sx"
+ }
+ },
+ "UpdateModel": {
+ "http": {
+ "method": "PATCH",
+ "requestUri": "/restapis/{restapi_id}/models/{model_name}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "restApiId",
+ "modelName"
+ ],
+ "members": {
+ "restApiId": {
+ "location": "uri",
+ "locationName": "restapi_id"
+ },
+ "modelName": {
+ "location": "uri",
+ "locationName": "model_name"
+ },
+ "patchOperations": {
+ "shape": "S3p"
+ }
+ }
+ },
+ "output": {
+ "shape": "Sq"
+ }
+ },
+ "UpdateResource": {
+ "http": {
+ "method": "PATCH",
+ "requestUri": "/restapis/{restapi_id}/resources/{resource_id}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "restApiId",
+ "resourceId"
+ ],
+ "members": {
+ "restApiId": {
+ "location": "uri",
+ "locationName": "restapi_id"
+ },
+ "resourceId": {
+ "location": "uri",
+ "locationName": "resource_id"
+ },
+ "patchOperations": {
+ "shape": "S3p"
+ }
+ }
+ },
+ "output": {
+ "shape": "Ss"
+ }
+ },
+ "UpdateRestApi": {
+ "http": {
+ "method": "PATCH",
+ "requestUri": "/restapis/{restapi_id}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "restApiId"
+ ],
+ "members": {
+ "restApiId": {
+ "location": "uri",
+ "locationName": "restapi_id"
+ },
+ "patchOperations": {
+ "shape": "S3p"
+ }
+ }
+ },
+ "output": {
+ "shape": "S14"
+ }
+ },
+ "UpdateStage": {
+ "http": {
+ "method": "PATCH",
+ "requestUri": "/restapis/{restapi_id}/stages/{stage_name}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "restApiId",
+ "stageName"
+ ],
+ "members": {
+ "restApiId": {
+ "location": "uri",
+ "locationName": "restapi_id"
+ },
+ "stageName": {
+ "location": "uri",
+ "locationName": "stage_name"
+ },
+ "patchOperations": {
+ "shape": "S3p"
+ }
+ }
+ },
+ "output": {
+ "shape": "S16"
+ }
+ }
+ },
+ "shapes": {
+ "S6": {
+ "type": "structure",
+ "members": {
+ "id": {},
+ "name": {},
+ "description": {},
+ "enabled": {
+ "type": "boolean"
+ },
+ "stageKeys": {
+ "shape": "S7"
+ },
+ "createdDate": {
+ "type": "timestamp"
+ },
+ "lastUpdatedDate": {
+ "type": "timestamp"
+ }
+ }
+ },
+ "S7": {
+ "type": "list",
+ "member": {}
+ },
+ "Sc": {
+ "type": "structure",
+ "members": {
+ "id": {},
+ "name": {},
+ "type": {},
+ "authorizerUri": {},
+ "authorizerCredentials": {},
+ "identitySource": {},
+ "identityValidationExpression": {},
+ "authorizerResultTtlInSeconds": {
+ "type": "integer"
+ }
+ }
+ },
+ "Se": {
+ "type": "structure",
+ "members": {
+ "basePath": {},
+ "restApiId": {},
+ "stage": {}
+ }
+ },
+ "Si": {
+ "type": "map",
+ "key": {},
+ "value": {}
+ },
+ "Sj": {
+ "type": "structure",
+ "members": {
+ "id": {},
+ "description": {},
+ "createdDate": {
+ "type": "timestamp"
+ },
+ "apiSummary": {
+ "type": "map",
+ "key": {},
+ "value": {
+ "type": "map",
+ "key": {},
+ "value": {
+ "type": "structure",
+ "members": {
+ "authorizationType": {},
+ "apiKeyRequired": {
+ "type": "boolean"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "So": {
+ "type": "structure",
+ "members": {
+ "domainName": {},
+ "certificateName": {},
+ "certificateUploadDate": {
+ "type": "timestamp"
+ },
+ "distributionDomainName": {}
+ }
+ },
+ "Sq": {
+ "type": "structure",
+ "members": {
+ "id": {},
+ "name": {},
+ "description": {},
+ "schema": {},
+ "contentType": {}
+ }
+ },
+ "Ss": {
+ "type": "structure",
+ "members": {
+ "id": {},
+ "parentId": {},
+ "pathPart": {},
+ "path": {},
+ "resourceMethods": {
+ "type": "map",
+ "key": {},
+ "value": {
+ "shape": "Su"
+ }
+ }
+ }
+ },
+ "Su": {
+ "type": "structure",
+ "members": {
+ "httpMethod": {},
+ "authorizationType": {},
+ "authorizerId": {},
+ "apiKeyRequired": {
+ "type": "boolean"
+ },
+ "requestParameters": {
+ "shape": "Sv"
+ },
+ "requestModels": {
+ "shape": "Si"
+ },
+ "methodResponses": {
+ "type": "map",
+ "key": {},
+ "value": {
+ "shape": "Sx"
+ }
+ },
+ "methodIntegration": {
+ "shape": "Sz"
+ }
+ }
+ },
+ "Sv": {
+ "type": "map",
+ "key": {},
+ "value": {
+ "type": "boolean"
+ }
+ },
+ "Sx": {
+ "type": "structure",
+ "members": {
+ "statusCode": {},
+ "responseParameters": {
+ "shape": "Sv"
+ },
+ "responseModels": {
+ "shape": "Si"
+ }
+ }
+ },
+ "Sz": {
+ "type": "structure",
+ "members": {
+ "type": {},
+ "httpMethod": {},
+ "uri": {},
+ "credentials": {},
+ "requestParameters": {
+ "shape": "Si"
+ },
+ "requestTemplates": {
+ "shape": "Si"
+ },
+ "cacheNamespace": {},
+ "cacheKeyParameters": {
+ "shape": "S7"
+ },
+ "integrationResponses": {
+ "type": "map",
+ "key": {},
+ "value": {
+ "shape": "S12"
+ }
+ }
+ }
+ },
+ "S12": {
+ "type": "structure",
+ "members": {
+ "statusCode": {},
+ "selectionPattern": {},
+ "responseParameters": {
+ "shape": "Si"
+ },
+ "responseTemplates": {
+ "shape": "Si"
+ }
+ }
+ },
+ "S14": {
+ "type": "structure",
+ "members": {
+ "id": {},
+ "name": {},
+ "description": {},
+ "createdDate": {
+ "type": "timestamp"
+ }
+ }
+ },
+ "S16": {
+ "type": "structure",
+ "members": {
+ "deploymentId": {},
+ "clientCertificateId": {},
+ "stageName": {},
+ "description": {},
+ "cacheClusterEnabled": {
+ "type": "boolean"
+ },
+ "cacheClusterSize": {},
+ "cacheClusterStatus": {},
+ "methodSettings": {
+ "type": "map",
+ "key": {},
+ "value": {
+ "type": "structure",
+ "members": {
+ "metricsEnabled": {
+ "type": "boolean"
+ },
+ "loggingLevel": {},
+ "dataTraceEnabled": {
+ "type": "boolean"
+ },
+ "throttlingBurstLimit": {
+ "type": "integer"
+ },
+ "throttlingRateLimit": {
+ "type": "double"
+ },
+ "cachingEnabled": {
+ "type": "boolean"
+ },
+ "cacheTtlInSeconds": {
+ "type": "integer"
+ },
+ "cacheDataEncrypted": {
+ "type": "boolean"
+ },
+ "requireAuthorizationForCacheControl": {
+ "type": "boolean"
+ },
+ "unauthorizedCacheControlHeaderStrategy": {}
+ }
+ }
+ },
+ "variables": {
+ "shape": "Si"
+ },
+ "createdDate": {
+ "type": "timestamp"
+ },
+ "lastUpdatedDate": {
+ "type": "timestamp"
+ }
+ }
+ },
+ "S1u": {
+ "type": "structure",
+ "members": {
+ "clientCertificateId": {},
+ "description": {},
+ "pemEncodedCertificate": {},
+ "createdDate": {
+ "type": "timestamp"
+ },
+ "expirationDate": {
+ "type": "timestamp"
+ }
+ }
+ },
+ "S1w": {
+ "type": "structure",
+ "members": {
+ "cloudwatchRoleArn": {},
+ "throttleSettings": {
+ "type": "structure",
+ "members": {
+ "burstLimit": {
+ "type": "integer"
+ },
+ "rateLimit": {
+ "type": "double"
+ }
+ }
+ }
+ }
+ },
+ "S3i": {
+ "type": "map",
+ "key": {},
+ "value": {}
+ },
+ "S3p": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "op": {},
+ "path": {},
+ "value": {},
+ "from": {}
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/node_modules/aws-sdk/apis/apigateway-2015-07-09.paginators.json b/node_modules/aws-sdk/apis/apigateway-2015-07-09.paginators.json
new file mode 100644
index 0000000000000000000000000000000000000000..4a79cfbd6b1443d1e12b0521865ed30997967292
--- /dev/null
+++ b/node_modules/aws-sdk/apis/apigateway-2015-07-09.paginators.json
@@ -0,0 +1,52 @@
+{
+ "pagination": {
+ "GetApiKeys": {
+ "input_token": "position",
+ "output_token": "position",
+ "limit_key": "limit",
+ "result_key": "items"
+ },
+ "GetBasePathMappings": {
+ "input_token": "position",
+ "output_token": "position",
+ "limit_key": "limit",
+ "result_key": "items"
+ },
+ "GetClientCertificates": {
+ "input_token": "position",
+ "output_token": "position",
+ "limit_key": "limit",
+ "result_key": "items"
+ },
+ "GetDeployments": {
+ "input_token": "position",
+ "output_token": "position",
+ "limit_key": "limit",
+ "result_key": "items"
+ },
+ "GetDomainNames": {
+ "input_token": "position",
+ "output_token": "position",
+ "limit_key": "limit",
+ "result_key": "items"
+ },
+ "GetModels": {
+ "input_token": "position",
+ "output_token": "position",
+ "limit_key": "limit",
+ "result_key": "items"
+ },
+ "GetResources": {
+ "input_token": "position",
+ "output_token": "position",
+ "limit_key": "limit",
+ "result_key": "items"
+ },
+ "GetRestApis": {
+ "input_token": "position",
+ "output_token": "position",
+ "limit_key": "limit",
+ "result_key": "items"
+ }
+ }
+}
diff --git a/node_modules/aws-sdk/apis/autoscaling-2011-01-01.min.json b/node_modules/aws-sdk/apis/autoscaling-2011-01-01.min.json
new file mode 100644
index 0000000000000000000000000000000000000000..4e341b77cdae93145e1ab58ff4e31dd985c46b31
--- /dev/null
+++ b/node_modules/aws-sdk/apis/autoscaling-2011-01-01.min.json
@@ -0,0 +1,1517 @@
+{
+ "version": "2.0",
+ "metadata": {
+ "apiVersion": "2011-01-01",
+ "endpointPrefix": "autoscaling",
+ "protocol": "query",
+ "serviceFullName": "Auto Scaling",
+ "signatureVersion": "v4",
+ "xmlNamespace": "http://autoscaling.amazonaws.com/doc/2011-01-01/"
+ },
+ "operations": {
+ "AttachInstances": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "AutoScalingGroupName"
+ ],
+ "members": {
+ "InstanceIds": {
+ "shape": "S2"
+ },
+ "AutoScalingGroupName": {}
+ }
+ }
+ },
+ "AttachLoadBalancers": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "AutoScalingGroupName": {},
+ "LoadBalancerNames": {
+ "shape": "S6"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "AttachLoadBalancersResult",
+ "type": "structure",
+ "members": {}
+ }
+ },
+ "CompleteLifecycleAction": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "LifecycleHookName",
+ "AutoScalingGroupName",
+ "LifecycleActionResult"
+ ],
+ "members": {
+ "LifecycleHookName": {},
+ "AutoScalingGroupName": {},
+ "LifecycleActionToken": {},
+ "LifecycleActionResult": {},
+ "InstanceId": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "CompleteLifecycleActionResult",
+ "type": "structure",
+ "members": {}
+ }
+ },
+ "CreateAutoScalingGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "AutoScalingGroupName",
+ "MinSize",
+ "MaxSize"
+ ],
+ "members": {
+ "AutoScalingGroupName": {},
+ "LaunchConfigurationName": {},
+ "InstanceId": {},
+ "MinSize": {
+ "type": "integer"
+ },
+ "MaxSize": {
+ "type": "integer"
+ },
+ "DesiredCapacity": {
+ "type": "integer"
+ },
+ "DefaultCooldown": {
+ "type": "integer"
+ },
+ "AvailabilityZones": {
+ "shape": "Sj"
+ },
+ "LoadBalancerNames": {
+ "shape": "S6"
+ },
+ "HealthCheckType": {},
+ "HealthCheckGracePeriod": {
+ "type": "integer"
+ },
+ "PlacementGroup": {},
+ "VPCZoneIdentifier": {},
+ "TerminationPolicies": {
+ "shape": "Sm"
+ },
+ "NewInstancesProtectedFromScaleIn": {
+ "type": "boolean"
+ },
+ "Tags": {
+ "shape": "Sp"
+ }
+ }
+ }
+ },
+ "CreateLaunchConfiguration": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "LaunchConfigurationName"
+ ],
+ "members": {
+ "LaunchConfigurationName": {},
+ "ImageId": {},
+ "KeyName": {},
+ "SecurityGroups": {
+ "shape": "Sw"
+ },
+ "ClassicLinkVPCId": {},
+ "ClassicLinkVPCSecurityGroups": {
+ "shape": "Sx"
+ },
+ "UserData": {},
+ "InstanceId": {},
+ "InstanceType": {},
+ "KernelId": {},
+ "RamdiskId": {},
+ "BlockDeviceMappings": {
+ "shape": "Sz"
+ },
+ "InstanceMonitoring": {
+ "shape": "S18"
+ },
+ "SpotPrice": {},
+ "IamInstanceProfile": {},
+ "EbsOptimized": {
+ "type": "boolean"
+ },
+ "AssociatePublicIpAddress": {
+ "type": "boolean"
+ },
+ "PlacementTenancy": {}
+ }
+ }
+ },
+ "CreateOrUpdateTags": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Tags"
+ ],
+ "members": {
+ "Tags": {
+ "shape": "Sp"
+ }
+ }
+ }
+ },
+ "DeleteAutoScalingGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "AutoScalingGroupName"
+ ],
+ "members": {
+ "AutoScalingGroupName": {},
+ "ForceDelete": {
+ "type": "boolean"
+ }
+ }
+ }
+ },
+ "DeleteLaunchConfiguration": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "LaunchConfigurationName"
+ ],
+ "members": {
+ "LaunchConfigurationName": {}
+ }
+ }
+ },
+ "DeleteLifecycleHook": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "LifecycleHookName",
+ "AutoScalingGroupName"
+ ],
+ "members": {
+ "LifecycleHookName": {},
+ "AutoScalingGroupName": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DeleteLifecycleHookResult",
+ "type": "structure",
+ "members": {}
+ }
+ },
+ "DeleteNotificationConfiguration": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "AutoScalingGroupName",
+ "TopicARN"
+ ],
+ "members": {
+ "AutoScalingGroupName": {},
+ "TopicARN": {}
+ }
+ }
+ },
+ "DeletePolicy": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "PolicyName"
+ ],
+ "members": {
+ "AutoScalingGroupName": {},
+ "PolicyName": {}
+ }
+ }
+ },
+ "DeleteScheduledAction": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ScheduledActionName"
+ ],
+ "members": {
+ "AutoScalingGroupName": {},
+ "ScheduledActionName": {}
+ }
+ }
+ },
+ "DeleteTags": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Tags"
+ ],
+ "members": {
+ "Tags": {
+ "shape": "Sp"
+ }
+ }
+ }
+ },
+ "DescribeAccountLimits": {
+ "output": {
+ "resultWrapper": "DescribeAccountLimitsResult",
+ "type": "structure",
+ "members": {
+ "MaxNumberOfAutoScalingGroups": {
+ "type": "integer"
+ },
+ "MaxNumberOfLaunchConfigurations": {
+ "type": "integer"
+ },
+ "NumberOfAutoScalingGroups": {
+ "type": "integer"
+ },
+ "NumberOfLaunchConfigurations": {
+ "type": "integer"
+ }
+ }
+ }
+ },
+ "DescribeAdjustmentTypes": {
+ "output": {
+ "resultWrapper": "DescribeAdjustmentTypesResult",
+ "type": "structure",
+ "members": {
+ "AdjustmentTypes": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "AdjustmentType": {}
+ }
+ }
+ }
+ }
+ }
+ },
+ "DescribeAutoScalingGroups": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "AutoScalingGroupNames": {
+ "shape": "S1x"
+ },
+ "NextToken": {},
+ "MaxRecords": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeAutoScalingGroupsResult",
+ "type": "structure",
+ "required": [
+ "AutoScalingGroups"
+ ],
+ "members": {
+ "AutoScalingGroups": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "AutoScalingGroupName",
+ "MinSize",
+ "MaxSize",
+ "DesiredCapacity",
+ "DefaultCooldown",
+ "AvailabilityZones",
+ "HealthCheckType",
+ "CreatedTime"
+ ],
+ "members": {
+ "AutoScalingGroupName": {},
+ "AutoScalingGroupARN": {},
+ "LaunchConfigurationName": {},
+ "MinSize": {
+ "type": "integer"
+ },
+ "MaxSize": {
+ "type": "integer"
+ },
+ "DesiredCapacity": {
+ "type": "integer"
+ },
+ "DefaultCooldown": {
+ "type": "integer"
+ },
+ "AvailabilityZones": {
+ "shape": "Sj"
+ },
+ "LoadBalancerNames": {
+ "shape": "S6"
+ },
+ "HealthCheckType": {},
+ "HealthCheckGracePeriod": {
+ "type": "integer"
+ },
+ "Instances": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "InstanceId",
+ "AvailabilityZone",
+ "LifecycleState",
+ "HealthStatus",
+ "LaunchConfigurationName",
+ "ProtectedFromScaleIn"
+ ],
+ "members": {
+ "InstanceId": {},
+ "AvailabilityZone": {},
+ "LifecycleState": {},
+ "HealthStatus": {},
+ "LaunchConfigurationName": {},
+ "ProtectedFromScaleIn": {
+ "type": "boolean"
+ }
+ }
+ }
+ },
+ "CreatedTime": {
+ "type": "timestamp"
+ },
+ "SuspendedProcesses": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "ProcessName": {},
+ "SuspensionReason": {}
+ }
+ }
+ },
+ "PlacementGroup": {},
+ "VPCZoneIdentifier": {},
+ "EnabledMetrics": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "Metric": {},
+ "Granularity": {}
+ }
+ }
+ },
+ "Status": {},
+ "Tags": {
+ "shape": "S2a"
+ },
+ "TerminationPolicies": {
+ "shape": "Sm"
+ },
+ "NewInstancesProtectedFromScaleIn": {
+ "type": "boolean"
+ }
+ }
+ }
+ },
+ "NextToken": {}
+ }
+ }
+ },
+ "DescribeAutoScalingInstances": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "InstanceIds": {
+ "shape": "S2"
+ },
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "NextToken": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeAutoScalingInstancesResult",
+ "type": "structure",
+ "members": {
+ "AutoScalingInstances": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "InstanceId",
+ "AutoScalingGroupName",
+ "AvailabilityZone",
+ "LifecycleState",
+ "HealthStatus",
+ "LaunchConfigurationName",
+ "ProtectedFromScaleIn"
+ ],
+ "members": {
+ "InstanceId": {},
+ "AutoScalingGroupName": {},
+ "AvailabilityZone": {},
+ "LifecycleState": {},
+ "HealthStatus": {},
+ "LaunchConfigurationName": {},
+ "ProtectedFromScaleIn": {
+ "type": "boolean"
+ }
+ }
+ }
+ },
+ "NextToken": {}
+ }
+ }
+ },
+ "DescribeAutoScalingNotificationTypes": {
+ "output": {
+ "resultWrapper": "DescribeAutoScalingNotificationTypesResult",
+ "type": "structure",
+ "members": {
+ "AutoScalingNotificationTypes": {
+ "shape": "S2h"
+ }
+ }
+ }
+ },
+ "DescribeLaunchConfigurations": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "LaunchConfigurationNames": {
+ "type": "list",
+ "member": {}
+ },
+ "NextToken": {},
+ "MaxRecords": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeLaunchConfigurationsResult",
+ "type": "structure",
+ "required": [
+ "LaunchConfigurations"
+ ],
+ "members": {
+ "LaunchConfigurations": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "LaunchConfigurationName",
+ "ImageId",
+ "InstanceType",
+ "CreatedTime"
+ ],
+ "members": {
+ "LaunchConfigurationName": {},
+ "LaunchConfigurationARN": {},
+ "ImageId": {},
+ "KeyName": {},
+ "SecurityGroups": {
+ "shape": "Sw"
+ },
+ "ClassicLinkVPCId": {},
+ "ClassicLinkVPCSecurityGroups": {
+ "shape": "Sx"
+ },
+ "UserData": {},
+ "InstanceType": {},
+ "KernelId": {},
+ "RamdiskId": {},
+ "BlockDeviceMappings": {
+ "shape": "Sz"
+ },
+ "InstanceMonitoring": {
+ "shape": "S18"
+ },
+ "SpotPrice": {},
+ "IamInstanceProfile": {},
+ "CreatedTime": {
+ "type": "timestamp"
+ },
+ "EbsOptimized": {
+ "type": "boolean"
+ },
+ "AssociatePublicIpAddress": {
+ "type": "boolean"
+ },
+ "PlacementTenancy": {}
+ }
+ }
+ },
+ "NextToken": {}
+ }
+ }
+ },
+ "DescribeLifecycleHookTypes": {
+ "output": {
+ "resultWrapper": "DescribeLifecycleHookTypesResult",
+ "type": "structure",
+ "members": {
+ "LifecycleHookTypes": {
+ "shape": "S2h"
+ }
+ }
+ }
+ },
+ "DescribeLifecycleHooks": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "AutoScalingGroupName"
+ ],
+ "members": {
+ "AutoScalingGroupName": {},
+ "LifecycleHookNames": {
+ "type": "list",
+ "member": {}
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeLifecycleHooksResult",
+ "type": "structure",
+ "members": {
+ "LifecycleHooks": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "LifecycleHookName": {},
+ "AutoScalingGroupName": {},
+ "LifecycleTransition": {},
+ "NotificationTargetARN": {},
+ "RoleARN": {},
+ "NotificationMetadata": {},
+ "HeartbeatTimeout": {
+ "type": "integer"
+ },
+ "GlobalTimeout": {
+ "type": "integer"
+ },
+ "DefaultResult": {}
+ }
+ }
+ }
+ }
+ }
+ },
+ "DescribeLoadBalancers": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "AutoScalingGroupName"
+ ],
+ "members": {
+ "AutoScalingGroupName": {},
+ "NextToken": {},
+ "MaxRecords": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeLoadBalancersResult",
+ "type": "structure",
+ "members": {
+ "LoadBalancers": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "LoadBalancerName": {},
+ "State": {}
+ }
+ }
+ },
+ "NextToken": {}
+ }
+ }
+ },
+ "DescribeMetricCollectionTypes": {
+ "output": {
+ "resultWrapper": "DescribeMetricCollectionTypesResult",
+ "type": "structure",
+ "members": {
+ "Metrics": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "Metric": {}
+ }
+ }
+ },
+ "Granularities": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "Granularity": {}
+ }
+ }
+ }
+ }
+ }
+ },
+ "DescribeNotificationConfigurations": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "AutoScalingGroupNames": {
+ "shape": "S1x"
+ },
+ "NextToken": {},
+ "MaxRecords": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeNotificationConfigurationsResult",
+ "type": "structure",
+ "required": [
+ "NotificationConfigurations"
+ ],
+ "members": {
+ "NotificationConfigurations": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "AutoScalingGroupName": {},
+ "TopicARN": {},
+ "NotificationType": {}
+ }
+ }
+ },
+ "NextToken": {}
+ }
+ }
+ },
+ "DescribePolicies": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "AutoScalingGroupName": {},
+ "PolicyNames": {
+ "type": "list",
+ "member": {}
+ },
+ "PolicyTypes": {
+ "type": "list",
+ "member": {}
+ },
+ "NextToken": {},
+ "MaxRecords": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribePoliciesResult",
+ "type": "structure",
+ "members": {
+ "ScalingPolicies": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "AutoScalingGroupName": {},
+ "PolicyName": {},
+ "PolicyARN": {},
+ "PolicyType": {},
+ "AdjustmentType": {},
+ "MinAdjustmentStep": {
+ "shape": "S3g"
+ },
+ "MinAdjustmentMagnitude": {
+ "type": "integer"
+ },
+ "ScalingAdjustment": {
+ "type": "integer"
+ },
+ "Cooldown": {
+ "type": "integer"
+ },
+ "StepAdjustments": {
+ "shape": "S3j"
+ },
+ "MetricAggregationType": {},
+ "EstimatedInstanceWarmup": {
+ "type": "integer"
+ },
+ "Alarms": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "AlarmName": {},
+ "AlarmARN": {}
+ }
+ }
+ }
+ }
+ }
+ },
+ "NextToken": {}
+ }
+ }
+ },
+ "DescribeScalingActivities": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "ActivityIds": {
+ "type": "list",
+ "member": {}
+ },
+ "AutoScalingGroupName": {},
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "NextToken": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeScalingActivitiesResult",
+ "type": "structure",
+ "required": [
+ "Activities"
+ ],
+ "members": {
+ "Activities": {
+ "shape": "S3s"
+ },
+ "NextToken": {}
+ }
+ }
+ },
+ "DescribeScalingProcessTypes": {
+ "output": {
+ "resultWrapper": "DescribeScalingProcessTypesResult",
+ "type": "structure",
+ "members": {
+ "Processes": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "ProcessName"
+ ],
+ "members": {
+ "ProcessName": {}
+ }
+ }
+ }
+ }
+ }
+ },
+ "DescribeScheduledActions": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "AutoScalingGroupName": {},
+ "ScheduledActionNames": {
+ "type": "list",
+ "member": {}
+ },
+ "StartTime": {
+ "type": "timestamp"
+ },
+ "EndTime": {
+ "type": "timestamp"
+ },
+ "NextToken": {},
+ "MaxRecords": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeScheduledActionsResult",
+ "type": "structure",
+ "members": {
+ "ScheduledUpdateGroupActions": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "AutoScalingGroupName": {},
+ "ScheduledActionName": {},
+ "ScheduledActionARN": {},
+ "Time": {
+ "type": "timestamp"
+ },
+ "StartTime": {
+ "type": "timestamp"
+ },
+ "EndTime": {
+ "type": "timestamp"
+ },
+ "Recurrence": {},
+ "MinSize": {
+ "type": "integer"
+ },
+ "MaxSize": {
+ "type": "integer"
+ },
+ "DesiredCapacity": {
+ "type": "integer"
+ }
+ }
+ }
+ },
+ "NextToken": {}
+ }
+ }
+ },
+ "DescribeTags": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "Filters": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "Name": {},
+ "Values": {
+ "type": "list",
+ "member": {}
+ }
+ }
+ }
+ },
+ "NextToken": {},
+ "MaxRecords": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeTagsResult",
+ "type": "structure",
+ "members": {
+ "Tags": {
+ "shape": "S2a"
+ },
+ "NextToken": {}
+ }
+ }
+ },
+ "DescribeTerminationPolicyTypes": {
+ "output": {
+ "resultWrapper": "DescribeTerminationPolicyTypesResult",
+ "type": "structure",
+ "members": {
+ "TerminationPolicyTypes": {
+ "shape": "Sm"
+ }
+ }
+ }
+ },
+ "DetachInstances": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "AutoScalingGroupName",
+ "ShouldDecrementDesiredCapacity"
+ ],
+ "members": {
+ "InstanceIds": {
+ "shape": "S2"
+ },
+ "AutoScalingGroupName": {},
+ "ShouldDecrementDesiredCapacity": {
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "DetachInstancesResult",
+ "type": "structure",
+ "members": {
+ "Activities": {
+ "shape": "S3s"
+ }
+ }
+ }
+ },
+ "DetachLoadBalancers": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "AutoScalingGroupName": {},
+ "LoadBalancerNames": {
+ "shape": "S6"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "DetachLoadBalancersResult",
+ "type": "structure",
+ "members": {}
+ }
+ },
+ "DisableMetricsCollection": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "AutoScalingGroupName"
+ ],
+ "members": {
+ "AutoScalingGroupName": {},
+ "Metrics": {
+ "shape": "S4g"
+ }
+ }
+ }
+ },
+ "EnableMetricsCollection": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "AutoScalingGroupName",
+ "Granularity"
+ ],
+ "members": {
+ "AutoScalingGroupName": {},
+ "Metrics": {
+ "shape": "S4g"
+ },
+ "Granularity": {}
+ }
+ }
+ },
+ "EnterStandby": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "AutoScalingGroupName",
+ "ShouldDecrementDesiredCapacity"
+ ],
+ "members": {
+ "InstanceIds": {
+ "shape": "S2"
+ },
+ "AutoScalingGroupName": {},
+ "ShouldDecrementDesiredCapacity": {
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "EnterStandbyResult",
+ "type": "structure",
+ "members": {
+ "Activities": {
+ "shape": "S3s"
+ }
+ }
+ }
+ },
+ "ExecutePolicy": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "PolicyName"
+ ],
+ "members": {
+ "AutoScalingGroupName": {},
+ "PolicyName": {},
+ "HonorCooldown": {
+ "type": "boolean"
+ },
+ "MetricValue": {
+ "type": "double"
+ },
+ "BreachThreshold": {
+ "type": "double"
+ }
+ }
+ }
+ },
+ "ExitStandby": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "AutoScalingGroupName"
+ ],
+ "members": {
+ "InstanceIds": {
+ "shape": "S2"
+ },
+ "AutoScalingGroupName": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "ExitStandbyResult",
+ "type": "structure",
+ "members": {
+ "Activities": {
+ "shape": "S3s"
+ }
+ }
+ }
+ },
+ "PutLifecycleHook": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "LifecycleHookName",
+ "AutoScalingGroupName"
+ ],
+ "members": {
+ "LifecycleHookName": {},
+ "AutoScalingGroupName": {},
+ "LifecycleTransition": {},
+ "RoleARN": {},
+ "NotificationTargetARN": {},
+ "NotificationMetadata": {},
+ "HeartbeatTimeout": {
+ "type": "integer"
+ },
+ "DefaultResult": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "PutLifecycleHookResult",
+ "type": "structure",
+ "members": {}
+ }
+ },
+ "PutNotificationConfiguration": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "AutoScalingGroupName",
+ "TopicARN",
+ "NotificationTypes"
+ ],
+ "members": {
+ "AutoScalingGroupName": {},
+ "TopicARN": {},
+ "NotificationTypes": {
+ "shape": "S2h"
+ }
+ }
+ }
+ },
+ "PutScalingPolicy": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "AutoScalingGroupName",
+ "PolicyName",
+ "AdjustmentType"
+ ],
+ "members": {
+ "AutoScalingGroupName": {},
+ "PolicyName": {},
+ "PolicyType": {},
+ "AdjustmentType": {},
+ "MinAdjustmentStep": {
+ "shape": "S3g"
+ },
+ "MinAdjustmentMagnitude": {
+ "type": "integer"
+ },
+ "ScalingAdjustment": {
+ "type": "integer"
+ },
+ "Cooldown": {
+ "type": "integer"
+ },
+ "MetricAggregationType": {},
+ "StepAdjustments": {
+ "shape": "S3j"
+ },
+ "EstimatedInstanceWarmup": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "PutScalingPolicyResult",
+ "type": "structure",
+ "members": {
+ "PolicyARN": {}
+ }
+ }
+ },
+ "PutScheduledUpdateGroupAction": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "AutoScalingGroupName",
+ "ScheduledActionName"
+ ],
+ "members": {
+ "AutoScalingGroupName": {},
+ "ScheduledActionName": {},
+ "Time": {
+ "type": "timestamp"
+ },
+ "StartTime": {
+ "type": "timestamp"
+ },
+ "EndTime": {
+ "type": "timestamp"
+ },
+ "Recurrence": {},
+ "MinSize": {
+ "type": "integer"
+ },
+ "MaxSize": {
+ "type": "integer"
+ },
+ "DesiredCapacity": {
+ "type": "integer"
+ }
+ }
+ }
+ },
+ "RecordLifecycleActionHeartbeat": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "LifecycleHookName",
+ "AutoScalingGroupName"
+ ],
+ "members": {
+ "LifecycleHookName": {},
+ "AutoScalingGroupName": {},
+ "LifecycleActionToken": {},
+ "InstanceId": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "RecordLifecycleActionHeartbeatResult",
+ "type": "structure",
+ "members": {}
+ }
+ },
+ "ResumeProcesses": {
+ "input": {
+ "shape": "S4x"
+ }
+ },
+ "SetDesiredCapacity": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "AutoScalingGroupName",
+ "DesiredCapacity"
+ ],
+ "members": {
+ "AutoScalingGroupName": {},
+ "DesiredCapacity": {
+ "type": "integer"
+ },
+ "HonorCooldown": {
+ "type": "boolean"
+ }
+ }
+ }
+ },
+ "SetInstanceHealth": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "InstanceId",
+ "HealthStatus"
+ ],
+ "members": {
+ "InstanceId": {},
+ "HealthStatus": {},
+ "ShouldRespectGracePeriod": {
+ "type": "boolean"
+ }
+ }
+ }
+ },
+ "SetInstanceProtection": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "InstanceIds",
+ "AutoScalingGroupName",
+ "ProtectedFromScaleIn"
+ ],
+ "members": {
+ "InstanceIds": {
+ "shape": "S2"
+ },
+ "AutoScalingGroupName": {},
+ "ProtectedFromScaleIn": {
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "SetInstanceProtectionResult",
+ "type": "structure",
+ "members": {}
+ }
+ },
+ "SuspendProcesses": {
+ "input": {
+ "shape": "S4x"
+ }
+ },
+ "TerminateInstanceInAutoScalingGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "InstanceId",
+ "ShouldDecrementDesiredCapacity"
+ ],
+ "members": {
+ "InstanceId": {},
+ "ShouldDecrementDesiredCapacity": {
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "TerminateInstanceInAutoScalingGroupResult",
+ "type": "structure",
+ "members": {
+ "Activity": {
+ "shape": "S3t"
+ }
+ }
+ }
+ },
+ "UpdateAutoScalingGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "AutoScalingGroupName"
+ ],
+ "members": {
+ "AutoScalingGroupName": {},
+ "LaunchConfigurationName": {},
+ "MinSize": {
+ "type": "integer"
+ },
+ "MaxSize": {
+ "type": "integer"
+ },
+ "DesiredCapacity": {
+ "type": "integer"
+ },
+ "DefaultCooldown": {
+ "type": "integer"
+ },
+ "AvailabilityZones": {
+ "shape": "Sj"
+ },
+ "HealthCheckType": {},
+ "HealthCheckGracePeriod": {
+ "type": "integer"
+ },
+ "PlacementGroup": {},
+ "VPCZoneIdentifier": {},
+ "TerminationPolicies": {
+ "shape": "Sm"
+ },
+ "NewInstancesProtectedFromScaleIn": {
+ "type": "boolean"
+ }
+ }
+ }
+ }
+ },
+ "shapes": {
+ "S2": {
+ "type": "list",
+ "member": {}
+ },
+ "S6": {
+ "type": "list",
+ "member": {}
+ },
+ "Sj": {
+ "type": "list",
+ "member": {}
+ },
+ "Sm": {
+ "type": "list",
+ "member": {}
+ },
+ "Sp": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "Key"
+ ],
+ "members": {
+ "ResourceId": {},
+ "ResourceType": {},
+ "Key": {},
+ "Value": {},
+ "PropagateAtLaunch": {
+ "type": "boolean"
+ }
+ }
+ }
+ },
+ "Sw": {
+ "type": "list",
+ "member": {}
+ },
+ "Sx": {
+ "type": "list",
+ "member": {}
+ },
+ "Sz": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "DeviceName"
+ ],
+ "members": {
+ "VirtualName": {},
+ "DeviceName": {},
+ "Ebs": {
+ "type": "structure",
+ "members": {
+ "SnapshotId": {},
+ "VolumeSize": {
+ "type": "integer"
+ },
+ "VolumeType": {},
+ "DeleteOnTermination": {
+ "type": "boolean"
+ },
+ "Iops": {
+ "type": "integer"
+ },
+ "Encrypted": {
+ "type": "boolean"
+ }
+ }
+ },
+ "NoDevice": {
+ "type": "boolean"
+ }
+ }
+ }
+ },
+ "S18": {
+ "type": "structure",
+ "members": {
+ "Enabled": {
+ "type": "boolean"
+ }
+ }
+ },
+ "S1x": {
+ "type": "list",
+ "member": {}
+ },
+ "S2a": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "ResourceId": {},
+ "ResourceType": {},
+ "Key": {},
+ "Value": {},
+ "PropagateAtLaunch": {
+ "type": "boolean"
+ }
+ }
+ }
+ },
+ "S2h": {
+ "type": "list",
+ "member": {}
+ },
+ "S3g": {
+ "type": "integer",
+ "deprecated": true
+ },
+ "S3j": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "ScalingAdjustment"
+ ],
+ "members": {
+ "MetricIntervalLowerBound": {
+ "type": "double"
+ },
+ "MetricIntervalUpperBound": {
+ "type": "double"
+ },
+ "ScalingAdjustment": {
+ "type": "integer"
+ }
+ }
+ }
+ },
+ "S3s": {
+ "type": "list",
+ "member": {
+ "shape": "S3t"
+ }
+ },
+ "S3t": {
+ "type": "structure",
+ "required": [
+ "ActivityId",
+ "AutoScalingGroupName",
+ "Cause",
+ "StartTime",
+ "StatusCode"
+ ],
+ "members": {
+ "ActivityId": {},
+ "AutoScalingGroupName": {},
+ "Description": {},
+ "Cause": {},
+ "StartTime": {
+ "type": "timestamp"
+ },
+ "EndTime": {
+ "type": "timestamp"
+ },
+ "StatusCode": {},
+ "StatusMessage": {},
+ "Progress": {
+ "type": "integer"
+ },
+ "Details": {}
+ }
+ },
+ "S4g": {
+ "type": "list",
+ "member": {}
+ },
+ "S4x": {
+ "type": "structure",
+ "required": [
+ "AutoScalingGroupName"
+ ],
+ "members": {
+ "AutoScalingGroupName": {},
+ "ScalingProcesses": {
+ "type": "list",
+ "member": {}
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/node_modules/aws-sdk/apis/autoscaling-2011-01-01.paginators.json b/node_modules/aws-sdk/apis/autoscaling-2011-01-01.paginators.json
new file mode 100644
index 0000000000000000000000000000000000000000..31bc0944568f11513ca1856068ee86fcac00f4ab
--- /dev/null
+++ b/node_modules/aws-sdk/apis/autoscaling-2011-01-01.paginators.json
@@ -0,0 +1,52 @@
+{
+ "pagination": {
+ "DescribeAutoScalingGroups": {
+ "input_token": "NextToken",
+ "output_token": "NextToken",
+ "limit_key": "MaxRecords",
+ "result_key": "AutoScalingGroups"
+ },
+ "DescribeAutoScalingInstances": {
+ "input_token": "NextToken",
+ "output_token": "NextToken",
+ "limit_key": "MaxRecords",
+ "result_key": "AutoScalingInstances"
+ },
+ "DescribeLaunchConfigurations": {
+ "input_token": "NextToken",
+ "output_token": "NextToken",
+ "limit_key": "MaxRecords",
+ "result_key": "LaunchConfigurations"
+ },
+ "DescribeNotificationConfigurations": {
+ "input_token": "NextToken",
+ "output_token": "NextToken",
+ "limit_key": "MaxRecords",
+ "result_key": "NotificationConfigurations"
+ },
+ "DescribePolicies": {
+ "input_token": "NextToken",
+ "output_token": "NextToken",
+ "limit_key": "MaxRecords",
+ "result_key": "ScalingPolicies"
+ },
+ "DescribeScalingActivities": {
+ "input_token": "NextToken",
+ "output_token": "NextToken",
+ "limit_key": "MaxRecords",
+ "result_key": "Activities"
+ },
+ "DescribeScheduledActions": {
+ "input_token": "NextToken",
+ "output_token": "NextToken",
+ "limit_key": "MaxRecords",
+ "result_key": "ScheduledUpdateGroupActions"
+ },
+ "DescribeTags": {
+ "input_token": "NextToken",
+ "output_token": "NextToken",
+ "limit_key": "MaxRecords",
+ "result_key": "Tags"
+ }
+ }
+}
diff --git a/node_modules/aws-sdk/apis/cloudformation-2010-05-15.min.json b/node_modules/aws-sdk/apis/cloudformation-2010-05-15.min.json
new file mode 100644
index 0000000000000000000000000000000000000000..16c8e39601965aceb91279d8bf1e38e8c52eac7c
--- /dev/null
+++ b/node_modules/aws-sdk/apis/cloudformation-2010-05-15.min.json
@@ -0,0 +1,852 @@
+{
+ "version": "2.0",
+ "metadata": {
+ "apiVersion": "2010-05-15",
+ "endpointPrefix": "cloudformation",
+ "protocol": "query",
+ "serviceFullName": "AWS CloudFormation",
+ "signatureVersion": "v4",
+ "xmlNamespace": "http://cloudformation.amazonaws.com/doc/2010-05-15/"
+ },
+ "operations": {
+ "CancelUpdateStack": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "StackName"
+ ],
+ "members": {
+ "StackName": {}
+ }
+ }
+ },
+ "ContinueUpdateRollback": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "StackName"
+ ],
+ "members": {
+ "StackName": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "ContinueUpdateRollbackResult",
+ "type": "structure",
+ "members": {}
+ }
+ },
+ "CreateChangeSet": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "StackName",
+ "ChangeSetName"
+ ],
+ "members": {
+ "StackName": {},
+ "TemplateBody": {},
+ "TemplateURL": {},
+ "UsePreviousTemplate": {
+ "type": "boolean"
+ },
+ "Parameters": {
+ "shape": "Sa"
+ },
+ "Capabilities": {
+ "shape": "Sf"
+ },
+ "ResourceTypes": {
+ "shape": "Sh"
+ },
+ "NotificationARNs": {
+ "shape": "Sj"
+ },
+ "Tags": {
+ "shape": "Sl"
+ },
+ "ChangeSetName": {},
+ "ClientToken": {},
+ "Description": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "CreateChangeSetResult",
+ "type": "structure",
+ "members": {
+ "Id": {}
+ }
+ }
+ },
+ "CreateStack": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "StackName"
+ ],
+ "members": {
+ "StackName": {},
+ "TemplateBody": {},
+ "TemplateURL": {},
+ "Parameters": {
+ "shape": "Sa"
+ },
+ "DisableRollback": {
+ "type": "boolean"
+ },
+ "TimeoutInMinutes": {
+ "type": "integer"
+ },
+ "NotificationARNs": {
+ "shape": "Sj"
+ },
+ "Capabilities": {
+ "shape": "Sf"
+ },
+ "ResourceTypes": {
+ "shape": "Sh"
+ },
+ "OnFailure": {},
+ "StackPolicyBody": {},
+ "StackPolicyURL": {},
+ "Tags": {
+ "shape": "Sl"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "CreateStackResult",
+ "type": "structure",
+ "members": {
+ "StackId": {}
+ }
+ }
+ },
+ "DeleteChangeSet": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ChangeSetName"
+ ],
+ "members": {
+ "ChangeSetName": {},
+ "StackName": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DeleteChangeSetResult",
+ "type": "structure",
+ "members": {}
+ }
+ },
+ "DeleteStack": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "StackName"
+ ],
+ "members": {
+ "StackName": {},
+ "RetainResources": {
+ "type": "list",
+ "member": {}
+ }
+ }
+ }
+ },
+ "DescribeAccountLimits": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "NextToken": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeAccountLimitsResult",
+ "type": "structure",
+ "members": {
+ "AccountLimits": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "Name": {},
+ "Value": {
+ "type": "integer"
+ }
+ }
+ }
+ },
+ "NextToken": {}
+ }
+ }
+ },
+ "DescribeChangeSet": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ChangeSetName"
+ ],
+ "members": {
+ "ChangeSetName": {},
+ "StackName": {},
+ "NextToken": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeChangeSetResult",
+ "type": "structure",
+ "members": {
+ "ChangeSetName": {},
+ "ChangeSetId": {},
+ "StackId": {},
+ "StackName": {},
+ "Description": {},
+ "Parameters": {
+ "shape": "Sa"
+ },
+ "CreationTime": {
+ "type": "timestamp"
+ },
+ "Status": {},
+ "StatusReason": {},
+ "NotificationARNs": {
+ "shape": "Sj"
+ },
+ "Capabilities": {
+ "shape": "Sf"
+ },
+ "Tags": {
+ "shape": "Sl"
+ },
+ "Changes": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "Type": {},
+ "ResourceChange": {
+ "type": "structure",
+ "members": {
+ "Action": {},
+ "LogicalResourceId": {},
+ "PhysicalResourceId": {},
+ "ResourceType": {},
+ "Replacement": {},
+ "Scope": {
+ "type": "list",
+ "member": {}
+ },
+ "Details": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "Target": {
+ "type": "structure",
+ "members": {
+ "Attribute": {},
+ "Name": {},
+ "RequiresRecreation": {}
+ }
+ },
+ "Evaluation": {},
+ "ChangeSource": {},
+ "CausingEntity": {}
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "NextToken": {}
+ }
+ }
+ },
+ "DescribeStackEvents": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "StackName": {},
+ "NextToken": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeStackEventsResult",
+ "type": "structure",
+ "members": {
+ "StackEvents": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "StackId",
+ "EventId",
+ "StackName",
+ "Timestamp"
+ ],
+ "members": {
+ "StackId": {},
+ "EventId": {},
+ "StackName": {},
+ "LogicalResourceId": {},
+ "PhysicalResourceId": {},
+ "ResourceType": {},
+ "Timestamp": {
+ "type": "timestamp"
+ },
+ "ResourceStatus": {},
+ "ResourceStatusReason": {},
+ "ResourceProperties": {}
+ }
+ }
+ },
+ "NextToken": {}
+ }
+ }
+ },
+ "DescribeStackResource": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "StackName",
+ "LogicalResourceId"
+ ],
+ "members": {
+ "StackName": {},
+ "LogicalResourceId": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeStackResourceResult",
+ "type": "structure",
+ "members": {
+ "StackResourceDetail": {
+ "type": "structure",
+ "required": [
+ "LogicalResourceId",
+ "ResourceType",
+ "LastUpdatedTimestamp",
+ "ResourceStatus"
+ ],
+ "members": {
+ "StackName": {},
+ "StackId": {},
+ "LogicalResourceId": {},
+ "PhysicalResourceId": {},
+ "ResourceType": {},
+ "LastUpdatedTimestamp": {
+ "type": "timestamp"
+ },
+ "ResourceStatus": {},
+ "ResourceStatusReason": {},
+ "Description": {},
+ "Metadata": {}
+ }
+ }
+ }
+ }
+ },
+ "DescribeStackResources": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "StackName": {},
+ "LogicalResourceId": {},
+ "PhysicalResourceId": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeStackResourcesResult",
+ "type": "structure",
+ "members": {
+ "StackResources": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "LogicalResourceId",
+ "ResourceType",
+ "Timestamp",
+ "ResourceStatus"
+ ],
+ "members": {
+ "StackName": {},
+ "StackId": {},
+ "LogicalResourceId": {},
+ "PhysicalResourceId": {},
+ "ResourceType": {},
+ "Timestamp": {
+ "type": "timestamp"
+ },
+ "ResourceStatus": {},
+ "ResourceStatusReason": {},
+ "Description": {}
+ }
+ }
+ }
+ }
+ }
+ },
+ "DescribeStacks": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "StackName": {},
+ "NextToken": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeStacksResult",
+ "type": "structure",
+ "members": {
+ "Stacks": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "StackName",
+ "CreationTime",
+ "StackStatus"
+ ],
+ "members": {
+ "StackId": {},
+ "StackName": {},
+ "Description": {},
+ "Parameters": {
+ "shape": "Sa"
+ },
+ "CreationTime": {
+ "type": "timestamp"
+ },
+ "LastUpdatedTime": {
+ "type": "timestamp"
+ },
+ "StackStatus": {},
+ "StackStatusReason": {},
+ "DisableRollback": {
+ "type": "boolean"
+ },
+ "NotificationARNs": {
+ "shape": "Sj"
+ },
+ "TimeoutInMinutes": {
+ "type": "integer"
+ },
+ "Capabilities": {
+ "shape": "Sf"
+ },
+ "Outputs": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "OutputKey": {},
+ "OutputValue": {},
+ "Description": {}
+ }
+ }
+ },
+ "Tags": {
+ "shape": "Sl"
+ }
+ }
+ }
+ },
+ "NextToken": {}
+ }
+ }
+ },
+ "EstimateTemplateCost": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "TemplateBody": {},
+ "TemplateURL": {},
+ "Parameters": {
+ "shape": "Sa"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "EstimateTemplateCostResult",
+ "type": "structure",
+ "members": {
+ "Url": {}
+ }
+ }
+ },
+ "ExecuteChangeSet": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ChangeSetName"
+ ],
+ "members": {
+ "ChangeSetName": {},
+ "StackName": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "ExecuteChangeSetResult",
+ "type": "structure",
+ "members": {}
+ }
+ },
+ "GetStackPolicy": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "StackName"
+ ],
+ "members": {
+ "StackName": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "GetStackPolicyResult",
+ "type": "structure",
+ "members": {
+ "StackPolicyBody": {}
+ }
+ }
+ },
+ "GetTemplate": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "StackName"
+ ],
+ "members": {
+ "StackName": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "GetTemplateResult",
+ "type": "structure",
+ "members": {
+ "TemplateBody": {}
+ }
+ }
+ },
+ "GetTemplateSummary": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "TemplateBody": {},
+ "TemplateURL": {},
+ "StackName": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "GetTemplateSummaryResult",
+ "type": "structure",
+ "members": {
+ "Parameters": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "ParameterKey": {},
+ "DefaultValue": {},
+ "ParameterType": {},
+ "NoEcho": {
+ "type": "boolean"
+ },
+ "Description": {},
+ "ParameterConstraints": {
+ "type": "structure",
+ "members": {
+ "AllowedValues": {
+ "type": "list",
+ "member": {}
+ }
+ }
+ }
+ }
+ }
+ },
+ "Description": {},
+ "Capabilities": {
+ "shape": "Sf"
+ },
+ "CapabilitiesReason": {},
+ "ResourceTypes": {
+ "shape": "Sh"
+ },
+ "Version": {},
+ "Metadata": {}
+ }
+ }
+ },
+ "ListChangeSets": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "StackName"
+ ],
+ "members": {
+ "StackName": {},
+ "NextToken": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "ListChangeSetsResult",
+ "type": "structure",
+ "members": {
+ "Summaries": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "StackId": {},
+ "StackName": {},
+ "ChangeSetId": {},
+ "ChangeSetName": {},
+ "Status": {},
+ "StatusReason": {},
+ "CreationTime": {
+ "type": "timestamp"
+ },
+ "Description": {}
+ }
+ }
+ },
+ "NextToken": {}
+ }
+ }
+ },
+ "ListStackResources": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "StackName"
+ ],
+ "members": {
+ "StackName": {},
+ "NextToken": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "ListStackResourcesResult",
+ "type": "structure",
+ "members": {
+ "StackResourceSummaries": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "LogicalResourceId",
+ "ResourceType",
+ "LastUpdatedTimestamp",
+ "ResourceStatus"
+ ],
+ "members": {
+ "LogicalResourceId": {},
+ "PhysicalResourceId": {},
+ "ResourceType": {},
+ "LastUpdatedTimestamp": {
+ "type": "timestamp"
+ },
+ "ResourceStatus": {},
+ "ResourceStatusReason": {}
+ }
+ }
+ },
+ "NextToken": {}
+ }
+ }
+ },
+ "ListStacks": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "NextToken": {},
+ "StackStatusFilter": {
+ "type": "list",
+ "member": {}
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "ListStacksResult",
+ "type": "structure",
+ "members": {
+ "StackSummaries": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "StackName",
+ "CreationTime",
+ "StackStatus"
+ ],
+ "members": {
+ "StackId": {},
+ "StackName": {},
+ "TemplateDescription": {},
+ "CreationTime": {
+ "type": "timestamp"
+ },
+ "LastUpdatedTime": {
+ "type": "timestamp"
+ },
+ "DeletionTime": {
+ "type": "timestamp"
+ },
+ "StackStatus": {},
+ "StackStatusReason": {}
+ }
+ }
+ },
+ "NextToken": {}
+ }
+ }
+ },
+ "SetStackPolicy": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "StackName"
+ ],
+ "members": {
+ "StackName": {},
+ "StackPolicyBody": {},
+ "StackPolicyURL": {}
+ }
+ }
+ },
+ "SignalResource": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "StackName",
+ "LogicalResourceId",
+ "UniqueId",
+ "Status"
+ ],
+ "members": {
+ "StackName": {},
+ "LogicalResourceId": {},
+ "UniqueId": {},
+ "Status": {}
+ }
+ }
+ },
+ "UpdateStack": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "StackName"
+ ],
+ "members": {
+ "StackName": {},
+ "TemplateBody": {},
+ "TemplateURL": {},
+ "UsePreviousTemplate": {
+ "type": "boolean"
+ },
+ "StackPolicyDuringUpdateBody": {},
+ "StackPolicyDuringUpdateURL": {},
+ "Parameters": {
+ "shape": "Sa"
+ },
+ "Capabilities": {
+ "shape": "Sf"
+ },
+ "ResourceTypes": {
+ "shape": "Sh"
+ },
+ "StackPolicyBody": {},
+ "StackPolicyURL": {},
+ "NotificationARNs": {
+ "shape": "Sj"
+ },
+ "Tags": {
+ "shape": "Sl"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "UpdateStackResult",
+ "type": "structure",
+ "members": {
+ "StackId": {}
+ }
+ }
+ },
+ "ValidateTemplate": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "TemplateBody": {},
+ "TemplateURL": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "ValidateTemplateResult",
+ "type": "structure",
+ "members": {
+ "Parameters": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "ParameterKey": {},
+ "DefaultValue": {},
+ "NoEcho": {
+ "type": "boolean"
+ },
+ "Description": {}
+ }
+ }
+ },
+ "Description": {},
+ "Capabilities": {
+ "shape": "Sf"
+ },
+ "CapabilitiesReason": {}
+ }
+ }
+ }
+ },
+ "shapes": {
+ "Sa": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "ParameterKey": {},
+ "ParameterValue": {},
+ "UsePreviousValue": {
+ "type": "boolean"
+ }
+ }
+ }
+ },
+ "Sf": {
+ "type": "list",
+ "member": {}
+ },
+ "Sh": {
+ "type": "list",
+ "member": {}
+ },
+ "Sj": {
+ "type": "list",
+ "member": {}
+ },
+ "Sl": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "Key": {},
+ "Value": {}
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/node_modules/aws-sdk/apis/cloudformation-2010-05-15.paginators.json b/node_modules/aws-sdk/apis/cloudformation-2010-05-15.paginators.json
new file mode 100644
index 0000000000000000000000000000000000000000..da6c17d42b7a8f6f94009cff3a36ce3734f3b867
--- /dev/null
+++ b/node_modules/aws-sdk/apis/cloudformation-2010-05-15.paginators.json
@@ -0,0 +1,27 @@
+{
+ "pagination": {
+ "DescribeStackEvents": {
+ "input_token": "NextToken",
+ "output_token": "NextToken",
+ "result_key": "StackEvents"
+ },
+ "DescribeStackResources": {
+ "result_key": "StackResources"
+ },
+ "DescribeStacks": {
+ "input_token": "NextToken",
+ "output_token": "NextToken",
+ "result_key": "Stacks"
+ },
+ "ListStackResources": {
+ "input_token": "NextToken",
+ "output_token": "NextToken",
+ "result_key": "StackResourceSummaries"
+ },
+ "ListStacks": {
+ "input_token": "NextToken",
+ "output_token": "NextToken",
+ "result_key": "StackSummaries"
+ }
+ }
+}
diff --git a/node_modules/aws-sdk/apis/cloudfront-2016-01-28.min.json b/node_modules/aws-sdk/apis/cloudfront-2016-01-28.min.json
new file mode 100644
index 0000000000000000000000000000000000000000..5c535a48543f3b657119d59be5e5de0984b0072c
--- /dev/null
+++ b/node_modules/aws-sdk/apis/cloudfront-2016-01-28.min.json
@@ -0,0 +1,1635 @@
+{
+ "version": "2.0",
+ "metadata": {
+ "apiVersion": "2016-01-28",
+ "endpointPrefix": "cloudfront",
+ "globalEndpoint": "cloudfront.amazonaws.com",
+ "protocol": "rest-xml",
+ "serviceAbbreviation": "CloudFront",
+ "serviceFullName": "Amazon CloudFront",
+ "signatureVersion": "v4"
+ },
+ "operations": {
+ "CreateCloudFrontOriginAccessIdentity": {
+ "http": {
+ "requestUri": "/2016-01-28/origin-access-identity/cloudfront",
+ "responseCode": 201
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "CloudFrontOriginAccessIdentityConfig"
+ ],
+ "members": {
+ "CloudFrontOriginAccessIdentityConfig": {
+ "shape": "S2",
+ "locationName": "CloudFrontOriginAccessIdentityConfig",
+ "xmlNamespace": {
+ "uri": "http://cloudfront.amazonaws.com/doc/2016-01-28/"
+ }
+ }
+ },
+ "payload": "CloudFrontOriginAccessIdentityConfig"
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "CloudFrontOriginAccessIdentity": {
+ "shape": "S5"
+ },
+ "Location": {
+ "location": "header",
+ "locationName": "Location"
+ },
+ "ETag": {
+ "location": "header",
+ "locationName": "ETag"
+ }
+ },
+ "payload": "CloudFrontOriginAccessIdentity"
+ }
+ },
+ "CreateDistribution": {
+ "http": {
+ "requestUri": "/2016-01-28/distribution",
+ "responseCode": 201
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "DistributionConfig"
+ ],
+ "members": {
+ "DistributionConfig": {
+ "shape": "S7",
+ "locationName": "DistributionConfig",
+ "xmlNamespace": {
+ "uri": "http://cloudfront.amazonaws.com/doc/2016-01-28/"
+ }
+ }
+ },
+ "payload": "DistributionConfig"
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Distribution": {
+ "shape": "S1l"
+ },
+ "Location": {
+ "location": "header",
+ "locationName": "Location"
+ },
+ "ETag": {
+ "location": "header",
+ "locationName": "ETag"
+ }
+ },
+ "payload": "Distribution"
+ }
+ },
+ "CreateInvalidation": {
+ "http": {
+ "requestUri": "/2016-01-28/distribution/{DistributionId}/invalidation",
+ "responseCode": 201
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "DistributionId",
+ "InvalidationBatch"
+ ],
+ "members": {
+ "DistributionId": {
+ "location": "uri",
+ "locationName": "DistributionId"
+ },
+ "InvalidationBatch": {
+ "shape": "S1t",
+ "locationName": "InvalidationBatch",
+ "xmlNamespace": {
+ "uri": "http://cloudfront.amazonaws.com/doc/2016-01-28/"
+ }
+ }
+ },
+ "payload": "InvalidationBatch"
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Location": {
+ "location": "header",
+ "locationName": "Location"
+ },
+ "Invalidation": {
+ "shape": "S1x"
+ }
+ },
+ "payload": "Invalidation"
+ }
+ },
+ "CreateStreamingDistribution": {
+ "http": {
+ "requestUri": "/2016-01-28/streaming-distribution",
+ "responseCode": 201
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "StreamingDistributionConfig"
+ ],
+ "members": {
+ "StreamingDistributionConfig": {
+ "shape": "S1z",
+ "locationName": "StreamingDistributionConfig",
+ "xmlNamespace": {
+ "uri": "http://cloudfront.amazonaws.com/doc/2016-01-28/"
+ }
+ }
+ },
+ "payload": "StreamingDistributionConfig"
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "StreamingDistribution": {
+ "shape": "S23"
+ },
+ "Location": {
+ "location": "header",
+ "locationName": "Location"
+ },
+ "ETag": {
+ "location": "header",
+ "locationName": "ETag"
+ }
+ },
+ "payload": "StreamingDistribution"
+ }
+ },
+ "DeleteCloudFrontOriginAccessIdentity": {
+ "http": {
+ "method": "DELETE",
+ "requestUri": "/2016-01-28/origin-access-identity/cloudfront/{Id}",
+ "responseCode": 204
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "Id"
+ ],
+ "members": {
+ "Id": {
+ "location": "uri",
+ "locationName": "Id"
+ },
+ "IfMatch": {
+ "location": "header",
+ "locationName": "If-Match"
+ }
+ }
+ }
+ },
+ "DeleteDistribution": {
+ "http": {
+ "method": "DELETE",
+ "requestUri": "/2016-01-28/distribution/{Id}",
+ "responseCode": 204
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "Id"
+ ],
+ "members": {
+ "Id": {
+ "location": "uri",
+ "locationName": "Id"
+ },
+ "IfMatch": {
+ "location": "header",
+ "locationName": "If-Match"
+ }
+ }
+ }
+ },
+ "DeleteStreamingDistribution": {
+ "http": {
+ "method": "DELETE",
+ "requestUri": "/2016-01-28/streaming-distribution/{Id}",
+ "responseCode": 204
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "Id"
+ ],
+ "members": {
+ "Id": {
+ "location": "uri",
+ "locationName": "Id"
+ },
+ "IfMatch": {
+ "location": "header",
+ "locationName": "If-Match"
+ }
+ }
+ }
+ },
+ "GetCloudFrontOriginAccessIdentity": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/2016-01-28/origin-access-identity/cloudfront/{Id}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "Id"
+ ],
+ "members": {
+ "Id": {
+ "location": "uri",
+ "locationName": "Id"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "CloudFrontOriginAccessIdentity": {
+ "shape": "S5"
+ },
+ "ETag": {
+ "location": "header",
+ "locationName": "ETag"
+ }
+ },
+ "payload": "CloudFrontOriginAccessIdentity"
+ }
+ },
+ "GetCloudFrontOriginAccessIdentityConfig": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/2016-01-28/origin-access-identity/cloudfront/{Id}/config"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "Id"
+ ],
+ "members": {
+ "Id": {
+ "location": "uri",
+ "locationName": "Id"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "CloudFrontOriginAccessIdentityConfig": {
+ "shape": "S2"
+ },
+ "ETag": {
+ "location": "header",
+ "locationName": "ETag"
+ }
+ },
+ "payload": "CloudFrontOriginAccessIdentityConfig"
+ }
+ },
+ "GetDistribution": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/2016-01-28/distribution/{Id}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "Id"
+ ],
+ "members": {
+ "Id": {
+ "location": "uri",
+ "locationName": "Id"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Distribution": {
+ "shape": "S1l"
+ },
+ "ETag": {
+ "location": "header",
+ "locationName": "ETag"
+ }
+ },
+ "payload": "Distribution"
+ }
+ },
+ "GetDistributionConfig": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/2016-01-28/distribution/{Id}/config"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "Id"
+ ],
+ "members": {
+ "Id": {
+ "location": "uri",
+ "locationName": "Id"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "DistributionConfig": {
+ "shape": "S7"
+ },
+ "ETag": {
+ "location": "header",
+ "locationName": "ETag"
+ }
+ },
+ "payload": "DistributionConfig"
+ }
+ },
+ "GetInvalidation": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/2016-01-28/distribution/{DistributionId}/invalidation/{Id}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "DistributionId",
+ "Id"
+ ],
+ "members": {
+ "DistributionId": {
+ "location": "uri",
+ "locationName": "DistributionId"
+ },
+ "Id": {
+ "location": "uri",
+ "locationName": "Id"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Invalidation": {
+ "shape": "S1x"
+ }
+ },
+ "payload": "Invalidation"
+ }
+ },
+ "GetStreamingDistribution": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/2016-01-28/streaming-distribution/{Id}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "Id"
+ ],
+ "members": {
+ "Id": {
+ "location": "uri",
+ "locationName": "Id"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "StreamingDistribution": {
+ "shape": "S23"
+ },
+ "ETag": {
+ "location": "header",
+ "locationName": "ETag"
+ }
+ },
+ "payload": "StreamingDistribution"
+ }
+ },
+ "GetStreamingDistributionConfig": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/2016-01-28/streaming-distribution/{Id}/config"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "Id"
+ ],
+ "members": {
+ "Id": {
+ "location": "uri",
+ "locationName": "Id"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "StreamingDistributionConfig": {
+ "shape": "S1z"
+ },
+ "ETag": {
+ "location": "header",
+ "locationName": "ETag"
+ }
+ },
+ "payload": "StreamingDistributionConfig"
+ }
+ },
+ "ListCloudFrontOriginAccessIdentities": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/2016-01-28/origin-access-identity/cloudfront"
+ },
+ "input": {
+ "type": "structure",
+ "members": {
+ "Marker": {
+ "location": "querystring",
+ "locationName": "Marker"
+ },
+ "MaxItems": {
+ "location": "querystring",
+ "locationName": "MaxItems"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "CloudFrontOriginAccessIdentityList": {
+ "type": "structure",
+ "required": [
+ "Marker",
+ "MaxItems",
+ "IsTruncated",
+ "Quantity"
+ ],
+ "members": {
+ "Marker": {},
+ "NextMarker": {},
+ "MaxItems": {
+ "type": "integer"
+ },
+ "IsTruncated": {
+ "type": "boolean"
+ },
+ "Quantity": {
+ "type": "integer"
+ },
+ "Items": {
+ "type": "list",
+ "member": {
+ "locationName": "CloudFrontOriginAccessIdentitySummary",
+ "type": "structure",
+ "required": [
+ "Id",
+ "S3CanonicalUserId",
+ "Comment"
+ ],
+ "members": {
+ "Id": {},
+ "S3CanonicalUserId": {},
+ "Comment": {}
+ }
+ }
+ }
+ }
+ }
+ },
+ "payload": "CloudFrontOriginAccessIdentityList"
+ }
+ },
+ "ListDistributions": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/2016-01-28/distribution"
+ },
+ "input": {
+ "type": "structure",
+ "members": {
+ "Marker": {
+ "location": "querystring",
+ "locationName": "Marker"
+ },
+ "MaxItems": {
+ "location": "querystring",
+ "locationName": "MaxItems"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "DistributionList": {
+ "shape": "S2s"
+ }
+ },
+ "payload": "DistributionList"
+ }
+ },
+ "ListDistributionsByWebACLId": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/2016-01-28/distributionsByWebACLId/{WebACLId}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "WebACLId"
+ ],
+ "members": {
+ "Marker": {
+ "location": "querystring",
+ "locationName": "Marker"
+ },
+ "MaxItems": {
+ "location": "querystring",
+ "locationName": "MaxItems"
+ },
+ "WebACLId": {
+ "location": "uri",
+ "locationName": "WebACLId"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "DistributionList": {
+ "shape": "S2s"
+ }
+ },
+ "payload": "DistributionList"
+ }
+ },
+ "ListInvalidations": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/2016-01-28/distribution/{DistributionId}/invalidation"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "DistributionId"
+ ],
+ "members": {
+ "DistributionId": {
+ "location": "uri",
+ "locationName": "DistributionId"
+ },
+ "Marker": {
+ "location": "querystring",
+ "locationName": "Marker"
+ },
+ "MaxItems": {
+ "location": "querystring",
+ "locationName": "MaxItems"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "InvalidationList": {
+ "type": "structure",
+ "required": [
+ "Marker",
+ "MaxItems",
+ "IsTruncated",
+ "Quantity"
+ ],
+ "members": {
+ "Marker": {},
+ "NextMarker": {},
+ "MaxItems": {
+ "type": "integer"
+ },
+ "IsTruncated": {
+ "type": "boolean"
+ },
+ "Quantity": {
+ "type": "integer"
+ },
+ "Items": {
+ "type": "list",
+ "member": {
+ "locationName": "InvalidationSummary",
+ "type": "structure",
+ "required": [
+ "Id",
+ "CreateTime",
+ "Status"
+ ],
+ "members": {
+ "Id": {},
+ "CreateTime": {
+ "type": "timestamp"
+ },
+ "Status": {}
+ }
+ }
+ }
+ }
+ }
+ },
+ "payload": "InvalidationList"
+ }
+ },
+ "ListStreamingDistributions": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/2016-01-28/streaming-distribution"
+ },
+ "input": {
+ "type": "structure",
+ "members": {
+ "Marker": {
+ "location": "querystring",
+ "locationName": "Marker"
+ },
+ "MaxItems": {
+ "location": "querystring",
+ "locationName": "MaxItems"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "StreamingDistributionList": {
+ "type": "structure",
+ "required": [
+ "Marker",
+ "MaxItems",
+ "IsTruncated",
+ "Quantity"
+ ],
+ "members": {
+ "Marker": {},
+ "NextMarker": {},
+ "MaxItems": {
+ "type": "integer"
+ },
+ "IsTruncated": {
+ "type": "boolean"
+ },
+ "Quantity": {
+ "type": "integer"
+ },
+ "Items": {
+ "type": "list",
+ "member": {
+ "locationName": "StreamingDistributionSummary",
+ "type": "structure",
+ "required": [
+ "Id",
+ "Status",
+ "LastModifiedTime",
+ "DomainName",
+ "S3Origin",
+ "Aliases",
+ "TrustedSigners",
+ "Comment",
+ "PriceClass",
+ "Enabled"
+ ],
+ "members": {
+ "Id": {},
+ "Status": {},
+ "LastModifiedTime": {
+ "type": "timestamp"
+ },
+ "DomainName": {},
+ "S3Origin": {
+ "shape": "S20"
+ },
+ "Aliases": {
+ "shape": "S8"
+ },
+ "TrustedSigners": {
+ "shape": "Sw"
+ },
+ "Comment": {},
+ "PriceClass": {},
+ "Enabled": {
+ "type": "boolean"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "payload": "StreamingDistributionList"
+ }
+ },
+ "UpdateCloudFrontOriginAccessIdentity": {
+ "http": {
+ "method": "PUT",
+ "requestUri": "/2016-01-28/origin-access-identity/cloudfront/{Id}/config"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "CloudFrontOriginAccessIdentityConfig",
+ "Id"
+ ],
+ "members": {
+ "CloudFrontOriginAccessIdentityConfig": {
+ "shape": "S2",
+ "locationName": "CloudFrontOriginAccessIdentityConfig",
+ "xmlNamespace": {
+ "uri": "http://cloudfront.amazonaws.com/doc/2016-01-28/"
+ }
+ },
+ "Id": {
+ "location": "uri",
+ "locationName": "Id"
+ },
+ "IfMatch": {
+ "location": "header",
+ "locationName": "If-Match"
+ }
+ },
+ "payload": "CloudFrontOriginAccessIdentityConfig"
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "CloudFrontOriginAccessIdentity": {
+ "shape": "S5"
+ },
+ "ETag": {
+ "location": "header",
+ "locationName": "ETag"
+ }
+ },
+ "payload": "CloudFrontOriginAccessIdentity"
+ }
+ },
+ "UpdateDistribution": {
+ "http": {
+ "method": "PUT",
+ "requestUri": "/2016-01-28/distribution/{Id}/config"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "DistributionConfig",
+ "Id"
+ ],
+ "members": {
+ "DistributionConfig": {
+ "shape": "S7",
+ "locationName": "DistributionConfig",
+ "xmlNamespace": {
+ "uri": "http://cloudfront.amazonaws.com/doc/2016-01-28/"
+ }
+ },
+ "Id": {
+ "location": "uri",
+ "locationName": "Id"
+ },
+ "IfMatch": {
+ "location": "header",
+ "locationName": "If-Match"
+ }
+ },
+ "payload": "DistributionConfig"
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Distribution": {
+ "shape": "S1l"
+ },
+ "ETag": {
+ "location": "header",
+ "locationName": "ETag"
+ }
+ },
+ "payload": "Distribution"
+ }
+ },
+ "UpdateStreamingDistribution": {
+ "http": {
+ "method": "PUT",
+ "requestUri": "/2016-01-28/streaming-distribution/{Id}/config"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "StreamingDistributionConfig",
+ "Id"
+ ],
+ "members": {
+ "StreamingDistributionConfig": {
+ "shape": "S1z",
+ "locationName": "StreamingDistributionConfig",
+ "xmlNamespace": {
+ "uri": "http://cloudfront.amazonaws.com/doc/2016-01-28/"
+ }
+ },
+ "Id": {
+ "location": "uri",
+ "locationName": "Id"
+ },
+ "IfMatch": {
+ "location": "header",
+ "locationName": "If-Match"
+ }
+ },
+ "payload": "StreamingDistributionConfig"
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "StreamingDistribution": {
+ "shape": "S23"
+ },
+ "ETag": {
+ "location": "header",
+ "locationName": "ETag"
+ }
+ },
+ "payload": "StreamingDistribution"
+ }
+ }
+ },
+ "shapes": {
+ "S2": {
+ "type": "structure",
+ "required": [
+ "CallerReference",
+ "Comment"
+ ],
+ "members": {
+ "CallerReference": {},
+ "Comment": {}
+ }
+ },
+ "S5": {
+ "type": "structure",
+ "required": [
+ "Id",
+ "S3CanonicalUserId"
+ ],
+ "members": {
+ "Id": {},
+ "S3CanonicalUserId": {},
+ "CloudFrontOriginAccessIdentityConfig": {
+ "shape": "S2"
+ }
+ }
+ },
+ "S7": {
+ "type": "structure",
+ "required": [
+ "CallerReference",
+ "Origins",
+ "DefaultCacheBehavior",
+ "Comment",
+ "Enabled"
+ ],
+ "members": {
+ "CallerReference": {},
+ "Aliases": {
+ "shape": "S8"
+ },
+ "DefaultRootObject": {},
+ "Origins": {
+ "shape": "Sb"
+ },
+ "DefaultCacheBehavior": {
+ "shape": "Sn"
+ },
+ "CacheBehaviors": {
+ "shape": "S14"
+ },
+ "CustomErrorResponses": {
+ "shape": "S17"
+ },
+ "Comment": {},
+ "Logging": {
+ "type": "structure",
+ "required": [
+ "Enabled",
+ "IncludeCookies",
+ "Bucket",
+ "Prefix"
+ ],
+ "members": {
+ "Enabled": {
+ "type": "boolean"
+ },
+ "IncludeCookies": {
+ "type": "boolean"
+ },
+ "Bucket": {},
+ "Prefix": {}
+ }
+ },
+ "PriceClass": {},
+ "Enabled": {
+ "type": "boolean"
+ },
+ "ViewerCertificate": {
+ "shape": "S1c"
+ },
+ "Restrictions": {
+ "shape": "S1g"
+ },
+ "WebACLId": {}
+ }
+ },
+ "S8": {
+ "type": "structure",
+ "required": [
+ "Quantity"
+ ],
+ "members": {
+ "Quantity": {
+ "type": "integer"
+ },
+ "Items": {
+ "type": "list",
+ "member": {
+ "locationName": "CNAME"
+ }
+ }
+ }
+ },
+ "Sb": {
+ "type": "structure",
+ "required": [
+ "Quantity"
+ ],
+ "members": {
+ "Quantity": {
+ "type": "integer"
+ },
+ "Items": {
+ "type": "list",
+ "member": {
+ "locationName": "Origin",
+ "type": "structure",
+ "required": [
+ "Id",
+ "DomainName"
+ ],
+ "members": {
+ "Id": {},
+ "DomainName": {},
+ "OriginPath": {},
+ "CustomHeaders": {
+ "type": "structure",
+ "required": [
+ "Quantity"
+ ],
+ "members": {
+ "Quantity": {
+ "type": "integer"
+ },
+ "Items": {
+ "type": "list",
+ "member": {
+ "locationName": "OriginCustomHeader",
+ "type": "structure",
+ "required": [
+ "HeaderName",
+ "HeaderValue"
+ ],
+ "members": {
+ "HeaderName": {},
+ "HeaderValue": {}
+ }
+ }
+ }
+ }
+ },
+ "S3OriginConfig": {
+ "type": "structure",
+ "required": [
+ "OriginAccessIdentity"
+ ],
+ "members": {
+ "OriginAccessIdentity": {}
+ }
+ },
+ "CustomOriginConfig": {
+ "type": "structure",
+ "required": [
+ "HTTPPort",
+ "HTTPSPort",
+ "OriginProtocolPolicy"
+ ],
+ "members": {
+ "HTTPPort": {
+ "type": "integer"
+ },
+ "HTTPSPort": {
+ "type": "integer"
+ },
+ "OriginProtocolPolicy": {},
+ "OriginSslProtocols": {
+ "type": "structure",
+ "required": [
+ "Quantity",
+ "Items"
+ ],
+ "members": {
+ "Quantity": {
+ "type": "integer"
+ },
+ "Items": {
+ "type": "list",
+ "member": {
+ "locationName": "SslProtocol"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "Sn": {
+ "type": "structure",
+ "required": [
+ "TargetOriginId",
+ "ForwardedValues",
+ "TrustedSigners",
+ "ViewerProtocolPolicy",
+ "MinTTL"
+ ],
+ "members": {
+ "TargetOriginId": {},
+ "ForwardedValues": {
+ "shape": "So"
+ },
+ "TrustedSigners": {
+ "shape": "Sw"
+ },
+ "ViewerProtocolPolicy": {},
+ "MinTTL": {
+ "type": "long"
+ },
+ "AllowedMethods": {
+ "shape": "S10"
+ },
+ "SmoothStreaming": {
+ "type": "boolean"
+ },
+ "DefaultTTL": {
+ "type": "long"
+ },
+ "MaxTTL": {
+ "type": "long"
+ },
+ "Compress": {
+ "type": "boolean"
+ }
+ }
+ },
+ "So": {
+ "type": "structure",
+ "required": [
+ "QueryString",
+ "Cookies"
+ ],
+ "members": {
+ "QueryString": {
+ "type": "boolean"
+ },
+ "Cookies": {
+ "type": "structure",
+ "required": [
+ "Forward"
+ ],
+ "members": {
+ "Forward": {},
+ "WhitelistedNames": {
+ "type": "structure",
+ "required": [
+ "Quantity"
+ ],
+ "members": {
+ "Quantity": {
+ "type": "integer"
+ },
+ "Items": {
+ "type": "list",
+ "member": {
+ "locationName": "Name"
+ }
+ }
+ }
+ }
+ }
+ },
+ "Headers": {
+ "type": "structure",
+ "required": [
+ "Quantity"
+ ],
+ "members": {
+ "Quantity": {
+ "type": "integer"
+ },
+ "Items": {
+ "type": "list",
+ "member": {
+ "locationName": "Name"
+ }
+ }
+ }
+ }
+ }
+ },
+ "Sw": {
+ "type": "structure",
+ "required": [
+ "Enabled",
+ "Quantity"
+ ],
+ "members": {
+ "Enabled": {
+ "type": "boolean"
+ },
+ "Quantity": {
+ "type": "integer"
+ },
+ "Items": {
+ "type": "list",
+ "member": {
+ "locationName": "AwsAccountNumber"
+ }
+ }
+ }
+ },
+ "S10": {
+ "type": "structure",
+ "required": [
+ "Quantity",
+ "Items"
+ ],
+ "members": {
+ "Quantity": {
+ "type": "integer"
+ },
+ "Items": {
+ "shape": "S11"
+ },
+ "CachedMethods": {
+ "type": "structure",
+ "required": [
+ "Quantity",
+ "Items"
+ ],
+ "members": {
+ "Quantity": {
+ "type": "integer"
+ },
+ "Items": {
+ "shape": "S11"
+ }
+ }
+ }
+ }
+ },
+ "S11": {
+ "type": "list",
+ "member": {
+ "locationName": "Method"
+ }
+ },
+ "S14": {
+ "type": "structure",
+ "required": [
+ "Quantity"
+ ],
+ "members": {
+ "Quantity": {
+ "type": "integer"
+ },
+ "Items": {
+ "type": "list",
+ "member": {
+ "locationName": "CacheBehavior",
+ "type": "structure",
+ "required": [
+ "PathPattern",
+ "TargetOriginId",
+ "ForwardedValues",
+ "TrustedSigners",
+ "ViewerProtocolPolicy",
+ "MinTTL"
+ ],
+ "members": {
+ "PathPattern": {},
+ "TargetOriginId": {},
+ "ForwardedValues": {
+ "shape": "So"
+ },
+ "TrustedSigners": {
+ "shape": "Sw"
+ },
+ "ViewerProtocolPolicy": {},
+ "MinTTL": {
+ "type": "long"
+ },
+ "AllowedMethods": {
+ "shape": "S10"
+ },
+ "SmoothStreaming": {
+ "type": "boolean"
+ },
+ "DefaultTTL": {
+ "type": "long"
+ },
+ "MaxTTL": {
+ "type": "long"
+ },
+ "Compress": {
+ "type": "boolean"
+ }
+ }
+ }
+ }
+ }
+ },
+ "S17": {
+ "type": "structure",
+ "required": [
+ "Quantity"
+ ],
+ "members": {
+ "Quantity": {
+ "type": "integer"
+ },
+ "Items": {
+ "type": "list",
+ "member": {
+ "locationName": "CustomErrorResponse",
+ "type": "structure",
+ "required": [
+ "ErrorCode"
+ ],
+ "members": {
+ "ErrorCode": {
+ "type": "integer"
+ },
+ "ResponsePagePath": {},
+ "ResponseCode": {},
+ "ErrorCachingMinTTL": {
+ "type": "long"
+ }
+ }
+ }
+ }
+ }
+ },
+ "S1c": {
+ "type": "structure",
+ "members": {
+ "CloudFrontDefaultCertificate": {
+ "type": "boolean"
+ },
+ "IAMCertificateId": {},
+ "ACMCertificateArn": {},
+ "SSLSupportMethod": {},
+ "MinimumProtocolVersion": {},
+ "Certificate": {
+ "deprecated": true
+ },
+ "CertificateSource": {
+ "deprecated": true
+ }
+ }
+ },
+ "S1g": {
+ "type": "structure",
+ "required": [
+ "GeoRestriction"
+ ],
+ "members": {
+ "GeoRestriction": {
+ "type": "structure",
+ "required": [
+ "RestrictionType",
+ "Quantity"
+ ],
+ "members": {
+ "RestrictionType": {},
+ "Quantity": {
+ "type": "integer"
+ },
+ "Items": {
+ "type": "list",
+ "member": {
+ "locationName": "Location"
+ }
+ }
+ }
+ }
+ }
+ },
+ "S1l": {
+ "type": "structure",
+ "required": [
+ "Id",
+ "Status",
+ "LastModifiedTime",
+ "InProgressInvalidationBatches",
+ "DomainName",
+ "ActiveTrustedSigners",
+ "DistributionConfig"
+ ],
+ "members": {
+ "Id": {},
+ "Status": {},
+ "LastModifiedTime": {
+ "type": "timestamp"
+ },
+ "InProgressInvalidationBatches": {
+ "type": "integer"
+ },
+ "DomainName": {},
+ "ActiveTrustedSigners": {
+ "shape": "S1n"
+ },
+ "DistributionConfig": {
+ "shape": "S7"
+ }
+ }
+ },
+ "S1n": {
+ "type": "structure",
+ "required": [
+ "Enabled",
+ "Quantity"
+ ],
+ "members": {
+ "Enabled": {
+ "type": "boolean"
+ },
+ "Quantity": {
+ "type": "integer"
+ },
+ "Items": {
+ "type": "list",
+ "member": {
+ "locationName": "Signer",
+ "type": "structure",
+ "members": {
+ "AwsAccountNumber": {},
+ "KeyPairIds": {
+ "type": "structure",
+ "required": [
+ "Quantity"
+ ],
+ "members": {
+ "Quantity": {
+ "type": "integer"
+ },
+ "Items": {
+ "type": "list",
+ "member": {
+ "locationName": "KeyPairId"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "S1t": {
+ "type": "structure",
+ "required": [
+ "Paths",
+ "CallerReference"
+ ],
+ "members": {
+ "Paths": {
+ "type": "structure",
+ "required": [
+ "Quantity"
+ ],
+ "members": {
+ "Quantity": {
+ "type": "integer"
+ },
+ "Items": {
+ "type": "list",
+ "member": {
+ "locationName": "Path"
+ }
+ }
+ }
+ },
+ "CallerReference": {}
+ }
+ },
+ "S1x": {
+ "type": "structure",
+ "required": [
+ "Id",
+ "Status",
+ "CreateTime",
+ "InvalidationBatch"
+ ],
+ "members": {
+ "Id": {},
+ "Status": {},
+ "CreateTime": {
+ "type": "timestamp"
+ },
+ "InvalidationBatch": {
+ "shape": "S1t"
+ }
+ }
+ },
+ "S1z": {
+ "type": "structure",
+ "required": [
+ "CallerReference",
+ "S3Origin",
+ "Comment",
+ "TrustedSigners",
+ "Enabled"
+ ],
+ "members": {
+ "CallerReference": {},
+ "S3Origin": {
+ "shape": "S20"
+ },
+ "Aliases": {
+ "shape": "S8"
+ },
+ "Comment": {},
+ "Logging": {
+ "type": "structure",
+ "required": [
+ "Enabled",
+ "Bucket",
+ "Prefix"
+ ],
+ "members": {
+ "Enabled": {
+ "type": "boolean"
+ },
+ "Bucket": {},
+ "Prefix": {}
+ }
+ },
+ "TrustedSigners": {
+ "shape": "Sw"
+ },
+ "PriceClass": {},
+ "Enabled": {
+ "type": "boolean"
+ }
+ }
+ },
+ "S20": {
+ "type": "structure",
+ "required": [
+ "DomainName",
+ "OriginAccessIdentity"
+ ],
+ "members": {
+ "DomainName": {},
+ "OriginAccessIdentity": {}
+ }
+ },
+ "S23": {
+ "type": "structure",
+ "required": [
+ "Id",
+ "Status",
+ "DomainName",
+ "ActiveTrustedSigners",
+ "StreamingDistributionConfig"
+ ],
+ "members": {
+ "Id": {},
+ "Status": {},
+ "LastModifiedTime": {
+ "type": "timestamp"
+ },
+ "DomainName": {},
+ "ActiveTrustedSigners": {
+ "shape": "S1n"
+ },
+ "StreamingDistributionConfig": {
+ "shape": "S1z"
+ }
+ }
+ },
+ "S2s": {
+ "type": "structure",
+ "required": [
+ "Marker",
+ "MaxItems",
+ "IsTruncated",
+ "Quantity"
+ ],
+ "members": {
+ "Marker": {},
+ "NextMarker": {},
+ "MaxItems": {
+ "type": "integer"
+ },
+ "IsTruncated": {
+ "type": "boolean"
+ },
+ "Quantity": {
+ "type": "integer"
+ },
+ "Items": {
+ "type": "list",
+ "member": {
+ "locationName": "DistributionSummary",
+ "type": "structure",
+ "required": [
+ "Id",
+ "Status",
+ "LastModifiedTime",
+ "DomainName",
+ "Aliases",
+ "Origins",
+ "DefaultCacheBehavior",
+ "CacheBehaviors",
+ "CustomErrorResponses",
+ "Comment",
+ "PriceClass",
+ "Enabled",
+ "ViewerCertificate",
+ "Restrictions",
+ "WebACLId"
+ ],
+ "members": {
+ "Id": {},
+ "Status": {},
+ "LastModifiedTime": {
+ "type": "timestamp"
+ },
+ "DomainName": {},
+ "Aliases": {
+ "shape": "S8"
+ },
+ "Origins": {
+ "shape": "Sb"
+ },
+ "DefaultCacheBehavior": {
+ "shape": "Sn"
+ },
+ "CacheBehaviors": {
+ "shape": "S14"
+ },
+ "CustomErrorResponses": {
+ "shape": "S17"
+ },
+ "Comment": {},
+ "PriceClass": {},
+ "Enabled": {
+ "type": "boolean"
+ },
+ "ViewerCertificate": {
+ "shape": "S1c"
+ },
+ "Restrictions": {
+ "shape": "S1g"
+ },
+ "WebACLId": {}
+ }
+ }
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/node_modules/aws-sdk/apis/cloudfront-2016-01-28.paginators.json b/node_modules/aws-sdk/apis/cloudfront-2016-01-28.paginators.json
new file mode 100644
index 0000000000000000000000000000000000000000..51fbb907fa38d6d868c935bc108f30bff305bc4a
--- /dev/null
+++ b/node_modules/aws-sdk/apis/cloudfront-2016-01-28.paginators.json
@@ -0,0 +1,32 @@
+{
+ "pagination": {
+ "ListCloudFrontOriginAccessIdentities": {
+ "input_token": "Marker",
+ "output_token": "CloudFrontOriginAccessIdentityList.NextMarker",
+ "limit_key": "MaxItems",
+ "more_results": "CloudFrontOriginAccessIdentityList.IsTruncated",
+ "result_key": "CloudFrontOriginAccessIdentityList.Items"
+ },
+ "ListDistributions": {
+ "input_token": "Marker",
+ "output_token": "DistributionList.NextMarker",
+ "limit_key": "MaxItems",
+ "more_results": "DistributionList.IsTruncated",
+ "result_key": "DistributionList.Items"
+ },
+ "ListInvalidations": {
+ "input_token": "Marker",
+ "output_token": "InvalidationList.NextMarker",
+ "limit_key": "MaxItems",
+ "more_results": "InvalidationList.IsTruncated",
+ "result_key": "InvalidationList.Items"
+ },
+ "ListStreamingDistributions": {
+ "input_token": "Marker",
+ "output_token": "StreamingDistributionList.NextMarker",
+ "limit_key": "MaxItems",
+ "more_results": "StreamingDistributionList.IsTruncated",
+ "result_key": "StreamingDistributionList.Items"
+ }
+ }
+}
diff --git a/node_modules/aws-sdk/apis/cloudfront-2016-01-28.waiters.json b/node_modules/aws-sdk/apis/cloudfront-2016-01-28.waiters.json
new file mode 100644
index 0000000000000000000000000000000000000000..e4dc1f4b9b928707420ad9abf469a96ba4c823c0
--- /dev/null
+++ b/node_modules/aws-sdk/apis/cloudfront-2016-01-28.waiters.json
@@ -0,0 +1,29 @@
+{
+ "waiters": {
+ "__default__": {
+ "success_type": "output",
+ "success_path": "Status"
+ },
+ "StreamingDistributionDeployed": {
+ "operation": "GetStreamingDistribution",
+ "description": "Wait until a streaming distribution is deployed.",
+ "interval": 60,
+ "max_attempts": 25,
+ "success_value": "Deployed"
+ },
+ "DistributionDeployed": {
+ "operation": "GetDistribution",
+ "description": "Wait until a distribution is deployed.",
+ "interval": 60,
+ "max_attempts": 25,
+ "success_value": "Deployed"
+ },
+ "InvalidationCompleted": {
+ "operation": "GetInvalidation",
+ "description": "Wait until an invalidation has completed.",
+ "interval": 20,
+ "max_attempts": 30,
+ "success_value": "Completed"
+ }
+ }
+}
diff --git a/node_modules/aws-sdk/apis/cloudhsm-2014-05-30.min.json b/node_modules/aws-sdk/apis/cloudhsm-2014-05-30.min.json
new file mode 100644
index 0000000000000000000000000000000000000000..99d911d57a43576d6d765ab889b1f69f8527c7aa
--- /dev/null
+++ b/node_modules/aws-sdk/apis/cloudhsm-2014-05-30.min.json
@@ -0,0 +1,519 @@
+{
+ "version": "2.0",
+ "metadata": {
+ "apiVersion": "2014-05-30",
+ "endpointPrefix": "cloudhsm",
+ "jsonVersion": "1.1",
+ "protocol": "json",
+ "serviceAbbreviation": "CloudHSM",
+ "serviceFullName": "Amazon CloudHSM",
+ "signatureVersion": "v4",
+ "targetPrefix": "CloudHsmFrontendService"
+ },
+ "operations": {
+ "AddTagsToResource": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ResourceArn",
+ "TagList"
+ ],
+ "members": {
+ "ResourceArn": {},
+ "TagList": {
+ "shape": "S3"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "Status"
+ ],
+ "members": {
+ "Status": {}
+ }
+ }
+ },
+ "CreateHapg": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Label"
+ ],
+ "members": {
+ "Label": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "HapgArn": {}
+ }
+ }
+ },
+ "CreateHsm": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "SubnetId",
+ "SshKey",
+ "IamRoleArn",
+ "SubscriptionType"
+ ],
+ "members": {
+ "SubnetId": {
+ "locationName": "SubnetId"
+ },
+ "SshKey": {
+ "locationName": "SshKey"
+ },
+ "EniIp": {
+ "locationName": "EniIp"
+ },
+ "IamRoleArn": {
+ "locationName": "IamRoleArn"
+ },
+ "ExternalId": {
+ "locationName": "ExternalId"
+ },
+ "SubscriptionType": {
+ "locationName": "SubscriptionType"
+ },
+ "ClientToken": {
+ "locationName": "ClientToken"
+ },
+ "SyslogIp": {
+ "locationName": "SyslogIp"
+ }
+ },
+ "locationName": "CreateHsmRequest"
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "HsmArn": {}
+ }
+ }
+ },
+ "CreateLunaClient": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Certificate"
+ ],
+ "members": {
+ "Label": {},
+ "Certificate": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "ClientArn": {}
+ }
+ }
+ },
+ "DeleteHapg": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "HapgArn"
+ ],
+ "members": {
+ "HapgArn": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "Status"
+ ],
+ "members": {
+ "Status": {}
+ }
+ }
+ },
+ "DeleteHsm": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "HsmArn"
+ ],
+ "members": {
+ "HsmArn": {
+ "locationName": "HsmArn"
+ }
+ },
+ "locationName": "DeleteHsmRequest"
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "Status"
+ ],
+ "members": {
+ "Status": {}
+ }
+ }
+ },
+ "DeleteLunaClient": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ClientArn"
+ ],
+ "members": {
+ "ClientArn": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "Status"
+ ],
+ "members": {
+ "Status": {}
+ }
+ }
+ },
+ "DescribeHapg": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "HapgArn"
+ ],
+ "members": {
+ "HapgArn": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "HapgArn": {},
+ "HapgSerial": {},
+ "HsmsLastActionFailed": {
+ "shape": "Sz"
+ },
+ "HsmsPendingDeletion": {
+ "shape": "Sz"
+ },
+ "HsmsPendingRegistration": {
+ "shape": "Sz"
+ },
+ "Label": {},
+ "LastModifiedTimestamp": {},
+ "PartitionSerialList": {
+ "shape": "S11"
+ },
+ "State": {}
+ }
+ }
+ },
+ "DescribeHsm": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "HsmArn": {},
+ "HsmSerialNumber": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "HsmArn": {},
+ "Status": {},
+ "StatusDetails": {},
+ "AvailabilityZone": {},
+ "EniId": {},
+ "EniIp": {},
+ "SubscriptionType": {},
+ "SubscriptionStartDate": {},
+ "SubscriptionEndDate": {},
+ "VpcId": {},
+ "SubnetId": {},
+ "IamRoleArn": {},
+ "SerialNumber": {},
+ "VendorName": {},
+ "HsmType": {},
+ "SoftwareVersion": {},
+ "SshPublicKey": {},
+ "SshKeyLastUpdated": {},
+ "ServerCertUri": {},
+ "ServerCertLastUpdated": {},
+ "Partitions": {
+ "type": "list",
+ "member": {}
+ }
+ }
+ }
+ },
+ "DescribeLunaClient": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "ClientArn": {},
+ "CertificateFingerprint": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "ClientArn": {},
+ "Certificate": {},
+ "CertificateFingerprint": {},
+ "LastModifiedTimestamp": {},
+ "Label": {}
+ }
+ }
+ },
+ "GetConfig": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ClientArn",
+ "ClientVersion",
+ "HapgList"
+ ],
+ "members": {
+ "ClientArn": {},
+ "ClientVersion": {},
+ "HapgList": {
+ "shape": "S1i"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "ConfigType": {},
+ "ConfigFile": {},
+ "ConfigCred": {}
+ }
+ }
+ },
+ "ListAvailableZones": {
+ "input": {
+ "type": "structure",
+ "members": {}
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "AZList": {
+ "type": "list",
+ "member": {}
+ }
+ }
+ }
+ },
+ "ListHapgs": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "NextToken": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "HapgList"
+ ],
+ "members": {
+ "HapgList": {
+ "shape": "S1i"
+ },
+ "NextToken": {}
+ }
+ }
+ },
+ "ListHsms": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "NextToken": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "HsmList": {
+ "shape": "Sz"
+ },
+ "NextToken": {}
+ }
+ }
+ },
+ "ListLunaClients": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "NextToken": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "ClientList"
+ ],
+ "members": {
+ "ClientList": {
+ "type": "list",
+ "member": {}
+ },
+ "NextToken": {}
+ }
+ }
+ },
+ "ListTagsForResource": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ResourceArn"
+ ],
+ "members": {
+ "ResourceArn": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "TagList"
+ ],
+ "members": {
+ "TagList": {
+ "shape": "S3"
+ }
+ }
+ }
+ },
+ "ModifyHapg": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "HapgArn"
+ ],
+ "members": {
+ "HapgArn": {},
+ "Label": {},
+ "PartitionSerialList": {
+ "shape": "S11"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "HapgArn": {}
+ }
+ }
+ },
+ "ModifyHsm": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "HsmArn"
+ ],
+ "members": {
+ "HsmArn": {
+ "locationName": "HsmArn"
+ },
+ "SubnetId": {
+ "locationName": "SubnetId"
+ },
+ "EniIp": {
+ "locationName": "EniIp"
+ },
+ "IamRoleArn": {
+ "locationName": "IamRoleArn"
+ },
+ "ExternalId": {
+ "locationName": "ExternalId"
+ },
+ "SyslogIp": {
+ "locationName": "SyslogIp"
+ }
+ },
+ "locationName": "ModifyHsmRequest"
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "HsmArn": {}
+ }
+ }
+ },
+ "ModifyLunaClient": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ClientArn",
+ "Certificate"
+ ],
+ "members": {
+ "ClientArn": {},
+ "Certificate": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "ClientArn": {}
+ }
+ }
+ },
+ "RemoveTagsFromResource": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ResourceArn",
+ "TagKeyList"
+ ],
+ "members": {
+ "ResourceArn": {},
+ "TagKeyList": {
+ "type": "list",
+ "member": {}
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "Status"
+ ],
+ "members": {
+ "Status": {}
+ }
+ }
+ }
+ },
+ "shapes": {
+ "S3": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "Key",
+ "Value"
+ ],
+ "members": {
+ "Key": {},
+ "Value": {}
+ }
+ }
+ },
+ "Sz": {
+ "type": "list",
+ "member": {}
+ },
+ "S11": {
+ "type": "list",
+ "member": {}
+ },
+ "S1i": {
+ "type": "list",
+ "member": {}
+ }
+ }
+}
\ No newline at end of file
diff --git a/node_modules/aws-sdk/apis/cloudsearch-2011-02-01.min.json b/node_modules/aws-sdk/apis/cloudsearch-2011-02-01.min.json
new file mode 100644
index 0000000000000000000000000000000000000000..5db90f2333f8e28ff7a1854fe4d191a70035207a
--- /dev/null
+++ b/node_modules/aws-sdk/apis/cloudsearch-2011-02-01.min.json
@@ -0,0 +1,837 @@
+{
+ "metadata": {
+ "apiVersion": "2011-02-01",
+ "endpointPrefix": "cloudsearch",
+ "serviceFullName": "Amazon CloudSearch",
+ "signatureVersion": "v4",
+ "xmlNamespace": "http://cloudsearch.amazonaws.com/doc/2011-02-01/",
+ "protocol": "query"
+ },
+ "operations": {
+ "CreateDomain": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DomainName"
+ ],
+ "members": {
+ "DomainName": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "CreateDomainResult",
+ "type": "structure",
+ "members": {
+ "DomainStatus": {
+ "shape": "S4"
+ }
+ }
+ }
+ },
+ "DefineIndexField": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DomainName",
+ "IndexField"
+ ],
+ "members": {
+ "DomainName": {},
+ "IndexField": {
+ "shape": "Sf"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "DefineIndexFieldResult",
+ "type": "structure",
+ "required": [
+ "IndexField"
+ ],
+ "members": {
+ "IndexField": {
+ "shape": "Sx"
+ }
+ }
+ }
+ },
+ "DefineRankExpression": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DomainName",
+ "RankExpression"
+ ],
+ "members": {
+ "DomainName": {},
+ "RankExpression": {
+ "shape": "S12"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "DefineRankExpressionResult",
+ "type": "structure",
+ "required": [
+ "RankExpression"
+ ],
+ "members": {
+ "RankExpression": {
+ "shape": "S15"
+ }
+ }
+ }
+ },
+ "DeleteDomain": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DomainName"
+ ],
+ "members": {
+ "DomainName": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DeleteDomainResult",
+ "type": "structure",
+ "members": {
+ "DomainStatus": {
+ "shape": "S4"
+ }
+ }
+ }
+ },
+ "DeleteIndexField": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DomainName",
+ "IndexFieldName"
+ ],
+ "members": {
+ "DomainName": {},
+ "IndexFieldName": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DeleteIndexFieldResult",
+ "type": "structure",
+ "required": [
+ "IndexField"
+ ],
+ "members": {
+ "IndexField": {
+ "shape": "Sx"
+ }
+ }
+ }
+ },
+ "DeleteRankExpression": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DomainName",
+ "RankName"
+ ],
+ "members": {
+ "DomainName": {},
+ "RankName": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DeleteRankExpressionResult",
+ "type": "structure",
+ "required": [
+ "RankExpression"
+ ],
+ "members": {
+ "RankExpression": {
+ "shape": "S15"
+ }
+ }
+ }
+ },
+ "DescribeAvailabilityOptions": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DomainName"
+ ],
+ "members": {
+ "DomainName": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeAvailabilityOptionsResult",
+ "type": "structure",
+ "members": {
+ "AvailabilityOptions": {
+ "shape": "S1e"
+ }
+ }
+ }
+ },
+ "DescribeDefaultSearchField": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DomainName"
+ ],
+ "members": {
+ "DomainName": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeDefaultSearchFieldResult",
+ "type": "structure",
+ "required": [
+ "DefaultSearchField"
+ ],
+ "members": {
+ "DefaultSearchField": {
+ "shape": "S1i"
+ }
+ }
+ }
+ },
+ "DescribeDomains": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DomainNames": {
+ "type": "list",
+ "member": {}
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeDomainsResult",
+ "type": "structure",
+ "required": [
+ "DomainStatusList"
+ ],
+ "members": {
+ "DomainStatusList": {
+ "type": "list",
+ "member": {
+ "shape": "S4"
+ }
+ }
+ }
+ }
+ },
+ "DescribeIndexFields": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DomainName"
+ ],
+ "members": {
+ "DomainName": {},
+ "FieldNames": {
+ "shape": "S1o"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeIndexFieldsResult",
+ "type": "structure",
+ "required": [
+ "IndexFields"
+ ],
+ "members": {
+ "IndexFields": {
+ "type": "list",
+ "member": {
+ "shape": "Sx"
+ }
+ }
+ }
+ }
+ },
+ "DescribeRankExpressions": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DomainName"
+ ],
+ "members": {
+ "DomainName": {},
+ "RankNames": {
+ "shape": "S1o"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeRankExpressionsResult",
+ "type": "structure",
+ "required": [
+ "RankExpressions"
+ ],
+ "members": {
+ "RankExpressions": {
+ "type": "list",
+ "member": {
+ "shape": "S15"
+ }
+ }
+ }
+ }
+ },
+ "DescribeServiceAccessPolicies": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DomainName"
+ ],
+ "members": {
+ "DomainName": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeServiceAccessPoliciesResult",
+ "type": "structure",
+ "required": [
+ "AccessPolicies"
+ ],
+ "members": {
+ "AccessPolicies": {
+ "shape": "S1w"
+ }
+ }
+ }
+ },
+ "DescribeStemmingOptions": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DomainName"
+ ],
+ "members": {
+ "DomainName": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeStemmingOptionsResult",
+ "type": "structure",
+ "required": [
+ "Stems"
+ ],
+ "members": {
+ "Stems": {
+ "shape": "S20"
+ }
+ }
+ }
+ },
+ "DescribeStopwordOptions": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DomainName"
+ ],
+ "members": {
+ "DomainName": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeStopwordOptionsResult",
+ "type": "structure",
+ "required": [
+ "Stopwords"
+ ],
+ "members": {
+ "Stopwords": {
+ "shape": "S24"
+ }
+ }
+ }
+ },
+ "DescribeSynonymOptions": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DomainName"
+ ],
+ "members": {
+ "DomainName": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeSynonymOptionsResult",
+ "type": "structure",
+ "required": [
+ "Synonyms"
+ ],
+ "members": {
+ "Synonyms": {
+ "shape": "S28"
+ }
+ }
+ }
+ },
+ "IndexDocuments": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DomainName"
+ ],
+ "members": {
+ "DomainName": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "IndexDocumentsResult",
+ "type": "structure",
+ "members": {
+ "FieldNames": {
+ "shape": "S1o"
+ }
+ }
+ }
+ },
+ "UpdateAvailabilityOptions": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DomainName",
+ "MultiAZ"
+ ],
+ "members": {
+ "DomainName": {},
+ "MultiAZ": {
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "UpdateAvailabilityOptionsResult",
+ "type": "structure",
+ "members": {
+ "AvailabilityOptions": {
+ "shape": "S1e"
+ }
+ }
+ }
+ },
+ "UpdateDefaultSearchField": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DomainName",
+ "DefaultSearchField"
+ ],
+ "members": {
+ "DomainName": {},
+ "DefaultSearchField": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "UpdateDefaultSearchFieldResult",
+ "type": "structure",
+ "required": [
+ "DefaultSearchField"
+ ],
+ "members": {
+ "DefaultSearchField": {
+ "shape": "S1i"
+ }
+ }
+ }
+ },
+ "UpdateServiceAccessPolicies": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DomainName",
+ "AccessPolicies"
+ ],
+ "members": {
+ "DomainName": {},
+ "AccessPolicies": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "UpdateServiceAccessPoliciesResult",
+ "type": "structure",
+ "required": [
+ "AccessPolicies"
+ ],
+ "members": {
+ "AccessPolicies": {
+ "shape": "S1w"
+ }
+ }
+ }
+ },
+ "UpdateStemmingOptions": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DomainName",
+ "Stems"
+ ],
+ "members": {
+ "DomainName": {},
+ "Stems": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "UpdateStemmingOptionsResult",
+ "type": "structure",
+ "required": [
+ "Stems"
+ ],
+ "members": {
+ "Stems": {
+ "shape": "S20"
+ }
+ }
+ }
+ },
+ "UpdateStopwordOptions": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DomainName",
+ "Stopwords"
+ ],
+ "members": {
+ "DomainName": {},
+ "Stopwords": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "UpdateStopwordOptionsResult",
+ "type": "structure",
+ "required": [
+ "Stopwords"
+ ],
+ "members": {
+ "Stopwords": {
+ "shape": "S24"
+ }
+ }
+ }
+ },
+ "UpdateSynonymOptions": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DomainName",
+ "Synonyms"
+ ],
+ "members": {
+ "DomainName": {},
+ "Synonyms": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "UpdateSynonymOptionsResult",
+ "type": "structure",
+ "required": [
+ "Synonyms"
+ ],
+ "members": {
+ "Synonyms": {
+ "shape": "S28"
+ }
+ }
+ }
+ }
+ },
+ "shapes": {
+ "S4": {
+ "type": "structure",
+ "required": [
+ "DomainId",
+ "DomainName",
+ "RequiresIndexDocuments"
+ ],
+ "members": {
+ "DomainId": {},
+ "DomainName": {},
+ "Created": {
+ "type": "boolean"
+ },
+ "Deleted": {
+ "type": "boolean"
+ },
+ "NumSearchableDocs": {
+ "type": "long"
+ },
+ "DocService": {
+ "shape": "S8"
+ },
+ "SearchService": {
+ "shape": "S8"
+ },
+ "RequiresIndexDocuments": {
+ "type": "boolean"
+ },
+ "Processing": {
+ "type": "boolean"
+ },
+ "SearchInstanceType": {},
+ "SearchPartitionCount": {
+ "type": "integer"
+ },
+ "SearchInstanceCount": {
+ "type": "integer"
+ }
+ }
+ },
+ "S8": {
+ "type": "structure",
+ "members": {
+ "Arn": {},
+ "Endpoint": {}
+ }
+ },
+ "Sf": {
+ "type": "structure",
+ "required": [
+ "IndexFieldName",
+ "IndexFieldType"
+ ],
+ "members": {
+ "IndexFieldName": {},
+ "IndexFieldType": {},
+ "UIntOptions": {
+ "type": "structure",
+ "members": {
+ "DefaultValue": {
+ "type": "integer"
+ }
+ }
+ },
+ "LiteralOptions": {
+ "type": "structure",
+ "members": {
+ "DefaultValue": {},
+ "SearchEnabled": {
+ "type": "boolean"
+ },
+ "FacetEnabled": {
+ "type": "boolean"
+ },
+ "ResultEnabled": {
+ "type": "boolean"
+ }
+ }
+ },
+ "TextOptions": {
+ "type": "structure",
+ "members": {
+ "DefaultValue": {},
+ "FacetEnabled": {
+ "type": "boolean"
+ },
+ "ResultEnabled": {
+ "type": "boolean"
+ },
+ "TextProcessor": {}
+ }
+ },
+ "SourceAttributes": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "SourceDataFunction"
+ ],
+ "members": {
+ "SourceDataFunction": {},
+ "SourceDataCopy": {
+ "type": "structure",
+ "required": [
+ "SourceName"
+ ],
+ "members": {
+ "SourceName": {},
+ "DefaultValue": {}
+ }
+ },
+ "SourceDataTrimTitle": {
+ "type": "structure",
+ "required": [
+ "SourceName"
+ ],
+ "members": {
+ "SourceName": {},
+ "DefaultValue": {},
+ "Separator": {},
+ "Language": {}
+ }
+ },
+ "SourceDataMap": {
+ "type": "structure",
+ "required": [
+ "SourceName"
+ ],
+ "members": {
+ "SourceName": {},
+ "DefaultValue": {},
+ "Cases": {
+ "type": "map",
+ "key": {},
+ "value": {}
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "Sx": {
+ "type": "structure",
+ "required": [
+ "Options",
+ "Status"
+ ],
+ "members": {
+ "Options": {
+ "shape": "Sf"
+ },
+ "Status": {
+ "shape": "Sy"
+ }
+ }
+ },
+ "Sy": {
+ "type": "structure",
+ "required": [
+ "CreationDate",
+ "UpdateDate",
+ "State"
+ ],
+ "members": {
+ "CreationDate": {
+ "type": "timestamp"
+ },
+ "UpdateDate": {
+ "type": "timestamp"
+ },
+ "UpdateVersion": {
+ "type": "integer"
+ },
+ "State": {},
+ "PendingDeletion": {
+ "type": "boolean"
+ }
+ }
+ },
+ "S12": {
+ "type": "structure",
+ "required": [
+ "RankName",
+ "RankExpression"
+ ],
+ "members": {
+ "RankName": {},
+ "RankExpression": {}
+ }
+ },
+ "S15": {
+ "type": "structure",
+ "required": [
+ "Options",
+ "Status"
+ ],
+ "members": {
+ "Options": {
+ "shape": "S12"
+ },
+ "Status": {
+ "shape": "Sy"
+ }
+ }
+ },
+ "S1e": {
+ "type": "structure",
+ "required": [
+ "Options",
+ "Status"
+ ],
+ "members": {
+ "Options": {
+ "type": "boolean"
+ },
+ "Status": {
+ "shape": "Sy"
+ }
+ }
+ },
+ "S1i": {
+ "type": "structure",
+ "required": [
+ "Options",
+ "Status"
+ ],
+ "members": {
+ "Options": {},
+ "Status": {
+ "shape": "Sy"
+ }
+ }
+ },
+ "S1o": {
+ "type": "list",
+ "member": {}
+ },
+ "S1w": {
+ "type": "structure",
+ "required": [
+ "Options",
+ "Status"
+ ],
+ "members": {
+ "Options": {},
+ "Status": {
+ "shape": "Sy"
+ }
+ }
+ },
+ "S20": {
+ "type": "structure",
+ "required": [
+ "Options",
+ "Status"
+ ],
+ "members": {
+ "Options": {},
+ "Status": {
+ "shape": "Sy"
+ }
+ }
+ },
+ "S24": {
+ "type": "structure",
+ "required": [
+ "Options",
+ "Status"
+ ],
+ "members": {
+ "Options": {},
+ "Status": {
+ "shape": "Sy"
+ }
+ }
+ },
+ "S28": {
+ "type": "structure",
+ "required": [
+ "Options",
+ "Status"
+ ],
+ "members": {
+ "Options": {},
+ "Status": {
+ "shape": "Sy"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/node_modules/aws-sdk/apis/cloudsearch-2011-02-01.paginators.json b/node_modules/aws-sdk/apis/cloudsearch-2011-02-01.paginators.json
new file mode 100644
index 0000000000000000000000000000000000000000..52164452b66906a3a3ec3cdd2db7a5f0001523fb
--- /dev/null
+++ b/node_modules/aws-sdk/apis/cloudsearch-2011-02-01.paginators.json
@@ -0,0 +1,13 @@
+{
+ "pagination": {
+ "DescribeDomains": {
+ "result_key": "DomainStatusList"
+ },
+ "DescribeIndexFields": {
+ "result_key": "IndexFields"
+ },
+ "DescribeRankExpressions": {
+ "result_key": "RankExpressions"
+ }
+ }
+}
diff --git a/node_modules/aws-sdk/apis/cloudsearch-2013-01-01.min.json b/node_modules/aws-sdk/apis/cloudsearch-2013-01-01.min.json
new file mode 100644
index 0000000000000000000000000000000000000000..7ab2a3e09b88b9a492b1e8352e1246a49a6d2472
--- /dev/null
+++ b/node_modules/aws-sdk/apis/cloudsearch-2013-01-01.min.json
@@ -0,0 +1,1086 @@
+{
+ "version": "2.0",
+ "metadata": {
+ "apiVersion": "2013-01-01",
+ "endpointPrefix": "cloudsearch",
+ "serviceFullName": "Amazon CloudSearch",
+ "signatureVersion": "v4",
+ "xmlNamespace": "http://cloudsearch.amazonaws.com/doc/2013-01-01/",
+ "protocol": "query"
+ },
+ "operations": {
+ "BuildSuggesters": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DomainName"
+ ],
+ "members": {
+ "DomainName": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "BuildSuggestersResult",
+ "type": "structure",
+ "members": {
+ "FieldNames": {
+ "shape": "S4"
+ }
+ }
+ }
+ },
+ "CreateDomain": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DomainName"
+ ],
+ "members": {
+ "DomainName": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "CreateDomainResult",
+ "type": "structure",
+ "members": {
+ "DomainStatus": {
+ "shape": "S8"
+ }
+ }
+ }
+ },
+ "DefineAnalysisScheme": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DomainName",
+ "AnalysisScheme"
+ ],
+ "members": {
+ "DomainName": {},
+ "AnalysisScheme": {
+ "shape": "Sl"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "DefineAnalysisSchemeResult",
+ "type": "structure",
+ "required": [
+ "AnalysisScheme"
+ ],
+ "members": {
+ "AnalysisScheme": {
+ "shape": "Ss"
+ }
+ }
+ }
+ },
+ "DefineExpression": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DomainName",
+ "Expression"
+ ],
+ "members": {
+ "DomainName": {},
+ "Expression": {
+ "shape": "Sy"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "DefineExpressionResult",
+ "type": "structure",
+ "required": [
+ "Expression"
+ ],
+ "members": {
+ "Expression": {
+ "shape": "S11"
+ }
+ }
+ }
+ },
+ "DefineIndexField": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DomainName",
+ "IndexField"
+ ],
+ "members": {
+ "DomainName": {},
+ "IndexField": {
+ "shape": "S13"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "DefineIndexFieldResult",
+ "type": "structure",
+ "required": [
+ "IndexField"
+ ],
+ "members": {
+ "IndexField": {
+ "shape": "S1n"
+ }
+ }
+ }
+ },
+ "DefineSuggester": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DomainName",
+ "Suggester"
+ ],
+ "members": {
+ "DomainName": {},
+ "Suggester": {
+ "shape": "S1p"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "DefineSuggesterResult",
+ "type": "structure",
+ "required": [
+ "Suggester"
+ ],
+ "members": {
+ "Suggester": {
+ "shape": "S1t"
+ }
+ }
+ }
+ },
+ "DeleteAnalysisScheme": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DomainName",
+ "AnalysisSchemeName"
+ ],
+ "members": {
+ "DomainName": {},
+ "AnalysisSchemeName": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DeleteAnalysisSchemeResult",
+ "type": "structure",
+ "required": [
+ "AnalysisScheme"
+ ],
+ "members": {
+ "AnalysisScheme": {
+ "shape": "Ss"
+ }
+ }
+ }
+ },
+ "DeleteDomain": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DomainName"
+ ],
+ "members": {
+ "DomainName": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DeleteDomainResult",
+ "type": "structure",
+ "members": {
+ "DomainStatus": {
+ "shape": "S8"
+ }
+ }
+ }
+ },
+ "DeleteExpression": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DomainName",
+ "ExpressionName"
+ ],
+ "members": {
+ "DomainName": {},
+ "ExpressionName": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DeleteExpressionResult",
+ "type": "structure",
+ "required": [
+ "Expression"
+ ],
+ "members": {
+ "Expression": {
+ "shape": "S11"
+ }
+ }
+ }
+ },
+ "DeleteIndexField": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DomainName",
+ "IndexFieldName"
+ ],
+ "members": {
+ "DomainName": {},
+ "IndexFieldName": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DeleteIndexFieldResult",
+ "type": "structure",
+ "required": [
+ "IndexField"
+ ],
+ "members": {
+ "IndexField": {
+ "shape": "S1n"
+ }
+ }
+ }
+ },
+ "DeleteSuggester": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DomainName",
+ "SuggesterName"
+ ],
+ "members": {
+ "DomainName": {},
+ "SuggesterName": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DeleteSuggesterResult",
+ "type": "structure",
+ "required": [
+ "Suggester"
+ ],
+ "members": {
+ "Suggester": {
+ "shape": "S1t"
+ }
+ }
+ }
+ },
+ "DescribeAnalysisSchemes": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DomainName"
+ ],
+ "members": {
+ "DomainName": {},
+ "AnalysisSchemeNames": {
+ "shape": "S25"
+ },
+ "Deployed": {
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeAnalysisSchemesResult",
+ "type": "structure",
+ "required": [
+ "AnalysisSchemes"
+ ],
+ "members": {
+ "AnalysisSchemes": {
+ "type": "list",
+ "member": {
+ "shape": "Ss"
+ }
+ }
+ }
+ }
+ },
+ "DescribeAvailabilityOptions": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DomainName"
+ ],
+ "members": {
+ "DomainName": {},
+ "Deployed": {
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeAvailabilityOptionsResult",
+ "type": "structure",
+ "members": {
+ "AvailabilityOptions": {
+ "shape": "S2a"
+ }
+ }
+ }
+ },
+ "DescribeDomains": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DomainNames": {
+ "type": "list",
+ "member": {}
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeDomainsResult",
+ "type": "structure",
+ "required": [
+ "DomainStatusList"
+ ],
+ "members": {
+ "DomainStatusList": {
+ "type": "list",
+ "member": {
+ "shape": "S8"
+ }
+ }
+ }
+ }
+ },
+ "DescribeExpressions": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DomainName"
+ ],
+ "members": {
+ "DomainName": {},
+ "ExpressionNames": {
+ "shape": "S25"
+ },
+ "Deployed": {
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeExpressionsResult",
+ "type": "structure",
+ "required": [
+ "Expressions"
+ ],
+ "members": {
+ "Expressions": {
+ "type": "list",
+ "member": {
+ "shape": "S11"
+ }
+ }
+ }
+ }
+ },
+ "DescribeIndexFields": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DomainName"
+ ],
+ "members": {
+ "DomainName": {},
+ "FieldNames": {
+ "type": "list",
+ "member": {}
+ },
+ "Deployed": {
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeIndexFieldsResult",
+ "type": "structure",
+ "required": [
+ "IndexFields"
+ ],
+ "members": {
+ "IndexFields": {
+ "type": "list",
+ "member": {
+ "shape": "S1n"
+ }
+ }
+ }
+ }
+ },
+ "DescribeScalingParameters": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DomainName"
+ ],
+ "members": {
+ "DomainName": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeScalingParametersResult",
+ "type": "structure",
+ "required": [
+ "ScalingParameters"
+ ],
+ "members": {
+ "ScalingParameters": {
+ "shape": "S2p"
+ }
+ }
+ }
+ },
+ "DescribeServiceAccessPolicies": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DomainName"
+ ],
+ "members": {
+ "DomainName": {},
+ "Deployed": {
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeServiceAccessPoliciesResult",
+ "type": "structure",
+ "required": [
+ "AccessPolicies"
+ ],
+ "members": {
+ "AccessPolicies": {
+ "shape": "S2u"
+ }
+ }
+ }
+ },
+ "DescribeSuggesters": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DomainName"
+ ],
+ "members": {
+ "DomainName": {},
+ "SuggesterNames": {
+ "shape": "S25"
+ },
+ "Deployed": {
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeSuggestersResult",
+ "type": "structure",
+ "required": [
+ "Suggesters"
+ ],
+ "members": {
+ "Suggesters": {
+ "type": "list",
+ "member": {
+ "shape": "S1t"
+ }
+ }
+ }
+ }
+ },
+ "IndexDocuments": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DomainName"
+ ],
+ "members": {
+ "DomainName": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "IndexDocumentsResult",
+ "type": "structure",
+ "members": {
+ "FieldNames": {
+ "shape": "S4"
+ }
+ }
+ }
+ },
+ "ListDomainNames": {
+ "output": {
+ "resultWrapper": "ListDomainNamesResult",
+ "type": "structure",
+ "members": {
+ "DomainNames": {
+ "type": "map",
+ "key": {},
+ "value": {}
+ }
+ }
+ }
+ },
+ "UpdateAvailabilityOptions": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DomainName",
+ "MultiAZ"
+ ],
+ "members": {
+ "DomainName": {},
+ "MultiAZ": {
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "UpdateAvailabilityOptionsResult",
+ "type": "structure",
+ "members": {
+ "AvailabilityOptions": {
+ "shape": "S2a"
+ }
+ }
+ }
+ },
+ "UpdateScalingParameters": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DomainName",
+ "ScalingParameters"
+ ],
+ "members": {
+ "DomainName": {},
+ "ScalingParameters": {
+ "shape": "S2q"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "UpdateScalingParametersResult",
+ "type": "structure",
+ "required": [
+ "ScalingParameters"
+ ],
+ "members": {
+ "ScalingParameters": {
+ "shape": "S2p"
+ }
+ }
+ }
+ },
+ "UpdateServiceAccessPolicies": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DomainName",
+ "AccessPolicies"
+ ],
+ "members": {
+ "DomainName": {},
+ "AccessPolicies": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "UpdateServiceAccessPoliciesResult",
+ "type": "structure",
+ "required": [
+ "AccessPolicies"
+ ],
+ "members": {
+ "AccessPolicies": {
+ "shape": "S2u"
+ }
+ }
+ }
+ }
+ },
+ "shapes": {
+ "S4": {
+ "type": "list",
+ "member": {}
+ },
+ "S8": {
+ "type": "structure",
+ "required": [
+ "DomainId",
+ "DomainName",
+ "RequiresIndexDocuments"
+ ],
+ "members": {
+ "DomainId": {},
+ "DomainName": {},
+ "ARN": {},
+ "Created": {
+ "type": "boolean"
+ },
+ "Deleted": {
+ "type": "boolean"
+ },
+ "DocService": {
+ "shape": "Sc"
+ },
+ "SearchService": {
+ "shape": "Sc"
+ },
+ "RequiresIndexDocuments": {
+ "type": "boolean"
+ },
+ "Processing": {
+ "type": "boolean"
+ },
+ "SearchInstanceType": {},
+ "SearchPartitionCount": {
+ "type": "integer"
+ },
+ "SearchInstanceCount": {
+ "type": "integer"
+ },
+ "Limits": {
+ "type": "structure",
+ "required": [
+ "MaximumReplicationCount",
+ "MaximumPartitionCount"
+ ],
+ "members": {
+ "MaximumReplicationCount": {
+ "type": "integer"
+ },
+ "MaximumPartitionCount": {
+ "type": "integer"
+ }
+ }
+ }
+ }
+ },
+ "Sc": {
+ "type": "structure",
+ "members": {
+ "Endpoint": {}
+ }
+ },
+ "Sl": {
+ "type": "structure",
+ "required": [
+ "AnalysisSchemeName",
+ "AnalysisSchemeLanguage"
+ ],
+ "members": {
+ "AnalysisSchemeName": {},
+ "AnalysisSchemeLanguage": {},
+ "AnalysisOptions": {
+ "type": "structure",
+ "members": {
+ "Synonyms": {},
+ "Stopwords": {},
+ "StemmingDictionary": {},
+ "JapaneseTokenizationDictionary": {},
+ "AlgorithmicStemming": {}
+ }
+ }
+ }
+ },
+ "Ss": {
+ "type": "structure",
+ "required": [
+ "Options",
+ "Status"
+ ],
+ "members": {
+ "Options": {
+ "shape": "Sl"
+ },
+ "Status": {
+ "shape": "St"
+ }
+ }
+ },
+ "St": {
+ "type": "structure",
+ "required": [
+ "CreationDate",
+ "UpdateDate",
+ "State"
+ ],
+ "members": {
+ "CreationDate": {
+ "type": "timestamp"
+ },
+ "UpdateDate": {
+ "type": "timestamp"
+ },
+ "UpdateVersion": {
+ "type": "integer"
+ },
+ "State": {},
+ "PendingDeletion": {
+ "type": "boolean"
+ }
+ }
+ },
+ "Sy": {
+ "type": "structure",
+ "required": [
+ "ExpressionName",
+ "ExpressionValue"
+ ],
+ "members": {
+ "ExpressionName": {},
+ "ExpressionValue": {}
+ }
+ },
+ "S11": {
+ "type": "structure",
+ "required": [
+ "Options",
+ "Status"
+ ],
+ "members": {
+ "Options": {
+ "shape": "Sy"
+ },
+ "Status": {
+ "shape": "St"
+ }
+ }
+ },
+ "S13": {
+ "type": "structure",
+ "required": [
+ "IndexFieldName",
+ "IndexFieldType"
+ ],
+ "members": {
+ "IndexFieldName": {},
+ "IndexFieldType": {},
+ "IntOptions": {
+ "type": "structure",
+ "members": {
+ "DefaultValue": {
+ "type": "long"
+ },
+ "SourceField": {},
+ "FacetEnabled": {
+ "type": "boolean"
+ },
+ "SearchEnabled": {
+ "type": "boolean"
+ },
+ "ReturnEnabled": {
+ "type": "boolean"
+ },
+ "SortEnabled": {
+ "type": "boolean"
+ }
+ }
+ },
+ "DoubleOptions": {
+ "type": "structure",
+ "members": {
+ "DefaultValue": {
+ "type": "double"
+ },
+ "SourceField": {},
+ "FacetEnabled": {
+ "type": "boolean"
+ },
+ "SearchEnabled": {
+ "type": "boolean"
+ },
+ "ReturnEnabled": {
+ "type": "boolean"
+ },
+ "SortEnabled": {
+ "type": "boolean"
+ }
+ }
+ },
+ "LiteralOptions": {
+ "type": "structure",
+ "members": {
+ "DefaultValue": {},
+ "SourceField": {},
+ "FacetEnabled": {
+ "type": "boolean"
+ },
+ "SearchEnabled": {
+ "type": "boolean"
+ },
+ "ReturnEnabled": {
+ "type": "boolean"
+ },
+ "SortEnabled": {
+ "type": "boolean"
+ }
+ }
+ },
+ "TextOptions": {
+ "type": "structure",
+ "members": {
+ "DefaultValue": {},
+ "SourceField": {},
+ "ReturnEnabled": {
+ "type": "boolean"
+ },
+ "SortEnabled": {
+ "type": "boolean"
+ },
+ "HighlightEnabled": {
+ "type": "boolean"
+ },
+ "AnalysisScheme": {}
+ }
+ },
+ "DateOptions": {
+ "type": "structure",
+ "members": {
+ "DefaultValue": {},
+ "SourceField": {},
+ "FacetEnabled": {
+ "type": "boolean"
+ },
+ "SearchEnabled": {
+ "type": "boolean"
+ },
+ "ReturnEnabled": {
+ "type": "boolean"
+ },
+ "SortEnabled": {
+ "type": "boolean"
+ }
+ }
+ },
+ "LatLonOptions": {
+ "type": "structure",
+ "members": {
+ "DefaultValue": {},
+ "SourceField": {},
+ "FacetEnabled": {
+ "type": "boolean"
+ },
+ "SearchEnabled": {
+ "type": "boolean"
+ },
+ "ReturnEnabled": {
+ "type": "boolean"
+ },
+ "SortEnabled": {
+ "type": "boolean"
+ }
+ }
+ },
+ "IntArrayOptions": {
+ "type": "structure",
+ "members": {
+ "DefaultValue": {
+ "type": "long"
+ },
+ "SourceFields": {},
+ "FacetEnabled": {
+ "type": "boolean"
+ },
+ "SearchEnabled": {
+ "type": "boolean"
+ },
+ "ReturnEnabled": {
+ "type": "boolean"
+ }
+ }
+ },
+ "DoubleArrayOptions": {
+ "type": "structure",
+ "members": {
+ "DefaultValue": {
+ "type": "double"
+ },
+ "SourceFields": {},
+ "FacetEnabled": {
+ "type": "boolean"
+ },
+ "SearchEnabled": {
+ "type": "boolean"
+ },
+ "ReturnEnabled": {
+ "type": "boolean"
+ }
+ }
+ },
+ "LiteralArrayOptions": {
+ "type": "structure",
+ "members": {
+ "DefaultValue": {},
+ "SourceFields": {},
+ "FacetEnabled": {
+ "type": "boolean"
+ },
+ "SearchEnabled": {
+ "type": "boolean"
+ },
+ "ReturnEnabled": {
+ "type": "boolean"
+ }
+ }
+ },
+ "TextArrayOptions": {
+ "type": "structure",
+ "members": {
+ "DefaultValue": {},
+ "SourceFields": {},
+ "ReturnEnabled": {
+ "type": "boolean"
+ },
+ "HighlightEnabled": {
+ "type": "boolean"
+ },
+ "AnalysisScheme": {}
+ }
+ },
+ "DateArrayOptions": {
+ "type": "structure",
+ "members": {
+ "DefaultValue": {},
+ "SourceFields": {},
+ "FacetEnabled": {
+ "type": "boolean"
+ },
+ "SearchEnabled": {
+ "type": "boolean"
+ },
+ "ReturnEnabled": {
+ "type": "boolean"
+ }
+ }
+ }
+ }
+ },
+ "S1n": {
+ "type": "structure",
+ "required": [
+ "Options",
+ "Status"
+ ],
+ "members": {
+ "Options": {
+ "shape": "S13"
+ },
+ "Status": {
+ "shape": "St"
+ }
+ }
+ },
+ "S1p": {
+ "type": "structure",
+ "required": [
+ "SuggesterName",
+ "DocumentSuggesterOptions"
+ ],
+ "members": {
+ "SuggesterName": {},
+ "DocumentSuggesterOptions": {
+ "type": "structure",
+ "required": [
+ "SourceField"
+ ],
+ "members": {
+ "SourceField": {},
+ "FuzzyMatching": {},
+ "SortExpression": {}
+ }
+ }
+ }
+ },
+ "S1t": {
+ "type": "structure",
+ "required": [
+ "Options",
+ "Status"
+ ],
+ "members": {
+ "Options": {
+ "shape": "S1p"
+ },
+ "Status": {
+ "shape": "St"
+ }
+ }
+ },
+ "S25": {
+ "type": "list",
+ "member": {}
+ },
+ "S2a": {
+ "type": "structure",
+ "required": [
+ "Options",
+ "Status"
+ ],
+ "members": {
+ "Options": {
+ "type": "boolean"
+ },
+ "Status": {
+ "shape": "St"
+ }
+ }
+ },
+ "S2p": {
+ "type": "structure",
+ "required": [
+ "Options",
+ "Status"
+ ],
+ "members": {
+ "Options": {
+ "shape": "S2q"
+ },
+ "Status": {
+ "shape": "St"
+ }
+ }
+ },
+ "S2q": {
+ "type": "structure",
+ "members": {
+ "DesiredInstanceType": {},
+ "DesiredReplicationCount": {
+ "type": "integer"
+ },
+ "DesiredPartitionCount": {
+ "type": "integer"
+ }
+ }
+ },
+ "S2u": {
+ "type": "structure",
+ "required": [
+ "Options",
+ "Status"
+ ],
+ "members": {
+ "Options": {},
+ "Status": {
+ "shape": "St"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/node_modules/aws-sdk/apis/cloudsearch-2013-01-01.paginators.json b/node_modules/aws-sdk/apis/cloudsearch-2013-01-01.paginators.json
new file mode 100644
index 0000000000000000000000000000000000000000..82fa804ab75d44322d1457dc083370b6cef215b5
--- /dev/null
+++ b/node_modules/aws-sdk/apis/cloudsearch-2013-01-01.paginators.json
@@ -0,0 +1,20 @@
+{
+ "pagination": {
+ "DescribeAnalysisSchemes": {
+ "result_key": "AnalysisSchemes"
+ },
+ "DescribeDomains": {
+ "result_key": "DomainStatusList"
+ },
+ "DescribeExpressions": {
+ "result_key": "Expressions"
+ },
+ "DescribeIndexFields": {
+ "result_key": "IndexFields"
+ },
+ "DescribeSuggesters": {
+ "result_key": "Suggesters"
+ }
+ }
+}
+
diff --git a/node_modules/aws-sdk/apis/cloudsearchdomain-2013-01-01.min.json b/node_modules/aws-sdk/apis/cloudsearchdomain-2013-01-01.min.json
new file mode 100644
index 0000000000000000000000000000000000000000..cea348e7fb39edb02bd3e5d104b6d9cd21bd1367
--- /dev/null
+++ b/node_modules/aws-sdk/apis/cloudsearchdomain-2013-01-01.min.json
@@ -0,0 +1,297 @@
+{
+ "version": "2.0",
+ "metadata": {
+ "apiVersion": "2013-01-01",
+ "endpointPrefix": "cloudsearchdomain",
+ "jsonVersion": "1.1",
+ "protocol": "rest-json",
+ "serviceFullName": "Amazon CloudSearch Domain",
+ "signatureVersion": "v4",
+ "signingName": "cloudsearch"
+ },
+ "operations": {
+ "Search": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/2013-01-01/search?format=sdk&pretty=true"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "query"
+ ],
+ "members": {
+ "cursor": {
+ "location": "querystring",
+ "locationName": "cursor"
+ },
+ "expr": {
+ "location": "querystring",
+ "locationName": "expr"
+ },
+ "facet": {
+ "location": "querystring",
+ "locationName": "facet"
+ },
+ "filterQuery": {
+ "location": "querystring",
+ "locationName": "fq"
+ },
+ "highlight": {
+ "location": "querystring",
+ "locationName": "highlight"
+ },
+ "partial": {
+ "location": "querystring",
+ "locationName": "partial",
+ "type": "boolean"
+ },
+ "query": {
+ "location": "querystring",
+ "locationName": "q"
+ },
+ "queryOptions": {
+ "location": "querystring",
+ "locationName": "q.options"
+ },
+ "queryParser": {
+ "location": "querystring",
+ "locationName": "q.parser"
+ },
+ "return": {
+ "location": "querystring",
+ "locationName": "return"
+ },
+ "size": {
+ "location": "querystring",
+ "locationName": "size",
+ "type": "long"
+ },
+ "sort": {
+ "location": "querystring",
+ "locationName": "sort"
+ },
+ "start": {
+ "location": "querystring",
+ "locationName": "start",
+ "type": "long"
+ },
+ "stats": {
+ "location": "querystring",
+ "locationName": "stats"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "status": {
+ "type": "structure",
+ "members": {
+ "timems": {
+ "type": "long"
+ },
+ "rid": {}
+ }
+ },
+ "hits": {
+ "type": "structure",
+ "members": {
+ "found": {
+ "type": "long"
+ },
+ "start": {
+ "type": "long"
+ },
+ "cursor": {},
+ "hit": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "id": {},
+ "fields": {
+ "type": "map",
+ "key": {},
+ "value": {
+ "type": "list",
+ "member": {}
+ }
+ },
+ "exprs": {
+ "type": "map",
+ "key": {},
+ "value": {}
+ },
+ "highlights": {
+ "type": "map",
+ "key": {},
+ "value": {}
+ }
+ }
+ }
+ }
+ }
+ },
+ "facets": {
+ "type": "map",
+ "key": {},
+ "value": {
+ "type": "structure",
+ "members": {
+ "buckets": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "value": {},
+ "count": {
+ "type": "long"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "stats": {
+ "type": "map",
+ "key": {},
+ "value": {
+ "type": "structure",
+ "members": {
+ "min": {},
+ "max": {},
+ "count": {
+ "type": "long"
+ },
+ "missing": {
+ "type": "long"
+ },
+ "sum": {
+ "type": "double"
+ },
+ "sumOfSquares": {
+ "type": "double"
+ },
+ "mean": {},
+ "stddev": {
+ "type": "double"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "Suggest": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/2013-01-01/suggest?format=sdk&pretty=true"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "query",
+ "suggester"
+ ],
+ "members": {
+ "query": {
+ "location": "querystring",
+ "locationName": "q"
+ },
+ "suggester": {
+ "location": "querystring",
+ "locationName": "suggester"
+ },
+ "size": {
+ "location": "querystring",
+ "locationName": "size",
+ "type": "long"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "status": {
+ "type": "structure",
+ "members": {
+ "timems": {
+ "type": "long"
+ },
+ "rid": {}
+ }
+ },
+ "suggest": {
+ "type": "structure",
+ "members": {
+ "query": {},
+ "found": {
+ "type": "long"
+ },
+ "suggestions": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "suggestion": {},
+ "score": {
+ "type": "long"
+ },
+ "id": {}
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "UploadDocuments": {
+ "http": {
+ "requestUri": "/2013-01-01/documents/batch?format=sdk"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "documents",
+ "contentType"
+ ],
+ "members": {
+ "documents": {
+ "type": "blob",
+ "streaming": true
+ },
+ "contentType": {
+ "location": "header",
+ "locationName": "Content-Type"
+ }
+ },
+ "payload": "documents"
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "status": {},
+ "adds": {
+ "type": "long"
+ },
+ "deletes": {
+ "type": "long"
+ },
+ "warnings": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "message": {}
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "shapes": {}
+}
\ No newline at end of file
diff --git a/node_modules/aws-sdk/apis/cloudtrail-2013-11-01.min.json b/node_modules/aws-sdk/apis/cloudtrail-2013-11-01.min.json
new file mode 100644
index 0000000000000000000000000000000000000000..06ee0e0ea725f92c20dafaed44fa3d0239d8ad47
--- /dev/null
+++ b/node_modules/aws-sdk/apis/cloudtrail-2013-11-01.min.json
@@ -0,0 +1,433 @@
+{
+ "version": "2.0",
+ "metadata": {
+ "apiVersion": "2013-11-01",
+ "endpointPrefix": "cloudtrail",
+ "jsonVersion": "1.1",
+ "protocol": "json",
+ "serviceAbbreviation": "CloudTrail",
+ "serviceFullName": "AWS CloudTrail",
+ "signatureVersion": "v4",
+ "targetPrefix": "com.amazonaws.cloudtrail.v20131101.CloudTrail_20131101"
+ },
+ "operations": {
+ "AddTags": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ResourceId"
+ ],
+ "members": {
+ "ResourceId": {},
+ "TagsList": {
+ "shape": "S3"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {}
+ }
+ },
+ "CreateTrail": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Name",
+ "S3BucketName"
+ ],
+ "members": {
+ "Name": {},
+ "S3BucketName": {},
+ "S3KeyPrefix": {},
+ "SnsTopicName": {},
+ "IncludeGlobalServiceEvents": {
+ "type": "boolean"
+ },
+ "IsMultiRegionTrail": {
+ "type": "boolean"
+ },
+ "EnableLogFileValidation": {
+ "type": "boolean"
+ },
+ "CloudWatchLogsLogGroupArn": {},
+ "CloudWatchLogsRoleArn": {},
+ "KmsKeyId": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Name": {},
+ "S3BucketName": {},
+ "S3KeyPrefix": {},
+ "SnsTopicName": {},
+ "IncludeGlobalServiceEvents": {
+ "type": "boolean"
+ },
+ "IsMultiRegionTrail": {
+ "type": "boolean"
+ },
+ "TrailARN": {},
+ "LogFileValidationEnabled": {
+ "type": "boolean"
+ },
+ "CloudWatchLogsLogGroupArn": {},
+ "CloudWatchLogsRoleArn": {},
+ "KmsKeyId": {}
+ }
+ }
+ },
+ "DeleteTrail": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Name"
+ ],
+ "members": {
+ "Name": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {}
+ }
+ },
+ "DescribeTrails": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "trailNameList": {
+ "type": "list",
+ "member": {}
+ },
+ "includeShadowTrails": {
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "trailList": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "Name": {},
+ "S3BucketName": {},
+ "S3KeyPrefix": {},
+ "SnsTopicName": {},
+ "IncludeGlobalServiceEvents": {
+ "type": "boolean"
+ },
+ "IsMultiRegionTrail": {
+ "type": "boolean"
+ },
+ "HomeRegion": {},
+ "TrailARN": {},
+ "LogFileValidationEnabled": {
+ "type": "boolean"
+ },
+ "CloudWatchLogsLogGroupArn": {},
+ "CloudWatchLogsRoleArn": {},
+ "KmsKeyId": {}
+ }
+ }
+ }
+ }
+ }
+ },
+ "GetTrailStatus": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Name"
+ ],
+ "members": {
+ "Name": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "IsLogging": {
+ "type": "boolean"
+ },
+ "LatestDeliveryError": {},
+ "LatestNotificationError": {},
+ "LatestDeliveryTime": {
+ "type": "timestamp"
+ },
+ "LatestNotificationTime": {
+ "type": "timestamp"
+ },
+ "StartLoggingTime": {
+ "type": "timestamp"
+ },
+ "StopLoggingTime": {
+ "type": "timestamp"
+ },
+ "LatestCloudWatchLogsDeliveryError": {},
+ "LatestCloudWatchLogsDeliveryTime": {
+ "type": "timestamp"
+ },
+ "LatestDigestDeliveryTime": {
+ "type": "timestamp"
+ },
+ "LatestDigestDeliveryError": {},
+ "LatestDeliveryAttemptTime": {},
+ "LatestNotificationAttemptTime": {},
+ "LatestNotificationAttemptSucceeded": {},
+ "LatestDeliveryAttemptSucceeded": {},
+ "TimeLoggingStarted": {},
+ "TimeLoggingStopped": {}
+ }
+ }
+ },
+ "ListPublicKeys": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "StartTime": {
+ "type": "timestamp"
+ },
+ "EndTime": {
+ "type": "timestamp"
+ },
+ "NextToken": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "PublicKeyList": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "Value": {
+ "type": "blob"
+ },
+ "ValidityStartTime": {
+ "type": "timestamp"
+ },
+ "ValidityEndTime": {
+ "type": "timestamp"
+ },
+ "Fingerprint": {}
+ }
+ }
+ },
+ "NextToken": {}
+ }
+ }
+ },
+ "ListTags": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ResourceIdList"
+ ],
+ "members": {
+ "ResourceIdList": {
+ "type": "list",
+ "member": {}
+ },
+ "NextToken": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "ResourceTagList": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "ResourceId": {},
+ "TagsList": {
+ "shape": "S3"
+ }
+ }
+ }
+ },
+ "NextToken": {}
+ }
+ }
+ },
+ "LookupEvents": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "LookupAttributes": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "AttributeKey",
+ "AttributeValue"
+ ],
+ "members": {
+ "AttributeKey": {},
+ "AttributeValue": {}
+ }
+ }
+ },
+ "StartTime": {
+ "type": "timestamp"
+ },
+ "EndTime": {
+ "type": "timestamp"
+ },
+ "MaxResults": {
+ "type": "integer"
+ },
+ "NextToken": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Events": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "EventId": {},
+ "EventName": {},
+ "EventTime": {
+ "type": "timestamp"
+ },
+ "Username": {},
+ "Resources": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "ResourceType": {},
+ "ResourceName": {}
+ }
+ }
+ },
+ "CloudTrailEvent": {}
+ }
+ }
+ },
+ "NextToken": {}
+ }
+ }
+ },
+ "RemoveTags": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ResourceId"
+ ],
+ "members": {
+ "ResourceId": {},
+ "TagsList": {
+ "shape": "S3"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {}
+ }
+ },
+ "StartLogging": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Name"
+ ],
+ "members": {
+ "Name": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {}
+ }
+ },
+ "StopLogging": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Name"
+ ],
+ "members": {
+ "Name": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {}
+ }
+ },
+ "UpdateTrail": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Name"
+ ],
+ "members": {
+ "Name": {},
+ "S3BucketName": {},
+ "S3KeyPrefix": {},
+ "SnsTopicName": {},
+ "IncludeGlobalServiceEvents": {
+ "type": "boolean"
+ },
+ "IsMultiRegionTrail": {
+ "type": "boolean"
+ },
+ "EnableLogFileValidation": {
+ "type": "boolean"
+ },
+ "CloudWatchLogsLogGroupArn": {},
+ "CloudWatchLogsRoleArn": {},
+ "KmsKeyId": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Name": {},
+ "S3BucketName": {},
+ "S3KeyPrefix": {},
+ "SnsTopicName": {},
+ "IncludeGlobalServiceEvents": {
+ "type": "boolean"
+ },
+ "IsMultiRegionTrail": {
+ "type": "boolean"
+ },
+ "TrailARN": {},
+ "LogFileValidationEnabled": {
+ "type": "boolean"
+ },
+ "CloudWatchLogsLogGroupArn": {},
+ "CloudWatchLogsRoleArn": {},
+ "KmsKeyId": {}
+ }
+ }
+ }
+ },
+ "shapes": {
+ "S3": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "Key"
+ ],
+ "members": {
+ "Key": {},
+ "Value": {}
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/node_modules/aws-sdk/apis/cloudtrail-2013-11-01.paginators.json b/node_modules/aws-sdk/apis/cloudtrail-2013-11-01.paginators.json
new file mode 100644
index 0000000000000000000000000000000000000000..a11f43616b42069fc0ce8adad80857d7419ad308
--- /dev/null
+++ b/node_modules/aws-sdk/apis/cloudtrail-2013-11-01.paginators.json
@@ -0,0 +1,7 @@
+{
+ "pagination": {
+ "DescribeTrails": {
+ "result_key": "trailList"
+ }
+ }
+}
diff --git a/node_modules/aws-sdk/apis/codecommit-2015-04-13.min.json b/node_modules/aws-sdk/apis/codecommit-2015-04-13.min.json
new file mode 100644
index 0000000000000000000000000000000000000000..361d73159b328f12ff1641ee48b1bba40f998da5
--- /dev/null
+++ b/node_modules/aws-sdk/apis/codecommit-2015-04-13.min.json
@@ -0,0 +1,375 @@
+{
+ "version": "2.0",
+ "metadata": {
+ "apiVersion": "2015-04-13",
+ "endpointPrefix": "codecommit",
+ "jsonVersion": "1.1",
+ "protocol": "json",
+ "serviceAbbreviation": "CodeCommit",
+ "serviceFullName": "AWS CodeCommit",
+ "signatureVersion": "v4",
+ "targetPrefix": "CodeCommit_20150413"
+ },
+ "operations": {
+ "BatchGetRepositories": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "repositoryNames"
+ ],
+ "members": {
+ "repositoryNames": {
+ "type": "list",
+ "member": {}
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "repositories": {
+ "type": "list",
+ "member": {
+ "shape": "S6"
+ }
+ },
+ "repositoriesNotFound": {
+ "type": "list",
+ "member": {}
+ }
+ }
+ }
+ },
+ "CreateBranch": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "repositoryName",
+ "branchName",
+ "commitId"
+ ],
+ "members": {
+ "repositoryName": {},
+ "branchName": {},
+ "commitId": {}
+ }
+ }
+ },
+ "CreateRepository": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "repositoryName"
+ ],
+ "members": {
+ "repositoryName": {},
+ "repositoryDescription": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "repositoryMetadata": {
+ "shape": "S6"
+ }
+ }
+ }
+ },
+ "DeleteRepository": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "repositoryName"
+ ],
+ "members": {
+ "repositoryName": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "repositoryId": {}
+ }
+ }
+ },
+ "GetBranch": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "repositoryName": {},
+ "branchName": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "branch": {
+ "type": "structure",
+ "members": {
+ "branchName": {},
+ "commitId": {}
+ }
+ }
+ }
+ }
+ },
+ "GetCommit": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "repositoryName",
+ "commitId"
+ ],
+ "members": {
+ "repositoryName": {},
+ "commitId": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "commit"
+ ],
+ "members": {
+ "commit": {
+ "type": "structure",
+ "members": {
+ "treeId": {},
+ "parents": {
+ "type": "list",
+ "member": {}
+ },
+ "message": {},
+ "author": {
+ "shape": "Sw"
+ },
+ "committer": {
+ "shape": "Sw"
+ },
+ "additionalData": {}
+ }
+ }
+ }
+ }
+ },
+ "GetRepository": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "repositoryName"
+ ],
+ "members": {
+ "repositoryName": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "repositoryMetadata": {
+ "shape": "S6"
+ }
+ }
+ }
+ },
+ "GetRepositoryTriggers": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "repositoryName": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "configurationId": {},
+ "triggers": {
+ "shape": "S16"
+ }
+ }
+ }
+ },
+ "ListBranches": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "repositoryName"
+ ],
+ "members": {
+ "repositoryName": {},
+ "nextToken": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "branches": {
+ "shape": "S1a"
+ },
+ "nextToken": {}
+ }
+ }
+ },
+ "ListRepositories": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "nextToken": {},
+ "sortBy": {},
+ "order": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "repositories": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "repositoryName": {},
+ "repositoryId": {}
+ }
+ }
+ },
+ "nextToken": {}
+ }
+ }
+ },
+ "PutRepositoryTriggers": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "repositoryName": {},
+ "triggers": {
+ "shape": "S16"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "configurationId": {}
+ }
+ }
+ },
+ "TestRepositoryTriggers": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "repositoryName": {},
+ "triggers": {
+ "shape": "S16"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "successfulExecutions": {
+ "type": "list",
+ "member": {}
+ },
+ "failedExecutions": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "trigger": {},
+ "failureMessage": {}
+ }
+ }
+ }
+ }
+ }
+ },
+ "UpdateDefaultBranch": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "repositoryName",
+ "defaultBranchName"
+ ],
+ "members": {
+ "repositoryName": {},
+ "defaultBranchName": {}
+ }
+ }
+ },
+ "UpdateRepositoryDescription": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "repositoryName"
+ ],
+ "members": {
+ "repositoryName": {},
+ "repositoryDescription": {}
+ }
+ }
+ },
+ "UpdateRepositoryName": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "oldName",
+ "newName"
+ ],
+ "members": {
+ "oldName": {},
+ "newName": {}
+ }
+ }
+ }
+ },
+ "shapes": {
+ "S6": {
+ "type": "structure",
+ "members": {
+ "accountId": {},
+ "repositoryId": {},
+ "repositoryName": {},
+ "repositoryDescription": {},
+ "defaultBranch": {},
+ "lastModifiedDate": {
+ "type": "timestamp"
+ },
+ "creationDate": {
+ "type": "timestamp"
+ },
+ "cloneUrlHttp": {},
+ "cloneUrlSsh": {},
+ "Arn": {}
+ }
+ },
+ "Sw": {
+ "type": "structure",
+ "members": {
+ "name": {},
+ "email": {},
+ "date": {}
+ }
+ },
+ "S16": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "name": {},
+ "destinationArn": {},
+ "customData": {},
+ "branches": {
+ "shape": "S1a"
+ },
+ "events": {
+ "type": "list",
+ "member": {}
+ }
+ }
+ }
+ },
+ "S1a": {
+ "type": "list",
+ "member": {}
+ }
+ }
+}
\ No newline at end of file
diff --git a/node_modules/aws-sdk/apis/codecommit-2015-04-13.paginators.json b/node_modules/aws-sdk/apis/codecommit-2015-04-13.paginators.json
new file mode 100644
index 0000000000000000000000000000000000000000..e4c9a9038cbc397e7e58416dd22853d127f46aa6
--- /dev/null
+++ b/node_modules/aws-sdk/apis/codecommit-2015-04-13.paginators.json
@@ -0,0 +1,14 @@
+{
+ "pagination": {
+ "ListBranches": {
+ "input_token": "nextToken",
+ "output_token": "nextToken",
+ "result_key": "branches"
+ },
+ "ListRepositories": {
+ "input_token": "nextToken",
+ "output_token": "nextToken",
+ "result_key": "repositories"
+ }
+ }
+}
\ No newline at end of file
diff --git a/node_modules/aws-sdk/apis/codedeploy-2014-10-06.min.json b/node_modules/aws-sdk/apis/codedeploy-2014-10-06.min.json
new file mode 100644
index 0000000000000000000000000000000000000000..eb8b1caa90ca40e0181490b069152e52f3dd804c
--- /dev/null
+++ b/node_modules/aws-sdk/apis/codedeploy-2014-10-06.min.json
@@ -0,0 +1,1047 @@
+{
+ "version": "2.0",
+ "metadata": {
+ "apiVersion": "2014-10-06",
+ "endpointPrefix": "codedeploy",
+ "jsonVersion": "1.1",
+ "protocol": "json",
+ "serviceAbbreviation": "CodeDeploy",
+ "serviceFullName": "AWS CodeDeploy",
+ "signatureVersion": "v4",
+ "targetPrefix": "CodeDeploy_20141006",
+ "timestampFormat": "unixTimestamp"
+ },
+ "operations": {
+ "AddTagsToOnPremisesInstances": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "tags",
+ "instanceNames"
+ ],
+ "members": {
+ "tags": {
+ "shape": "S2"
+ },
+ "instanceNames": {
+ "shape": "S6"
+ }
+ }
+ }
+ },
+ "BatchGetApplicationRevisions": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "applicationName",
+ "revisions"
+ ],
+ "members": {
+ "applicationName": {},
+ "revisions": {
+ "shape": "Sa"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "applicationName": {},
+ "errorMessage": {},
+ "revisions": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "revisionLocation": {
+ "shape": "Sb"
+ },
+ "genericRevisionInfo": {
+ "shape": "Sq"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "BatchGetApplications": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "applicationNames": {
+ "shape": "Sw"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "applicationsInfo": {
+ "type": "list",
+ "member": {
+ "shape": "Sz"
+ }
+ }
+ }
+ }
+ },
+ "BatchGetDeploymentGroups": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "applicationName",
+ "deploymentGroupNames"
+ ],
+ "members": {
+ "applicationName": {},
+ "deploymentGroupNames": {
+ "shape": "Ss"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "deploymentGroupsInfo": {
+ "type": "list",
+ "member": {
+ "shape": "S15"
+ }
+ },
+ "errorMessage": {}
+ }
+ }
+ },
+ "BatchGetDeploymentInstances": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "deploymentId",
+ "instanceIds"
+ ],
+ "members": {
+ "deploymentId": {},
+ "instanceIds": {
+ "shape": "S1r"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "instancesSummary": {
+ "type": "list",
+ "member": {
+ "shape": "S1v"
+ }
+ },
+ "errorMessage": {}
+ }
+ }
+ },
+ "BatchGetDeployments": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "deploymentIds": {
+ "shape": "S27"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "deploymentsInfo": {
+ "type": "list",
+ "member": {
+ "shape": "S2a"
+ }
+ }
+ }
+ }
+ },
+ "BatchGetOnPremisesInstances": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "instanceNames": {
+ "shape": "S6"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "instanceInfos": {
+ "type": "list",
+ "member": {
+ "shape": "S2k"
+ }
+ }
+ }
+ }
+ },
+ "CreateApplication": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "applicationName"
+ ],
+ "members": {
+ "applicationName": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "applicationId": {}
+ }
+ }
+ },
+ "CreateDeployment": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "applicationName"
+ ],
+ "members": {
+ "applicationName": {},
+ "deploymentGroupName": {},
+ "revision": {
+ "shape": "Sb"
+ },
+ "deploymentConfigName": {},
+ "description": {},
+ "ignoreApplicationStopFailures": {
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "deploymentId": {}
+ }
+ }
+ },
+ "CreateDeploymentConfig": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "deploymentConfigName"
+ ],
+ "members": {
+ "deploymentConfigName": {},
+ "minimumHealthyHosts": {
+ "shape": "S2s"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "deploymentConfigId": {}
+ }
+ }
+ },
+ "CreateDeploymentGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "applicationName",
+ "deploymentGroupName",
+ "serviceRoleArn"
+ ],
+ "members": {
+ "applicationName": {},
+ "deploymentGroupName": {},
+ "deploymentConfigName": {},
+ "ec2TagFilters": {
+ "shape": "S18"
+ },
+ "onPremisesInstanceTagFilters": {
+ "shape": "S1b"
+ },
+ "autoScalingGroups": {
+ "shape": "S2y"
+ },
+ "serviceRoleArn": {},
+ "triggerConfigurations": {
+ "shape": "S1j"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "deploymentGroupId": {}
+ }
+ }
+ },
+ "DeleteApplication": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "applicationName"
+ ],
+ "members": {
+ "applicationName": {}
+ }
+ }
+ },
+ "DeleteDeploymentConfig": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "deploymentConfigName"
+ ],
+ "members": {
+ "deploymentConfigName": {}
+ }
+ }
+ },
+ "DeleteDeploymentGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "applicationName",
+ "deploymentGroupName"
+ ],
+ "members": {
+ "applicationName": {},
+ "deploymentGroupName": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "hooksNotCleanedUp": {
+ "shape": "S1e"
+ }
+ }
+ }
+ },
+ "DeregisterOnPremisesInstance": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "instanceName"
+ ],
+ "members": {
+ "instanceName": {}
+ }
+ }
+ },
+ "GetApplication": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "applicationName"
+ ],
+ "members": {
+ "applicationName": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "application": {
+ "shape": "Sz"
+ }
+ }
+ }
+ },
+ "GetApplicationRevision": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "applicationName",
+ "revision"
+ ],
+ "members": {
+ "applicationName": {},
+ "revision": {
+ "shape": "Sb"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "applicationName": {},
+ "revision": {
+ "shape": "Sb"
+ },
+ "revisionInfo": {
+ "shape": "Sq"
+ }
+ }
+ }
+ },
+ "GetDeployment": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "deploymentId"
+ ],
+ "members": {
+ "deploymentId": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "deploymentInfo": {
+ "shape": "S2a"
+ }
+ }
+ }
+ },
+ "GetDeploymentConfig": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "deploymentConfigName"
+ ],
+ "members": {
+ "deploymentConfigName": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "deploymentConfigInfo": {
+ "type": "structure",
+ "members": {
+ "deploymentConfigId": {},
+ "deploymentConfigName": {},
+ "minimumHealthyHosts": {
+ "shape": "S2s"
+ },
+ "createTime": {
+ "type": "timestamp"
+ }
+ }
+ }
+ }
+ }
+ },
+ "GetDeploymentGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "applicationName",
+ "deploymentGroupName"
+ ],
+ "members": {
+ "applicationName": {},
+ "deploymentGroupName": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "deploymentGroupInfo": {
+ "shape": "S15"
+ }
+ }
+ }
+ },
+ "GetDeploymentInstance": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "deploymentId",
+ "instanceId"
+ ],
+ "members": {
+ "deploymentId": {},
+ "instanceId": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "instanceSummary": {
+ "shape": "S1v"
+ }
+ }
+ }
+ },
+ "GetOnPremisesInstance": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "instanceName"
+ ],
+ "members": {
+ "instanceName": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "instanceInfo": {
+ "shape": "S2k"
+ }
+ }
+ }
+ },
+ "ListApplicationRevisions": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "applicationName"
+ ],
+ "members": {
+ "applicationName": {},
+ "sortBy": {},
+ "sortOrder": {},
+ "s3Bucket": {},
+ "s3KeyPrefix": {},
+ "deployed": {},
+ "nextToken": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "revisions": {
+ "shape": "Sa"
+ },
+ "nextToken": {}
+ }
+ }
+ },
+ "ListApplications": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "nextToken": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "applications": {
+ "shape": "Sw"
+ },
+ "nextToken": {}
+ }
+ }
+ },
+ "ListDeploymentConfigs": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "nextToken": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "deploymentConfigsList": {
+ "type": "list",
+ "member": {}
+ },
+ "nextToken": {}
+ }
+ }
+ },
+ "ListDeploymentGroups": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "applicationName"
+ ],
+ "members": {
+ "applicationName": {},
+ "nextToken": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "applicationName": {},
+ "deploymentGroups": {
+ "shape": "Ss"
+ },
+ "nextToken": {}
+ }
+ }
+ },
+ "ListDeploymentInstances": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "deploymentId"
+ ],
+ "members": {
+ "deploymentId": {},
+ "nextToken": {},
+ "instanceStatusFilter": {
+ "type": "list",
+ "member": {}
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "instancesList": {
+ "shape": "S1r"
+ },
+ "nextToken": {}
+ }
+ }
+ },
+ "ListDeployments": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "applicationName": {},
+ "deploymentGroupName": {},
+ "includeOnlyStatuses": {
+ "type": "list",
+ "member": {}
+ },
+ "createTimeRange": {
+ "type": "structure",
+ "members": {
+ "start": {
+ "type": "timestamp"
+ },
+ "end": {
+ "type": "timestamp"
+ }
+ }
+ },
+ "nextToken": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "deployments": {
+ "shape": "S27"
+ },
+ "nextToken": {}
+ }
+ }
+ },
+ "ListOnPremisesInstances": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "registrationStatus": {},
+ "tagFilters": {
+ "shape": "S1b"
+ },
+ "nextToken": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "instanceNames": {
+ "shape": "S6"
+ },
+ "nextToken": {}
+ }
+ }
+ },
+ "RegisterApplicationRevision": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "applicationName",
+ "revision"
+ ],
+ "members": {
+ "applicationName": {},
+ "description": {},
+ "revision": {
+ "shape": "Sb"
+ }
+ }
+ }
+ },
+ "RegisterOnPremisesInstance": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "instanceName",
+ "iamUserArn"
+ ],
+ "members": {
+ "instanceName": {},
+ "iamUserArn": {}
+ }
+ }
+ },
+ "RemoveTagsFromOnPremisesInstances": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "tags",
+ "instanceNames"
+ ],
+ "members": {
+ "tags": {
+ "shape": "S2"
+ },
+ "instanceNames": {
+ "shape": "S6"
+ }
+ }
+ }
+ },
+ "StopDeployment": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "deploymentId"
+ ],
+ "members": {
+ "deploymentId": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "status": {},
+ "statusMessage": {}
+ }
+ }
+ },
+ "UpdateApplication": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "applicationName": {},
+ "newApplicationName": {}
+ }
+ }
+ },
+ "UpdateDeploymentGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "applicationName",
+ "currentDeploymentGroupName"
+ ],
+ "members": {
+ "applicationName": {},
+ "currentDeploymentGroupName": {},
+ "newDeploymentGroupName": {},
+ "deploymentConfigName": {},
+ "ec2TagFilters": {
+ "shape": "S18"
+ },
+ "onPremisesInstanceTagFilters": {
+ "shape": "S1b"
+ },
+ "autoScalingGroups": {
+ "shape": "S2y"
+ },
+ "serviceRoleArn": {},
+ "triggerConfigurations": {
+ "shape": "S1j"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "hooksNotCleanedUp": {
+ "shape": "S1e"
+ }
+ }
+ }
+ }
+ },
+ "shapes": {
+ "S2": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "Key": {},
+ "Value": {}
+ }
+ }
+ },
+ "S6": {
+ "type": "list",
+ "member": {}
+ },
+ "Sa": {
+ "type": "list",
+ "member": {
+ "shape": "Sb"
+ }
+ },
+ "Sb": {
+ "type": "structure",
+ "members": {
+ "revisionType": {},
+ "s3Location": {
+ "type": "structure",
+ "members": {
+ "bucket": {},
+ "key": {},
+ "bundleType": {},
+ "version": {},
+ "eTag": {}
+ }
+ },
+ "gitHubLocation": {
+ "type": "structure",
+ "members": {
+ "repository": {},
+ "commitId": {}
+ }
+ }
+ }
+ },
+ "Sq": {
+ "type": "structure",
+ "members": {
+ "description": {},
+ "deploymentGroups": {
+ "shape": "Ss"
+ },
+ "firstUsedTime": {
+ "type": "timestamp"
+ },
+ "lastUsedTime": {
+ "type": "timestamp"
+ },
+ "registerTime": {
+ "type": "timestamp"
+ }
+ }
+ },
+ "Ss": {
+ "type": "list",
+ "member": {}
+ },
+ "Sw": {
+ "type": "list",
+ "member": {}
+ },
+ "Sz": {
+ "type": "structure",
+ "members": {
+ "applicationId": {},
+ "applicationName": {},
+ "createTime": {
+ "type": "timestamp"
+ },
+ "linkedToGitHub": {
+ "type": "boolean"
+ }
+ }
+ },
+ "S15": {
+ "type": "structure",
+ "members": {
+ "applicationName": {},
+ "deploymentGroupId": {},
+ "deploymentGroupName": {},
+ "deploymentConfigName": {},
+ "ec2TagFilters": {
+ "shape": "S18"
+ },
+ "onPremisesInstanceTagFilters": {
+ "shape": "S1b"
+ },
+ "autoScalingGroups": {
+ "shape": "S1e"
+ },
+ "serviceRoleArn": {},
+ "targetRevision": {
+ "shape": "Sb"
+ },
+ "triggerConfigurations": {
+ "shape": "S1j"
+ }
+ }
+ },
+ "S18": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "Key": {},
+ "Value": {},
+ "Type": {}
+ }
+ }
+ },
+ "S1b": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "Key": {},
+ "Value": {},
+ "Type": {}
+ }
+ }
+ },
+ "S1e": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "name": {},
+ "hook": {}
+ }
+ }
+ },
+ "S1j": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "triggerName": {},
+ "triggerTargetArn": {},
+ "triggerEvents": {
+ "type": "list",
+ "member": {}
+ }
+ }
+ }
+ },
+ "S1r": {
+ "type": "list",
+ "member": {}
+ },
+ "S1v": {
+ "type": "structure",
+ "members": {
+ "deploymentId": {},
+ "instanceId": {},
+ "status": {},
+ "lastUpdatedAt": {
+ "type": "timestamp"
+ },
+ "lifecycleEvents": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "lifecycleEventName": {},
+ "diagnostics": {
+ "type": "structure",
+ "members": {
+ "errorCode": {},
+ "scriptName": {},
+ "message": {},
+ "logTail": {}
+ }
+ },
+ "startTime": {
+ "type": "timestamp"
+ },
+ "endTime": {
+ "type": "timestamp"
+ },
+ "status": {}
+ }
+ }
+ }
+ }
+ },
+ "S27": {
+ "type": "list",
+ "member": {}
+ },
+ "S2a": {
+ "type": "structure",
+ "members": {
+ "applicationName": {},
+ "deploymentGroupName": {},
+ "deploymentConfigName": {},
+ "deploymentId": {},
+ "revision": {
+ "shape": "Sb"
+ },
+ "status": {},
+ "errorInformation": {
+ "type": "structure",
+ "members": {
+ "code": {},
+ "message": {}
+ }
+ },
+ "createTime": {
+ "type": "timestamp"
+ },
+ "startTime": {
+ "type": "timestamp"
+ },
+ "completeTime": {
+ "type": "timestamp"
+ },
+ "deploymentOverview": {
+ "type": "structure",
+ "members": {
+ "Pending": {
+ "type": "long"
+ },
+ "InProgress": {
+ "type": "long"
+ },
+ "Succeeded": {
+ "type": "long"
+ },
+ "Failed": {
+ "type": "long"
+ },
+ "Skipped": {
+ "type": "long"
+ }
+ }
+ },
+ "description": {},
+ "creator": {},
+ "ignoreApplicationStopFailures": {
+ "type": "boolean"
+ }
+ }
+ },
+ "S2k": {
+ "type": "structure",
+ "members": {
+ "instanceName": {},
+ "iamUserArn": {},
+ "instanceArn": {},
+ "registerTime": {
+ "type": "timestamp"
+ },
+ "deregisterTime": {
+ "type": "timestamp"
+ },
+ "tags": {
+ "shape": "S2"
+ }
+ }
+ },
+ "S2s": {
+ "type": "structure",
+ "members": {
+ "value": {
+ "type": "integer"
+ },
+ "type": {}
+ }
+ },
+ "S2y": {
+ "type": "list",
+ "member": {}
+ }
+ }
+}
\ No newline at end of file
diff --git a/node_modules/aws-sdk/apis/codepipeline-2015-07-09.min.json b/node_modules/aws-sdk/apis/codepipeline-2015-07-09.min.json
new file mode 100644
index 0000000000000000000000000000000000000000..a764ad87c06c24e86cdb52fb89f8c74cbd75af93
--- /dev/null
+++ b/node_modules/aws-sdk/apis/codepipeline-2015-07-09.min.json
@@ -0,0 +1,978 @@
+{
+ "version": "2.0",
+ "metadata": {
+ "apiVersion": "2015-07-09",
+ "endpointPrefix": "codepipeline",
+ "jsonVersion": "1.1",
+ "serviceAbbreviation": "CodePipeline",
+ "serviceFullName": "AWS CodePipeline",
+ "signatureVersion": "v4",
+ "targetPrefix": "CodePipeline_20150709",
+ "protocol": "json"
+ },
+ "operations": {
+ "AcknowledgeJob": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "jobId",
+ "nonce"
+ ],
+ "members": {
+ "jobId": {},
+ "nonce": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "status": {}
+ }
+ }
+ },
+ "AcknowledgeThirdPartyJob": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "jobId",
+ "nonce",
+ "clientToken"
+ ],
+ "members": {
+ "jobId": {},
+ "nonce": {},
+ "clientToken": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "status": {}
+ }
+ }
+ },
+ "CreateCustomActionType": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "category",
+ "provider",
+ "version",
+ "inputArtifactDetails",
+ "outputArtifactDetails"
+ ],
+ "members": {
+ "category": {},
+ "provider": {},
+ "version": {},
+ "settings": {
+ "shape": "Se"
+ },
+ "configurationProperties": {
+ "shape": "Sh"
+ },
+ "inputArtifactDetails": {
+ "shape": "Sn"
+ },
+ "outputArtifactDetails": {
+ "shape": "Sn"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "actionType"
+ ],
+ "members": {
+ "actionType": {
+ "shape": "Sr"
+ }
+ }
+ }
+ },
+ "CreatePipeline": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "pipeline"
+ ],
+ "members": {
+ "pipeline": {
+ "shape": "Sv"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "pipeline": {
+ "shape": "Sv"
+ }
+ }
+ }
+ },
+ "DeleteCustomActionType": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "category",
+ "provider",
+ "version"
+ ],
+ "members": {
+ "category": {},
+ "provider": {},
+ "version": {}
+ }
+ }
+ },
+ "DeletePipeline": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "name"
+ ],
+ "members": {
+ "name": {}
+ }
+ }
+ },
+ "DisableStageTransition": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "pipelineName",
+ "stageName",
+ "transitionType",
+ "reason"
+ ],
+ "members": {
+ "pipelineName": {},
+ "stageName": {},
+ "transitionType": {},
+ "reason": {}
+ }
+ }
+ },
+ "EnableStageTransition": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "pipelineName",
+ "stageName",
+ "transitionType"
+ ],
+ "members": {
+ "pipelineName": {},
+ "stageName": {},
+ "transitionType": {}
+ }
+ }
+ },
+ "GetJobDetails": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "jobId"
+ ],
+ "members": {
+ "jobId": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "jobDetails": {
+ "type": "structure",
+ "members": {
+ "id": {},
+ "data": {
+ "shape": "S1x"
+ },
+ "accountId": {}
+ }
+ }
+ }
+ }
+ },
+ "GetPipeline": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "name"
+ ],
+ "members": {
+ "name": {},
+ "version": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "pipeline": {
+ "shape": "Sv"
+ }
+ }
+ }
+ },
+ "GetPipelineState": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "name"
+ ],
+ "members": {
+ "name": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "pipelineName": {},
+ "pipelineVersion": {
+ "type": "integer"
+ },
+ "stageStates": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "stageName": {},
+ "inboundTransitionState": {
+ "type": "structure",
+ "members": {
+ "enabled": {
+ "type": "boolean"
+ },
+ "lastChangedBy": {},
+ "lastChangedAt": {
+ "type": "timestamp"
+ },
+ "disabledReason": {}
+ }
+ },
+ "actionStates": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "actionName": {},
+ "currentRevision": {
+ "shape": "S2s"
+ },
+ "latestExecution": {
+ "type": "structure",
+ "members": {
+ "status": {},
+ "summary": {},
+ "lastStatusChange": {
+ "type": "timestamp"
+ },
+ "externalExecutionId": {},
+ "externalExecutionUrl": {},
+ "percentComplete": {
+ "type": "integer"
+ },
+ "errorDetails": {
+ "type": "structure",
+ "members": {
+ "code": {},
+ "message": {}
+ }
+ }
+ }
+ },
+ "entityUrl": {},
+ "revisionUrl": {}
+ }
+ }
+ }
+ }
+ }
+ },
+ "created": {
+ "type": "timestamp"
+ },
+ "updated": {
+ "type": "timestamp"
+ }
+ }
+ }
+ },
+ "GetThirdPartyJobDetails": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "jobId",
+ "clientToken"
+ ],
+ "members": {
+ "jobId": {},
+ "clientToken": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "jobDetails": {
+ "type": "structure",
+ "members": {
+ "id": {},
+ "data": {
+ "type": "structure",
+ "members": {
+ "actionTypeId": {
+ "shape": "Ss"
+ },
+ "actionConfiguration": {
+ "shape": "S1y"
+ },
+ "pipelineContext": {
+ "shape": "S1z"
+ },
+ "inputArtifacts": {
+ "shape": "S22"
+ },
+ "outputArtifacts": {
+ "shape": "S22"
+ },
+ "artifactCredentials": {
+ "shape": "S2a"
+ },
+ "continuationToken": {},
+ "encryptionKey": {
+ "shape": "S11"
+ }
+ }
+ },
+ "nonce": {}
+ }
+ }
+ }
+ }
+ },
+ "ListActionTypes": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "actionOwnerFilter": {},
+ "nextToken": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "actionTypes"
+ ],
+ "members": {
+ "actionTypes": {
+ "type": "list",
+ "member": {
+ "shape": "Sr"
+ }
+ },
+ "nextToken": {}
+ }
+ }
+ },
+ "ListPipelines": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "nextToken": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "pipelines": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "name": {},
+ "version": {
+ "type": "integer"
+ },
+ "created": {
+ "type": "timestamp"
+ },
+ "updated": {
+ "type": "timestamp"
+ }
+ }
+ }
+ },
+ "nextToken": {}
+ }
+ }
+ },
+ "PollForJobs": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "actionTypeId"
+ ],
+ "members": {
+ "actionTypeId": {
+ "shape": "Ss"
+ },
+ "maxBatchSize": {
+ "type": "integer"
+ },
+ "queryParam": {
+ "type": "map",
+ "key": {},
+ "value": {}
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "jobs": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "id": {},
+ "data": {
+ "shape": "S1x"
+ },
+ "nonce": {},
+ "accountId": {}
+ }
+ }
+ }
+ }
+ }
+ },
+ "PollForThirdPartyJobs": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "actionTypeId"
+ ],
+ "members": {
+ "actionTypeId": {
+ "shape": "Ss"
+ },
+ "maxBatchSize": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "jobs": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "clientId": {},
+ "jobId": {}
+ }
+ }
+ }
+ }
+ }
+ },
+ "PutActionRevision": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "pipelineName",
+ "stageName",
+ "actionName",
+ "actionRevision"
+ ],
+ "members": {
+ "pipelineName": {},
+ "stageName": {},
+ "actionName": {},
+ "actionRevision": {
+ "shape": "S2s"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "newRevision": {
+ "type": "boolean"
+ },
+ "pipelineExecutionId": {}
+ }
+ }
+ },
+ "PutJobFailureResult": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "jobId",
+ "failureDetails"
+ ],
+ "members": {
+ "jobId": {},
+ "failureDetails": {
+ "shape": "S3w"
+ }
+ }
+ }
+ },
+ "PutJobSuccessResult": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "jobId"
+ ],
+ "members": {
+ "jobId": {},
+ "currentRevision": {
+ "shape": "S3z"
+ },
+ "continuationToken": {},
+ "executionDetails": {
+ "shape": "S41"
+ }
+ }
+ }
+ },
+ "PutThirdPartyJobFailureResult": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "jobId",
+ "clientToken",
+ "failureDetails"
+ ],
+ "members": {
+ "jobId": {},
+ "clientToken": {},
+ "failureDetails": {
+ "shape": "S3w"
+ }
+ }
+ }
+ },
+ "PutThirdPartyJobSuccessResult": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "jobId",
+ "clientToken"
+ ],
+ "members": {
+ "jobId": {},
+ "clientToken": {},
+ "currentRevision": {
+ "shape": "S3z"
+ },
+ "continuationToken": {},
+ "executionDetails": {
+ "shape": "S41"
+ }
+ }
+ }
+ },
+ "StartPipelineExecution": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "name"
+ ],
+ "members": {
+ "name": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "pipelineExecutionId": {}
+ }
+ }
+ },
+ "UpdatePipeline": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "pipeline"
+ ],
+ "members": {
+ "pipeline": {
+ "shape": "Sv"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "pipeline": {
+ "shape": "Sv"
+ }
+ }
+ }
+ }
+ },
+ "shapes": {
+ "Se": {
+ "type": "structure",
+ "members": {
+ "thirdPartyConfigurationUrl": {},
+ "entityUrlTemplate": {},
+ "executionUrlTemplate": {},
+ "revisionUrlTemplate": {}
+ }
+ },
+ "Sh": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "name",
+ "required",
+ "key",
+ "secret"
+ ],
+ "members": {
+ "name": {},
+ "required": {
+ "type": "boolean"
+ },
+ "key": {
+ "type": "boolean"
+ },
+ "secret": {
+ "type": "boolean"
+ },
+ "queryable": {
+ "type": "boolean"
+ },
+ "description": {},
+ "type": {}
+ }
+ }
+ },
+ "Sn": {
+ "type": "structure",
+ "required": [
+ "minimumCount",
+ "maximumCount"
+ ],
+ "members": {
+ "minimumCount": {
+ "type": "integer"
+ },
+ "maximumCount": {
+ "type": "integer"
+ }
+ }
+ },
+ "Sr": {
+ "type": "structure",
+ "required": [
+ "id",
+ "inputArtifactDetails",
+ "outputArtifactDetails"
+ ],
+ "members": {
+ "id": {
+ "shape": "Ss"
+ },
+ "settings": {
+ "shape": "Se"
+ },
+ "actionConfigurationProperties": {
+ "shape": "Sh"
+ },
+ "inputArtifactDetails": {
+ "shape": "Sn"
+ },
+ "outputArtifactDetails": {
+ "shape": "Sn"
+ }
+ }
+ },
+ "Ss": {
+ "type": "structure",
+ "required": [
+ "category",
+ "owner",
+ "provider",
+ "version"
+ ],
+ "members": {
+ "category": {},
+ "owner": {},
+ "provider": {},
+ "version": {}
+ }
+ },
+ "Sv": {
+ "type": "structure",
+ "required": [
+ "name",
+ "roleArn",
+ "artifactStore",
+ "stages"
+ ],
+ "members": {
+ "name": {},
+ "roleArn": {},
+ "artifactStore": {
+ "type": "structure",
+ "required": [
+ "type",
+ "location"
+ ],
+ "members": {
+ "type": {},
+ "location": {},
+ "encryptionKey": {
+ "shape": "S11"
+ }
+ }
+ },
+ "stages": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "name",
+ "actions"
+ ],
+ "members": {
+ "name": {},
+ "blockers": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "name",
+ "type"
+ ],
+ "members": {
+ "name": {},
+ "type": {}
+ }
+ }
+ },
+ "actions": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "name",
+ "actionTypeId"
+ ],
+ "members": {
+ "name": {},
+ "actionTypeId": {
+ "shape": "Ss"
+ },
+ "runOrder": {
+ "type": "integer"
+ },
+ "configuration": {
+ "shape": "S1f"
+ },
+ "outputArtifacts": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "name"
+ ],
+ "members": {
+ "name": {}
+ }
+ }
+ },
+ "inputArtifacts": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "name"
+ ],
+ "members": {
+ "name": {}
+ }
+ }
+ },
+ "roleArn": {}
+ }
+ }
+ }
+ }
+ }
+ },
+ "version": {
+ "type": "integer"
+ }
+ }
+ },
+ "S11": {
+ "type": "structure",
+ "required": [
+ "id",
+ "type"
+ ],
+ "members": {
+ "id": {},
+ "type": {}
+ }
+ },
+ "S1f": {
+ "type": "map",
+ "key": {},
+ "value": {}
+ },
+ "S1x": {
+ "type": "structure",
+ "members": {
+ "actionTypeId": {
+ "shape": "Ss"
+ },
+ "actionConfiguration": {
+ "shape": "S1y"
+ },
+ "pipelineContext": {
+ "shape": "S1z"
+ },
+ "inputArtifacts": {
+ "shape": "S22"
+ },
+ "outputArtifacts": {
+ "shape": "S22"
+ },
+ "artifactCredentials": {
+ "shape": "S2a"
+ },
+ "continuationToken": {},
+ "encryptionKey": {
+ "shape": "S11"
+ }
+ }
+ },
+ "S1y": {
+ "type": "structure",
+ "members": {
+ "configuration": {
+ "shape": "S1f"
+ }
+ }
+ },
+ "S1z": {
+ "type": "structure",
+ "members": {
+ "pipelineName": {},
+ "stage": {
+ "type": "structure",
+ "members": {
+ "name": {}
+ }
+ },
+ "action": {
+ "type": "structure",
+ "members": {
+ "name": {}
+ }
+ }
+ }
+ },
+ "S22": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "name": {},
+ "revision": {},
+ "location": {
+ "type": "structure",
+ "members": {
+ "type": {},
+ "s3Location": {
+ "type": "structure",
+ "required": [
+ "bucketName",
+ "objectKey"
+ ],
+ "members": {
+ "bucketName": {},
+ "objectKey": {}
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "S2a": {
+ "type": "structure",
+ "required": [
+ "accessKeyId",
+ "secretAccessKey",
+ "sessionToken"
+ ],
+ "members": {
+ "accessKeyId": {},
+ "secretAccessKey": {},
+ "sessionToken": {}
+ },
+ "sensitive": true
+ },
+ "S2s": {
+ "type": "structure",
+ "required": [
+ "revisionId",
+ "created"
+ ],
+ "members": {
+ "revisionId": {},
+ "revisionChangeId": {},
+ "created": {
+ "type": "timestamp"
+ }
+ }
+ },
+ "S3w": {
+ "type": "structure",
+ "required": [
+ "type",
+ "message"
+ ],
+ "members": {
+ "type": {},
+ "message": {},
+ "externalExecutionId": {}
+ }
+ },
+ "S3z": {
+ "type": "structure",
+ "required": [
+ "revision",
+ "changeIdentifier"
+ ],
+ "members": {
+ "revision": {},
+ "changeIdentifier": {}
+ }
+ },
+ "S41": {
+ "type": "structure",
+ "members": {
+ "summary": {},
+ "externalExecutionId": {},
+ "percentComplete": {
+ "type": "integer"
+ }
+ }
+ }
+ },
+ "examples": {}
+}
\ No newline at end of file
diff --git a/node_modules/aws-sdk/apis/cognito-identity-2014-06-30.min.json b/node_modules/aws-sdk/apis/cognito-identity-2014-06-30.min.json
new file mode 100644
index 0000000000000000000000000000000000000000..030ec0a118372aa4c610ed708863763ebbc6eff6
--- /dev/null
+++ b/node_modules/aws-sdk/apis/cognito-identity-2014-06-30.min.json
@@ -0,0 +1,461 @@
+{
+ "version": "2.0",
+ "metadata": {
+ "apiVersion": "2014-06-30",
+ "endpointPrefix": "cognito-identity",
+ "jsonVersion": "1.1",
+ "serviceFullName": "Amazon Cognito Identity",
+ "signatureVersion": "v4",
+ "targetPrefix": "AWSCognitoIdentityService",
+ "protocol": "json"
+ },
+ "operations": {
+ "CreateIdentityPool": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "IdentityPoolName",
+ "AllowUnauthenticatedIdentities"
+ ],
+ "members": {
+ "IdentityPoolName": {},
+ "AllowUnauthenticatedIdentities": {
+ "type": "boolean"
+ },
+ "SupportedLoginProviders": {
+ "shape": "S4"
+ },
+ "DeveloperProviderName": {},
+ "OpenIdConnectProviderARNs": {
+ "shape": "S8"
+ }
+ }
+ },
+ "output": {
+ "shape": "Sa"
+ }
+ },
+ "DeleteIdentities": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "IdentityIdsToDelete"
+ ],
+ "members": {
+ "IdentityIdsToDelete": {
+ "type": "list",
+ "member": {}
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "UnprocessedIdentityIds": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "IdentityId": {},
+ "ErrorCode": {}
+ }
+ }
+ }
+ }
+ }
+ },
+ "DeleteIdentityPool": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "IdentityPoolId"
+ ],
+ "members": {
+ "IdentityPoolId": {}
+ }
+ }
+ },
+ "DescribeIdentity": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "IdentityId"
+ ],
+ "members": {
+ "IdentityId": {}
+ }
+ },
+ "output": {
+ "shape": "Sl"
+ }
+ },
+ "DescribeIdentityPool": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "IdentityPoolId"
+ ],
+ "members": {
+ "IdentityPoolId": {}
+ }
+ },
+ "output": {
+ "shape": "Sa"
+ }
+ },
+ "GetCredentialsForIdentity": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "IdentityId"
+ ],
+ "members": {
+ "IdentityId": {},
+ "Logins": {
+ "shape": "Sq"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "IdentityId": {},
+ "Credentials": {
+ "type": "structure",
+ "members": {
+ "AccessKeyId": {},
+ "SecretKey": {},
+ "SessionToken": {},
+ "Expiration": {
+ "type": "timestamp"
+ }
+ }
+ }
+ }
+ }
+ },
+ "GetId": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "IdentityPoolId"
+ ],
+ "members": {
+ "AccountId": {},
+ "IdentityPoolId": {},
+ "Logins": {
+ "shape": "Sq"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "IdentityId": {}
+ }
+ }
+ },
+ "GetIdentityPoolRoles": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "IdentityPoolId"
+ ],
+ "members": {
+ "IdentityPoolId": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "IdentityPoolId": {},
+ "Roles": {
+ "shape": "S12"
+ }
+ }
+ }
+ },
+ "GetOpenIdToken": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "IdentityId"
+ ],
+ "members": {
+ "IdentityId": {},
+ "Logins": {
+ "shape": "Sq"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "IdentityId": {},
+ "Token": {}
+ }
+ }
+ },
+ "GetOpenIdTokenForDeveloperIdentity": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "IdentityPoolId",
+ "Logins"
+ ],
+ "members": {
+ "IdentityPoolId": {},
+ "IdentityId": {},
+ "Logins": {
+ "shape": "Sq"
+ },
+ "TokenDuration": {
+ "type": "long"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "IdentityId": {},
+ "Token": {}
+ }
+ }
+ },
+ "ListIdentities": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "IdentityPoolId",
+ "MaxResults"
+ ],
+ "members": {
+ "IdentityPoolId": {},
+ "MaxResults": {
+ "type": "integer"
+ },
+ "NextToken": {},
+ "HideDisabled": {
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "IdentityPoolId": {},
+ "Identities": {
+ "type": "list",
+ "member": {
+ "shape": "Sl"
+ }
+ },
+ "NextToken": {}
+ }
+ }
+ },
+ "ListIdentityPools": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "MaxResults"
+ ],
+ "members": {
+ "MaxResults": {
+ "type": "integer"
+ },
+ "NextToken": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "IdentityPools": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "IdentityPoolId": {},
+ "IdentityPoolName": {}
+ }
+ }
+ },
+ "NextToken": {}
+ }
+ }
+ },
+ "LookupDeveloperIdentity": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "IdentityPoolId"
+ ],
+ "members": {
+ "IdentityPoolId": {},
+ "IdentityId": {},
+ "DeveloperUserIdentifier": {},
+ "MaxResults": {
+ "type": "integer"
+ },
+ "NextToken": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "IdentityId": {},
+ "DeveloperUserIdentifierList": {
+ "type": "list",
+ "member": {}
+ },
+ "NextToken": {}
+ }
+ }
+ },
+ "MergeDeveloperIdentities": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "SourceUserIdentifier",
+ "DestinationUserIdentifier",
+ "DeveloperProviderName",
+ "IdentityPoolId"
+ ],
+ "members": {
+ "SourceUserIdentifier": {},
+ "DestinationUserIdentifier": {},
+ "DeveloperProviderName": {},
+ "IdentityPoolId": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "IdentityId": {}
+ }
+ }
+ },
+ "SetIdentityPoolRoles": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "IdentityPoolId",
+ "Roles"
+ ],
+ "members": {
+ "IdentityPoolId": {},
+ "Roles": {
+ "shape": "S12"
+ }
+ }
+ }
+ },
+ "UnlinkDeveloperIdentity": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "IdentityId",
+ "IdentityPoolId",
+ "DeveloperProviderName",
+ "DeveloperUserIdentifier"
+ ],
+ "members": {
+ "IdentityId": {},
+ "IdentityPoolId": {},
+ "DeveloperProviderName": {},
+ "DeveloperUserIdentifier": {}
+ }
+ }
+ },
+ "UnlinkIdentity": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "IdentityId",
+ "Logins",
+ "LoginsToRemove"
+ ],
+ "members": {
+ "IdentityId": {},
+ "Logins": {
+ "shape": "Sq"
+ },
+ "LoginsToRemove": {
+ "shape": "Sm"
+ }
+ }
+ }
+ },
+ "UpdateIdentityPool": {
+ "input": {
+ "shape": "Sa"
+ },
+ "output": {
+ "shape": "Sa"
+ }
+ }
+ },
+ "shapes": {
+ "S4": {
+ "type": "map",
+ "key": {},
+ "value": {}
+ },
+ "S8": {
+ "type": "list",
+ "member": {}
+ },
+ "Sa": {
+ "type": "structure",
+ "required": [
+ "IdentityPoolId",
+ "IdentityPoolName",
+ "AllowUnauthenticatedIdentities"
+ ],
+ "members": {
+ "IdentityPoolId": {},
+ "IdentityPoolName": {},
+ "AllowUnauthenticatedIdentities": {
+ "type": "boolean"
+ },
+ "SupportedLoginProviders": {
+ "shape": "S4"
+ },
+ "DeveloperProviderName": {},
+ "OpenIdConnectProviderARNs": {
+ "shape": "S8"
+ }
+ }
+ },
+ "Sl": {
+ "type": "structure",
+ "members": {
+ "IdentityId": {},
+ "Logins": {
+ "shape": "Sm"
+ },
+ "CreationDate": {
+ "type": "timestamp"
+ },
+ "LastModifiedDate": {
+ "type": "timestamp"
+ }
+ }
+ },
+ "Sm": {
+ "type": "list",
+ "member": {}
+ },
+ "Sq": {
+ "type": "map",
+ "key": {},
+ "value": {}
+ },
+ "S12": {
+ "type": "map",
+ "key": {},
+ "value": {}
+ }
+ },
+ "examples": {}
+}
\ No newline at end of file
diff --git a/node_modules/aws-sdk/apis/cognito-sync-2014-06-30.min.json b/node_modules/aws-sdk/apis/cognito-sync-2014-06-30.min.json
new file mode 100644
index 0000000000000000000000000000000000000000..3f969eac75c0d84793b815a32b08724e262494f3
--- /dev/null
+++ b/node_modules/aws-sdk/apis/cognito-sync-2014-06-30.min.json
@@ -0,0 +1,746 @@
+{
+ "version": "2.0",
+ "metadata": {
+ "apiVersion": "2014-06-30",
+ "endpointPrefix": "cognito-sync",
+ "jsonVersion": "1.1",
+ "serviceFullName": "Amazon Cognito Sync",
+ "signatureVersion": "v4",
+ "protocol": "rest-json"
+ },
+ "operations": {
+ "BulkPublish": {
+ "http": {
+ "requestUri": "/identitypools/{IdentityPoolId}/bulkpublish",
+ "responseCode": 200
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "IdentityPoolId"
+ ],
+ "members": {
+ "IdentityPoolId": {
+ "location": "uri",
+ "locationName": "IdentityPoolId"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "IdentityPoolId": {}
+ }
+ }
+ },
+ "DeleteDataset": {
+ "http": {
+ "method": "DELETE",
+ "requestUri": "/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}",
+ "responseCode": 200
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "IdentityPoolId",
+ "IdentityId",
+ "DatasetName"
+ ],
+ "members": {
+ "IdentityPoolId": {
+ "location": "uri",
+ "locationName": "IdentityPoolId"
+ },
+ "IdentityId": {
+ "location": "uri",
+ "locationName": "IdentityId"
+ },
+ "DatasetName": {
+ "location": "uri",
+ "locationName": "DatasetName"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Dataset": {
+ "shape": "S8"
+ }
+ }
+ }
+ },
+ "DescribeDataset": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}",
+ "responseCode": 200
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "IdentityPoolId",
+ "IdentityId",
+ "DatasetName"
+ ],
+ "members": {
+ "IdentityPoolId": {
+ "location": "uri",
+ "locationName": "IdentityPoolId"
+ },
+ "IdentityId": {
+ "location": "uri",
+ "locationName": "IdentityId"
+ },
+ "DatasetName": {
+ "location": "uri",
+ "locationName": "DatasetName"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Dataset": {
+ "shape": "S8"
+ }
+ }
+ }
+ },
+ "DescribeIdentityPoolUsage": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/identitypools/{IdentityPoolId}",
+ "responseCode": 200
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "IdentityPoolId"
+ ],
+ "members": {
+ "IdentityPoolId": {
+ "location": "uri",
+ "locationName": "IdentityPoolId"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "IdentityPoolUsage": {
+ "shape": "Sg"
+ }
+ }
+ }
+ },
+ "DescribeIdentityUsage": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/identitypools/{IdentityPoolId}/identities/{IdentityId}",
+ "responseCode": 200
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "IdentityPoolId",
+ "IdentityId"
+ ],
+ "members": {
+ "IdentityPoolId": {
+ "location": "uri",
+ "locationName": "IdentityPoolId"
+ },
+ "IdentityId": {
+ "location": "uri",
+ "locationName": "IdentityId"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "IdentityUsage": {
+ "type": "structure",
+ "members": {
+ "IdentityId": {},
+ "IdentityPoolId": {},
+ "LastModifiedDate": {
+ "type": "timestamp"
+ },
+ "DatasetCount": {
+ "type": "integer"
+ },
+ "DataStorage": {
+ "type": "long"
+ }
+ }
+ }
+ }
+ }
+ },
+ "GetBulkPublishDetails": {
+ "http": {
+ "requestUri": "/identitypools/{IdentityPoolId}/getBulkPublishDetails",
+ "responseCode": 200
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "IdentityPoolId"
+ ],
+ "members": {
+ "IdentityPoolId": {
+ "location": "uri",
+ "locationName": "IdentityPoolId"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "IdentityPoolId": {},
+ "BulkPublishStartTime": {
+ "type": "timestamp"
+ },
+ "BulkPublishCompleteTime": {
+ "type": "timestamp"
+ },
+ "BulkPublishStatus": {},
+ "FailureMessage": {}
+ }
+ }
+ },
+ "GetCognitoEvents": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/identitypools/{IdentityPoolId}/events",
+ "responseCode": 200
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "IdentityPoolId"
+ ],
+ "members": {
+ "IdentityPoolId": {
+ "location": "uri",
+ "locationName": "IdentityPoolId"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Events": {
+ "shape": "Sq"
+ }
+ }
+ }
+ },
+ "GetIdentityPoolConfiguration": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/identitypools/{IdentityPoolId}/configuration",
+ "responseCode": 200
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "IdentityPoolId"
+ ],
+ "members": {
+ "IdentityPoolId": {
+ "location": "uri",
+ "locationName": "IdentityPoolId"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "IdentityPoolId": {},
+ "PushSync": {
+ "shape": "Sv"
+ },
+ "CognitoStreams": {
+ "shape": "Sz"
+ }
+ }
+ }
+ },
+ "ListDatasets": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets",
+ "responseCode": 200
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "IdentityId",
+ "IdentityPoolId"
+ ],
+ "members": {
+ "IdentityPoolId": {
+ "location": "uri",
+ "locationName": "IdentityPoolId"
+ },
+ "IdentityId": {
+ "location": "uri",
+ "locationName": "IdentityId"
+ },
+ "NextToken": {
+ "location": "querystring",
+ "locationName": "nextToken"
+ },
+ "MaxResults": {
+ "location": "querystring",
+ "locationName": "maxResults",
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Datasets": {
+ "type": "list",
+ "member": {
+ "shape": "S8"
+ }
+ },
+ "Count": {
+ "type": "integer"
+ },
+ "NextToken": {}
+ }
+ }
+ },
+ "ListIdentityPoolUsage": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/identitypools",
+ "responseCode": 200
+ },
+ "input": {
+ "type": "structure",
+ "members": {
+ "NextToken": {
+ "location": "querystring",
+ "locationName": "nextToken"
+ },
+ "MaxResults": {
+ "location": "querystring",
+ "locationName": "maxResults",
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "IdentityPoolUsages": {
+ "type": "list",
+ "member": {
+ "shape": "Sg"
+ }
+ },
+ "MaxResults": {
+ "type": "integer"
+ },
+ "Count": {
+ "type": "integer"
+ },
+ "NextToken": {}
+ }
+ }
+ },
+ "ListRecords": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}/records",
+ "responseCode": 200
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "IdentityPoolId",
+ "IdentityId",
+ "DatasetName"
+ ],
+ "members": {
+ "IdentityPoolId": {
+ "location": "uri",
+ "locationName": "IdentityPoolId"
+ },
+ "IdentityId": {
+ "location": "uri",
+ "locationName": "IdentityId"
+ },
+ "DatasetName": {
+ "location": "uri",
+ "locationName": "DatasetName"
+ },
+ "LastSyncCount": {
+ "location": "querystring",
+ "locationName": "lastSyncCount",
+ "type": "long"
+ },
+ "NextToken": {
+ "location": "querystring",
+ "locationName": "nextToken"
+ },
+ "MaxResults": {
+ "location": "querystring",
+ "locationName": "maxResults",
+ "type": "integer"
+ },
+ "SyncSessionToken": {
+ "location": "querystring",
+ "locationName": "syncSessionToken"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Records": {
+ "shape": "S1c"
+ },
+ "NextToken": {},
+ "Count": {
+ "type": "integer"
+ },
+ "DatasetSyncCount": {
+ "type": "long"
+ },
+ "LastModifiedBy": {},
+ "MergedDatasetNames": {
+ "type": "list",
+ "member": {}
+ },
+ "DatasetExists": {
+ "type": "boolean"
+ },
+ "DatasetDeletedAfterRequestedSyncCount": {
+ "type": "boolean"
+ },
+ "SyncSessionToken": {}
+ }
+ }
+ },
+ "RegisterDevice": {
+ "http": {
+ "requestUri": "/identitypools/{IdentityPoolId}/identity/{IdentityId}/device",
+ "responseCode": 200
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "IdentityPoolId",
+ "IdentityId",
+ "Platform",
+ "Token"
+ ],
+ "members": {
+ "IdentityPoolId": {
+ "location": "uri",
+ "locationName": "IdentityPoolId"
+ },
+ "IdentityId": {
+ "location": "uri",
+ "locationName": "IdentityId"
+ },
+ "Platform": {},
+ "Token": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "DeviceId": {}
+ }
+ }
+ },
+ "SetCognitoEvents": {
+ "http": {
+ "requestUri": "/identitypools/{IdentityPoolId}/events",
+ "responseCode": 200
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "IdentityPoolId",
+ "Events"
+ ],
+ "members": {
+ "IdentityPoolId": {
+ "location": "uri",
+ "locationName": "IdentityPoolId"
+ },
+ "Events": {
+ "shape": "Sq"
+ }
+ }
+ }
+ },
+ "SetIdentityPoolConfiguration": {
+ "http": {
+ "requestUri": "/identitypools/{IdentityPoolId}/configuration",
+ "responseCode": 200
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "IdentityPoolId"
+ ],
+ "members": {
+ "IdentityPoolId": {
+ "location": "uri",
+ "locationName": "IdentityPoolId"
+ },
+ "PushSync": {
+ "shape": "Sv"
+ },
+ "CognitoStreams": {
+ "shape": "Sz"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "IdentityPoolId": {},
+ "PushSync": {
+ "shape": "Sv"
+ },
+ "CognitoStreams": {
+ "shape": "Sz"
+ }
+ }
+ }
+ },
+ "SubscribeToDataset": {
+ "http": {
+ "requestUri": "/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}/subscriptions/{DeviceId}",
+ "responseCode": 200
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "IdentityPoolId",
+ "IdentityId",
+ "DatasetName",
+ "DeviceId"
+ ],
+ "members": {
+ "IdentityPoolId": {
+ "location": "uri",
+ "locationName": "IdentityPoolId"
+ },
+ "IdentityId": {
+ "location": "uri",
+ "locationName": "IdentityId"
+ },
+ "DatasetName": {
+ "location": "uri",
+ "locationName": "DatasetName"
+ },
+ "DeviceId": {
+ "location": "uri",
+ "locationName": "DeviceId"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {}
+ }
+ },
+ "UnsubscribeFromDataset": {
+ "http": {
+ "method": "DELETE",
+ "requestUri": "/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}/subscriptions/{DeviceId}",
+ "responseCode": 200
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "IdentityPoolId",
+ "IdentityId",
+ "DatasetName",
+ "DeviceId"
+ ],
+ "members": {
+ "IdentityPoolId": {
+ "location": "uri",
+ "locationName": "IdentityPoolId"
+ },
+ "IdentityId": {
+ "location": "uri",
+ "locationName": "IdentityId"
+ },
+ "DatasetName": {
+ "location": "uri",
+ "locationName": "DatasetName"
+ },
+ "DeviceId": {
+ "location": "uri",
+ "locationName": "DeviceId"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {}
+ }
+ },
+ "UpdateRecords": {
+ "http": {
+ "requestUri": "/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}",
+ "responseCode": 200
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "IdentityPoolId",
+ "IdentityId",
+ "DatasetName",
+ "SyncSessionToken"
+ ],
+ "members": {
+ "IdentityPoolId": {
+ "location": "uri",
+ "locationName": "IdentityPoolId"
+ },
+ "IdentityId": {
+ "location": "uri",
+ "locationName": "IdentityId"
+ },
+ "DatasetName": {
+ "location": "uri",
+ "locationName": "DatasetName"
+ },
+ "DeviceId": {},
+ "RecordPatches": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "Op",
+ "Key",
+ "SyncCount"
+ ],
+ "members": {
+ "Op": {},
+ "Key": {},
+ "Value": {},
+ "SyncCount": {
+ "type": "long"
+ },
+ "DeviceLastModifiedDate": {
+ "type": "timestamp"
+ }
+ }
+ }
+ },
+ "SyncSessionToken": {},
+ "ClientContext": {
+ "location": "header",
+ "locationName": "x-amz-Client-Context"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Records": {
+ "shape": "S1c"
+ }
+ }
+ }
+ }
+ },
+ "shapes": {
+ "S8": {
+ "type": "structure",
+ "members": {
+ "IdentityId": {},
+ "DatasetName": {},
+ "CreationDate": {
+ "type": "timestamp"
+ },
+ "LastModifiedDate": {
+ "type": "timestamp"
+ },
+ "LastModifiedBy": {},
+ "DataStorage": {
+ "type": "long"
+ },
+ "NumRecords": {
+ "type": "long"
+ }
+ }
+ },
+ "Sg": {
+ "type": "structure",
+ "members": {
+ "IdentityPoolId": {},
+ "SyncSessionsCount": {
+ "type": "long"
+ },
+ "DataStorage": {
+ "type": "long"
+ },
+ "LastModifiedDate": {
+ "type": "timestamp"
+ }
+ }
+ },
+ "Sq": {
+ "type": "map",
+ "key": {},
+ "value": {}
+ },
+ "Sv": {
+ "type": "structure",
+ "members": {
+ "ApplicationArns": {
+ "type": "list",
+ "member": {}
+ },
+ "RoleArn": {}
+ }
+ },
+ "Sz": {
+ "type": "structure",
+ "members": {
+ "StreamName": {},
+ "RoleArn": {},
+ "StreamingStatus": {}
+ }
+ },
+ "S1c": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "Key": {},
+ "Value": {},
+ "SyncCount": {
+ "type": "long"
+ },
+ "LastModifiedDate": {
+ "type": "timestamp"
+ },
+ "LastModifiedBy": {},
+ "DeviceLastModifiedDate": {
+ "type": "timestamp"
+ }
+ }
+ }
+ }
+ },
+ "examples": {}
+}
\ No newline at end of file
diff --git a/node_modules/aws-sdk/apis/config-2014-11-12.min.json b/node_modules/aws-sdk/apis/config-2014-11-12.min.json
new file mode 100644
index 0000000000000000000000000000000000000000..338bce511789f60f69016e7b32ad85984c3479d9
--- /dev/null
+++ b/node_modules/aws-sdk/apis/config-2014-11-12.min.json
@@ -0,0 +1,810 @@
+{
+ "version": "2.0",
+ "metadata": {
+ "apiVersion": "2014-11-12",
+ "endpointPrefix": "config",
+ "jsonVersion": "1.1",
+ "protocol": "json",
+ "serviceAbbreviation": "Config Service",
+ "serviceFullName": "AWS Config",
+ "signatureVersion": "v4",
+ "targetPrefix": "StarlingDoveService"
+ },
+ "operations": {
+ "DeleteConfigRule": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ConfigRuleName"
+ ],
+ "members": {
+ "ConfigRuleName": {}
+ }
+ }
+ },
+ "DeleteDeliveryChannel": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DeliveryChannelName"
+ ],
+ "members": {
+ "DeliveryChannelName": {}
+ }
+ }
+ },
+ "DeliverConfigSnapshot": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "deliveryChannelName"
+ ],
+ "members": {
+ "deliveryChannelName": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "configSnapshotId": {}
+ }
+ }
+ },
+ "DescribeComplianceByConfigRule": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "ConfigRuleNames": {
+ "shape": "S9"
+ },
+ "ComplianceTypes": {
+ "shape": "Sa"
+ },
+ "NextToken": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "ComplianceByConfigRules": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "ConfigRuleName": {},
+ "Compliance": {
+ "shape": "Sf"
+ }
+ }
+ }
+ },
+ "NextToken": {}
+ }
+ }
+ },
+ "DescribeComplianceByResource": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "ResourceType": {},
+ "ResourceId": {},
+ "ComplianceTypes": {
+ "shape": "Sa"
+ },
+ "Limit": {
+ "type": "integer"
+ },
+ "NextToken": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "ComplianceByResources": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "ResourceType": {},
+ "ResourceId": {},
+ "Compliance": {
+ "shape": "Sf"
+ }
+ }
+ }
+ },
+ "NextToken": {}
+ }
+ }
+ },
+ "DescribeConfigRuleEvaluationStatus": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "ConfigRuleNames": {
+ "shape": "S9"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "ConfigRulesEvaluationStatus": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "ConfigRuleName": {},
+ "ConfigRuleArn": {},
+ "ConfigRuleId": {},
+ "LastSuccessfulInvocationTime": {
+ "type": "timestamp"
+ },
+ "LastFailedInvocationTime": {
+ "type": "timestamp"
+ },
+ "LastSuccessfulEvaluationTime": {
+ "type": "timestamp"
+ },
+ "LastFailedEvaluationTime": {
+ "type": "timestamp"
+ },
+ "FirstActivatedTime": {
+ "type": "timestamp"
+ },
+ "LastErrorCode": {},
+ "LastErrorMessage": {},
+ "FirstEvaluationStarted": {
+ "type": "boolean"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "DescribeConfigRules": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "ConfigRuleNames": {
+ "shape": "S9"
+ },
+ "NextToken": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "ConfigRules": {
+ "type": "list",
+ "member": {
+ "shape": "Sy"
+ }
+ },
+ "NextToken": {}
+ }
+ }
+ },
+ "DescribeConfigurationRecorderStatus": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "ConfigurationRecorderNames": {
+ "shape": "S1c"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "ConfigurationRecordersStatus": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "name": {},
+ "lastStartTime": {
+ "type": "timestamp"
+ },
+ "lastStopTime": {
+ "type": "timestamp"
+ },
+ "recording": {
+ "type": "boolean"
+ },
+ "lastStatus": {},
+ "lastErrorCode": {},
+ "lastErrorMessage": {},
+ "lastStatusChangeTime": {
+ "type": "timestamp"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "DescribeConfigurationRecorders": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "ConfigurationRecorderNames": {
+ "shape": "S1c"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "ConfigurationRecorders": {
+ "type": "list",
+ "member": {
+ "shape": "S1l"
+ }
+ }
+ }
+ }
+ },
+ "DescribeDeliveryChannelStatus": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DeliveryChannelNames": {
+ "shape": "S1s"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "DeliveryChannelsStatus": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "name": {},
+ "configSnapshotDeliveryInfo": {
+ "shape": "S1w"
+ },
+ "configHistoryDeliveryInfo": {
+ "shape": "S1w"
+ },
+ "configStreamDeliveryInfo": {
+ "type": "structure",
+ "members": {
+ "lastStatus": {},
+ "lastErrorCode": {},
+ "lastErrorMessage": {},
+ "lastStatusChangeTime": {
+ "type": "timestamp"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "DescribeDeliveryChannels": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DeliveryChannelNames": {
+ "shape": "S1s"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "DeliveryChannels": {
+ "type": "list",
+ "member": {
+ "shape": "S22"
+ }
+ }
+ }
+ }
+ },
+ "GetComplianceDetailsByConfigRule": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ConfigRuleName"
+ ],
+ "members": {
+ "ConfigRuleName": {},
+ "ComplianceTypes": {
+ "shape": "Sa"
+ },
+ "Limit": {
+ "type": "integer"
+ },
+ "NextToken": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "EvaluationResults": {
+ "shape": "S26"
+ },
+ "NextToken": {}
+ }
+ }
+ },
+ "GetComplianceDetailsByResource": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ResourceType",
+ "ResourceId"
+ ],
+ "members": {
+ "ResourceType": {},
+ "ResourceId": {},
+ "ComplianceTypes": {
+ "shape": "Sa"
+ },
+ "NextToken": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "EvaluationResults": {
+ "shape": "S26"
+ },
+ "NextToken": {}
+ }
+ }
+ },
+ "GetComplianceSummaryByConfigRule": {
+ "output": {
+ "type": "structure",
+ "members": {
+ "ComplianceSummary": {
+ "shape": "S2d"
+ }
+ }
+ }
+ },
+ "GetComplianceSummaryByResourceType": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "ResourceTypes": {
+ "type": "list",
+ "member": {}
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "ComplianceSummariesByResourceType": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "ResourceType": {},
+ "ComplianceSummary": {
+ "shape": "S2d"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "GetResourceConfigHistory": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "resourceType",
+ "resourceId"
+ ],
+ "members": {
+ "resourceType": {},
+ "resourceId": {},
+ "laterTime": {
+ "type": "timestamp"
+ },
+ "earlierTime": {
+ "type": "timestamp"
+ },
+ "chronologicalOrder": {},
+ "limit": {
+ "type": "integer"
+ },
+ "nextToken": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "configurationItems": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "version": {},
+ "accountId": {},
+ "configurationItemCaptureTime": {
+ "type": "timestamp"
+ },
+ "configurationItemStatus": {},
+ "configurationStateId": {},
+ "configurationItemMD5Hash": {},
+ "arn": {},
+ "resourceType": {},
+ "resourceId": {},
+ "resourceName": {},
+ "awsRegion": {},
+ "availabilityZone": {},
+ "resourceCreationTime": {
+ "type": "timestamp"
+ },
+ "tags": {
+ "type": "map",
+ "key": {},
+ "value": {}
+ },
+ "relatedEvents": {
+ "type": "list",
+ "member": {}
+ },
+ "relationships": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "resourceType": {},
+ "resourceId": {},
+ "resourceName": {},
+ "relationshipName": {}
+ }
+ }
+ },
+ "configuration": {}
+ }
+ }
+ },
+ "nextToken": {}
+ }
+ }
+ },
+ "ListDiscoveredResources": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "resourceType"
+ ],
+ "members": {
+ "resourceType": {},
+ "resourceIds": {
+ "type": "list",
+ "member": {}
+ },
+ "resourceName": {},
+ "limit": {
+ "type": "integer"
+ },
+ "includeDeletedResources": {
+ "type": "boolean"
+ },
+ "nextToken": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "resourceIdentifiers": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "resourceType": {},
+ "resourceId": {},
+ "resourceName": {},
+ "resourceDeletionTime": {
+ "type": "timestamp"
+ }
+ }
+ }
+ },
+ "nextToken": {}
+ }
+ }
+ },
+ "PutConfigRule": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ConfigRule"
+ ],
+ "members": {
+ "ConfigRule": {
+ "shape": "Sy"
+ }
+ }
+ }
+ },
+ "PutConfigurationRecorder": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ConfigurationRecorder"
+ ],
+ "members": {
+ "ConfigurationRecorder": {
+ "shape": "S1l"
+ }
+ }
+ }
+ },
+ "PutDeliveryChannel": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DeliveryChannel"
+ ],
+ "members": {
+ "DeliveryChannel": {
+ "shape": "S22"
+ }
+ }
+ }
+ },
+ "PutEvaluations": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ResultToken"
+ ],
+ "members": {
+ "Evaluations": {
+ "shape": "S3l"
+ },
+ "ResultToken": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "FailedEvaluations": {
+ "shape": "S3l"
+ }
+ }
+ }
+ },
+ "StartConfigurationRecorder": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ConfigurationRecorderName"
+ ],
+ "members": {
+ "ConfigurationRecorderName": {}
+ }
+ }
+ },
+ "StopConfigurationRecorder": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ConfigurationRecorderName"
+ ],
+ "members": {
+ "ConfigurationRecorderName": {}
+ }
+ }
+ }
+ },
+ "shapes": {
+ "S9": {
+ "type": "list",
+ "member": {}
+ },
+ "Sa": {
+ "type": "list",
+ "member": {}
+ },
+ "Sf": {
+ "type": "structure",
+ "members": {
+ "ComplianceType": {},
+ "ComplianceContributorCount": {
+ "shape": "Sg"
+ }
+ }
+ },
+ "Sg": {
+ "type": "structure",
+ "members": {
+ "CappedCount": {
+ "type": "integer"
+ },
+ "CapExceeded": {
+ "type": "boolean"
+ }
+ }
+ },
+ "Sy": {
+ "type": "structure",
+ "required": [
+ "Source"
+ ],
+ "members": {
+ "ConfigRuleName": {},
+ "ConfigRuleArn": {},
+ "ConfigRuleId": {},
+ "Description": {},
+ "Scope": {
+ "type": "structure",
+ "members": {
+ "ComplianceResourceTypes": {
+ "type": "list",
+ "member": {}
+ },
+ "TagKey": {},
+ "TagValue": {},
+ "ComplianceResourceId": {}
+ }
+ },
+ "Source": {
+ "type": "structure",
+ "members": {
+ "Owner": {},
+ "SourceIdentifier": {},
+ "SourceDetails": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "EventSource": {},
+ "MessageType": {}
+ }
+ }
+ }
+ }
+ },
+ "InputParameters": {},
+ "MaximumExecutionFrequency": {},
+ "ConfigRuleState": {}
+ }
+ },
+ "S1c": {
+ "type": "list",
+ "member": {}
+ },
+ "S1l": {
+ "type": "structure",
+ "members": {
+ "name": {},
+ "roleARN": {},
+ "recordingGroup": {
+ "type": "structure",
+ "members": {
+ "allSupported": {
+ "type": "boolean"
+ },
+ "includeGlobalResourceTypes": {
+ "type": "boolean"
+ },
+ "resourceTypes": {
+ "type": "list",
+ "member": {}
+ }
+ }
+ }
+ }
+ },
+ "S1s": {
+ "type": "list",
+ "member": {}
+ },
+ "S1w": {
+ "type": "structure",
+ "members": {
+ "lastStatus": {},
+ "lastErrorCode": {},
+ "lastErrorMessage": {},
+ "lastAttemptTime": {
+ "type": "timestamp"
+ },
+ "lastSuccessfulTime": {
+ "type": "timestamp"
+ },
+ "nextDeliveryTime": {
+ "type": "timestamp"
+ }
+ }
+ },
+ "S22": {
+ "type": "structure",
+ "members": {
+ "name": {},
+ "s3BucketName": {},
+ "s3KeyPrefix": {},
+ "snsTopicARN": {},
+ "configSnapshotDeliveryProperties": {
+ "type": "structure",
+ "members": {
+ "deliveryFrequency": {}
+ }
+ }
+ }
+ },
+ "S26": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "EvaluationResultIdentifier": {
+ "type": "structure",
+ "members": {
+ "EvaluationResultQualifier": {
+ "type": "structure",
+ "members": {
+ "ConfigRuleName": {},
+ "ResourceType": {},
+ "ResourceId": {}
+ }
+ },
+ "OrderingTimestamp": {
+ "type": "timestamp"
+ }
+ }
+ },
+ "ComplianceType": {},
+ "ResultRecordedTime": {
+ "type": "timestamp"
+ },
+ "ConfigRuleInvokedTime": {
+ "type": "timestamp"
+ },
+ "Annotation": {},
+ "ResultToken": {}
+ }
+ }
+ },
+ "S2d": {
+ "type": "structure",
+ "members": {
+ "CompliantResourceCount": {
+ "shape": "Sg"
+ },
+ "NonCompliantResourceCount": {
+ "shape": "Sg"
+ },
+ "ComplianceSummaryTimestamp": {
+ "type": "timestamp"
+ }
+ }
+ },
+ "S3l": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "ComplianceResourceType",
+ "ComplianceResourceId",
+ "ComplianceType",
+ "OrderingTimestamp"
+ ],
+ "members": {
+ "ComplianceResourceType": {},
+ "ComplianceResourceId": {},
+ "ComplianceType": {},
+ "Annotation": {},
+ "OrderingTimestamp": {
+ "type": "timestamp"
+ }
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/node_modules/aws-sdk/apis/config-2014-11-12.paginators.json b/node_modules/aws-sdk/apis/config-2014-11-12.paginators.json
new file mode 100644
index 0000000000000000000000000000000000000000..45c365ec373bb6c8743730427a0791e37781e8c1
--- /dev/null
+++ b/node_modules/aws-sdk/apis/config-2014-11-12.paginators.json
@@ -0,0 +1,10 @@
+{
+ "pagination": {
+ "GetResourceConfigHistory": {
+ "input_token": "nextToken",
+ "output_token": "nextToken",
+ "limit_key": "limit",
+ "result_key": "configurationItems"
+ }
+ }
+}
diff --git a/node_modules/aws-sdk/apis/datapipeline-2012-10-29.min.json b/node_modules/aws-sdk/apis/datapipeline-2012-10-29.min.json
new file mode 100644
index 0000000000000000000000000000000000000000..88f505fefb8ac21c5ddf79e0b4ea07f7413c2dd7
--- /dev/null
+++ b/node_modules/aws-sdk/apis/datapipeline-2012-10-29.min.json
@@ -0,0 +1,666 @@
+{
+ "version": "2.0",
+ "metadata": {
+ "apiVersion": "2012-10-29",
+ "endpointPrefix": "datapipeline",
+ "jsonVersion": "1.1",
+ "serviceFullName": "AWS Data Pipeline",
+ "signatureVersion": "v4",
+ "targetPrefix": "DataPipeline",
+ "protocol": "json"
+ },
+ "operations": {
+ "ActivatePipeline": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "pipelineId"
+ ],
+ "members": {
+ "pipelineId": {},
+ "parameterValues": {
+ "shape": "S3"
+ },
+ "startTimestamp": {
+ "type": "timestamp"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {}
+ }
+ },
+ "AddTags": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "pipelineId",
+ "tags"
+ ],
+ "members": {
+ "pipelineId": {},
+ "tags": {
+ "shape": "Sa"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {}
+ }
+ },
+ "CreatePipeline": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "name",
+ "uniqueId"
+ ],
+ "members": {
+ "name": {},
+ "uniqueId": {},
+ "description": {},
+ "tags": {
+ "shape": "Sa"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "pipelineId"
+ ],
+ "members": {
+ "pipelineId": {}
+ }
+ }
+ },
+ "DeactivatePipeline": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "pipelineId"
+ ],
+ "members": {
+ "pipelineId": {},
+ "cancelActive": {
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {}
+ }
+ },
+ "DeletePipeline": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "pipelineId"
+ ],
+ "members": {
+ "pipelineId": {}
+ }
+ }
+ },
+ "DescribeObjects": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "pipelineId",
+ "objectIds"
+ ],
+ "members": {
+ "pipelineId": {},
+ "objectIds": {
+ "shape": "Sn"
+ },
+ "evaluateExpressions": {
+ "type": "boolean"
+ },
+ "marker": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "pipelineObjects"
+ ],
+ "members": {
+ "pipelineObjects": {
+ "shape": "Sq"
+ },
+ "marker": {},
+ "hasMoreResults": {
+ "type": "boolean"
+ }
+ }
+ }
+ },
+ "DescribePipelines": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "pipelineIds"
+ ],
+ "members": {
+ "pipelineIds": {
+ "shape": "Sn"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "pipelineDescriptionList"
+ ],
+ "members": {
+ "pipelineDescriptionList": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "pipelineId",
+ "name",
+ "fields"
+ ],
+ "members": {
+ "pipelineId": {},
+ "name": {},
+ "fields": {
+ "shape": "Ss"
+ },
+ "description": {},
+ "tags": {
+ "shape": "Sa"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "EvaluateExpression": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "pipelineId",
+ "objectId",
+ "expression"
+ ],
+ "members": {
+ "pipelineId": {},
+ "objectId": {},
+ "expression": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "evaluatedExpression"
+ ],
+ "members": {
+ "evaluatedExpression": {}
+ }
+ }
+ },
+ "GetPipelineDefinition": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "pipelineId"
+ ],
+ "members": {
+ "pipelineId": {},
+ "version": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "pipelineObjects": {
+ "shape": "Sq"
+ },
+ "parameterObjects": {
+ "shape": "S13"
+ },
+ "parameterValues": {
+ "shape": "S3"
+ }
+ }
+ }
+ },
+ "ListPipelines": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "marker": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "pipelineIdList"
+ ],
+ "members": {
+ "pipelineIdList": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "id": {},
+ "name": {}
+ }
+ }
+ },
+ "marker": {},
+ "hasMoreResults": {
+ "type": "boolean"
+ }
+ }
+ }
+ },
+ "PollForTask": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "workerGroup"
+ ],
+ "members": {
+ "workerGroup": {},
+ "hostname": {},
+ "instanceIdentity": {
+ "type": "structure",
+ "members": {
+ "document": {},
+ "signature": {}
+ }
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "taskObject": {
+ "type": "structure",
+ "members": {
+ "taskId": {},
+ "pipelineId": {},
+ "attemptId": {},
+ "objects": {
+ "type": "map",
+ "key": {},
+ "value": {
+ "shape": "Sr"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "PutPipelineDefinition": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "pipelineId",
+ "pipelineObjects"
+ ],
+ "members": {
+ "pipelineId": {},
+ "pipelineObjects": {
+ "shape": "Sq"
+ },
+ "parameterObjects": {
+ "shape": "S13"
+ },
+ "parameterValues": {
+ "shape": "S3"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "errored"
+ ],
+ "members": {
+ "validationErrors": {
+ "shape": "S1l"
+ },
+ "validationWarnings": {
+ "shape": "S1p"
+ },
+ "errored": {
+ "type": "boolean"
+ }
+ }
+ }
+ },
+ "QueryObjects": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "pipelineId",
+ "sphere"
+ ],
+ "members": {
+ "pipelineId": {},
+ "query": {
+ "type": "structure",
+ "members": {
+ "selectors": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "fieldName": {},
+ "operator": {
+ "type": "structure",
+ "members": {
+ "type": {},
+ "values": {
+ "shape": "S1x"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "sphere": {},
+ "marker": {},
+ "limit": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "ids": {
+ "shape": "Sn"
+ },
+ "marker": {},
+ "hasMoreResults": {
+ "type": "boolean"
+ }
+ }
+ }
+ },
+ "RemoveTags": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "pipelineId",
+ "tagKeys"
+ ],
+ "members": {
+ "pipelineId": {},
+ "tagKeys": {
+ "shape": "S1x"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {}
+ }
+ },
+ "ReportTaskProgress": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "taskId"
+ ],
+ "members": {
+ "taskId": {},
+ "fields": {
+ "shape": "Ss"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "canceled"
+ ],
+ "members": {
+ "canceled": {
+ "type": "boolean"
+ }
+ }
+ }
+ },
+ "ReportTaskRunnerHeartbeat": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "taskrunnerId"
+ ],
+ "members": {
+ "taskrunnerId": {},
+ "workerGroup": {},
+ "hostname": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "terminate"
+ ],
+ "members": {
+ "terminate": {
+ "type": "boolean"
+ }
+ }
+ }
+ },
+ "SetStatus": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "pipelineId",
+ "objectIds",
+ "status"
+ ],
+ "members": {
+ "pipelineId": {},
+ "objectIds": {
+ "shape": "Sn"
+ },
+ "status": {}
+ }
+ }
+ },
+ "SetTaskStatus": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "taskId",
+ "taskStatus"
+ ],
+ "members": {
+ "taskId": {},
+ "taskStatus": {},
+ "errorId": {},
+ "errorMessage": {},
+ "errorStackTrace": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {}
+ }
+ },
+ "ValidatePipelineDefinition": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "pipelineId",
+ "pipelineObjects"
+ ],
+ "members": {
+ "pipelineId": {},
+ "pipelineObjects": {
+ "shape": "Sq"
+ },
+ "parameterObjects": {
+ "shape": "S13"
+ },
+ "parameterValues": {
+ "shape": "S3"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "errored"
+ ],
+ "members": {
+ "validationErrors": {
+ "shape": "S1l"
+ },
+ "validationWarnings": {
+ "shape": "S1p"
+ },
+ "errored": {
+ "type": "boolean"
+ }
+ }
+ }
+ }
+ },
+ "shapes": {
+ "S3": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "id",
+ "stringValue"
+ ],
+ "members": {
+ "id": {},
+ "stringValue": {}
+ }
+ }
+ },
+ "Sa": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "key",
+ "value"
+ ],
+ "members": {
+ "key": {},
+ "value": {}
+ }
+ }
+ },
+ "Sn": {
+ "type": "list",
+ "member": {}
+ },
+ "Sq": {
+ "type": "list",
+ "member": {
+ "shape": "Sr"
+ }
+ },
+ "Sr": {
+ "type": "structure",
+ "required": [
+ "id",
+ "name",
+ "fields"
+ ],
+ "members": {
+ "id": {},
+ "name": {},
+ "fields": {
+ "shape": "Ss"
+ }
+ }
+ },
+ "Ss": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "key"
+ ],
+ "members": {
+ "key": {},
+ "stringValue": {},
+ "refValue": {}
+ }
+ }
+ },
+ "S13": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "id",
+ "attributes"
+ ],
+ "members": {
+ "id": {},
+ "attributes": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "key",
+ "stringValue"
+ ],
+ "members": {
+ "key": {},
+ "stringValue": {}
+ }
+ }
+ }
+ }
+ }
+ },
+ "S1l": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "id": {},
+ "errors": {
+ "shape": "S1n"
+ }
+ }
+ }
+ },
+ "S1n": {
+ "type": "list",
+ "member": {}
+ },
+ "S1p": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "id": {},
+ "warnings": {
+ "shape": "S1n"
+ }
+ }
+ }
+ },
+ "S1x": {
+ "type": "list",
+ "member": {}
+ }
+ }
+}
\ No newline at end of file
diff --git a/node_modules/aws-sdk/apis/datapipeline-2012-10-29.paginators.json b/node_modules/aws-sdk/apis/datapipeline-2012-10-29.paginators.json
new file mode 100644
index 0000000000000000000000000000000000000000..db941936bcb276f4ecbc2c4f927685642e1ab4fe
--- /dev/null
+++ b/node_modules/aws-sdk/apis/datapipeline-2012-10-29.paginators.json
@@ -0,0 +1,26 @@
+{
+ "pagination": {
+ "ListPipelines": {
+ "input_token": "marker",
+ "output_token": "marker",
+ "more_results": "hasMoreResults",
+ "result_key": "pipelineIdList"
+ },
+ "DescribeObjects": {
+ "input_token": "marker",
+ "output_token": "marker",
+ "more_results": "hasMoreResults",
+ "result_key": "pipelineObjects"
+ },
+ "DescribePipelines": {
+ "result_key": "pipelineDescriptionList"
+ },
+ "QueryObjects": {
+ "input_token": "marker",
+ "output_token": "marker",
+ "more_results": "hasMoreResults",
+ "limit_key": "limit",
+ "result_key": "ids"
+ }
+ }
+}
diff --git a/node_modules/aws-sdk/apis/devicefarm-2015-06-23.min.json b/node_modules/aws-sdk/apis/devicefarm-2015-06-23.min.json
new file mode 100644
index 0000000000000000000000000000000000000000..6f58d34168d9e3f0fe1311eb463aeafa5ac6fa37
--- /dev/null
+++ b/node_modules/aws-sdk/apis/devicefarm-2015-06-23.min.json
@@ -0,0 +1,1240 @@
+{
+ "version": "2.0",
+ "metadata": {
+ "apiVersion": "2015-06-23",
+ "endpointPrefix": "devicefarm",
+ "jsonVersion": "1.1",
+ "protocol": "json",
+ "serviceFullName": "AWS Device Farm",
+ "signatureVersion": "v4",
+ "targetPrefix": "DeviceFarm_20150623"
+ },
+ "operations": {
+ "CreateDevicePool": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "projectArn",
+ "name",
+ "rules"
+ ],
+ "members": {
+ "projectArn": {},
+ "name": {},
+ "description": {},
+ "rules": {
+ "shape": "S5"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "devicePool": {
+ "shape": "Sb"
+ }
+ }
+ }
+ },
+ "CreateProject": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "name"
+ ],
+ "members": {
+ "name": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "project": {
+ "shape": "Sf"
+ }
+ }
+ }
+ },
+ "CreateUpload": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "projectArn",
+ "name",
+ "type"
+ ],
+ "members": {
+ "projectArn": {},
+ "name": {},
+ "type": {},
+ "contentType": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "upload": {
+ "shape": "Sl"
+ }
+ }
+ }
+ },
+ "DeleteDevicePool": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "arn"
+ ],
+ "members": {
+ "arn": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {}
+ }
+ },
+ "DeleteProject": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "arn"
+ ],
+ "members": {
+ "arn": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {}
+ }
+ },
+ "DeleteRun": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "arn"
+ ],
+ "members": {
+ "arn": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {}
+ }
+ },
+ "DeleteUpload": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "arn"
+ ],
+ "members": {
+ "arn": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {}
+ }
+ },
+ "GetAccountSettings": {
+ "input": {
+ "type": "structure",
+ "members": {}
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "accountSettings": {
+ "type": "structure",
+ "members": {
+ "awsAccountNumber": {},
+ "unmeteredDevices": {
+ "type": "map",
+ "key": {},
+ "value": {
+ "type": "integer"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "GetDevice": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "arn"
+ ],
+ "members": {
+ "arn": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "device": {
+ "shape": "S16"
+ }
+ }
+ }
+ },
+ "GetDevicePool": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "arn"
+ ],
+ "members": {
+ "arn": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "devicePool": {
+ "shape": "Sb"
+ }
+ }
+ }
+ },
+ "GetDevicePoolCompatibility": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "devicePoolArn"
+ ],
+ "members": {
+ "devicePoolArn": {},
+ "appArn": {},
+ "testType": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "compatibleDevices": {
+ "shape": "S1h"
+ },
+ "incompatibleDevices": {
+ "shape": "S1h"
+ }
+ }
+ }
+ },
+ "GetJob": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "arn"
+ ],
+ "members": {
+ "arn": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "job": {
+ "shape": "S1o"
+ }
+ }
+ }
+ },
+ "GetOfferingStatus": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "nextToken": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "current": {
+ "shape": "S1w"
+ },
+ "nextPeriod": {
+ "shape": "S1w"
+ },
+ "nextToken": {}
+ }
+ }
+ },
+ "GetProject": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "arn"
+ ],
+ "members": {
+ "arn": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "project": {
+ "shape": "Sf"
+ }
+ }
+ }
+ },
+ "GetRun": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "arn"
+ ],
+ "members": {
+ "arn": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "run": {
+ "shape": "S2b"
+ }
+ }
+ }
+ },
+ "GetSuite": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "arn"
+ ],
+ "members": {
+ "arn": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "suite": {
+ "shape": "S2f"
+ }
+ }
+ }
+ },
+ "GetTest": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "arn"
+ ],
+ "members": {
+ "arn": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "test": {
+ "shape": "S2i"
+ }
+ }
+ }
+ },
+ "GetUpload": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "arn"
+ ],
+ "members": {
+ "arn": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "upload": {
+ "shape": "Sl"
+ }
+ }
+ }
+ },
+ "ListArtifacts": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "arn",
+ "type"
+ ],
+ "members": {
+ "arn": {},
+ "type": {},
+ "nextToken": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "artifacts": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "arn": {},
+ "name": {},
+ "type": {},
+ "extension": {},
+ "url": {}
+ }
+ }
+ },
+ "nextToken": {}
+ }
+ }
+ },
+ "ListDevicePools": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "arn"
+ ],
+ "members": {
+ "arn": {},
+ "type": {},
+ "nextToken": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "devicePools": {
+ "type": "list",
+ "member": {
+ "shape": "Sb"
+ }
+ },
+ "nextToken": {}
+ }
+ }
+ },
+ "ListDevices": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "arn": {},
+ "nextToken": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "devices": {
+ "type": "list",
+ "member": {
+ "shape": "S16"
+ }
+ },
+ "nextToken": {}
+ }
+ }
+ },
+ "ListJobs": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "arn"
+ ],
+ "members": {
+ "arn": {},
+ "nextToken": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "jobs": {
+ "type": "list",
+ "member": {
+ "shape": "S1o"
+ }
+ },
+ "nextToken": {}
+ }
+ }
+ },
+ "ListOfferingTransactions": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "nextToken": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "offeringTransactions": {
+ "type": "list",
+ "member": {
+ "shape": "S33"
+ }
+ },
+ "nextToken": {}
+ }
+ }
+ },
+ "ListOfferings": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "nextToken": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "offerings": {
+ "type": "list",
+ "member": {
+ "shape": "S20"
+ }
+ },
+ "nextToken": {}
+ }
+ }
+ },
+ "ListProjects": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "arn": {},
+ "nextToken": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "projects": {
+ "type": "list",
+ "member": {
+ "shape": "Sf"
+ }
+ },
+ "nextToken": {}
+ }
+ }
+ },
+ "ListRuns": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "arn"
+ ],
+ "members": {
+ "arn": {},
+ "nextToken": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "runs": {
+ "type": "list",
+ "member": {
+ "shape": "S2b"
+ }
+ },
+ "nextToken": {}
+ }
+ }
+ },
+ "ListSamples": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "arn"
+ ],
+ "members": {
+ "arn": {},
+ "nextToken": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "samples": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "arn": {},
+ "type": {},
+ "url": {}
+ }
+ }
+ },
+ "nextToken": {}
+ }
+ }
+ },
+ "ListSuites": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "arn"
+ ],
+ "members": {
+ "arn": {},
+ "nextToken": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "suites": {
+ "type": "list",
+ "member": {
+ "shape": "S2f"
+ }
+ },
+ "nextToken": {}
+ }
+ }
+ },
+ "ListTests": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "arn"
+ ],
+ "members": {
+ "arn": {},
+ "nextToken": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "tests": {
+ "type": "list",
+ "member": {
+ "shape": "S2i"
+ }
+ },
+ "nextToken": {}
+ }
+ }
+ },
+ "ListUniqueProblems": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "arn"
+ ],
+ "members": {
+ "arn": {},
+ "nextToken": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "uniqueProblems": {
+ "type": "map",
+ "key": {},
+ "value": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "message": {},
+ "problems": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "run": {
+ "shape": "S3w"
+ },
+ "job": {
+ "shape": "S3w"
+ },
+ "suite": {
+ "shape": "S3w"
+ },
+ "test": {
+ "shape": "S3w"
+ },
+ "device": {
+ "shape": "S16"
+ },
+ "result": {},
+ "message": {}
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "nextToken": {}
+ }
+ }
+ },
+ "ListUploads": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "arn"
+ ],
+ "members": {
+ "arn": {},
+ "nextToken": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "uploads": {
+ "type": "list",
+ "member": {
+ "shape": "Sl"
+ }
+ },
+ "nextToken": {}
+ }
+ }
+ },
+ "PurchaseOffering": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "offeringId": {},
+ "quantity": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "offeringTransaction": {
+ "shape": "S33"
+ }
+ }
+ }
+ },
+ "RenewOffering": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "offeringId": {},
+ "quantity": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "offeringTransaction": {
+ "shape": "S33"
+ }
+ }
+ }
+ },
+ "ScheduleRun": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "projectArn",
+ "devicePoolArn",
+ "test"
+ ],
+ "members": {
+ "projectArn": {},
+ "appArn": {},
+ "devicePoolArn": {},
+ "name": {},
+ "test": {
+ "type": "structure",
+ "required": [
+ "type"
+ ],
+ "members": {
+ "type": {},
+ "testPackageArn": {},
+ "filter": {},
+ "parameters": {
+ "type": "map",
+ "key": {},
+ "value": {}
+ }
+ }
+ },
+ "configuration": {
+ "type": "structure",
+ "members": {
+ "extraDataPackageArn": {},
+ "networkProfileArn": {},
+ "locale": {},
+ "location": {
+ "type": "structure",
+ "required": [
+ "latitude",
+ "longitude"
+ ],
+ "members": {
+ "latitude": {
+ "type": "double"
+ },
+ "longitude": {
+ "type": "double"
+ }
+ }
+ },
+ "radios": {
+ "type": "structure",
+ "members": {
+ "wifi": {
+ "type": "boolean"
+ },
+ "bluetooth": {
+ "type": "boolean"
+ },
+ "nfc": {
+ "type": "boolean"
+ },
+ "gps": {
+ "type": "boolean"
+ }
+ }
+ },
+ "auxiliaryApps": {
+ "type": "list",
+ "member": {}
+ },
+ "billingMethod": {}
+ }
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "run": {
+ "shape": "S2b"
+ }
+ }
+ }
+ },
+ "StopRun": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "arn"
+ ],
+ "members": {
+ "arn": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "run": {
+ "shape": "S2b"
+ }
+ }
+ }
+ },
+ "UpdateDevicePool": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "arn"
+ ],
+ "members": {
+ "arn": {},
+ "name": {},
+ "description": {},
+ "rules": {
+ "shape": "S5"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "devicePool": {
+ "shape": "Sb"
+ }
+ }
+ }
+ },
+ "UpdateProject": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "arn"
+ ],
+ "members": {
+ "arn": {},
+ "name": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "project": {
+ "shape": "Sf"
+ }
+ }
+ }
+ }
+ },
+ "shapes": {
+ "S5": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "attribute": {},
+ "operator": {},
+ "value": {}
+ }
+ }
+ },
+ "Sb": {
+ "type": "structure",
+ "members": {
+ "arn": {},
+ "name": {},
+ "description": {},
+ "type": {},
+ "rules": {
+ "shape": "S5"
+ }
+ }
+ },
+ "Sf": {
+ "type": "structure",
+ "members": {
+ "arn": {},
+ "name": {},
+ "created": {
+ "type": "timestamp"
+ }
+ }
+ },
+ "Sl": {
+ "type": "structure",
+ "members": {
+ "arn": {},
+ "name": {},
+ "created": {
+ "type": "timestamp"
+ },
+ "type": {},
+ "status": {},
+ "url": {},
+ "metadata": {},
+ "contentType": {},
+ "message": {}
+ }
+ },
+ "S16": {
+ "type": "structure",
+ "members": {
+ "arn": {},
+ "name": {},
+ "manufacturer": {},
+ "model": {},
+ "formFactor": {},
+ "platform": {},
+ "os": {},
+ "cpu": {
+ "type": "structure",
+ "members": {
+ "frequency": {},
+ "architecture": {},
+ "clock": {
+ "type": "double"
+ }
+ }
+ },
+ "resolution": {
+ "type": "structure",
+ "members": {
+ "width": {
+ "type": "integer"
+ },
+ "height": {
+ "type": "integer"
+ }
+ }
+ },
+ "heapSize": {
+ "type": "long"
+ },
+ "memory": {
+ "type": "long"
+ },
+ "image": {},
+ "carrier": {},
+ "radio": {}
+ }
+ },
+ "S1h": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "device": {
+ "shape": "S16"
+ },
+ "compatible": {
+ "type": "boolean"
+ },
+ "incompatibilityMessages": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "message": {},
+ "type": {}
+ }
+ }
+ }
+ }
+ }
+ },
+ "S1o": {
+ "type": "structure",
+ "members": {
+ "arn": {},
+ "name": {},
+ "type": {},
+ "created": {
+ "type": "timestamp"
+ },
+ "status": {},
+ "result": {},
+ "started": {
+ "type": "timestamp"
+ },
+ "stopped": {
+ "type": "timestamp"
+ },
+ "counters": {
+ "shape": "S1r"
+ },
+ "message": {},
+ "device": {
+ "shape": "S16"
+ },
+ "deviceMinutes": {
+ "shape": "S1s"
+ }
+ }
+ },
+ "S1r": {
+ "type": "structure",
+ "members": {
+ "total": {
+ "type": "integer"
+ },
+ "passed": {
+ "type": "integer"
+ },
+ "failed": {
+ "type": "integer"
+ },
+ "warned": {
+ "type": "integer"
+ },
+ "errored": {
+ "type": "integer"
+ },
+ "stopped": {
+ "type": "integer"
+ },
+ "skipped": {
+ "type": "integer"
+ }
+ }
+ },
+ "S1s": {
+ "type": "structure",
+ "members": {
+ "total": {
+ "type": "double"
+ },
+ "metered": {
+ "type": "double"
+ },
+ "unmetered": {
+ "type": "double"
+ }
+ }
+ },
+ "S1w": {
+ "type": "map",
+ "key": {},
+ "value": {
+ "shape": "S1y"
+ }
+ },
+ "S1y": {
+ "type": "structure",
+ "members": {
+ "type": {},
+ "offering": {
+ "shape": "S20"
+ },
+ "quantity": {
+ "type": "integer"
+ },
+ "effectiveOn": {
+ "type": "timestamp"
+ }
+ }
+ },
+ "S20": {
+ "type": "structure",
+ "members": {
+ "id": {},
+ "description": {},
+ "type": {},
+ "platform": {},
+ "recurringCharges": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "cost": {
+ "shape": "S24"
+ },
+ "frequency": {}
+ }
+ }
+ }
+ }
+ },
+ "S24": {
+ "type": "structure",
+ "members": {
+ "amount": {
+ "type": "double"
+ },
+ "currencyCode": {}
+ }
+ },
+ "S2b": {
+ "type": "structure",
+ "members": {
+ "arn": {},
+ "name": {},
+ "type": {},
+ "platform": {},
+ "created": {
+ "type": "timestamp"
+ },
+ "status": {},
+ "result": {},
+ "started": {
+ "type": "timestamp"
+ },
+ "stopped": {
+ "type": "timestamp"
+ },
+ "counters": {
+ "shape": "S1r"
+ },
+ "message": {},
+ "totalJobs": {
+ "type": "integer"
+ },
+ "completedJobs": {
+ "type": "integer"
+ },
+ "billingMethod": {},
+ "deviceMinutes": {
+ "shape": "S1s"
+ }
+ }
+ },
+ "S2f": {
+ "type": "structure",
+ "members": {
+ "arn": {},
+ "name": {},
+ "type": {},
+ "created": {
+ "type": "timestamp"
+ },
+ "status": {},
+ "result": {},
+ "started": {
+ "type": "timestamp"
+ },
+ "stopped": {
+ "type": "timestamp"
+ },
+ "counters": {
+ "shape": "S1r"
+ },
+ "message": {},
+ "deviceMinutes": {
+ "shape": "S1s"
+ }
+ }
+ },
+ "S2i": {
+ "type": "structure",
+ "members": {
+ "arn": {},
+ "name": {},
+ "type": {},
+ "created": {
+ "type": "timestamp"
+ },
+ "status": {},
+ "result": {},
+ "started": {
+ "type": "timestamp"
+ },
+ "stopped": {
+ "type": "timestamp"
+ },
+ "counters": {
+ "shape": "S1r"
+ },
+ "message": {},
+ "deviceMinutes": {
+ "shape": "S1s"
+ }
+ }
+ },
+ "S33": {
+ "type": "structure",
+ "members": {
+ "offeringStatus": {
+ "shape": "S1y"
+ },
+ "transactionId": {},
+ "createdOn": {
+ "type": "timestamp"
+ },
+ "cost": {
+ "shape": "S24"
+ }
+ }
+ },
+ "S3w": {
+ "type": "structure",
+ "members": {
+ "arn": {},
+ "name": {}
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/node_modules/aws-sdk/apis/devicefarm-2015-06-23.paginators.json b/node_modules/aws-sdk/apis/devicefarm-2015-06-23.paginators.json
new file mode 100644
index 0000000000000000000000000000000000000000..ca744340c422ec0a3b060b767bbb3d8990edacf4
--- /dev/null
+++ b/node_modules/aws-sdk/apis/devicefarm-2015-06-23.paginators.json
@@ -0,0 +1,59 @@
+{
+ "pagination": {
+ "ListArtifacts": {
+ "input_token": "nextToken",
+ "output_token": "nextToken",
+ "result_key": "artifacts"
+ },
+ "ListDevicePools": {
+ "input_token": "nextToken",
+ "output_token": "nextToken",
+ "result_key": "devicePools"
+ },
+ "ListDevices": {
+ "input_token": "nextToken",
+ "output_token": "nextToken",
+ "result_key": "devices"
+ },
+ "ListJobs": {
+ "input_token": "nextToken",
+ "output_token": "nextToken",
+ "result_key": "jobs"
+ },
+ "ListProjects": {
+ "input_token": "nextToken",
+ "output_token": "nextToken",
+ "result_key": "projects"
+ },
+ "ListRuns": {
+ "input_token": "nextToken",
+ "output_token": "nextToken",
+ "result_key": "runs"
+ },
+ "ListSamples": {
+ "input_token": "nextToken",
+ "output_token": "nextToken",
+ "result_key": "samples"
+ },
+ "ListSuites": {
+ "input_token": "nextToken",
+ "output_token": "nextToken",
+ "result_key": "suites"
+ },
+ "ListTests": {
+ "input_token": "nextToken",
+ "output_token": "nextToken",
+ "result_key": "tests"
+ },
+ "ListUniqueProblems": {
+ "input_token": "nextToken",
+ "output_token": "nextToken",
+ "result_key": "uniqueProblems"
+ },
+ "ListUploads": {
+ "input_token": "nextToken",
+ "output_token": "nextToken",
+ "result_key": "uploads"
+ }
+ }
+}
diff --git a/node_modules/aws-sdk/apis/directconnect-2012-10-25.min.json b/node_modules/aws-sdk/apis/directconnect-2012-10-25.min.json
new file mode 100644
index 0000000000000000000000000000000000000000..b24cd926651b36638fed74b85e63a6a8d92f6b1d
--- /dev/null
+++ b/node_modules/aws-sdk/apis/directconnect-2012-10-25.min.json
@@ -0,0 +1,506 @@
+{
+ "version": "2.0",
+ "metadata": {
+ "apiVersion": "2012-10-25",
+ "endpointPrefix": "directconnect",
+ "jsonVersion": "1.1",
+ "protocol": "json",
+ "serviceFullName": "AWS Direct Connect",
+ "signatureVersion": "v4",
+ "targetPrefix": "OvertureService"
+ },
+ "operations": {
+ "AllocateConnectionOnInterconnect": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "bandwidth",
+ "connectionName",
+ "ownerAccount",
+ "interconnectId",
+ "vlan"
+ ],
+ "members": {
+ "bandwidth": {},
+ "connectionName": {},
+ "ownerAccount": {},
+ "interconnectId": {},
+ "vlan": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "shape": "S7"
+ }
+ },
+ "AllocatePrivateVirtualInterface": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "connectionId",
+ "ownerAccount",
+ "newPrivateVirtualInterfaceAllocation"
+ ],
+ "members": {
+ "connectionId": {},
+ "ownerAccount": {},
+ "newPrivateVirtualInterfaceAllocation": {
+ "type": "structure",
+ "required": [
+ "virtualInterfaceName",
+ "vlan",
+ "asn"
+ ],
+ "members": {
+ "virtualInterfaceName": {},
+ "vlan": {
+ "type": "integer"
+ },
+ "asn": {
+ "type": "integer"
+ },
+ "authKey": {},
+ "amazonAddress": {},
+ "customerAddress": {}
+ }
+ }
+ }
+ },
+ "output": {
+ "shape": "Sk"
+ }
+ },
+ "AllocatePublicVirtualInterface": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "connectionId",
+ "ownerAccount",
+ "newPublicVirtualInterfaceAllocation"
+ ],
+ "members": {
+ "connectionId": {},
+ "ownerAccount": {},
+ "newPublicVirtualInterfaceAllocation": {
+ "type": "structure",
+ "required": [
+ "virtualInterfaceName",
+ "vlan",
+ "asn",
+ "amazonAddress",
+ "customerAddress",
+ "routeFilterPrefixes"
+ ],
+ "members": {
+ "virtualInterfaceName": {},
+ "vlan": {
+ "type": "integer"
+ },
+ "asn": {
+ "type": "integer"
+ },
+ "authKey": {},
+ "amazonAddress": {},
+ "customerAddress": {},
+ "routeFilterPrefixes": {
+ "shape": "Sq"
+ }
+ }
+ }
+ }
+ },
+ "output": {
+ "shape": "Sk"
+ }
+ },
+ "ConfirmConnection": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "connectionId"
+ ],
+ "members": {
+ "connectionId": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "connectionState": {}
+ }
+ }
+ },
+ "ConfirmPrivateVirtualInterface": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "virtualInterfaceId",
+ "virtualGatewayId"
+ ],
+ "members": {
+ "virtualInterfaceId": {},
+ "virtualGatewayId": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "virtualInterfaceState": {}
+ }
+ }
+ },
+ "ConfirmPublicVirtualInterface": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "virtualInterfaceId"
+ ],
+ "members": {
+ "virtualInterfaceId": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "virtualInterfaceState": {}
+ }
+ }
+ },
+ "CreateConnection": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "location",
+ "bandwidth",
+ "connectionName"
+ ],
+ "members": {
+ "location": {},
+ "bandwidth": {},
+ "connectionName": {}
+ }
+ },
+ "output": {
+ "shape": "S7"
+ }
+ },
+ "CreateInterconnect": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "interconnectName",
+ "bandwidth",
+ "location"
+ ],
+ "members": {
+ "interconnectName": {},
+ "bandwidth": {},
+ "location": {}
+ }
+ },
+ "output": {
+ "shape": "S14"
+ }
+ },
+ "CreatePrivateVirtualInterface": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "connectionId",
+ "newPrivateVirtualInterface"
+ ],
+ "members": {
+ "connectionId": {},
+ "newPrivateVirtualInterface": {
+ "type": "structure",
+ "required": [
+ "virtualInterfaceName",
+ "vlan",
+ "asn",
+ "virtualGatewayId"
+ ],
+ "members": {
+ "virtualInterfaceName": {},
+ "vlan": {
+ "type": "integer"
+ },
+ "asn": {
+ "type": "integer"
+ },
+ "authKey": {},
+ "amazonAddress": {},
+ "customerAddress": {},
+ "virtualGatewayId": {}
+ }
+ }
+ }
+ },
+ "output": {
+ "shape": "Sk"
+ }
+ },
+ "CreatePublicVirtualInterface": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "connectionId",
+ "newPublicVirtualInterface"
+ ],
+ "members": {
+ "connectionId": {},
+ "newPublicVirtualInterface": {
+ "type": "structure",
+ "required": [
+ "virtualInterfaceName",
+ "vlan",
+ "asn",
+ "amazonAddress",
+ "customerAddress",
+ "routeFilterPrefixes"
+ ],
+ "members": {
+ "virtualInterfaceName": {},
+ "vlan": {
+ "type": "integer"
+ },
+ "asn": {
+ "type": "integer"
+ },
+ "authKey": {},
+ "amazonAddress": {},
+ "customerAddress": {},
+ "routeFilterPrefixes": {
+ "shape": "Sq"
+ }
+ }
+ }
+ }
+ },
+ "output": {
+ "shape": "Sk"
+ }
+ },
+ "DeleteConnection": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "connectionId"
+ ],
+ "members": {
+ "connectionId": {}
+ }
+ },
+ "output": {
+ "shape": "S7"
+ }
+ },
+ "DeleteInterconnect": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "interconnectId"
+ ],
+ "members": {
+ "interconnectId": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "interconnectState": {}
+ }
+ }
+ },
+ "DeleteVirtualInterface": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "virtualInterfaceId"
+ ],
+ "members": {
+ "virtualInterfaceId": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "virtualInterfaceState": {}
+ }
+ }
+ },
+ "DescribeConnections": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "connectionId": {}
+ }
+ },
+ "output": {
+ "shape": "S1g"
+ }
+ },
+ "DescribeConnectionsOnInterconnect": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "interconnectId"
+ ],
+ "members": {
+ "interconnectId": {}
+ }
+ },
+ "output": {
+ "shape": "S1g"
+ }
+ },
+ "DescribeInterconnects": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "interconnectId": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "interconnects": {
+ "type": "list",
+ "member": {
+ "shape": "S14"
+ }
+ }
+ }
+ }
+ },
+ "DescribeLocations": {
+ "output": {
+ "type": "structure",
+ "members": {
+ "locations": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "locationCode": {},
+ "locationName": {}
+ }
+ }
+ }
+ }
+ }
+ },
+ "DescribeVirtualGateways": {
+ "output": {
+ "type": "structure",
+ "members": {
+ "virtualGateways": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "virtualGatewayId": {},
+ "virtualGatewayState": {}
+ }
+ }
+ }
+ }
+ }
+ },
+ "DescribeVirtualInterfaces": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "connectionId": {},
+ "virtualInterfaceId": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "virtualInterfaces": {
+ "type": "list",
+ "member": {
+ "shape": "Sk"
+ }
+ }
+ }
+ }
+ }
+ },
+ "shapes": {
+ "S7": {
+ "type": "structure",
+ "members": {
+ "ownerAccount": {},
+ "connectionId": {},
+ "connectionName": {},
+ "connectionState": {},
+ "region": {},
+ "location": {},
+ "bandwidth": {},
+ "vlan": {
+ "type": "integer"
+ },
+ "partnerName": {}
+ }
+ },
+ "Sk": {
+ "type": "structure",
+ "members": {
+ "ownerAccount": {},
+ "virtualInterfaceId": {},
+ "location": {},
+ "connectionId": {},
+ "virtualInterfaceType": {},
+ "virtualInterfaceName": {},
+ "vlan": {
+ "type": "integer"
+ },
+ "asn": {
+ "type": "integer"
+ },
+ "authKey": {},
+ "amazonAddress": {},
+ "customerAddress": {},
+ "virtualInterfaceState": {},
+ "customerRouterConfig": {},
+ "virtualGatewayId": {},
+ "routeFilterPrefixes": {
+ "shape": "Sq"
+ }
+ }
+ },
+ "Sq": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "cidr": {}
+ }
+ }
+ },
+ "S14": {
+ "type": "structure",
+ "members": {
+ "interconnectId": {},
+ "interconnectName": {},
+ "interconnectState": {},
+ "region": {},
+ "location": {},
+ "bandwidth": {}
+ }
+ },
+ "S1g": {
+ "type": "structure",
+ "members": {
+ "connections": {
+ "type": "list",
+ "member": {
+ "shape": "S7"
+ }
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/node_modules/aws-sdk/apis/directconnect-2012-10-25.paginators.json b/node_modules/aws-sdk/apis/directconnect-2012-10-25.paginators.json
new file mode 100644
index 0000000000000000000000000000000000000000..cc93bedd416539f79897c2cbb146f9d43569b6bf
--- /dev/null
+++ b/node_modules/aws-sdk/apis/directconnect-2012-10-25.paginators.json
@@ -0,0 +1,22 @@
+{
+ "pagination": {
+ "DescribeConnections": {
+ "result_key": "connections"
+ },
+ "DescribeConnectionsOnInterconnect": {
+ "result_key": "connections"
+ },
+ "DescribeInterconnects": {
+ "result_key": "interconnects"
+ },
+ "DescribeLocations": {
+ "result_key": "locations"
+ },
+ "DescribeVirtualGateways": {
+ "result_key": "virtualGateways"
+ },
+ "DescribeVirtualInterfaces": {
+ "result_key": "virtualInterfaces"
+ }
+ }
+}
diff --git a/node_modules/aws-sdk/apis/dms-2016-01-01.min.json b/node_modules/aws-sdk/apis/dms-2016-01-01.min.json
new file mode 100644
index 0000000000000000000000000000000000000000..80b42c19a152ddd2823216c2ce3bc84499b8c9a5
--- /dev/null
+++ b/node_modules/aws-sdk/apis/dms-2016-01-01.min.json
@@ -0,0 +1,989 @@
+{
+ "version": "2.0",
+ "metadata": {
+ "apiVersion": "2016-01-01",
+ "endpointPrefix": "dms",
+ "jsonVersion": "1.1",
+ "protocol": "json",
+ "serviceFullName": "AWS Database Migration Service",
+ "signatureVersion": "v4",
+ "targetPrefix": "AmazonDMSv20160101"
+ },
+ "operations": {
+ "AddTagsToResource": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ResourceArn",
+ "Tags"
+ ],
+ "members": {
+ "ResourceArn": {},
+ "Tags": {
+ "shape": "S3"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {}
+ }
+ },
+ "CreateEndpoint": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "EndpointIdentifier",
+ "EndpointType",
+ "EngineName",
+ "Username",
+ "Password",
+ "ServerName",
+ "Port"
+ ],
+ "members": {
+ "EndpointIdentifier": {},
+ "EndpointType": {},
+ "EngineName": {},
+ "Username": {},
+ "Password": {
+ "shape": "S8"
+ },
+ "ServerName": {},
+ "Port": {
+ "type": "integer"
+ },
+ "DatabaseName": {},
+ "ExtraConnectionAttributes": {},
+ "KmsKeyId": {},
+ "Tags": {
+ "shape": "S3"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Endpoint": {
+ "shape": "Sb"
+ }
+ }
+ }
+ },
+ "CreateReplicationInstance": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ReplicationInstanceIdentifier",
+ "ReplicationInstanceClass"
+ ],
+ "members": {
+ "ReplicationInstanceIdentifier": {},
+ "AllocatedStorage": {
+ "type": "integer"
+ },
+ "ReplicationInstanceClass": {},
+ "AvailabilityZone": {},
+ "ReplicationSubnetGroupIdentifier": {},
+ "PreferredMaintenanceWindow": {},
+ "EngineVersion": {},
+ "AutoMinorVersionUpgrade": {
+ "type": "boolean"
+ },
+ "Tags": {
+ "shape": "S3"
+ },
+ "KmsKeyId": {},
+ "PubliclyAccessible": {
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "ReplicationInstance": {
+ "shape": "Sf"
+ }
+ }
+ }
+ },
+ "CreateReplicationSubnetGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ReplicationSubnetGroupIdentifier",
+ "ReplicationSubnetGroupDescription",
+ "SubnetIds"
+ ],
+ "members": {
+ "ReplicationSubnetGroupIdentifier": {},
+ "ReplicationSubnetGroupDescription": {},
+ "SubnetIds": {
+ "shape": "Sp"
+ },
+ "Tags": {
+ "shape": "S3"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "ReplicationSubnetGroup": {
+ "shape": "Si"
+ }
+ }
+ }
+ },
+ "CreateReplicationTask": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ReplicationTaskIdentifier",
+ "SourceEndpointArn",
+ "TargetEndpointArn",
+ "ReplicationInstanceArn",
+ "MigrationType",
+ "TableMappings"
+ ],
+ "members": {
+ "ReplicationTaskIdentifier": {},
+ "SourceEndpointArn": {},
+ "TargetEndpointArn": {},
+ "ReplicationInstanceArn": {},
+ "MigrationType": {},
+ "TableMappings": {},
+ "ReplicationTaskSettings": {},
+ "CdcStartTime": {
+ "type": "timestamp"
+ },
+ "Tags": {
+ "shape": "S3"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "ReplicationTask": {
+ "shape": "Su"
+ }
+ }
+ }
+ },
+ "DeleteEndpoint": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "EndpointArn"
+ ],
+ "members": {
+ "EndpointArn": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Endpoint": {
+ "shape": "Sb"
+ }
+ }
+ }
+ },
+ "DeleteReplicationInstance": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ReplicationInstanceArn"
+ ],
+ "members": {
+ "ReplicationInstanceArn": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "ReplicationInstance": {
+ "shape": "Sf"
+ }
+ }
+ }
+ },
+ "DeleteReplicationSubnetGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ReplicationSubnetGroupIdentifier"
+ ],
+ "members": {
+ "ReplicationSubnetGroupIdentifier": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {}
+ }
+ },
+ "DeleteReplicationTask": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ReplicationTaskArn"
+ ],
+ "members": {
+ "ReplicationTaskArn": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "ReplicationTask": {
+ "shape": "Su"
+ }
+ }
+ }
+ },
+ "DescribeAccountAttributes": {
+ "input": {
+ "type": "structure",
+ "members": {}
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "AccountQuotas": {
+ "type": "list",
+ "member": {
+ "locationName": "AccountQuota",
+ "type": "structure",
+ "members": {
+ "AccountQuotaName": {},
+ "Used": {
+ "type": "long"
+ },
+ "Max": {
+ "type": "long"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "DescribeConnections": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "Filters": {
+ "shape": "S1a"
+ },
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Marker": {},
+ "Connections": {
+ "type": "list",
+ "member": {
+ "shape": "S1f",
+ "locationName": "Connection"
+ }
+ }
+ }
+ }
+ },
+ "DescribeEndpointTypes": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "Filters": {
+ "shape": "S1a"
+ },
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Marker": {},
+ "SupportedEndpointTypes": {
+ "type": "list",
+ "member": {
+ "locationName": "SupportedEndpointType",
+ "type": "structure",
+ "members": {
+ "EngineName": {},
+ "SupportsCDC": {
+ "type": "boolean"
+ },
+ "EndpointType": {}
+ }
+ }
+ }
+ }
+ }
+ },
+ "DescribeEndpoints": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "Filters": {
+ "shape": "S1a"
+ },
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Marker": {},
+ "Endpoints": {
+ "type": "list",
+ "member": {
+ "shape": "Sb",
+ "locationName": "Endpoint"
+ }
+ }
+ }
+ }
+ },
+ "DescribeOrderableReplicationInstances": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "OrderableReplicationInstances": {
+ "type": "list",
+ "member": {
+ "locationName": "OrderableReplicationInstance",
+ "type": "structure",
+ "members": {
+ "EngineVersion": {},
+ "ReplicationInstanceClass": {},
+ "StorageType": {},
+ "MinAllocatedStorage": {
+ "type": "integer"
+ },
+ "MaxAllocatedStorage": {
+ "type": "integer"
+ },
+ "DefaultAllocatedStorage": {
+ "type": "integer"
+ },
+ "IncludedAllocatedStorage": {
+ "type": "integer"
+ }
+ }
+ }
+ },
+ "Marker": {}
+ }
+ }
+ },
+ "DescribeRefreshSchemasStatus": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "EndpointArn"
+ ],
+ "members": {
+ "EndpointArn": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "RefreshSchemasStatus": {
+ "shape": "S1t"
+ }
+ }
+ }
+ },
+ "DescribeReplicationInstances": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "Filters": {
+ "shape": "S1a"
+ },
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Marker": {},
+ "ReplicationInstances": {
+ "type": "list",
+ "member": {
+ "shape": "Sf",
+ "locationName": "ReplicationInstance"
+ }
+ }
+ }
+ }
+ },
+ "DescribeReplicationSubnetGroups": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "Filters": {
+ "shape": "S1a"
+ },
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Marker": {},
+ "ReplicationSubnetGroups": {
+ "type": "list",
+ "member": {
+ "shape": "Si",
+ "locationName": "ReplicationSubnetGroup"
+ }
+ }
+ }
+ }
+ },
+ "DescribeReplicationTasks": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "Filters": {
+ "shape": "S1a"
+ },
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Marker": {},
+ "ReplicationTasks": {
+ "type": "list",
+ "member": {
+ "shape": "Su",
+ "locationName": "ReplicationTask"
+ }
+ }
+ }
+ }
+ },
+ "DescribeSchemas": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "EndpointArn"
+ ],
+ "members": {
+ "EndpointArn": {},
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Marker": {},
+ "Schemas": {
+ "type": "list",
+ "member": {}
+ }
+ }
+ }
+ },
+ "DescribeTableStatistics": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ReplicationTaskArn"
+ ],
+ "members": {
+ "ReplicationTaskArn": {},
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "ReplicationTaskArn": {},
+ "TableStatistics": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "SchemaName": {},
+ "TableName": {},
+ "Inserts": {
+ "type": "long"
+ },
+ "Deletes": {
+ "type": "long"
+ },
+ "Updates": {
+ "type": "long"
+ },
+ "Ddls": {
+ "type": "long"
+ },
+ "FullLoadRows": {
+ "type": "long"
+ },
+ "LastUpdateTime": {
+ "type": "timestamp"
+ },
+ "TableState": {}
+ }
+ }
+ },
+ "Marker": {}
+ }
+ }
+ },
+ "ListTagsForResource": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ResourceArn"
+ ],
+ "members": {
+ "ResourceArn": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "TagList": {
+ "shape": "S3"
+ }
+ }
+ }
+ },
+ "ModifyEndpoint": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "EndpointArn"
+ ],
+ "members": {
+ "EndpointArn": {},
+ "EndpointIdentifier": {},
+ "EndpointType": {},
+ "EngineName": {},
+ "Username": {},
+ "Password": {
+ "shape": "S8"
+ },
+ "ServerName": {},
+ "Port": {
+ "type": "integer"
+ },
+ "DatabaseName": {},
+ "ExtraConnectionAttributes": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Endpoint": {
+ "shape": "Sb"
+ }
+ }
+ }
+ },
+ "ModifyReplicationInstance": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ReplicationInstanceArn"
+ ],
+ "members": {
+ "ReplicationInstanceArn": {},
+ "AllocatedStorage": {
+ "type": "integer"
+ },
+ "ApplyImmediately": {
+ "type": "boolean"
+ },
+ "ReplicationInstanceClass": {},
+ "PreferredMaintenanceWindow": {},
+ "EngineVersion": {},
+ "AllowMajorVersionUpgrade": {
+ "type": "boolean"
+ },
+ "AutoMinorVersionUpgrade": {
+ "type": "boolean"
+ },
+ "ReplicationInstanceIdentifier": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "ReplicationInstance": {
+ "shape": "Sf"
+ }
+ }
+ }
+ },
+ "ModifyReplicationSubnetGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ReplicationSubnetGroupIdentifier",
+ "SubnetIds"
+ ],
+ "members": {
+ "ReplicationSubnetGroupIdentifier": {},
+ "ReplicationSubnetGroupDescription": {},
+ "SubnetIds": {
+ "shape": "Sp"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "ReplicationSubnetGroup": {
+ "shape": "Si"
+ }
+ }
+ }
+ },
+ "RefreshSchemas": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "EndpointArn",
+ "ReplicationInstanceArn"
+ ],
+ "members": {
+ "EndpointArn": {},
+ "ReplicationInstanceArn": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "RefreshSchemasStatus": {
+ "shape": "S1t"
+ }
+ }
+ }
+ },
+ "RemoveTagsFromResource": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ResourceArn",
+ "TagKeys"
+ ],
+ "members": {
+ "ResourceArn": {},
+ "TagKeys": {
+ "type": "list",
+ "member": {}
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {}
+ }
+ },
+ "StartReplicationTask": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ReplicationTaskArn",
+ "StartReplicationTaskType"
+ ],
+ "members": {
+ "ReplicationTaskArn": {},
+ "StartReplicationTaskType": {},
+ "CdcStartTime": {
+ "type": "timestamp"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "ReplicationTask": {
+ "shape": "Su"
+ }
+ }
+ }
+ },
+ "StopReplicationTask": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ReplicationTaskArn"
+ ],
+ "members": {
+ "ReplicationTaskArn": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "ReplicationTask": {
+ "shape": "Su"
+ }
+ }
+ }
+ },
+ "TestConnection": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ReplicationInstanceArn",
+ "EndpointArn"
+ ],
+ "members": {
+ "ReplicationInstanceArn": {},
+ "EndpointArn": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Connection": {
+ "shape": "S1f"
+ }
+ }
+ }
+ }
+ },
+ "shapes": {
+ "S3": {
+ "type": "list",
+ "member": {
+ "locationName": "Tag",
+ "type": "structure",
+ "members": {
+ "Key": {},
+ "Value": {}
+ }
+ }
+ },
+ "S8": {
+ "type": "string",
+ "sensitive": true
+ },
+ "Sb": {
+ "type": "structure",
+ "members": {
+ "EndpointIdentifier": {},
+ "EndpointType": {},
+ "EngineName": {},
+ "Username": {},
+ "ServerName": {},
+ "Port": {
+ "type": "integer"
+ },
+ "DatabaseName": {},
+ "ExtraConnectionAttributes": {},
+ "Status": {},
+ "KmsKeyId": {},
+ "EndpointArn": {}
+ }
+ },
+ "Sf": {
+ "type": "structure",
+ "members": {
+ "ReplicationInstanceIdentifier": {},
+ "ReplicationInstanceClass": {},
+ "ReplicationInstanceStatus": {},
+ "AllocatedStorage": {
+ "type": "integer"
+ },
+ "InstanceCreateTime": {
+ "type": "timestamp"
+ },
+ "AvailabilityZone": {},
+ "ReplicationSubnetGroup": {
+ "shape": "Si"
+ },
+ "PreferredMaintenanceWindow": {},
+ "PendingModifiedValues": {
+ "type": "structure",
+ "members": {
+ "ReplicationInstanceClass": {},
+ "AllocatedStorage": {
+ "type": "integer"
+ },
+ "EngineVersion": {}
+ }
+ },
+ "EngineVersion": {},
+ "AutoMinorVersionUpgrade": {
+ "type": "boolean"
+ },
+ "KmsKeyId": {},
+ "ReplicationInstanceArn": {},
+ "ReplicationInstancePublicIpAddress": {},
+ "ReplicationInstancePrivateIpAddress": {},
+ "PubliclyAccessible": {
+ "type": "boolean"
+ }
+ }
+ },
+ "Si": {
+ "type": "structure",
+ "members": {
+ "ReplicationSubnetGroupIdentifier": {},
+ "ReplicationSubnetGroupDescription": {},
+ "VpcId": {},
+ "SubnetGroupStatus": {},
+ "Subnets": {
+ "type": "list",
+ "member": {
+ "locationName": "Subnet",
+ "type": "structure",
+ "members": {
+ "SubnetIdentifier": {},
+ "SubnetAvailabilityZone": {
+ "type": "structure",
+ "members": {
+ "Name": {}
+ }
+ },
+ "SubnetStatus": {}
+ }
+ }
+ }
+ }
+ },
+ "Sp": {
+ "type": "list",
+ "member": {
+ "locationName": "SubnetIdentifier"
+ }
+ },
+ "Su": {
+ "type": "structure",
+ "members": {
+ "ReplicationTaskIdentifier": {},
+ "SourceEndpointArn": {},
+ "TargetEndpointArn": {},
+ "ReplicationInstanceArn": {},
+ "MigrationType": {},
+ "TableMappings": {},
+ "ReplicationTaskSettings": {},
+ "Status": {},
+ "LastFailureMessage": {},
+ "ReplicationTaskCreationDate": {
+ "type": "timestamp"
+ },
+ "ReplicationTaskStartDate": {
+ "type": "timestamp"
+ },
+ "ReplicationTaskArn": {},
+ "ReplicationTaskStats": {
+ "type": "structure",
+ "members": {
+ "FullLoadProgressPercent": {
+ "type": "integer"
+ },
+ "ElapsedTimeMillis": {
+ "type": "long"
+ },
+ "TablesLoaded": {
+ "type": "integer"
+ },
+ "TablesLoading": {
+ "type": "integer"
+ },
+ "TablesQueued": {
+ "type": "integer"
+ },
+ "TablesErrored": {
+ "type": "integer"
+ }
+ }
+ }
+ }
+ },
+ "S1a": {
+ "type": "list",
+ "member": {
+ "locationName": "Filter",
+ "type": "structure",
+ "required": [
+ "Name",
+ "Values"
+ ],
+ "members": {
+ "Name": {},
+ "Values": {
+ "type": "list",
+ "member": {
+ "locationName": "Value"
+ }
+ }
+ }
+ }
+ },
+ "S1f": {
+ "type": "structure",
+ "members": {
+ "ReplicationInstanceArn": {},
+ "EndpointArn": {},
+ "Status": {},
+ "LastFailureMessage": {},
+ "EndpointIdentifier": {},
+ "ReplicationInstanceIdentifier": {}
+ }
+ },
+ "S1t": {
+ "type": "structure",
+ "members": {
+ "EndpointArn": {},
+ "ReplicationInstanceArn": {},
+ "Status": {},
+ "LastRefreshDate": {
+ "type": "timestamp"
+ },
+ "LastFailureMessage": {}
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/node_modules/aws-sdk/apis/ds-2015-04-16.min.json b/node_modules/aws-sdk/apis/ds-2015-04-16.min.json
new file mode 100644
index 0000000000000000000000000000000000000000..f9889495fc0b2991670e31cc8ba9cebd24e9e469
--- /dev/null
+++ b/node_modules/aws-sdk/apis/ds-2015-04-16.min.json
@@ -0,0 +1,771 @@
+{
+ "version": "2.0",
+ "metadata": {
+ "apiVersion": "2015-04-16",
+ "endpointPrefix": "ds",
+ "jsonVersion": "1.1",
+ "protocol": "json",
+ "serviceAbbreviation": "Directory Service",
+ "serviceFullName": "AWS Directory Service",
+ "signatureVersion": "v4",
+ "targetPrefix": "DirectoryService_20150416"
+ },
+ "operations": {
+ "ConnectDirectory": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Name",
+ "Password",
+ "Size",
+ "ConnectSettings"
+ ],
+ "members": {
+ "Name": {},
+ "ShortName": {},
+ "Password": {
+ "shape": "S4"
+ },
+ "Description": {},
+ "Size": {},
+ "ConnectSettings": {
+ "type": "structure",
+ "required": [
+ "VpcId",
+ "SubnetIds",
+ "CustomerDnsIps",
+ "CustomerUserName"
+ ],
+ "members": {
+ "VpcId": {},
+ "SubnetIds": {
+ "shape": "S9"
+ },
+ "CustomerDnsIps": {
+ "shape": "Sb"
+ },
+ "CustomerUserName": {}
+ }
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "DirectoryId": {}
+ }
+ }
+ },
+ "CreateAlias": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DirectoryId",
+ "Alias"
+ ],
+ "members": {
+ "DirectoryId": {},
+ "Alias": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "DirectoryId": {},
+ "Alias": {}
+ }
+ }
+ },
+ "CreateComputer": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DirectoryId",
+ "ComputerName",
+ "Password"
+ ],
+ "members": {
+ "DirectoryId": {},
+ "ComputerName": {},
+ "Password": {
+ "type": "string",
+ "sensitive": true
+ },
+ "OrganizationalUnitDistinguishedName": {},
+ "ComputerAttributes": {
+ "shape": "Sn"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Computer": {
+ "type": "structure",
+ "members": {
+ "ComputerId": {},
+ "ComputerName": {},
+ "ComputerAttributes": {
+ "shape": "Sn"
+ }
+ }
+ }
+ }
+ }
+ },
+ "CreateDirectory": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Name",
+ "Password",
+ "Size"
+ ],
+ "members": {
+ "Name": {},
+ "ShortName": {},
+ "Password": {
+ "shape": "Sv"
+ },
+ "Description": {},
+ "Size": {},
+ "VpcSettings": {
+ "shape": "Sw"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "DirectoryId": {}
+ }
+ }
+ },
+ "CreateMicrosoftAD": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Name",
+ "Password",
+ "VpcSettings"
+ ],
+ "members": {
+ "Name": {},
+ "ShortName": {},
+ "Password": {
+ "shape": "Sv"
+ },
+ "Description": {},
+ "VpcSettings": {
+ "shape": "Sw"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "DirectoryId": {}
+ }
+ }
+ },
+ "CreateSnapshot": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DirectoryId"
+ ],
+ "members": {
+ "DirectoryId": {},
+ "Name": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "SnapshotId": {}
+ }
+ }
+ },
+ "CreateTrust": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DirectoryId",
+ "RemoteDomainName",
+ "TrustPassword",
+ "TrustDirection"
+ ],
+ "members": {
+ "DirectoryId": {},
+ "RemoteDomainName": {},
+ "TrustPassword": {
+ "type": "string",
+ "sensitive": true
+ },
+ "TrustDirection": {},
+ "TrustType": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "TrustId": {}
+ }
+ }
+ },
+ "DeleteDirectory": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DirectoryId"
+ ],
+ "members": {
+ "DirectoryId": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "DirectoryId": {}
+ }
+ }
+ },
+ "DeleteSnapshot": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "SnapshotId"
+ ],
+ "members": {
+ "SnapshotId": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "SnapshotId": {}
+ }
+ }
+ },
+ "DeleteTrust": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "TrustId"
+ ],
+ "members": {
+ "TrustId": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "TrustId": {}
+ }
+ }
+ },
+ "DeregisterEventTopic": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DirectoryId",
+ "TopicName"
+ ],
+ "members": {
+ "DirectoryId": {},
+ "TopicName": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {}
+ }
+ },
+ "DescribeDirectories": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DirectoryIds": {
+ "type": "list",
+ "member": {}
+ },
+ "NextToken": {},
+ "Limit": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "DirectoryDescriptions": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "DirectoryId": {},
+ "Name": {},
+ "ShortName": {},
+ "Size": {},
+ "Alias": {},
+ "AccessUrl": {},
+ "Description": {},
+ "DnsIpAddrs": {
+ "shape": "Sb"
+ },
+ "Stage": {},
+ "LaunchTime": {
+ "type": "timestamp"
+ },
+ "StageLastUpdatedDateTime": {
+ "type": "timestamp"
+ },
+ "Type": {},
+ "VpcSettings": {
+ "type": "structure",
+ "members": {
+ "VpcId": {},
+ "SubnetIds": {
+ "shape": "S9"
+ },
+ "SecurityGroupId": {},
+ "AvailabilityZones": {
+ "shape": "S1y"
+ }
+ }
+ },
+ "ConnectSettings": {
+ "type": "structure",
+ "members": {
+ "VpcId": {},
+ "SubnetIds": {
+ "shape": "S9"
+ },
+ "CustomerUserName": {},
+ "SecurityGroupId": {},
+ "AvailabilityZones": {
+ "shape": "S1y"
+ },
+ "ConnectIps": {
+ "type": "list",
+ "member": {}
+ }
+ }
+ },
+ "RadiusSettings": {
+ "shape": "S22"
+ },
+ "RadiusStatus": {},
+ "StageReason": {},
+ "SsoEnabled": {
+ "type": "boolean"
+ }
+ }
+ }
+ },
+ "NextToken": {}
+ }
+ }
+ },
+ "DescribeEventTopics": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DirectoryId": {},
+ "TopicNames": {
+ "type": "list",
+ "member": {}
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "EventTopics": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "DirectoryId": {},
+ "TopicName": {},
+ "TopicArn": {},
+ "CreatedDateTime": {
+ "type": "timestamp"
+ },
+ "Status": {}
+ }
+ }
+ }
+ }
+ }
+ },
+ "DescribeSnapshots": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DirectoryId": {},
+ "SnapshotIds": {
+ "type": "list",
+ "member": {}
+ },
+ "NextToken": {},
+ "Limit": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Snapshots": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "DirectoryId": {},
+ "SnapshotId": {},
+ "Type": {},
+ "Name": {},
+ "Status": {},
+ "StartTime": {
+ "type": "timestamp"
+ }
+ }
+ }
+ },
+ "NextToken": {}
+ }
+ }
+ },
+ "DescribeTrusts": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DirectoryId": {},
+ "TrustIds": {
+ "type": "list",
+ "member": {}
+ },
+ "NextToken": {},
+ "Limit": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Trusts": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "DirectoryId": {},
+ "TrustId": {},
+ "RemoteDomainName": {},
+ "TrustType": {},
+ "TrustDirection": {},
+ "TrustState": {},
+ "CreatedDateTime": {
+ "type": "timestamp"
+ },
+ "LastUpdatedDateTime": {
+ "type": "timestamp"
+ },
+ "StateLastUpdatedDateTime": {
+ "type": "timestamp"
+ }
+ }
+ }
+ },
+ "NextToken": {}
+ }
+ }
+ },
+ "DisableRadius": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DirectoryId"
+ ],
+ "members": {
+ "DirectoryId": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {}
+ }
+ },
+ "DisableSso": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DirectoryId"
+ ],
+ "members": {
+ "DirectoryId": {},
+ "UserName": {},
+ "Password": {
+ "shape": "S4"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {}
+ }
+ },
+ "EnableRadius": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DirectoryId",
+ "RadiusSettings"
+ ],
+ "members": {
+ "DirectoryId": {},
+ "RadiusSettings": {
+ "shape": "S22"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {}
+ }
+ },
+ "EnableSso": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DirectoryId"
+ ],
+ "members": {
+ "DirectoryId": {},
+ "UserName": {},
+ "Password": {
+ "shape": "S4"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {}
+ }
+ },
+ "GetDirectoryLimits": {
+ "input": {
+ "type": "structure",
+ "members": {}
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "DirectoryLimits": {
+ "type": "structure",
+ "members": {
+ "CloudOnlyDirectoriesLimit": {
+ "type": "integer"
+ },
+ "CloudOnlyDirectoriesCurrentCount": {
+ "type": "integer"
+ },
+ "CloudOnlyDirectoriesLimitReached": {
+ "type": "boolean"
+ },
+ "CloudOnlyMicrosoftADLimit": {
+ "type": "integer"
+ },
+ "CloudOnlyMicrosoftADCurrentCount": {
+ "type": "integer"
+ },
+ "CloudOnlyMicrosoftADLimitReached": {
+ "type": "boolean"
+ },
+ "ConnectedDirectoriesLimit": {
+ "type": "integer"
+ },
+ "ConnectedDirectoriesCurrentCount": {
+ "type": "integer"
+ },
+ "ConnectedDirectoriesLimitReached": {
+ "type": "boolean"
+ }
+ }
+ }
+ }
+ }
+ },
+ "GetSnapshotLimits": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DirectoryId"
+ ],
+ "members": {
+ "DirectoryId": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "SnapshotLimits": {
+ "type": "structure",
+ "members": {
+ "ManualSnapshotsLimit": {
+ "type": "integer"
+ },
+ "ManualSnapshotsCurrentCount": {
+ "type": "integer"
+ },
+ "ManualSnapshotsLimitReached": {
+ "type": "boolean"
+ }
+ }
+ }
+ }
+ }
+ },
+ "RegisterEventTopic": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DirectoryId",
+ "TopicName"
+ ],
+ "members": {
+ "DirectoryId": {},
+ "TopicName": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {}
+ }
+ },
+ "RestoreFromSnapshot": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "SnapshotId"
+ ],
+ "members": {
+ "SnapshotId": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {}
+ }
+ },
+ "UpdateRadius": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DirectoryId",
+ "RadiusSettings"
+ ],
+ "members": {
+ "DirectoryId": {},
+ "RadiusSettings": {
+ "shape": "S22"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {}
+ }
+ },
+ "VerifyTrust": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "TrustId"
+ ],
+ "members": {
+ "TrustId": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "TrustId": {}
+ }
+ }
+ }
+ },
+ "shapes": {
+ "S4": {
+ "type": "string",
+ "sensitive": true
+ },
+ "S9": {
+ "type": "list",
+ "member": {}
+ },
+ "Sb": {
+ "type": "list",
+ "member": {}
+ },
+ "Sn": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "Name": {},
+ "Value": {}
+ }
+ }
+ },
+ "Sv": {
+ "type": "string",
+ "sensitive": true
+ },
+ "Sw": {
+ "type": "structure",
+ "required": [
+ "VpcId",
+ "SubnetIds"
+ ],
+ "members": {
+ "VpcId": {},
+ "SubnetIds": {
+ "shape": "S9"
+ }
+ }
+ },
+ "S1y": {
+ "type": "list",
+ "member": {}
+ },
+ "S22": {
+ "type": "structure",
+ "members": {
+ "RadiusServers": {
+ "type": "list",
+ "member": {}
+ },
+ "RadiusPort": {
+ "type": "integer"
+ },
+ "RadiusTimeout": {
+ "type": "integer"
+ },
+ "RadiusRetries": {
+ "type": "integer"
+ },
+ "SharedSecret": {
+ "type": "string",
+ "sensitive": true
+ },
+ "AuthenticationProtocol": {},
+ "DisplayLabel": {},
+ "UseSameUsername": {
+ "type": "boolean"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/node_modules/aws-sdk/apis/dynamodb-2011-12-05.min.json b/node_modules/aws-sdk/apis/dynamodb-2011-12-05.min.json
new file mode 100644
index 0000000000000000000000000000000000000000..022146deeead38b0f7818d09cbfbd0f93495952e
--- /dev/null
+++ b/node_modules/aws-sdk/apis/dynamodb-2011-12-05.min.json
@@ -0,0 +1,663 @@
+{
+ "version": "2.0",
+ "metadata": {
+ "apiVersion": "2011-12-05",
+ "endpointPrefix": "dynamodb",
+ "jsonVersion": "1.0",
+ "protocol": "json",
+ "serviceAbbreviation": "DynamoDB",
+ "serviceFullName": "Amazon DynamoDB",
+ "signatureVersion": "v4",
+ "targetPrefix": "DynamoDB_20111205"
+ },
+ "operations": {
+ "BatchGetItem": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "RequestItems"
+ ],
+ "members": {
+ "RequestItems": {
+ "shape": "S2"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Responses": {
+ "type": "map",
+ "key": {},
+ "value": {
+ "type": "structure",
+ "members": {
+ "Items": {
+ "shape": "Sk"
+ },
+ "ConsumedCapacityUnits": {
+ "type": "double"
+ }
+ }
+ }
+ },
+ "UnprocessedKeys": {
+ "shape": "S2"
+ }
+ }
+ }
+ },
+ "BatchWriteItem": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "RequestItems"
+ ],
+ "members": {
+ "RequestItems": {
+ "shape": "So"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Responses": {
+ "type": "map",
+ "key": {},
+ "value": {
+ "type": "structure",
+ "members": {
+ "ConsumedCapacityUnits": {
+ "type": "double"
+ }
+ }
+ }
+ },
+ "UnprocessedItems": {
+ "shape": "So"
+ }
+ }
+ }
+ },
+ "CreateTable": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "TableName",
+ "KeySchema",
+ "ProvisionedThroughput"
+ ],
+ "members": {
+ "TableName": {},
+ "KeySchema": {
+ "shape": "Sy"
+ },
+ "ProvisionedThroughput": {
+ "shape": "S12"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "TableDescription": {
+ "shape": "S15"
+ }
+ }
+ }
+ },
+ "DeleteItem": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "TableName",
+ "Key"
+ ],
+ "members": {
+ "TableName": {},
+ "Key": {
+ "shape": "S6"
+ },
+ "Expected": {
+ "shape": "S1b"
+ },
+ "ReturnValues": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Attributes": {
+ "shape": "Sl"
+ },
+ "ConsumedCapacityUnits": {
+ "type": "double"
+ }
+ }
+ }
+ },
+ "DeleteTable": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "TableName"
+ ],
+ "members": {
+ "TableName": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "TableDescription": {
+ "shape": "S15"
+ }
+ }
+ }
+ },
+ "DescribeTable": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "TableName"
+ ],
+ "members": {
+ "TableName": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Table": {
+ "shape": "S15"
+ }
+ }
+ }
+ },
+ "GetItem": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "TableName",
+ "Key"
+ ],
+ "members": {
+ "TableName": {},
+ "Key": {
+ "shape": "S6"
+ },
+ "AttributesToGet": {
+ "shape": "Se"
+ },
+ "ConsistentRead": {
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Item": {
+ "shape": "Sl"
+ },
+ "ConsumedCapacityUnits": {
+ "type": "double"
+ }
+ }
+ }
+ },
+ "ListTables": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "ExclusiveStartTableName": {},
+ "Limit": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "TableNames": {
+ "type": "list",
+ "member": {}
+ },
+ "LastEvaluatedTableName": {}
+ }
+ }
+ },
+ "PutItem": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "TableName",
+ "Item"
+ ],
+ "members": {
+ "TableName": {},
+ "Item": {
+ "shape": "Ss"
+ },
+ "Expected": {
+ "shape": "S1b"
+ },
+ "ReturnValues": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Attributes": {
+ "shape": "Sl"
+ },
+ "ConsumedCapacityUnits": {
+ "type": "double"
+ }
+ }
+ }
+ },
+ "Query": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "TableName",
+ "HashKeyValue"
+ ],
+ "members": {
+ "TableName": {},
+ "AttributesToGet": {
+ "shape": "Se"
+ },
+ "Limit": {
+ "type": "integer"
+ },
+ "ConsistentRead": {
+ "type": "boolean"
+ },
+ "Count": {
+ "type": "boolean"
+ },
+ "HashKeyValue": {
+ "shape": "S7"
+ },
+ "RangeKeyCondition": {
+ "shape": "S1u"
+ },
+ "ScanIndexForward": {
+ "type": "boolean"
+ },
+ "ExclusiveStartKey": {
+ "shape": "S6"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Items": {
+ "shape": "Sk"
+ },
+ "Count": {
+ "type": "integer"
+ },
+ "LastEvaluatedKey": {
+ "shape": "S6"
+ },
+ "ConsumedCapacityUnits": {
+ "type": "double"
+ }
+ }
+ }
+ },
+ "Scan": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "TableName"
+ ],
+ "members": {
+ "TableName": {},
+ "AttributesToGet": {
+ "shape": "Se"
+ },
+ "Limit": {
+ "type": "integer"
+ },
+ "Count": {
+ "type": "boolean"
+ },
+ "ScanFilter": {
+ "type": "map",
+ "key": {},
+ "value": {
+ "shape": "S1u"
+ }
+ },
+ "ExclusiveStartKey": {
+ "shape": "S6"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Items": {
+ "shape": "Sk"
+ },
+ "Count": {
+ "type": "integer"
+ },
+ "ScannedCount": {
+ "type": "integer"
+ },
+ "LastEvaluatedKey": {
+ "shape": "S6"
+ },
+ "ConsumedCapacityUnits": {
+ "type": "double"
+ }
+ }
+ }
+ },
+ "UpdateItem": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "TableName",
+ "Key",
+ "AttributeUpdates"
+ ],
+ "members": {
+ "TableName": {},
+ "Key": {
+ "shape": "S6"
+ },
+ "AttributeUpdates": {
+ "type": "map",
+ "key": {},
+ "value": {
+ "type": "structure",
+ "members": {
+ "Value": {
+ "shape": "S7"
+ },
+ "Action": {}
+ }
+ }
+ },
+ "Expected": {
+ "shape": "S1b"
+ },
+ "ReturnValues": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Attributes": {
+ "shape": "Sl"
+ },
+ "ConsumedCapacityUnits": {
+ "type": "double"
+ }
+ }
+ }
+ },
+ "UpdateTable": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "TableName",
+ "ProvisionedThroughput"
+ ],
+ "members": {
+ "TableName": {},
+ "ProvisionedThroughput": {
+ "shape": "S12"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "TableDescription": {
+ "shape": "S15"
+ }
+ }
+ }
+ }
+ },
+ "shapes": {
+ "S2": {
+ "type": "map",
+ "key": {},
+ "value": {
+ "type": "structure",
+ "required": [
+ "Keys"
+ ],
+ "members": {
+ "Keys": {
+ "type": "list",
+ "member": {
+ "shape": "S6"
+ }
+ },
+ "AttributesToGet": {
+ "shape": "Se"
+ },
+ "ConsistentRead": {
+ "type": "boolean"
+ }
+ }
+ }
+ },
+ "S6": {
+ "type": "structure",
+ "required": [
+ "HashKeyElement"
+ ],
+ "members": {
+ "HashKeyElement": {
+ "shape": "S7"
+ },
+ "RangeKeyElement": {
+ "shape": "S7"
+ }
+ }
+ },
+ "S7": {
+ "type": "structure",
+ "members": {
+ "S": {},
+ "N": {},
+ "B": {
+ "type": "blob"
+ },
+ "SS": {
+ "type": "list",
+ "member": {}
+ },
+ "NS": {
+ "type": "list",
+ "member": {}
+ },
+ "BS": {
+ "type": "list",
+ "member": {
+ "type": "blob"
+ }
+ }
+ }
+ },
+ "Se": {
+ "type": "list",
+ "member": {}
+ },
+ "Sk": {
+ "type": "list",
+ "member": {
+ "shape": "Sl"
+ }
+ },
+ "Sl": {
+ "type": "map",
+ "key": {},
+ "value": {
+ "shape": "S7"
+ }
+ },
+ "So": {
+ "type": "map",
+ "key": {},
+ "value": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "PutRequest": {
+ "type": "structure",
+ "required": [
+ "Item"
+ ],
+ "members": {
+ "Item": {
+ "shape": "Ss"
+ }
+ }
+ },
+ "DeleteRequest": {
+ "type": "structure",
+ "required": [
+ "Key"
+ ],
+ "members": {
+ "Key": {
+ "shape": "S6"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "Ss": {
+ "type": "map",
+ "key": {},
+ "value": {
+ "shape": "S7"
+ }
+ },
+ "Sy": {
+ "type": "structure",
+ "required": [
+ "HashKeyElement"
+ ],
+ "members": {
+ "HashKeyElement": {
+ "shape": "Sz"
+ },
+ "RangeKeyElement": {
+ "shape": "Sz"
+ }
+ }
+ },
+ "Sz": {
+ "type": "structure",
+ "required": [
+ "AttributeName",
+ "AttributeType"
+ ],
+ "members": {
+ "AttributeName": {},
+ "AttributeType": {}
+ }
+ },
+ "S12": {
+ "type": "structure",
+ "required": [
+ "ReadCapacityUnits",
+ "WriteCapacityUnits"
+ ],
+ "members": {
+ "ReadCapacityUnits": {
+ "type": "long"
+ },
+ "WriteCapacityUnits": {
+ "type": "long"
+ }
+ }
+ },
+ "S15": {
+ "type": "structure",
+ "members": {
+ "TableName": {},
+ "KeySchema": {
+ "shape": "Sy"
+ },
+ "TableStatus": {},
+ "CreationDateTime": {
+ "type": "timestamp"
+ },
+ "ProvisionedThroughput": {
+ "type": "structure",
+ "members": {
+ "LastIncreaseDateTime": {
+ "type": "timestamp"
+ },
+ "LastDecreaseDateTime": {
+ "type": "timestamp"
+ },
+ "NumberOfDecreasesToday": {
+ "type": "long"
+ },
+ "ReadCapacityUnits": {
+ "type": "long"
+ },
+ "WriteCapacityUnits": {
+ "type": "long"
+ }
+ }
+ },
+ "TableSizeBytes": {
+ "type": "long"
+ },
+ "ItemCount": {
+ "type": "long"
+ }
+ }
+ },
+ "S1b": {
+ "type": "map",
+ "key": {},
+ "value": {
+ "type": "structure",
+ "members": {
+ "Value": {
+ "shape": "S7"
+ },
+ "Exists": {
+ "type": "boolean"
+ }
+ }
+ }
+ },
+ "S1u": {
+ "type": "structure",
+ "required": [
+ "ComparisonOperator"
+ ],
+ "members": {
+ "AttributeValueList": {
+ "type": "list",
+ "member": {
+ "shape": "S7"
+ }
+ },
+ "ComparisonOperator": {}
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/node_modules/aws-sdk/apis/dynamodb-2011-12-05.paginators.json b/node_modules/aws-sdk/apis/dynamodb-2011-12-05.paginators.json
new file mode 100644
index 0000000000000000000000000000000000000000..d4075e120722238dd99285cb7c2c080e1ad15caa
--- /dev/null
+++ b/node_modules/aws-sdk/apis/dynamodb-2011-12-05.paginators.json
@@ -0,0 +1,26 @@
+{
+ "pagination": {
+ "BatchGetItem": {
+ "input_token": "RequestItems",
+ "output_token": "UnprocessedKeys"
+ },
+ "ListTables": {
+ "input_token": "ExclusiveStartTableName",
+ "output_token": "LastEvaluatedTableName",
+ "limit_key": "Limit",
+ "result_key": "TableNames"
+ },
+ "Query": {
+ "input_token": "ExclusiveStartKey",
+ "output_token": "LastEvaluatedKey",
+ "limit_key": "Limit",
+ "result_key": "Items"
+ },
+ "Scan": {
+ "input_token": "ExclusiveStartKey",
+ "output_token": "LastEvaluatedKey",
+ "limit_key": "Limit",
+ "result_key": "Items"
+ }
+ }
+}
diff --git a/node_modules/aws-sdk/apis/dynamodb-2011-12-05.waiters.json b/node_modules/aws-sdk/apis/dynamodb-2011-12-05.waiters.json
new file mode 100644
index 0000000000000000000000000000000000000000..50a2b217db08a5f2f3ea57c199f9089519811e1d
--- /dev/null
+++ b/node_modules/aws-sdk/apis/dynamodb-2011-12-05.waiters.json
@@ -0,0 +1,27 @@
+{
+ "waiters": {
+ "__default__": {
+ "interval": 20,
+ "max_attempts": 25
+ },
+ "__TableState": {
+ "operation": "DescribeTable"
+ },
+ "TableExists": {
+ "extends": "__TableState",
+ "description": "Wait until a table exists and can be accessed",
+ "ignore_errors": [
+ "ResourceNotFoundException"
+ ],
+ "success_type": "output",
+ "success_path": "Table.TableStatus",
+ "success_value": "ACTIVE"
+ },
+ "TableNotExists": {
+ "extends": "__TableState",
+ "description": "Wait until a table is deleted",
+ "success_type": "error",
+ "success_value": "ResourceNotFoundException"
+ }
+ }
+}
diff --git a/node_modules/aws-sdk/apis/dynamodb-2012-08-10.min.json b/node_modules/aws-sdk/apis/dynamodb-2012-08-10.min.json
new file mode 100644
index 0000000000000000000000000000000000000000..f12b3d894d0cc102cecb19043e353b81e0ab9a28
--- /dev/null
+++ b/node_modules/aws-sdk/apis/dynamodb-2012-08-10.min.json
@@ -0,0 +1,1050 @@
+{
+ "version": "2.0",
+ "metadata": {
+ "apiVersion": "2012-08-10",
+ "endpointPrefix": "dynamodb",
+ "jsonVersion": "1.0",
+ "protocol": "json",
+ "serviceAbbreviation": "DynamoDB",
+ "serviceFullName": "Amazon DynamoDB",
+ "signatureVersion": "v4",
+ "targetPrefix": "DynamoDB_20120810"
+ },
+ "operations": {
+ "BatchGetItem": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "RequestItems"
+ ],
+ "members": {
+ "RequestItems": {
+ "shape": "S2"
+ },
+ "ReturnConsumedCapacity": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Responses": {
+ "type": "map",
+ "key": {},
+ "value": {
+ "shape": "Sr"
+ }
+ },
+ "UnprocessedKeys": {
+ "shape": "S2"
+ },
+ "ConsumedCapacity": {
+ "shape": "St"
+ }
+ }
+ }
+ },
+ "BatchWriteItem": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "RequestItems"
+ ],
+ "members": {
+ "RequestItems": {
+ "shape": "S10"
+ },
+ "ReturnConsumedCapacity": {},
+ "ReturnItemCollectionMetrics": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "UnprocessedItems": {
+ "shape": "S10"
+ },
+ "ItemCollectionMetrics": {
+ "type": "map",
+ "key": {},
+ "value": {
+ "type": "list",
+ "member": {
+ "shape": "S1a"
+ }
+ }
+ },
+ "ConsumedCapacity": {
+ "shape": "St"
+ }
+ }
+ }
+ },
+ "CreateTable": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "AttributeDefinitions",
+ "TableName",
+ "KeySchema",
+ "ProvisionedThroughput"
+ ],
+ "members": {
+ "AttributeDefinitions": {
+ "shape": "S1f"
+ },
+ "TableName": {},
+ "KeySchema": {
+ "shape": "S1j"
+ },
+ "LocalSecondaryIndexes": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "IndexName",
+ "KeySchema",
+ "Projection"
+ ],
+ "members": {
+ "IndexName": {},
+ "KeySchema": {
+ "shape": "S1j"
+ },
+ "Projection": {
+ "shape": "S1o"
+ }
+ }
+ }
+ },
+ "GlobalSecondaryIndexes": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "IndexName",
+ "KeySchema",
+ "Projection",
+ "ProvisionedThroughput"
+ ],
+ "members": {
+ "IndexName": {},
+ "KeySchema": {
+ "shape": "S1j"
+ },
+ "Projection": {
+ "shape": "S1o"
+ },
+ "ProvisionedThroughput": {
+ "shape": "S1u"
+ }
+ }
+ }
+ },
+ "ProvisionedThroughput": {
+ "shape": "S1u"
+ },
+ "StreamSpecification": {
+ "shape": "S1w"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "TableDescription": {
+ "shape": "S20"
+ }
+ }
+ }
+ },
+ "DeleteItem": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "TableName",
+ "Key"
+ ],
+ "members": {
+ "TableName": {},
+ "Key": {
+ "shape": "S6"
+ },
+ "Expected": {
+ "shape": "S2e"
+ },
+ "ConditionalOperator": {},
+ "ReturnValues": {},
+ "ReturnConsumedCapacity": {},
+ "ReturnItemCollectionMetrics": {},
+ "ConditionExpression": {},
+ "ExpressionAttributeNames": {
+ "shape": "Sm"
+ },
+ "ExpressionAttributeValues": {
+ "shape": "S2m"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Attributes": {
+ "shape": "Ss"
+ },
+ "ConsumedCapacity": {
+ "shape": "Su"
+ },
+ "ItemCollectionMetrics": {
+ "shape": "S1a"
+ }
+ }
+ }
+ },
+ "DeleteTable": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "TableName"
+ ],
+ "members": {
+ "TableName": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "TableDescription": {
+ "shape": "S20"
+ }
+ }
+ }
+ },
+ "DescribeLimits": {
+ "input": {
+ "type": "structure",
+ "members": {}
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "AccountMaxReadCapacityUnits": {
+ "type": "long"
+ },
+ "AccountMaxWriteCapacityUnits": {
+ "type": "long"
+ },
+ "TableMaxReadCapacityUnits": {
+ "type": "long"
+ },
+ "TableMaxWriteCapacityUnits": {
+ "type": "long"
+ }
+ }
+ }
+ },
+ "DescribeTable": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "TableName"
+ ],
+ "members": {
+ "TableName": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Table": {
+ "shape": "S20"
+ }
+ }
+ }
+ },
+ "GetItem": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "TableName",
+ "Key"
+ ],
+ "members": {
+ "TableName": {},
+ "Key": {
+ "shape": "S6"
+ },
+ "AttributesToGet": {
+ "shape": "Sj"
+ },
+ "ConsistentRead": {
+ "type": "boolean"
+ },
+ "ReturnConsumedCapacity": {},
+ "ProjectionExpression": {},
+ "ExpressionAttributeNames": {
+ "shape": "Sm"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Item": {
+ "shape": "Ss"
+ },
+ "ConsumedCapacity": {
+ "shape": "Su"
+ }
+ }
+ }
+ },
+ "ListTables": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "ExclusiveStartTableName": {},
+ "Limit": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "TableNames": {
+ "type": "list",
+ "member": {}
+ },
+ "LastEvaluatedTableName": {}
+ }
+ }
+ },
+ "PutItem": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "TableName",
+ "Item"
+ ],
+ "members": {
+ "TableName": {},
+ "Item": {
+ "shape": "S14"
+ },
+ "Expected": {
+ "shape": "S2e"
+ },
+ "ReturnValues": {},
+ "ReturnConsumedCapacity": {},
+ "ReturnItemCollectionMetrics": {},
+ "ConditionalOperator": {},
+ "ConditionExpression": {},
+ "ExpressionAttributeNames": {
+ "shape": "Sm"
+ },
+ "ExpressionAttributeValues": {
+ "shape": "S2m"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Attributes": {
+ "shape": "Ss"
+ },
+ "ConsumedCapacity": {
+ "shape": "Su"
+ },
+ "ItemCollectionMetrics": {
+ "shape": "S1a"
+ }
+ }
+ }
+ },
+ "Query": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "TableName"
+ ],
+ "members": {
+ "TableName": {},
+ "IndexName": {},
+ "Select": {},
+ "AttributesToGet": {
+ "shape": "Sj"
+ },
+ "Limit": {
+ "type": "integer"
+ },
+ "ConsistentRead": {
+ "type": "boolean"
+ },
+ "KeyConditions": {
+ "type": "map",
+ "key": {},
+ "value": {
+ "shape": "S37"
+ }
+ },
+ "QueryFilter": {
+ "shape": "S38"
+ },
+ "ConditionalOperator": {},
+ "ScanIndexForward": {
+ "type": "boolean"
+ },
+ "ExclusiveStartKey": {
+ "shape": "S6"
+ },
+ "ReturnConsumedCapacity": {},
+ "ProjectionExpression": {},
+ "FilterExpression": {},
+ "KeyConditionExpression": {},
+ "ExpressionAttributeNames": {
+ "shape": "Sm"
+ },
+ "ExpressionAttributeValues": {
+ "shape": "S2m"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Items": {
+ "shape": "Sr"
+ },
+ "Count": {
+ "type": "integer"
+ },
+ "ScannedCount": {
+ "type": "integer"
+ },
+ "LastEvaluatedKey": {
+ "shape": "S6"
+ },
+ "ConsumedCapacity": {
+ "shape": "Su"
+ }
+ }
+ }
+ },
+ "Scan": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "TableName"
+ ],
+ "members": {
+ "TableName": {},
+ "IndexName": {},
+ "AttributesToGet": {
+ "shape": "Sj"
+ },
+ "Limit": {
+ "type": "integer"
+ },
+ "Select": {},
+ "ScanFilter": {
+ "shape": "S38"
+ },
+ "ConditionalOperator": {},
+ "ExclusiveStartKey": {
+ "shape": "S6"
+ },
+ "ReturnConsumedCapacity": {},
+ "TotalSegments": {
+ "type": "integer"
+ },
+ "Segment": {
+ "type": "integer"
+ },
+ "ProjectionExpression": {},
+ "FilterExpression": {},
+ "ExpressionAttributeNames": {
+ "shape": "Sm"
+ },
+ "ExpressionAttributeValues": {
+ "shape": "S2m"
+ },
+ "ConsistentRead": {
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Items": {
+ "shape": "Sr"
+ },
+ "Count": {
+ "type": "integer"
+ },
+ "ScannedCount": {
+ "type": "integer"
+ },
+ "LastEvaluatedKey": {
+ "shape": "S6"
+ },
+ "ConsumedCapacity": {
+ "shape": "Su"
+ }
+ }
+ }
+ },
+ "UpdateItem": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "TableName",
+ "Key"
+ ],
+ "members": {
+ "TableName": {},
+ "Key": {
+ "shape": "S6"
+ },
+ "AttributeUpdates": {
+ "type": "map",
+ "key": {},
+ "value": {
+ "type": "structure",
+ "members": {
+ "Value": {
+ "shape": "S8"
+ },
+ "Action": {}
+ }
+ }
+ },
+ "Expected": {
+ "shape": "S2e"
+ },
+ "ConditionalOperator": {},
+ "ReturnValues": {},
+ "ReturnConsumedCapacity": {},
+ "ReturnItemCollectionMetrics": {},
+ "UpdateExpression": {},
+ "ConditionExpression": {},
+ "ExpressionAttributeNames": {
+ "shape": "Sm"
+ },
+ "ExpressionAttributeValues": {
+ "shape": "S2m"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Attributes": {
+ "shape": "Ss"
+ },
+ "ConsumedCapacity": {
+ "shape": "Su"
+ },
+ "ItemCollectionMetrics": {
+ "shape": "S1a"
+ }
+ }
+ }
+ },
+ "UpdateTable": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "TableName"
+ ],
+ "members": {
+ "AttributeDefinitions": {
+ "shape": "S1f"
+ },
+ "TableName": {},
+ "ProvisionedThroughput": {
+ "shape": "S1u"
+ },
+ "GlobalSecondaryIndexUpdates": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "Update": {
+ "type": "structure",
+ "required": [
+ "IndexName",
+ "ProvisionedThroughput"
+ ],
+ "members": {
+ "IndexName": {},
+ "ProvisionedThroughput": {
+ "shape": "S1u"
+ }
+ }
+ },
+ "Create": {
+ "type": "structure",
+ "required": [
+ "IndexName",
+ "KeySchema",
+ "Projection",
+ "ProvisionedThroughput"
+ ],
+ "members": {
+ "IndexName": {},
+ "KeySchema": {
+ "shape": "S1j"
+ },
+ "Projection": {
+ "shape": "S1o"
+ },
+ "ProvisionedThroughput": {
+ "shape": "S1u"
+ }
+ }
+ },
+ "Delete": {
+ "type": "structure",
+ "required": [
+ "IndexName"
+ ],
+ "members": {
+ "IndexName": {}
+ }
+ }
+ }
+ }
+ },
+ "StreamSpecification": {
+ "shape": "S1w"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "TableDescription": {
+ "shape": "S20"
+ }
+ }
+ }
+ }
+ },
+ "shapes": {
+ "S2": {
+ "type": "map",
+ "key": {},
+ "value": {
+ "type": "structure",
+ "required": [
+ "Keys"
+ ],
+ "members": {
+ "Keys": {
+ "type": "list",
+ "member": {
+ "shape": "S6"
+ }
+ },
+ "AttributesToGet": {
+ "shape": "Sj"
+ },
+ "ConsistentRead": {
+ "type": "boolean"
+ },
+ "ProjectionExpression": {},
+ "ExpressionAttributeNames": {
+ "shape": "Sm"
+ }
+ }
+ }
+ },
+ "S6": {
+ "type": "map",
+ "key": {},
+ "value": {
+ "shape": "S8"
+ }
+ },
+ "S8": {
+ "type": "structure",
+ "members": {
+ "S": {},
+ "N": {},
+ "B": {
+ "type": "blob"
+ },
+ "SS": {
+ "type": "list",
+ "member": {}
+ },
+ "NS": {
+ "type": "list",
+ "member": {}
+ },
+ "BS": {
+ "type": "list",
+ "member": {
+ "type": "blob"
+ }
+ },
+ "M": {
+ "type": "map",
+ "key": {},
+ "value": {
+ "shape": "S8"
+ }
+ },
+ "L": {
+ "type": "list",
+ "member": {
+ "shape": "S8"
+ }
+ },
+ "NULL": {
+ "type": "boolean"
+ },
+ "BOOL": {
+ "type": "boolean"
+ }
+ }
+ },
+ "Sj": {
+ "type": "list",
+ "member": {}
+ },
+ "Sm": {
+ "type": "map",
+ "key": {},
+ "value": {}
+ },
+ "Sr": {
+ "type": "list",
+ "member": {
+ "shape": "Ss"
+ }
+ },
+ "Ss": {
+ "type": "map",
+ "key": {},
+ "value": {
+ "shape": "S8"
+ }
+ },
+ "St": {
+ "type": "list",
+ "member": {
+ "shape": "Su"
+ }
+ },
+ "Su": {
+ "type": "structure",
+ "members": {
+ "TableName": {},
+ "CapacityUnits": {
+ "type": "double"
+ },
+ "Table": {
+ "shape": "Sw"
+ },
+ "LocalSecondaryIndexes": {
+ "shape": "Sx"
+ },
+ "GlobalSecondaryIndexes": {
+ "shape": "Sx"
+ }
+ }
+ },
+ "Sw": {
+ "type": "structure",
+ "members": {
+ "CapacityUnits": {
+ "type": "double"
+ }
+ }
+ },
+ "Sx": {
+ "type": "map",
+ "key": {},
+ "value": {
+ "shape": "Sw"
+ }
+ },
+ "S10": {
+ "type": "map",
+ "key": {},
+ "value": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "PutRequest": {
+ "type": "structure",
+ "required": [
+ "Item"
+ ],
+ "members": {
+ "Item": {
+ "shape": "S14"
+ }
+ }
+ },
+ "DeleteRequest": {
+ "type": "structure",
+ "required": [
+ "Key"
+ ],
+ "members": {
+ "Key": {
+ "shape": "S6"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "S14": {
+ "type": "map",
+ "key": {},
+ "value": {
+ "shape": "S8"
+ }
+ },
+ "S1a": {
+ "type": "structure",
+ "members": {
+ "ItemCollectionKey": {
+ "type": "map",
+ "key": {},
+ "value": {
+ "shape": "S8"
+ }
+ },
+ "SizeEstimateRangeGB": {
+ "type": "list",
+ "member": {
+ "type": "double"
+ }
+ }
+ }
+ },
+ "S1f": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "AttributeName",
+ "AttributeType"
+ ],
+ "members": {
+ "AttributeName": {},
+ "AttributeType": {}
+ }
+ }
+ },
+ "S1j": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "AttributeName",
+ "KeyType"
+ ],
+ "members": {
+ "AttributeName": {},
+ "KeyType": {}
+ }
+ }
+ },
+ "S1o": {
+ "type": "structure",
+ "members": {
+ "ProjectionType": {},
+ "NonKeyAttributes": {
+ "type": "list",
+ "member": {}
+ }
+ }
+ },
+ "S1u": {
+ "type": "structure",
+ "required": [
+ "ReadCapacityUnits",
+ "WriteCapacityUnits"
+ ],
+ "members": {
+ "ReadCapacityUnits": {
+ "type": "long"
+ },
+ "WriteCapacityUnits": {
+ "type": "long"
+ }
+ }
+ },
+ "S1w": {
+ "type": "structure",
+ "members": {
+ "StreamEnabled": {
+ "type": "boolean"
+ },
+ "StreamViewType": {}
+ }
+ },
+ "S20": {
+ "type": "structure",
+ "members": {
+ "AttributeDefinitions": {
+ "shape": "S1f"
+ },
+ "TableName": {},
+ "KeySchema": {
+ "shape": "S1j"
+ },
+ "TableStatus": {},
+ "CreationDateTime": {
+ "type": "timestamp"
+ },
+ "ProvisionedThroughput": {
+ "shape": "S23"
+ },
+ "TableSizeBytes": {
+ "type": "long"
+ },
+ "ItemCount": {
+ "type": "long"
+ },
+ "TableArn": {},
+ "LocalSecondaryIndexes": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "IndexName": {},
+ "KeySchema": {
+ "shape": "S1j"
+ },
+ "Projection": {
+ "shape": "S1o"
+ },
+ "IndexSizeBytes": {
+ "type": "long"
+ },
+ "ItemCount": {
+ "type": "long"
+ },
+ "IndexArn": {}
+ }
+ }
+ },
+ "GlobalSecondaryIndexes": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "IndexName": {},
+ "KeySchema": {
+ "shape": "S1j"
+ },
+ "Projection": {
+ "shape": "S1o"
+ },
+ "IndexStatus": {},
+ "Backfilling": {
+ "type": "boolean"
+ },
+ "ProvisionedThroughput": {
+ "shape": "S23"
+ },
+ "IndexSizeBytes": {
+ "type": "long"
+ },
+ "ItemCount": {
+ "type": "long"
+ },
+ "IndexArn": {}
+ }
+ }
+ },
+ "StreamSpecification": {
+ "shape": "S1w"
+ },
+ "LatestStreamLabel": {},
+ "LatestStreamArn": {}
+ }
+ },
+ "S23": {
+ "type": "structure",
+ "members": {
+ "LastIncreaseDateTime": {
+ "type": "timestamp"
+ },
+ "LastDecreaseDateTime": {
+ "type": "timestamp"
+ },
+ "NumberOfDecreasesToday": {
+ "type": "long"
+ },
+ "ReadCapacityUnits": {
+ "type": "long"
+ },
+ "WriteCapacityUnits": {
+ "type": "long"
+ }
+ }
+ },
+ "S2e": {
+ "type": "map",
+ "key": {},
+ "value": {
+ "type": "structure",
+ "members": {
+ "Value": {
+ "shape": "S8"
+ },
+ "Exists": {
+ "type": "boolean"
+ },
+ "ComparisonOperator": {},
+ "AttributeValueList": {
+ "shape": "S2i"
+ }
+ }
+ }
+ },
+ "S2i": {
+ "type": "list",
+ "member": {
+ "shape": "S8"
+ }
+ },
+ "S2m": {
+ "type": "map",
+ "key": {},
+ "value": {
+ "shape": "S8"
+ }
+ },
+ "S37": {
+ "type": "structure",
+ "required": [
+ "ComparisonOperator"
+ ],
+ "members": {
+ "AttributeValueList": {
+ "shape": "S2i"
+ },
+ "ComparisonOperator": {}
+ }
+ },
+ "S38": {
+ "type": "map",
+ "key": {},
+ "value": {
+ "shape": "S37"
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/node_modules/aws-sdk/apis/dynamodb-2012-08-10.paginators.json b/node_modules/aws-sdk/apis/dynamodb-2012-08-10.paginators.json
new file mode 100644
index 0000000000000000000000000000000000000000..d4075e120722238dd99285cb7c2c080e1ad15caa
--- /dev/null
+++ b/node_modules/aws-sdk/apis/dynamodb-2012-08-10.paginators.json
@@ -0,0 +1,26 @@
+{
+ "pagination": {
+ "BatchGetItem": {
+ "input_token": "RequestItems",
+ "output_token": "UnprocessedKeys"
+ },
+ "ListTables": {
+ "input_token": "ExclusiveStartTableName",
+ "output_token": "LastEvaluatedTableName",
+ "limit_key": "Limit",
+ "result_key": "TableNames"
+ },
+ "Query": {
+ "input_token": "ExclusiveStartKey",
+ "output_token": "LastEvaluatedKey",
+ "limit_key": "Limit",
+ "result_key": "Items"
+ },
+ "Scan": {
+ "input_token": "ExclusiveStartKey",
+ "output_token": "LastEvaluatedKey",
+ "limit_key": "Limit",
+ "result_key": "Items"
+ }
+ }
+}
diff --git a/node_modules/aws-sdk/apis/dynamodb-2012-08-10.waiters.json b/node_modules/aws-sdk/apis/dynamodb-2012-08-10.waiters.json
new file mode 100644
index 0000000000000000000000000000000000000000..6e0e1045aa76ff29cf8eb5431b3f8a4e3b772745
--- /dev/null
+++ b/node_modules/aws-sdk/apis/dynamodb-2012-08-10.waiters.json
@@ -0,0 +1,25 @@
+{
+ "waiters": {
+ "__default__": {
+ "interval": 20,
+ "max_attempts": 25
+ },
+ "__TableState": {
+ "operation": "DescribeTable"
+ },
+ "TableExists": {
+ "extends": "__TableState",
+ "ignore_errors": [
+ "ResourceNotFoundException"
+ ],
+ "success_type": "output",
+ "success_path": "Table.TableStatus",
+ "success_value": "ACTIVE"
+ },
+ "TableNotExists": {
+ "extends": "__TableState",
+ "success_type": "error",
+ "success_value": "ResourceNotFoundException"
+ }
+ }
+}
diff --git a/node_modules/aws-sdk/apis/ec2-2015-10-01.min.json b/node_modules/aws-sdk/apis/ec2-2015-10-01.min.json
new file mode 100644
index 0000000000000000000000000000000000000000..736c274f660fe5e301cb1e054abdb8560370c893
--- /dev/null
+++ b/node_modules/aws-sdk/apis/ec2-2015-10-01.min.json
@@ -0,0 +1,10096 @@
+{
+ "version": "2.0",
+ "metadata": {
+ "apiVersion": "2015-10-01",
+ "endpointPrefix": "ec2",
+ "protocol": "ec2",
+ "serviceAbbreviation": "Amazon EC2",
+ "serviceFullName": "Amazon Elastic Compute Cloud",
+ "signatureVersion": "v4",
+ "xmlNamespace": "http://ec2.amazonaws.com/doc/2015-10-01"
+ },
+ "operations": {
+ "AcceptVpcPeeringConnection": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "VpcPeeringConnectionId": {
+ "locationName": "vpcPeeringConnectionId"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "VpcPeeringConnection": {
+ "shape": "S5",
+ "locationName": "vpcPeeringConnection"
+ }
+ }
+ }
+ },
+ "AllocateAddress": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "Domain": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "PublicIp": {
+ "locationName": "publicIp"
+ },
+ "Domain": {
+ "locationName": "domain"
+ },
+ "AllocationId": {
+ "locationName": "allocationId"
+ }
+ }
+ }
+ },
+ "AllocateHosts": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "InstanceType",
+ "Quantity",
+ "AvailabilityZone"
+ ],
+ "members": {
+ "AutoPlacement": {
+ "locationName": "autoPlacement"
+ },
+ "ClientToken": {
+ "locationName": "clientToken"
+ },
+ "InstanceType": {
+ "locationName": "instanceType"
+ },
+ "Quantity": {
+ "locationName": "quantity",
+ "type": "integer"
+ },
+ "AvailabilityZone": {
+ "locationName": "availabilityZone"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "HostIds": {
+ "shape": "Sj",
+ "locationName": "hostIdSet"
+ }
+ }
+ }
+ },
+ "AssignPrivateIpAddresses": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "NetworkInterfaceId"
+ ],
+ "members": {
+ "NetworkInterfaceId": {
+ "locationName": "networkInterfaceId"
+ },
+ "PrivateIpAddresses": {
+ "shape": "Sl",
+ "locationName": "privateIpAddress"
+ },
+ "SecondaryPrivateIpAddressCount": {
+ "locationName": "secondaryPrivateIpAddressCount",
+ "type": "integer"
+ },
+ "AllowReassignment": {
+ "locationName": "allowReassignment",
+ "type": "boolean"
+ }
+ }
+ }
+ },
+ "AssociateAddress": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "InstanceId": {},
+ "PublicIp": {},
+ "AllocationId": {},
+ "NetworkInterfaceId": {
+ "locationName": "networkInterfaceId"
+ },
+ "PrivateIpAddress": {
+ "locationName": "privateIpAddress"
+ },
+ "AllowReassociation": {
+ "locationName": "allowReassociation",
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "AssociationId": {
+ "locationName": "associationId"
+ }
+ }
+ }
+ },
+ "AssociateDhcpOptions": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DhcpOptionsId",
+ "VpcId"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "DhcpOptionsId": {},
+ "VpcId": {}
+ }
+ }
+ },
+ "AssociateRouteTable": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "SubnetId",
+ "RouteTableId"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "SubnetId": {
+ "locationName": "subnetId"
+ },
+ "RouteTableId": {
+ "locationName": "routeTableId"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "AssociationId": {
+ "locationName": "associationId"
+ }
+ }
+ }
+ },
+ "AttachClassicLinkVpc": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "InstanceId",
+ "VpcId",
+ "Groups"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "InstanceId": {
+ "locationName": "instanceId"
+ },
+ "VpcId": {
+ "locationName": "vpcId"
+ },
+ "Groups": {
+ "shape": "Ss",
+ "locationName": "SecurityGroupId"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Return": {
+ "locationName": "return",
+ "type": "boolean"
+ }
+ }
+ }
+ },
+ "AttachInternetGateway": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "InternetGatewayId",
+ "VpcId"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "InternetGatewayId": {
+ "locationName": "internetGatewayId"
+ },
+ "VpcId": {
+ "locationName": "vpcId"
+ }
+ }
+ }
+ },
+ "AttachNetworkInterface": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "NetworkInterfaceId",
+ "InstanceId",
+ "DeviceIndex"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "NetworkInterfaceId": {
+ "locationName": "networkInterfaceId"
+ },
+ "InstanceId": {
+ "locationName": "instanceId"
+ },
+ "DeviceIndex": {
+ "locationName": "deviceIndex",
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "AttachmentId": {
+ "locationName": "attachmentId"
+ }
+ }
+ }
+ },
+ "AttachVolume": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "VolumeId",
+ "InstanceId",
+ "Device"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "VolumeId": {},
+ "InstanceId": {},
+ "Device": {}
+ }
+ },
+ "output": {
+ "shape": "Sy"
+ }
+ },
+ "AttachVpnGateway": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "VpnGatewayId",
+ "VpcId"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "VpnGatewayId": {},
+ "VpcId": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "VpcAttachment": {
+ "shape": "S12",
+ "locationName": "attachment"
+ }
+ }
+ }
+ },
+ "AuthorizeSecurityGroupEgress": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "GroupId"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "GroupId": {
+ "locationName": "groupId"
+ },
+ "SourceSecurityGroupName": {
+ "locationName": "sourceSecurityGroupName"
+ },
+ "SourceSecurityGroupOwnerId": {
+ "locationName": "sourceSecurityGroupOwnerId"
+ },
+ "IpProtocol": {
+ "locationName": "ipProtocol"
+ },
+ "FromPort": {
+ "locationName": "fromPort",
+ "type": "integer"
+ },
+ "ToPort": {
+ "locationName": "toPort",
+ "type": "integer"
+ },
+ "CidrIp": {
+ "locationName": "cidrIp"
+ },
+ "IpPermissions": {
+ "shape": "S15",
+ "locationName": "ipPermissions"
+ }
+ }
+ }
+ },
+ "AuthorizeSecurityGroupIngress": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "GroupName": {},
+ "GroupId": {},
+ "SourceSecurityGroupName": {},
+ "SourceSecurityGroupOwnerId": {},
+ "IpProtocol": {},
+ "FromPort": {
+ "type": "integer"
+ },
+ "ToPort": {
+ "type": "integer"
+ },
+ "CidrIp": {},
+ "IpPermissions": {
+ "shape": "S15"
+ }
+ }
+ }
+ },
+ "BundleInstance": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "InstanceId",
+ "Storage"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "InstanceId": {},
+ "Storage": {
+ "shape": "S1f"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "BundleTask": {
+ "shape": "S1j",
+ "locationName": "bundleInstanceTask"
+ }
+ }
+ }
+ },
+ "CancelBundleTask": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "BundleId"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "BundleId": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "BundleTask": {
+ "shape": "S1j",
+ "locationName": "bundleInstanceTask"
+ }
+ }
+ }
+ },
+ "CancelConversionTask": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ConversionTaskId"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "ConversionTaskId": {
+ "locationName": "conversionTaskId"
+ },
+ "ReasonMessage": {
+ "locationName": "reasonMessage"
+ }
+ }
+ }
+ },
+ "CancelExportTask": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ExportTaskId"
+ ],
+ "members": {
+ "ExportTaskId": {
+ "locationName": "exportTaskId"
+ }
+ }
+ }
+ },
+ "CancelImportTask": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DryRun": {
+ "type": "boolean"
+ },
+ "ImportTaskId": {},
+ "CancelReason": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "ImportTaskId": {
+ "locationName": "importTaskId"
+ },
+ "State": {
+ "locationName": "state"
+ },
+ "PreviousState": {
+ "locationName": "previousState"
+ }
+ }
+ }
+ },
+ "CancelReservedInstancesListing": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ReservedInstancesListingId"
+ ],
+ "members": {
+ "ReservedInstancesListingId": {
+ "locationName": "reservedInstancesListingId"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "ReservedInstancesListings": {
+ "shape": "S1u",
+ "locationName": "reservedInstancesListingsSet"
+ }
+ }
+ }
+ },
+ "CancelSpotFleetRequests": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "SpotFleetRequestIds",
+ "TerminateInstances"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "SpotFleetRequestIds": {
+ "shape": "S26",
+ "locationName": "spotFleetRequestId"
+ },
+ "TerminateInstances": {
+ "locationName": "terminateInstances",
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "UnsuccessfulFleetRequests": {
+ "locationName": "unsuccessfulFleetRequestSet",
+ "type": "list",
+ "member": {
+ "locationName": "item",
+ "type": "structure",
+ "required": [
+ "SpotFleetRequestId",
+ "Error"
+ ],
+ "members": {
+ "SpotFleetRequestId": {
+ "locationName": "spotFleetRequestId"
+ },
+ "Error": {
+ "locationName": "error",
+ "type": "structure",
+ "required": [
+ "Code",
+ "Message"
+ ],
+ "members": {
+ "Code": {
+ "locationName": "code"
+ },
+ "Message": {
+ "locationName": "message"
+ }
+ }
+ }
+ }
+ }
+ },
+ "SuccessfulFleetRequests": {
+ "locationName": "successfulFleetRequestSet",
+ "type": "list",
+ "member": {
+ "locationName": "item",
+ "type": "structure",
+ "required": [
+ "SpotFleetRequestId",
+ "CurrentSpotFleetRequestState",
+ "PreviousSpotFleetRequestState"
+ ],
+ "members": {
+ "SpotFleetRequestId": {
+ "locationName": "spotFleetRequestId"
+ },
+ "CurrentSpotFleetRequestState": {
+ "locationName": "currentSpotFleetRequestState"
+ },
+ "PreviousSpotFleetRequestState": {
+ "locationName": "previousSpotFleetRequestState"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "CancelSpotInstanceRequests": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "SpotInstanceRequestIds"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "SpotInstanceRequestIds": {
+ "shape": "S2g",
+ "locationName": "SpotInstanceRequestId"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "CancelledSpotInstanceRequests": {
+ "locationName": "spotInstanceRequestSet",
+ "type": "list",
+ "member": {
+ "locationName": "item",
+ "type": "structure",
+ "members": {
+ "SpotInstanceRequestId": {
+ "locationName": "spotInstanceRequestId"
+ },
+ "State": {
+ "locationName": "state"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "ConfirmProductInstance": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ProductCode",
+ "InstanceId"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "ProductCode": {},
+ "InstanceId": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "OwnerId": {
+ "locationName": "ownerId"
+ },
+ "Return": {
+ "locationName": "return",
+ "type": "boolean"
+ }
+ }
+ }
+ },
+ "CopyImage": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "SourceRegion",
+ "SourceImageId",
+ "Name"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "SourceRegion": {},
+ "SourceImageId": {},
+ "Name": {},
+ "Description": {},
+ "ClientToken": {},
+ "Encrypted": {
+ "locationName": "encrypted",
+ "type": "boolean"
+ },
+ "KmsKeyId": {
+ "locationName": "kmsKeyId"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "ImageId": {
+ "locationName": "imageId"
+ }
+ }
+ }
+ },
+ "CopySnapshot": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "SourceRegion",
+ "SourceSnapshotId"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "SourceRegion": {},
+ "SourceSnapshotId": {},
+ "Description": {},
+ "DestinationRegion": {
+ "locationName": "destinationRegion"
+ },
+ "PresignedUrl": {
+ "locationName": "presignedUrl"
+ },
+ "Encrypted": {
+ "locationName": "encrypted",
+ "type": "boolean"
+ },
+ "KmsKeyId": {
+ "locationName": "kmsKeyId"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "SnapshotId": {
+ "locationName": "snapshotId"
+ }
+ }
+ }
+ },
+ "CreateCustomerGateway": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Type",
+ "PublicIp",
+ "BgpAsn"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "Type": {},
+ "PublicIp": {
+ "locationName": "IpAddress"
+ },
+ "BgpAsn": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "CustomerGateway": {
+ "shape": "S2u",
+ "locationName": "customerGateway"
+ }
+ }
+ }
+ },
+ "CreateDhcpOptions": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DhcpConfigurations"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "DhcpConfigurations": {
+ "locationName": "dhcpConfiguration",
+ "type": "list",
+ "member": {
+ "locationName": "item",
+ "type": "structure",
+ "members": {
+ "Key": {
+ "locationName": "key"
+ },
+ "Values": {
+ "shape": "S26",
+ "locationName": "Value"
+ }
+ }
+ }
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "DhcpOptions": {
+ "shape": "S2z",
+ "locationName": "dhcpOptions"
+ }
+ }
+ }
+ },
+ "CreateFlowLogs": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ResourceIds",
+ "ResourceType",
+ "TrafficType",
+ "LogGroupName",
+ "DeliverLogsPermissionArn"
+ ],
+ "members": {
+ "ResourceIds": {
+ "shape": "S26",
+ "locationName": "ResourceId"
+ },
+ "ResourceType": {},
+ "TrafficType": {},
+ "LogGroupName": {},
+ "DeliverLogsPermissionArn": {},
+ "ClientToken": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "FlowLogIds": {
+ "shape": "S26",
+ "locationName": "flowLogIdSet"
+ },
+ "ClientToken": {
+ "locationName": "clientToken"
+ },
+ "Unsuccessful": {
+ "shape": "S38",
+ "locationName": "unsuccessful"
+ }
+ }
+ }
+ },
+ "CreateImage": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "InstanceId",
+ "Name"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "InstanceId": {
+ "locationName": "instanceId"
+ },
+ "Name": {
+ "locationName": "name"
+ },
+ "Description": {
+ "locationName": "description"
+ },
+ "NoReboot": {
+ "locationName": "noReboot",
+ "type": "boolean"
+ },
+ "BlockDeviceMappings": {
+ "shape": "S3c",
+ "locationName": "blockDeviceMapping"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "ImageId": {
+ "locationName": "imageId"
+ }
+ }
+ }
+ },
+ "CreateInstanceExportTask": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "InstanceId"
+ ],
+ "members": {
+ "Description": {
+ "locationName": "description"
+ },
+ "InstanceId": {
+ "locationName": "instanceId"
+ },
+ "TargetEnvironment": {
+ "locationName": "targetEnvironment"
+ },
+ "ExportToS3Task": {
+ "locationName": "exportToS3",
+ "type": "structure",
+ "members": {
+ "DiskImageFormat": {
+ "locationName": "diskImageFormat"
+ },
+ "ContainerFormat": {
+ "locationName": "containerFormat"
+ },
+ "S3Bucket": {
+ "locationName": "s3Bucket"
+ },
+ "S3Prefix": {
+ "locationName": "s3Prefix"
+ }
+ }
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "ExportTask": {
+ "shape": "S3n",
+ "locationName": "exportTask"
+ }
+ }
+ }
+ },
+ "CreateInternetGateway": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "InternetGateway": {
+ "shape": "S3t",
+ "locationName": "internetGateway"
+ }
+ }
+ }
+ },
+ "CreateKeyPair": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "KeyName"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "KeyName": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "KeyName": {
+ "locationName": "keyName"
+ },
+ "KeyFingerprint": {
+ "locationName": "keyFingerprint"
+ },
+ "KeyMaterial": {
+ "locationName": "keyMaterial"
+ }
+ }
+ }
+ },
+ "CreateNatGateway": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "SubnetId",
+ "AllocationId"
+ ],
+ "members": {
+ "SubnetId": {},
+ "AllocationId": {},
+ "ClientToken": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "NatGateway": {
+ "shape": "S40",
+ "locationName": "natGateway"
+ },
+ "ClientToken": {
+ "locationName": "clientToken"
+ }
+ }
+ }
+ },
+ "CreateNetworkAcl": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "VpcId"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "VpcId": {
+ "locationName": "vpcId"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "NetworkAcl": {
+ "shape": "S46",
+ "locationName": "networkAcl"
+ }
+ }
+ }
+ },
+ "CreateNetworkAclEntry": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "NetworkAclId",
+ "RuleNumber",
+ "Protocol",
+ "RuleAction",
+ "Egress",
+ "CidrBlock"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "NetworkAclId": {
+ "locationName": "networkAclId"
+ },
+ "RuleNumber": {
+ "locationName": "ruleNumber",
+ "type": "integer"
+ },
+ "Protocol": {
+ "locationName": "protocol"
+ },
+ "RuleAction": {
+ "locationName": "ruleAction"
+ },
+ "Egress": {
+ "locationName": "egress",
+ "type": "boolean"
+ },
+ "CidrBlock": {
+ "locationName": "cidrBlock"
+ },
+ "IcmpTypeCode": {
+ "shape": "S4a",
+ "locationName": "Icmp"
+ },
+ "PortRange": {
+ "shape": "S4b",
+ "locationName": "portRange"
+ }
+ }
+ }
+ },
+ "CreateNetworkInterface": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "SubnetId"
+ ],
+ "members": {
+ "SubnetId": {
+ "locationName": "subnetId"
+ },
+ "Description": {
+ "locationName": "description"
+ },
+ "PrivateIpAddress": {
+ "locationName": "privateIpAddress"
+ },
+ "Groups": {
+ "shape": "S4g",
+ "locationName": "SecurityGroupId"
+ },
+ "PrivateIpAddresses": {
+ "shape": "S4h",
+ "locationName": "privateIpAddresses"
+ },
+ "SecondaryPrivateIpAddressCount": {
+ "locationName": "secondaryPrivateIpAddressCount",
+ "type": "integer"
+ },
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "NetworkInterface": {
+ "shape": "S4k",
+ "locationName": "networkInterface"
+ }
+ }
+ }
+ },
+ "CreatePlacementGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "GroupName",
+ "Strategy"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "GroupName": {
+ "locationName": "groupName"
+ },
+ "Strategy": {
+ "locationName": "strategy"
+ }
+ }
+ }
+ },
+ "CreateReservedInstancesListing": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ReservedInstancesId",
+ "InstanceCount",
+ "PriceSchedules",
+ "ClientToken"
+ ],
+ "members": {
+ "ReservedInstancesId": {
+ "locationName": "reservedInstancesId"
+ },
+ "InstanceCount": {
+ "locationName": "instanceCount",
+ "type": "integer"
+ },
+ "PriceSchedules": {
+ "locationName": "priceSchedules",
+ "type": "list",
+ "member": {
+ "locationName": "item",
+ "type": "structure",
+ "members": {
+ "Term": {
+ "locationName": "term",
+ "type": "long"
+ },
+ "Price": {
+ "locationName": "price",
+ "type": "double"
+ },
+ "CurrencyCode": {
+ "locationName": "currencyCode"
+ }
+ }
+ }
+ },
+ "ClientToken": {
+ "locationName": "clientToken"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "ReservedInstancesListings": {
+ "shape": "S1u",
+ "locationName": "reservedInstancesListingsSet"
+ }
+ }
+ }
+ },
+ "CreateRoute": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "RouteTableId",
+ "DestinationCidrBlock"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "RouteTableId": {
+ "locationName": "routeTableId"
+ },
+ "DestinationCidrBlock": {
+ "locationName": "destinationCidrBlock"
+ },
+ "GatewayId": {
+ "locationName": "gatewayId"
+ },
+ "InstanceId": {
+ "locationName": "instanceId"
+ },
+ "NetworkInterfaceId": {
+ "locationName": "networkInterfaceId"
+ },
+ "VpcPeeringConnectionId": {
+ "locationName": "vpcPeeringConnectionId"
+ },
+ "NatGatewayId": {
+ "locationName": "natGatewayId"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Return": {
+ "locationName": "return",
+ "type": "boolean"
+ }
+ }
+ }
+ },
+ "CreateRouteTable": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "VpcId"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "VpcId": {
+ "locationName": "vpcId"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "RouteTable": {
+ "shape": "S53",
+ "locationName": "routeTable"
+ }
+ }
+ }
+ },
+ "CreateSecurityGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "GroupName",
+ "Description"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "GroupName": {},
+ "Description": {
+ "locationName": "GroupDescription"
+ },
+ "VpcId": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "GroupId": {
+ "locationName": "groupId"
+ }
+ }
+ }
+ },
+ "CreateSnapshot": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "VolumeId"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "VolumeId": {},
+ "Description": {}
+ }
+ },
+ "output": {
+ "shape": "S5f"
+ }
+ },
+ "CreateSpotDatafeedSubscription": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Bucket"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "Bucket": {
+ "locationName": "bucket"
+ },
+ "Prefix": {
+ "locationName": "prefix"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "SpotDatafeedSubscription": {
+ "shape": "S5j",
+ "locationName": "spotDatafeedSubscription"
+ }
+ }
+ }
+ },
+ "CreateSubnet": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "VpcId",
+ "CidrBlock"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "VpcId": {},
+ "CidrBlock": {},
+ "AvailabilityZone": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Subnet": {
+ "shape": "S5o",
+ "locationName": "subnet"
+ }
+ }
+ }
+ },
+ "CreateTags": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Resources",
+ "Tags"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "Resources": {
+ "shape": "S5r",
+ "locationName": "ResourceId"
+ },
+ "Tags": {
+ "shape": "Sa",
+ "locationName": "Tag"
+ }
+ }
+ }
+ },
+ "CreateVolume": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "AvailabilityZone"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "Size": {
+ "type": "integer"
+ },
+ "SnapshotId": {},
+ "AvailabilityZone": {},
+ "VolumeType": {},
+ "Iops": {
+ "type": "integer"
+ },
+ "Encrypted": {
+ "locationName": "encrypted",
+ "type": "boolean"
+ },
+ "KmsKeyId": {}
+ }
+ },
+ "output": {
+ "shape": "S5t"
+ }
+ },
+ "CreateVpc": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "CidrBlock"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "CidrBlock": {},
+ "InstanceTenancy": {
+ "locationName": "instanceTenancy"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Vpc": {
+ "shape": "S5z",
+ "locationName": "vpc"
+ }
+ }
+ }
+ },
+ "CreateVpcEndpoint": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "VpcId",
+ "ServiceName"
+ ],
+ "members": {
+ "DryRun": {
+ "type": "boolean"
+ },
+ "VpcId": {},
+ "ServiceName": {},
+ "PolicyDocument": {},
+ "RouteTableIds": {
+ "shape": "S26",
+ "locationName": "RouteTableId"
+ },
+ "ClientToken": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "VpcEndpoint": {
+ "shape": "S63",
+ "locationName": "vpcEndpoint"
+ },
+ "ClientToken": {
+ "locationName": "clientToken"
+ }
+ }
+ }
+ },
+ "CreateVpcPeeringConnection": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "VpcId": {
+ "locationName": "vpcId"
+ },
+ "PeerVpcId": {
+ "locationName": "peerVpcId"
+ },
+ "PeerOwnerId": {
+ "locationName": "peerOwnerId"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "VpcPeeringConnection": {
+ "shape": "S5",
+ "locationName": "vpcPeeringConnection"
+ }
+ }
+ }
+ },
+ "CreateVpnConnection": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Type",
+ "CustomerGatewayId",
+ "VpnGatewayId"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "Type": {},
+ "CustomerGatewayId": {},
+ "VpnGatewayId": {},
+ "Options": {
+ "locationName": "options",
+ "type": "structure",
+ "members": {
+ "StaticRoutesOnly": {
+ "locationName": "staticRoutesOnly",
+ "type": "boolean"
+ }
+ }
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "VpnConnection": {
+ "shape": "S6a",
+ "locationName": "vpnConnection"
+ }
+ }
+ }
+ },
+ "CreateVpnConnectionRoute": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "VpnConnectionId",
+ "DestinationCidrBlock"
+ ],
+ "members": {
+ "VpnConnectionId": {},
+ "DestinationCidrBlock": {}
+ }
+ }
+ },
+ "CreateVpnGateway": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Type"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "Type": {},
+ "AvailabilityZone": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "VpnGateway": {
+ "shape": "S6m",
+ "locationName": "vpnGateway"
+ }
+ }
+ }
+ },
+ "DeleteCustomerGateway": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "CustomerGatewayId"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "CustomerGatewayId": {}
+ }
+ }
+ },
+ "DeleteDhcpOptions": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DhcpOptionsId"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "DhcpOptionsId": {}
+ }
+ }
+ },
+ "DeleteFlowLogs": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "FlowLogIds"
+ ],
+ "members": {
+ "FlowLogIds": {
+ "shape": "S26",
+ "locationName": "FlowLogId"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Unsuccessful": {
+ "shape": "S38",
+ "locationName": "unsuccessful"
+ }
+ }
+ }
+ },
+ "DeleteInternetGateway": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "InternetGatewayId"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "InternetGatewayId": {
+ "locationName": "internetGatewayId"
+ }
+ }
+ }
+ },
+ "DeleteKeyPair": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "KeyName"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "KeyName": {}
+ }
+ }
+ },
+ "DeleteNatGateway": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "NatGatewayId"
+ ],
+ "members": {
+ "NatGatewayId": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "NatGatewayId": {
+ "locationName": "natGatewayId"
+ }
+ }
+ }
+ },
+ "DeleteNetworkAcl": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "NetworkAclId"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "NetworkAclId": {
+ "locationName": "networkAclId"
+ }
+ }
+ }
+ },
+ "DeleteNetworkAclEntry": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "NetworkAclId",
+ "RuleNumber",
+ "Egress"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "NetworkAclId": {
+ "locationName": "networkAclId"
+ },
+ "RuleNumber": {
+ "locationName": "ruleNumber",
+ "type": "integer"
+ },
+ "Egress": {
+ "locationName": "egress",
+ "type": "boolean"
+ }
+ }
+ }
+ },
+ "DeleteNetworkInterface": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "NetworkInterfaceId"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "NetworkInterfaceId": {
+ "locationName": "networkInterfaceId"
+ }
+ }
+ }
+ },
+ "DeletePlacementGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "GroupName"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "GroupName": {
+ "locationName": "groupName"
+ }
+ }
+ }
+ },
+ "DeleteRoute": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "RouteTableId",
+ "DestinationCidrBlock"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "RouteTableId": {
+ "locationName": "routeTableId"
+ },
+ "DestinationCidrBlock": {
+ "locationName": "destinationCidrBlock"
+ }
+ }
+ }
+ },
+ "DeleteRouteTable": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "RouteTableId"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "RouteTableId": {
+ "locationName": "routeTableId"
+ }
+ }
+ }
+ },
+ "DeleteSecurityGroup": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "GroupName": {},
+ "GroupId": {}
+ }
+ }
+ },
+ "DeleteSnapshot": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "SnapshotId"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "SnapshotId": {}
+ }
+ }
+ },
+ "DeleteSpotDatafeedSubscription": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ }
+ }
+ }
+ },
+ "DeleteSubnet": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "SubnetId"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "SubnetId": {}
+ }
+ }
+ },
+ "DeleteTags": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Resources"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "Resources": {
+ "shape": "S5r",
+ "locationName": "resourceId"
+ },
+ "Tags": {
+ "shape": "Sa",
+ "locationName": "tag"
+ }
+ }
+ }
+ },
+ "DeleteVolume": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "VolumeId"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "VolumeId": {}
+ }
+ }
+ },
+ "DeleteVpc": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "VpcId"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "VpcId": {}
+ }
+ }
+ },
+ "DeleteVpcEndpoints": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "VpcEndpointIds"
+ ],
+ "members": {
+ "DryRun": {
+ "type": "boolean"
+ },
+ "VpcEndpointIds": {
+ "shape": "S26",
+ "locationName": "VpcEndpointId"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Unsuccessful": {
+ "shape": "S38",
+ "locationName": "unsuccessful"
+ }
+ }
+ }
+ },
+ "DeleteVpcPeeringConnection": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "VpcPeeringConnectionId"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "VpcPeeringConnectionId": {
+ "locationName": "vpcPeeringConnectionId"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Return": {
+ "locationName": "return",
+ "type": "boolean"
+ }
+ }
+ }
+ },
+ "DeleteVpnConnection": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "VpnConnectionId"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "VpnConnectionId": {}
+ }
+ }
+ },
+ "DeleteVpnConnectionRoute": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "VpnConnectionId",
+ "DestinationCidrBlock"
+ ],
+ "members": {
+ "VpnConnectionId": {},
+ "DestinationCidrBlock": {}
+ }
+ }
+ },
+ "DeleteVpnGateway": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "VpnGatewayId"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "VpnGatewayId": {}
+ }
+ }
+ },
+ "DeregisterImage": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ImageId"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "ImageId": {}
+ }
+ }
+ },
+ "DescribeAccountAttributes": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "AttributeNames": {
+ "locationName": "attributeName",
+ "type": "list",
+ "member": {
+ "locationName": "attributeName"
+ }
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "AccountAttributes": {
+ "locationName": "accountAttributeSet",
+ "type": "list",
+ "member": {
+ "locationName": "item",
+ "type": "structure",
+ "members": {
+ "AttributeName": {
+ "locationName": "attributeName"
+ },
+ "AttributeValues": {
+ "locationName": "attributeValueSet",
+ "type": "list",
+ "member": {
+ "locationName": "item",
+ "type": "structure",
+ "members": {
+ "AttributeValue": {
+ "locationName": "attributeValue"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "DescribeAddresses": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "PublicIps": {
+ "locationName": "PublicIp",
+ "type": "list",
+ "member": {
+ "locationName": "PublicIp"
+ }
+ },
+ "Filters": {
+ "shape": "S7r",
+ "locationName": "Filter"
+ },
+ "AllocationIds": {
+ "locationName": "AllocationId",
+ "type": "list",
+ "member": {
+ "locationName": "AllocationId"
+ }
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Addresses": {
+ "locationName": "addressesSet",
+ "type": "list",
+ "member": {
+ "locationName": "item",
+ "type": "structure",
+ "members": {
+ "InstanceId": {
+ "locationName": "instanceId"
+ },
+ "PublicIp": {
+ "locationName": "publicIp"
+ },
+ "AllocationId": {
+ "locationName": "allocationId"
+ },
+ "AssociationId": {
+ "locationName": "associationId"
+ },
+ "Domain": {
+ "locationName": "domain"
+ },
+ "NetworkInterfaceId": {
+ "locationName": "networkInterfaceId"
+ },
+ "NetworkInterfaceOwnerId": {
+ "locationName": "networkInterfaceOwnerId"
+ },
+ "PrivateIpAddress": {
+ "locationName": "privateIpAddress"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "DescribeAvailabilityZones": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "ZoneNames": {
+ "locationName": "ZoneName",
+ "type": "list",
+ "member": {
+ "locationName": "ZoneName"
+ }
+ },
+ "Filters": {
+ "shape": "S7r",
+ "locationName": "Filter"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "AvailabilityZones": {
+ "locationName": "availabilityZoneInfo",
+ "type": "list",
+ "member": {
+ "locationName": "item",
+ "type": "structure",
+ "members": {
+ "ZoneName": {
+ "locationName": "zoneName"
+ },
+ "State": {
+ "locationName": "zoneState"
+ },
+ "RegionName": {
+ "locationName": "regionName"
+ },
+ "Messages": {
+ "locationName": "messageSet",
+ "type": "list",
+ "member": {
+ "locationName": "item",
+ "type": "structure",
+ "members": {
+ "Message": {
+ "locationName": "message"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "DescribeBundleTasks": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "BundleIds": {
+ "locationName": "BundleId",
+ "type": "list",
+ "member": {
+ "locationName": "BundleId"
+ }
+ },
+ "Filters": {
+ "shape": "S7r",
+ "locationName": "Filter"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "BundleTasks": {
+ "locationName": "bundleInstanceTasksSet",
+ "type": "list",
+ "member": {
+ "shape": "S1j",
+ "locationName": "item"
+ }
+ }
+ }
+ }
+ },
+ "DescribeClassicLinkInstances": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "InstanceIds": {
+ "shape": "S8a",
+ "locationName": "InstanceId"
+ },
+ "Filters": {
+ "shape": "S7r",
+ "locationName": "Filter"
+ },
+ "NextToken": {
+ "locationName": "nextToken"
+ },
+ "MaxResults": {
+ "locationName": "maxResults",
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Instances": {
+ "locationName": "instancesSet",
+ "type": "list",
+ "member": {
+ "locationName": "item",
+ "type": "structure",
+ "members": {
+ "InstanceId": {
+ "locationName": "instanceId"
+ },
+ "VpcId": {
+ "locationName": "vpcId"
+ },
+ "Groups": {
+ "shape": "S4m",
+ "locationName": "groupSet"
+ },
+ "Tags": {
+ "shape": "Sa",
+ "locationName": "tagSet"
+ }
+ }
+ }
+ },
+ "NextToken": {
+ "locationName": "nextToken"
+ }
+ }
+ }
+ },
+ "DescribeConversionTasks": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "Filters": {
+ "shape": "S7r",
+ "locationName": "filter"
+ },
+ "ConversionTaskIds": {
+ "locationName": "conversionTaskId",
+ "type": "list",
+ "member": {
+ "locationName": "item"
+ }
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "ConversionTasks": {
+ "locationName": "conversionTasks",
+ "type": "list",
+ "member": {
+ "shape": "S8i",
+ "locationName": "item"
+ }
+ }
+ }
+ }
+ },
+ "DescribeCustomerGateways": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "CustomerGatewayIds": {
+ "locationName": "CustomerGatewayId",
+ "type": "list",
+ "member": {
+ "locationName": "CustomerGatewayId"
+ }
+ },
+ "Filters": {
+ "shape": "S7r",
+ "locationName": "Filter"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "CustomerGateways": {
+ "locationName": "customerGatewaySet",
+ "type": "list",
+ "member": {
+ "shape": "S2u",
+ "locationName": "item"
+ }
+ }
+ }
+ }
+ },
+ "DescribeDhcpOptions": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "DhcpOptionsIds": {
+ "locationName": "DhcpOptionsId",
+ "type": "list",
+ "member": {
+ "locationName": "DhcpOptionsId"
+ }
+ },
+ "Filters": {
+ "shape": "S7r",
+ "locationName": "Filter"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "DhcpOptions": {
+ "locationName": "dhcpOptionsSet",
+ "type": "list",
+ "member": {
+ "shape": "S2z",
+ "locationName": "item"
+ }
+ }
+ }
+ }
+ },
+ "DescribeExportTasks": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "ExportTaskIds": {
+ "locationName": "exportTaskId",
+ "type": "list",
+ "member": {
+ "locationName": "ExportTaskId"
+ }
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "ExportTasks": {
+ "locationName": "exportTaskSet",
+ "type": "list",
+ "member": {
+ "shape": "S3n",
+ "locationName": "item"
+ }
+ }
+ }
+ }
+ },
+ "DescribeFlowLogs": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "FlowLogIds": {
+ "shape": "S26",
+ "locationName": "FlowLogId"
+ },
+ "Filter": {
+ "shape": "S7r"
+ },
+ "NextToken": {},
+ "MaxResults": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "FlowLogs": {
+ "locationName": "flowLogSet",
+ "type": "list",
+ "member": {
+ "locationName": "item",
+ "type": "structure",
+ "members": {
+ "CreationTime": {
+ "locationName": "creationTime",
+ "type": "timestamp"
+ },
+ "FlowLogId": {
+ "locationName": "flowLogId"
+ },
+ "FlowLogStatus": {
+ "locationName": "flowLogStatus"
+ },
+ "ResourceId": {
+ "locationName": "resourceId"
+ },
+ "TrafficType": {
+ "locationName": "trafficType"
+ },
+ "LogGroupName": {
+ "locationName": "logGroupName"
+ },
+ "DeliverLogsStatus": {
+ "locationName": "deliverLogsStatus"
+ },
+ "DeliverLogsErrorMessage": {
+ "locationName": "deliverLogsErrorMessage"
+ },
+ "DeliverLogsPermissionArn": {
+ "locationName": "deliverLogsPermissionArn"
+ }
+ }
+ }
+ },
+ "NextToken": {
+ "locationName": "nextToken"
+ }
+ }
+ }
+ },
+ "DescribeHosts": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "HostIds": {
+ "shape": "S98",
+ "locationName": "hostId"
+ },
+ "NextToken": {
+ "locationName": "nextToken"
+ },
+ "MaxResults": {
+ "locationName": "maxResults",
+ "type": "integer"
+ },
+ "Filter": {
+ "shape": "S7r",
+ "locationName": "filter"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Hosts": {
+ "locationName": "hostSet",
+ "type": "list",
+ "member": {
+ "locationName": "item",
+ "type": "structure",
+ "members": {
+ "HostId": {
+ "locationName": "hostId"
+ },
+ "AutoPlacement": {
+ "locationName": "autoPlacement"
+ },
+ "HostReservationId": {
+ "locationName": "hostReservationId"
+ },
+ "ClientToken": {
+ "locationName": "clientToken"
+ },
+ "HostProperties": {
+ "locationName": "hostProperties",
+ "type": "structure",
+ "members": {
+ "Sockets": {
+ "locationName": "sockets",
+ "type": "integer"
+ },
+ "Cores": {
+ "locationName": "cores",
+ "type": "integer"
+ },
+ "TotalVCpus": {
+ "locationName": "totalVCpus",
+ "type": "integer"
+ },
+ "InstanceType": {
+ "locationName": "instanceType"
+ }
+ }
+ },
+ "State": {
+ "locationName": "state"
+ },
+ "AvailabilityZone": {
+ "locationName": "availabilityZone"
+ },
+ "Instances": {
+ "locationName": "instances",
+ "type": "list",
+ "member": {
+ "locationName": "item",
+ "type": "structure",
+ "members": {
+ "InstanceId": {
+ "locationName": "instanceId"
+ },
+ "InstanceType": {
+ "locationName": "instanceType"
+ }
+ }
+ }
+ },
+ "AvailableCapacity": {
+ "locationName": "availableCapacity",
+ "type": "structure",
+ "members": {
+ "AvailableInstanceCapacity": {
+ "locationName": "availableInstanceCapacity",
+ "type": "list",
+ "member": {
+ "locationName": "item",
+ "type": "structure",
+ "members": {
+ "InstanceType": {
+ "locationName": "instanceType"
+ },
+ "AvailableCapacity": {
+ "locationName": "availableCapacity",
+ "type": "integer"
+ },
+ "TotalCapacity": {
+ "locationName": "totalCapacity",
+ "type": "integer"
+ }
+ }
+ }
+ },
+ "AvailableVCpus": {
+ "locationName": "availableVCpus",
+ "type": "integer"
+ }
+ }
+ }
+ }
+ }
+ },
+ "NextToken": {
+ "locationName": "nextToken"
+ }
+ }
+ }
+ },
+ "DescribeIdFormat": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "Resource": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Statuses": {
+ "locationName": "statusSet",
+ "type": "list",
+ "member": {
+ "locationName": "item",
+ "type": "structure",
+ "members": {
+ "Resource": {
+ "locationName": "resource"
+ },
+ "UseLongIds": {
+ "locationName": "useLongIds",
+ "type": "boolean"
+ },
+ "Deadline": {
+ "locationName": "deadline",
+ "type": "timestamp"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "DescribeImageAttribute": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ImageId",
+ "Attribute"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "ImageId": {},
+ "Attribute": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "ImageId": {
+ "locationName": "imageId"
+ },
+ "LaunchPermissions": {
+ "shape": "S9q",
+ "locationName": "launchPermission"
+ },
+ "ProductCodes": {
+ "shape": "S9t",
+ "locationName": "productCodes"
+ },
+ "KernelId": {
+ "shape": "S33",
+ "locationName": "kernel"
+ },
+ "RamdiskId": {
+ "shape": "S33",
+ "locationName": "ramdisk"
+ },
+ "Description": {
+ "shape": "S33",
+ "locationName": "description"
+ },
+ "SriovNetSupport": {
+ "shape": "S33",
+ "locationName": "sriovNetSupport"
+ },
+ "BlockDeviceMappings": {
+ "shape": "S9w",
+ "locationName": "blockDeviceMapping"
+ }
+ }
+ }
+ },
+ "DescribeImages": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "ImageIds": {
+ "locationName": "ImageId",
+ "type": "list",
+ "member": {
+ "locationName": "ImageId"
+ }
+ },
+ "Owners": {
+ "shape": "S9z",
+ "locationName": "Owner"
+ },
+ "ExecutableUsers": {
+ "locationName": "ExecutableBy",
+ "type": "list",
+ "member": {
+ "locationName": "ExecutableBy"
+ }
+ },
+ "Filters": {
+ "shape": "S7r",
+ "locationName": "Filter"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Images": {
+ "locationName": "imagesSet",
+ "type": "list",
+ "member": {
+ "locationName": "item",
+ "type": "structure",
+ "members": {
+ "ImageId": {
+ "locationName": "imageId"
+ },
+ "ImageLocation": {
+ "locationName": "imageLocation"
+ },
+ "State": {
+ "locationName": "imageState"
+ },
+ "OwnerId": {
+ "locationName": "imageOwnerId"
+ },
+ "CreationDate": {
+ "locationName": "creationDate"
+ },
+ "Public": {
+ "locationName": "isPublic",
+ "type": "boolean"
+ },
+ "ProductCodes": {
+ "shape": "S9t",
+ "locationName": "productCodes"
+ },
+ "Architecture": {
+ "locationName": "architecture"
+ },
+ "ImageType": {
+ "locationName": "imageType"
+ },
+ "KernelId": {
+ "locationName": "kernelId"
+ },
+ "RamdiskId": {
+ "locationName": "ramdiskId"
+ },
+ "Platform": {
+ "locationName": "platform"
+ },
+ "SriovNetSupport": {
+ "locationName": "sriovNetSupport"
+ },
+ "StateReason": {
+ "shape": "Sa7",
+ "locationName": "stateReason"
+ },
+ "ImageOwnerAlias": {
+ "locationName": "imageOwnerAlias"
+ },
+ "Name": {
+ "locationName": "name"
+ },
+ "Description": {
+ "locationName": "description"
+ },
+ "RootDeviceType": {
+ "locationName": "rootDeviceType"
+ },
+ "RootDeviceName": {
+ "locationName": "rootDeviceName"
+ },
+ "BlockDeviceMappings": {
+ "shape": "S9w",
+ "locationName": "blockDeviceMapping"
+ },
+ "VirtualizationType": {
+ "locationName": "virtualizationType"
+ },
+ "Tags": {
+ "shape": "Sa",
+ "locationName": "tagSet"
+ },
+ "Hypervisor": {
+ "locationName": "hypervisor"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "DescribeImportImageTasks": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DryRun": {
+ "type": "boolean"
+ },
+ "ImportTaskIds": {
+ "shape": "Sac",
+ "locationName": "ImportTaskId"
+ },
+ "NextToken": {},
+ "MaxResults": {
+ "type": "integer"
+ },
+ "Filters": {
+ "shape": "S7r"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "ImportImageTasks": {
+ "locationName": "importImageTaskSet",
+ "type": "list",
+ "member": {
+ "locationName": "item",
+ "type": "structure",
+ "members": {
+ "ImportTaskId": {
+ "locationName": "importTaskId"
+ },
+ "Architecture": {
+ "locationName": "architecture"
+ },
+ "LicenseType": {
+ "locationName": "licenseType"
+ },
+ "Platform": {
+ "locationName": "platform"
+ },
+ "Hypervisor": {
+ "locationName": "hypervisor"
+ },
+ "Description": {
+ "locationName": "description"
+ },
+ "SnapshotDetails": {
+ "shape": "Sag",
+ "locationName": "snapshotDetailSet"
+ },
+ "ImageId": {
+ "locationName": "imageId"
+ },
+ "Progress": {
+ "locationName": "progress"
+ },
+ "StatusMessage": {
+ "locationName": "statusMessage"
+ },
+ "Status": {
+ "locationName": "status"
+ }
+ }
+ }
+ },
+ "NextToken": {
+ "locationName": "nextToken"
+ }
+ }
+ }
+ },
+ "DescribeImportSnapshotTasks": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DryRun": {
+ "type": "boolean"
+ },
+ "ImportTaskIds": {
+ "shape": "Sac",
+ "locationName": "ImportTaskId"
+ },
+ "NextToken": {},
+ "MaxResults": {
+ "type": "integer"
+ },
+ "Filters": {
+ "shape": "S7r"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "ImportSnapshotTasks": {
+ "locationName": "importSnapshotTaskSet",
+ "type": "list",
+ "member": {
+ "locationName": "item",
+ "type": "structure",
+ "members": {
+ "ImportTaskId": {
+ "locationName": "importTaskId"
+ },
+ "SnapshotTaskDetail": {
+ "shape": "San",
+ "locationName": "snapshotTaskDetail"
+ },
+ "Description": {
+ "locationName": "description"
+ }
+ }
+ }
+ },
+ "NextToken": {
+ "locationName": "nextToken"
+ }
+ }
+ }
+ },
+ "DescribeInstanceAttribute": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "InstanceId",
+ "Attribute"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "InstanceId": {
+ "locationName": "instanceId"
+ },
+ "Attribute": {
+ "locationName": "attribute"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "InstanceId": {
+ "locationName": "instanceId"
+ },
+ "InstanceType": {
+ "shape": "S33",
+ "locationName": "instanceType"
+ },
+ "KernelId": {
+ "shape": "S33",
+ "locationName": "kernel"
+ },
+ "RamdiskId": {
+ "shape": "S33",
+ "locationName": "ramdisk"
+ },
+ "UserData": {
+ "shape": "S33",
+ "locationName": "userData"
+ },
+ "DisableApiTermination": {
+ "shape": "Sar",
+ "locationName": "disableApiTermination"
+ },
+ "InstanceInitiatedShutdownBehavior": {
+ "shape": "S33",
+ "locationName": "instanceInitiatedShutdownBehavior"
+ },
+ "RootDeviceName": {
+ "shape": "S33",
+ "locationName": "rootDeviceName"
+ },
+ "BlockDeviceMappings": {
+ "shape": "Sas",
+ "locationName": "blockDeviceMapping"
+ },
+ "ProductCodes": {
+ "shape": "S9t",
+ "locationName": "productCodes"
+ },
+ "EbsOptimized": {
+ "shape": "Sar",
+ "locationName": "ebsOptimized"
+ },
+ "SriovNetSupport": {
+ "shape": "S33",
+ "locationName": "sriovNetSupport"
+ },
+ "SourceDestCheck": {
+ "shape": "Sar",
+ "locationName": "sourceDestCheck"
+ },
+ "Groups": {
+ "shape": "S4m",
+ "locationName": "groupSet"
+ }
+ }
+ }
+ },
+ "DescribeInstanceStatus": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "InstanceIds": {
+ "shape": "S8a",
+ "locationName": "InstanceId"
+ },
+ "Filters": {
+ "shape": "S7r",
+ "locationName": "Filter"
+ },
+ "NextToken": {},
+ "MaxResults": {
+ "type": "integer"
+ },
+ "IncludeAllInstances": {
+ "locationName": "includeAllInstances",
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "InstanceStatuses": {
+ "locationName": "instanceStatusSet",
+ "type": "list",
+ "member": {
+ "locationName": "item",
+ "type": "structure",
+ "members": {
+ "InstanceId": {
+ "locationName": "instanceId"
+ },
+ "AvailabilityZone": {
+ "locationName": "availabilityZone"
+ },
+ "Events": {
+ "locationName": "eventsSet",
+ "type": "list",
+ "member": {
+ "locationName": "item",
+ "type": "structure",
+ "members": {
+ "Code": {
+ "locationName": "code"
+ },
+ "Description": {
+ "locationName": "description"
+ },
+ "NotBefore": {
+ "locationName": "notBefore",
+ "type": "timestamp"
+ },
+ "NotAfter": {
+ "locationName": "notAfter",
+ "type": "timestamp"
+ }
+ }
+ }
+ },
+ "InstanceState": {
+ "shape": "Sb2",
+ "locationName": "instanceState"
+ },
+ "SystemStatus": {
+ "shape": "Sb4",
+ "locationName": "systemStatus"
+ },
+ "InstanceStatus": {
+ "shape": "Sb4",
+ "locationName": "instanceStatus"
+ }
+ }
+ }
+ },
+ "NextToken": {
+ "locationName": "nextToken"
+ }
+ }
+ }
+ },
+ "DescribeInstances": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "InstanceIds": {
+ "shape": "S8a",
+ "locationName": "InstanceId"
+ },
+ "Filters": {
+ "shape": "S7r",
+ "locationName": "Filter"
+ },
+ "NextToken": {
+ "locationName": "nextToken"
+ },
+ "MaxResults": {
+ "locationName": "maxResults",
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Reservations": {
+ "locationName": "reservationSet",
+ "type": "list",
+ "member": {
+ "shape": "Sbd",
+ "locationName": "item"
+ }
+ },
+ "NextToken": {
+ "locationName": "nextToken"
+ }
+ }
+ }
+ },
+ "DescribeInternetGateways": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "InternetGatewayIds": {
+ "shape": "S26",
+ "locationName": "internetGatewayId"
+ },
+ "Filters": {
+ "shape": "S7r",
+ "locationName": "Filter"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "InternetGateways": {
+ "locationName": "internetGatewaySet",
+ "type": "list",
+ "member": {
+ "shape": "S3t",
+ "locationName": "item"
+ }
+ }
+ }
+ }
+ },
+ "DescribeKeyPairs": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "KeyNames": {
+ "locationName": "KeyName",
+ "type": "list",
+ "member": {
+ "locationName": "KeyName"
+ }
+ },
+ "Filters": {
+ "shape": "S7r",
+ "locationName": "Filter"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "KeyPairs": {
+ "locationName": "keySet",
+ "type": "list",
+ "member": {
+ "locationName": "item",
+ "type": "structure",
+ "members": {
+ "KeyName": {
+ "locationName": "keyName"
+ },
+ "KeyFingerprint": {
+ "locationName": "keyFingerprint"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "DescribeMovingAddresses": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "PublicIps": {
+ "shape": "S26",
+ "locationName": "publicIp"
+ },
+ "NextToken": {
+ "locationName": "nextToken"
+ },
+ "Filters": {
+ "shape": "S7r",
+ "locationName": "filter"
+ },
+ "MaxResults": {
+ "locationName": "maxResults",
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "MovingAddressStatuses": {
+ "locationName": "movingAddressStatusSet",
+ "type": "list",
+ "member": {
+ "locationName": "item",
+ "type": "structure",
+ "members": {
+ "PublicIp": {
+ "locationName": "publicIp"
+ },
+ "MoveStatus": {
+ "locationName": "moveStatus"
+ }
+ }
+ }
+ },
+ "NextToken": {
+ "locationName": "nextToken"
+ }
+ }
+ }
+ },
+ "DescribeNatGateways": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "NatGatewayIds": {
+ "shape": "S26",
+ "locationName": "NatGatewayId"
+ },
+ "Filter": {
+ "shape": "S7r"
+ },
+ "MaxResults": {
+ "type": "integer"
+ },
+ "NextToken": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "NatGateways": {
+ "locationName": "natGatewaySet",
+ "type": "list",
+ "member": {
+ "shape": "S40",
+ "locationName": "item"
+ }
+ },
+ "NextToken": {
+ "locationName": "nextToken"
+ }
+ }
+ }
+ },
+ "DescribeNetworkAcls": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "NetworkAclIds": {
+ "shape": "S26",
+ "locationName": "NetworkAclId"
+ },
+ "Filters": {
+ "shape": "S7r",
+ "locationName": "Filter"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "NetworkAcls": {
+ "locationName": "networkAclSet",
+ "type": "list",
+ "member": {
+ "shape": "S46",
+ "locationName": "item"
+ }
+ }
+ }
+ }
+ },
+ "DescribeNetworkInterfaceAttribute": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "NetworkInterfaceId"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "NetworkInterfaceId": {
+ "locationName": "networkInterfaceId"
+ },
+ "Attribute": {
+ "locationName": "attribute"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "NetworkInterfaceId": {
+ "locationName": "networkInterfaceId"
+ },
+ "Description": {
+ "shape": "S33",
+ "locationName": "description"
+ },
+ "SourceDestCheck": {
+ "shape": "Sar",
+ "locationName": "sourceDestCheck"
+ },
+ "Groups": {
+ "shape": "S4m",
+ "locationName": "groupSet"
+ },
+ "Attachment": {
+ "shape": "S4o",
+ "locationName": "attachment"
+ }
+ }
+ }
+ },
+ "DescribeNetworkInterfaces": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "NetworkInterfaceIds": {
+ "locationName": "NetworkInterfaceId",
+ "type": "list",
+ "member": {
+ "locationName": "item"
+ }
+ },
+ "Filters": {
+ "shape": "S7r",
+ "locationName": "filter"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "NetworkInterfaces": {
+ "locationName": "networkInterfaceSet",
+ "type": "list",
+ "member": {
+ "shape": "S4k",
+ "locationName": "item"
+ }
+ }
+ }
+ }
+ },
+ "DescribePlacementGroups": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "GroupNames": {
+ "locationName": "groupName",
+ "type": "list",
+ "member": {}
+ },
+ "Filters": {
+ "shape": "S7r",
+ "locationName": "Filter"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "PlacementGroups": {
+ "locationName": "placementGroupSet",
+ "type": "list",
+ "member": {
+ "locationName": "item",
+ "type": "structure",
+ "members": {
+ "GroupName": {
+ "locationName": "groupName"
+ },
+ "Strategy": {
+ "locationName": "strategy"
+ },
+ "State": {
+ "locationName": "state"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "DescribePrefixLists": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DryRun": {
+ "type": "boolean"
+ },
+ "PrefixListIds": {
+ "shape": "S26",
+ "locationName": "PrefixListId"
+ },
+ "Filters": {
+ "shape": "S7r",
+ "locationName": "Filter"
+ },
+ "MaxResults": {
+ "type": "integer"
+ },
+ "NextToken": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "PrefixLists": {
+ "locationName": "prefixListSet",
+ "type": "list",
+ "member": {
+ "locationName": "item",
+ "type": "structure",
+ "members": {
+ "PrefixListId": {
+ "locationName": "prefixListId"
+ },
+ "PrefixListName": {
+ "locationName": "prefixListName"
+ },
+ "Cidrs": {
+ "shape": "S26",
+ "locationName": "cidrSet"
+ }
+ }
+ }
+ },
+ "NextToken": {
+ "locationName": "nextToken"
+ }
+ }
+ }
+ },
+ "DescribeRegions": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "RegionNames": {
+ "locationName": "RegionName",
+ "type": "list",
+ "member": {
+ "locationName": "RegionName"
+ }
+ },
+ "Filters": {
+ "shape": "S7r",
+ "locationName": "Filter"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Regions": {
+ "locationName": "regionInfo",
+ "type": "list",
+ "member": {
+ "locationName": "item",
+ "type": "structure",
+ "members": {
+ "RegionName": {
+ "locationName": "regionName"
+ },
+ "Endpoint": {
+ "locationName": "regionEndpoint"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "DescribeReservedInstances": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "ReservedInstancesIds": {
+ "shape": "Scy",
+ "locationName": "ReservedInstancesId"
+ },
+ "Filters": {
+ "shape": "S7r",
+ "locationName": "Filter"
+ },
+ "OfferingType": {
+ "locationName": "offeringType"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "ReservedInstances": {
+ "locationName": "reservedInstancesSet",
+ "type": "list",
+ "member": {
+ "locationName": "item",
+ "type": "structure",
+ "members": {
+ "ReservedInstancesId": {
+ "locationName": "reservedInstancesId"
+ },
+ "InstanceType": {
+ "locationName": "instanceType"
+ },
+ "AvailabilityZone": {
+ "locationName": "availabilityZone"
+ },
+ "Start": {
+ "locationName": "start",
+ "type": "timestamp"
+ },
+ "End": {
+ "locationName": "end",
+ "type": "timestamp"
+ },
+ "Duration": {
+ "locationName": "duration",
+ "type": "long"
+ },
+ "UsagePrice": {
+ "locationName": "usagePrice",
+ "type": "float"
+ },
+ "FixedPrice": {
+ "locationName": "fixedPrice",
+ "type": "float"
+ },
+ "InstanceCount": {
+ "locationName": "instanceCount",
+ "type": "integer"
+ },
+ "ProductDescription": {
+ "locationName": "productDescription"
+ },
+ "State": {
+ "locationName": "state"
+ },
+ "Tags": {
+ "shape": "Sa",
+ "locationName": "tagSet"
+ },
+ "InstanceTenancy": {
+ "locationName": "instanceTenancy"
+ },
+ "CurrencyCode": {
+ "locationName": "currencyCode"
+ },
+ "OfferingType": {
+ "locationName": "offeringType"
+ },
+ "RecurringCharges": {
+ "shape": "Sd6",
+ "locationName": "recurringCharges"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "DescribeReservedInstancesListings": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "ReservedInstancesId": {
+ "locationName": "reservedInstancesId"
+ },
+ "ReservedInstancesListingId": {
+ "locationName": "reservedInstancesListingId"
+ },
+ "Filters": {
+ "shape": "S7r",
+ "locationName": "filters"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "ReservedInstancesListings": {
+ "shape": "S1u",
+ "locationName": "reservedInstancesListingsSet"
+ }
+ }
+ }
+ },
+ "DescribeReservedInstancesModifications": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "ReservedInstancesModificationIds": {
+ "locationName": "ReservedInstancesModificationId",
+ "type": "list",
+ "member": {
+ "locationName": "ReservedInstancesModificationId"
+ }
+ },
+ "NextToken": {
+ "locationName": "nextToken"
+ },
+ "Filters": {
+ "shape": "S7r",
+ "locationName": "Filter"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "ReservedInstancesModifications": {
+ "locationName": "reservedInstancesModificationsSet",
+ "type": "list",
+ "member": {
+ "locationName": "item",
+ "type": "structure",
+ "members": {
+ "ReservedInstancesModificationId": {
+ "locationName": "reservedInstancesModificationId"
+ },
+ "ReservedInstancesIds": {
+ "locationName": "reservedInstancesSet",
+ "type": "list",
+ "member": {
+ "locationName": "item",
+ "type": "structure",
+ "members": {
+ "ReservedInstancesId": {
+ "locationName": "reservedInstancesId"
+ }
+ }
+ }
+ },
+ "ModificationResults": {
+ "locationName": "modificationResultSet",
+ "type": "list",
+ "member": {
+ "locationName": "item",
+ "type": "structure",
+ "members": {
+ "ReservedInstancesId": {
+ "locationName": "reservedInstancesId"
+ },
+ "TargetConfiguration": {
+ "shape": "Sdk",
+ "locationName": "targetConfiguration"
+ }
+ }
+ }
+ },
+ "CreateDate": {
+ "locationName": "createDate",
+ "type": "timestamp"
+ },
+ "UpdateDate": {
+ "locationName": "updateDate",
+ "type": "timestamp"
+ },
+ "EffectiveDate": {
+ "locationName": "effectiveDate",
+ "type": "timestamp"
+ },
+ "Status": {
+ "locationName": "status"
+ },
+ "StatusMessage": {
+ "locationName": "statusMessage"
+ },
+ "ClientToken": {
+ "locationName": "clientToken"
+ }
+ }
+ }
+ },
+ "NextToken": {
+ "locationName": "nextToken"
+ }
+ }
+ }
+ },
+ "DescribeReservedInstancesOfferings": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "ReservedInstancesOfferingIds": {
+ "locationName": "ReservedInstancesOfferingId",
+ "type": "list",
+ "member": {}
+ },
+ "InstanceType": {},
+ "AvailabilityZone": {},
+ "ProductDescription": {},
+ "Filters": {
+ "shape": "S7r",
+ "locationName": "Filter"
+ },
+ "InstanceTenancy": {
+ "locationName": "instanceTenancy"
+ },
+ "OfferingType": {
+ "locationName": "offeringType"
+ },
+ "NextToken": {
+ "locationName": "nextToken"
+ },
+ "MaxResults": {
+ "locationName": "maxResults",
+ "type": "integer"
+ },
+ "IncludeMarketplace": {
+ "type": "boolean"
+ },
+ "MinDuration": {
+ "type": "long"
+ },
+ "MaxDuration": {
+ "type": "long"
+ },
+ "MaxInstanceCount": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "ReservedInstancesOfferings": {
+ "locationName": "reservedInstancesOfferingsSet",
+ "type": "list",
+ "member": {
+ "locationName": "item",
+ "type": "structure",
+ "members": {
+ "ReservedInstancesOfferingId": {
+ "locationName": "reservedInstancesOfferingId"
+ },
+ "InstanceType": {
+ "locationName": "instanceType"
+ },
+ "AvailabilityZone": {
+ "locationName": "availabilityZone"
+ },
+ "Duration": {
+ "locationName": "duration",
+ "type": "long"
+ },
+ "UsagePrice": {
+ "locationName": "usagePrice",
+ "type": "float"
+ },
+ "FixedPrice": {
+ "locationName": "fixedPrice",
+ "type": "float"
+ },
+ "ProductDescription": {
+ "locationName": "productDescription"
+ },
+ "InstanceTenancy": {
+ "locationName": "instanceTenancy"
+ },
+ "CurrencyCode": {
+ "locationName": "currencyCode"
+ },
+ "OfferingType": {
+ "locationName": "offeringType"
+ },
+ "RecurringCharges": {
+ "shape": "Sd6",
+ "locationName": "recurringCharges"
+ },
+ "Marketplace": {
+ "locationName": "marketplace",
+ "type": "boolean"
+ },
+ "PricingDetails": {
+ "locationName": "pricingDetailsSet",
+ "type": "list",
+ "member": {
+ "locationName": "item",
+ "type": "structure",
+ "members": {
+ "Price": {
+ "locationName": "price",
+ "type": "double"
+ },
+ "Count": {
+ "locationName": "count",
+ "type": "integer"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "NextToken": {
+ "locationName": "nextToken"
+ }
+ }
+ }
+ },
+ "DescribeRouteTables": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "RouteTableIds": {
+ "shape": "S26",
+ "locationName": "RouteTableId"
+ },
+ "Filters": {
+ "shape": "S7r",
+ "locationName": "Filter"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "RouteTables": {
+ "locationName": "routeTableSet",
+ "type": "list",
+ "member": {
+ "shape": "S53",
+ "locationName": "item"
+ }
+ }
+ }
+ }
+ },
+ "DescribeScheduledInstanceAvailability": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Recurrence",
+ "FirstSlotStartTimeRange"
+ ],
+ "members": {
+ "DryRun": {
+ "type": "boolean"
+ },
+ "Recurrence": {
+ "type": "structure",
+ "members": {
+ "Frequency": {},
+ "Interval": {
+ "type": "integer"
+ },
+ "OccurrenceDays": {
+ "locationName": "OccurrenceDay",
+ "type": "list",
+ "member": {
+ "locationName": "OccurenceDay",
+ "type": "integer"
+ }
+ },
+ "OccurrenceRelativeToEnd": {
+ "type": "boolean"
+ },
+ "OccurrenceUnit": {}
+ }
+ },
+ "FirstSlotStartTimeRange": {
+ "type": "structure",
+ "required": [
+ "EarliestTime",
+ "LatestTime"
+ ],
+ "members": {
+ "EarliestTime": {
+ "type": "timestamp"
+ },
+ "LatestTime": {
+ "type": "timestamp"
+ }
+ }
+ },
+ "MinSlotDurationInHours": {
+ "type": "integer"
+ },
+ "MaxSlotDurationInHours": {
+ "type": "integer"
+ },
+ "NextToken": {},
+ "MaxResults": {
+ "type": "integer"
+ },
+ "Filters": {
+ "shape": "S7r",
+ "locationName": "Filter"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "NextToken": {
+ "locationName": "nextToken"
+ },
+ "ScheduledInstanceAvailabilitySet": {
+ "locationName": "scheduledInstanceAvailabilitySet",
+ "type": "list",
+ "member": {
+ "locationName": "item",
+ "type": "structure",
+ "members": {
+ "InstanceType": {
+ "locationName": "instanceType"
+ },
+ "Platform": {
+ "locationName": "platform"
+ },
+ "NetworkPlatform": {
+ "locationName": "networkPlatform"
+ },
+ "AvailabilityZone": {
+ "locationName": "availabilityZone"
+ },
+ "PurchaseToken": {
+ "locationName": "purchaseToken"
+ },
+ "SlotDurationInHours": {
+ "locationName": "slotDurationInHours",
+ "type": "integer"
+ },
+ "Recurrence": {
+ "shape": "Se2",
+ "locationName": "recurrence"
+ },
+ "FirstSlotStartTime": {
+ "locationName": "firstSlotStartTime",
+ "type": "timestamp"
+ },
+ "HourlyPrice": {
+ "locationName": "hourlyPrice"
+ },
+ "TotalScheduledInstanceHours": {
+ "locationName": "totalScheduledInstanceHours",
+ "type": "integer"
+ },
+ "AvailableInstanceCount": {
+ "locationName": "availableInstanceCount",
+ "type": "integer"
+ },
+ "MinTermDurationInDays": {
+ "locationName": "minTermDurationInDays",
+ "type": "integer"
+ },
+ "MaxTermDurationInDays": {
+ "locationName": "maxTermDurationInDays",
+ "type": "integer"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "DescribeScheduledInstances": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DryRun": {
+ "type": "boolean"
+ },
+ "ScheduledInstanceIds": {
+ "locationName": "ScheduledInstanceId",
+ "type": "list",
+ "member": {
+ "locationName": "ScheduledInstanceId"
+ }
+ },
+ "SlotStartTimeRange": {
+ "type": "structure",
+ "members": {
+ "EarliestTime": {
+ "type": "timestamp"
+ },
+ "LatestTime": {
+ "type": "timestamp"
+ }
+ }
+ },
+ "NextToken": {},
+ "MaxResults": {
+ "type": "integer"
+ },
+ "Filters": {
+ "shape": "S7r",
+ "locationName": "Filter"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "NextToken": {
+ "locationName": "nextToken"
+ },
+ "ScheduledInstanceSet": {
+ "locationName": "scheduledInstanceSet",
+ "type": "list",
+ "member": {
+ "shape": "Se9",
+ "locationName": "item"
+ }
+ }
+ }
+ }
+ },
+ "DescribeSecurityGroups": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "GroupNames": {
+ "shape": "Seb",
+ "locationName": "GroupName"
+ },
+ "GroupIds": {
+ "shape": "Ss",
+ "locationName": "GroupId"
+ },
+ "Filters": {
+ "shape": "S7r",
+ "locationName": "Filter"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "SecurityGroups": {
+ "locationName": "securityGroupInfo",
+ "type": "list",
+ "member": {
+ "locationName": "item",
+ "type": "structure",
+ "members": {
+ "OwnerId": {
+ "locationName": "ownerId"
+ },
+ "GroupName": {
+ "locationName": "groupName"
+ },
+ "GroupId": {
+ "locationName": "groupId"
+ },
+ "Description": {
+ "locationName": "groupDescription"
+ },
+ "IpPermissions": {
+ "shape": "S15",
+ "locationName": "ipPermissions"
+ },
+ "IpPermissionsEgress": {
+ "shape": "S15",
+ "locationName": "ipPermissionsEgress"
+ },
+ "VpcId": {
+ "locationName": "vpcId"
+ },
+ "Tags": {
+ "shape": "Sa",
+ "locationName": "tagSet"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "DescribeSnapshotAttribute": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "SnapshotId",
+ "Attribute"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "SnapshotId": {},
+ "Attribute": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "SnapshotId": {
+ "locationName": "snapshotId"
+ },
+ "CreateVolumePermissions": {
+ "shape": "Sei",
+ "locationName": "createVolumePermission"
+ },
+ "ProductCodes": {
+ "shape": "S9t",
+ "locationName": "productCodes"
+ }
+ }
+ }
+ },
+ "DescribeSnapshots": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "SnapshotIds": {
+ "locationName": "SnapshotId",
+ "type": "list",
+ "member": {
+ "locationName": "SnapshotId"
+ }
+ },
+ "OwnerIds": {
+ "shape": "S9z",
+ "locationName": "Owner"
+ },
+ "RestorableByUserIds": {
+ "locationName": "RestorableBy",
+ "type": "list",
+ "member": {}
+ },
+ "Filters": {
+ "shape": "S7r",
+ "locationName": "Filter"
+ },
+ "NextToken": {},
+ "MaxResults": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Snapshots": {
+ "locationName": "snapshotSet",
+ "type": "list",
+ "member": {
+ "shape": "S5f",
+ "locationName": "item"
+ }
+ },
+ "NextToken": {
+ "locationName": "nextToken"
+ }
+ }
+ }
+ },
+ "DescribeSpotDatafeedSubscription": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "SpotDatafeedSubscription": {
+ "shape": "S5j",
+ "locationName": "spotDatafeedSubscription"
+ }
+ }
+ }
+ },
+ "DescribeSpotFleetInstances": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "SpotFleetRequestId"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "SpotFleetRequestId": {
+ "locationName": "spotFleetRequestId"
+ },
+ "NextToken": {
+ "locationName": "nextToken"
+ },
+ "MaxResults": {
+ "locationName": "maxResults",
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "SpotFleetRequestId",
+ "ActiveInstances"
+ ],
+ "members": {
+ "SpotFleetRequestId": {
+ "locationName": "spotFleetRequestId"
+ },
+ "ActiveInstances": {
+ "locationName": "activeInstanceSet",
+ "type": "list",
+ "member": {
+ "locationName": "item",
+ "type": "structure",
+ "members": {
+ "InstanceType": {
+ "locationName": "instanceType"
+ },
+ "InstanceId": {
+ "locationName": "instanceId"
+ },
+ "SpotInstanceRequestId": {
+ "locationName": "spotInstanceRequestId"
+ }
+ }
+ }
+ },
+ "NextToken": {
+ "locationName": "nextToken"
+ }
+ }
+ }
+ },
+ "DescribeSpotFleetRequestHistory": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "SpotFleetRequestId",
+ "StartTime"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "SpotFleetRequestId": {
+ "locationName": "spotFleetRequestId"
+ },
+ "EventType": {
+ "locationName": "eventType"
+ },
+ "StartTime": {
+ "locationName": "startTime",
+ "type": "timestamp"
+ },
+ "NextToken": {
+ "locationName": "nextToken"
+ },
+ "MaxResults": {
+ "locationName": "maxResults",
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "SpotFleetRequestId",
+ "StartTime",
+ "LastEvaluatedTime",
+ "HistoryRecords"
+ ],
+ "members": {
+ "SpotFleetRequestId": {
+ "locationName": "spotFleetRequestId"
+ },
+ "StartTime": {
+ "locationName": "startTime",
+ "type": "timestamp"
+ },
+ "LastEvaluatedTime": {
+ "locationName": "lastEvaluatedTime",
+ "type": "timestamp"
+ },
+ "HistoryRecords": {
+ "locationName": "historyRecordSet",
+ "type": "list",
+ "member": {
+ "locationName": "item",
+ "type": "structure",
+ "required": [
+ "Timestamp",
+ "EventType",
+ "EventInformation"
+ ],
+ "members": {
+ "Timestamp": {
+ "locationName": "timestamp",
+ "type": "timestamp"
+ },
+ "EventType": {
+ "locationName": "eventType"
+ },
+ "EventInformation": {
+ "locationName": "eventInformation",
+ "type": "structure",
+ "members": {
+ "InstanceId": {
+ "locationName": "instanceId"
+ },
+ "EventSubType": {
+ "locationName": "eventSubType"
+ },
+ "EventDescription": {
+ "locationName": "eventDescription"
+ }
+ }
+ }
+ }
+ }
+ },
+ "NextToken": {
+ "locationName": "nextToken"
+ }
+ }
+ }
+ },
+ "DescribeSpotFleetRequests": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "SpotFleetRequestIds": {
+ "shape": "S26",
+ "locationName": "spotFleetRequestId"
+ },
+ "NextToken": {
+ "locationName": "nextToken"
+ },
+ "MaxResults": {
+ "locationName": "maxResults",
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "SpotFleetRequestConfigs"
+ ],
+ "members": {
+ "SpotFleetRequestConfigs": {
+ "locationName": "spotFleetRequestConfigSet",
+ "type": "list",
+ "member": {
+ "locationName": "item",
+ "type": "structure",
+ "required": [
+ "SpotFleetRequestId",
+ "SpotFleetRequestState",
+ "SpotFleetRequestConfig",
+ "CreateTime"
+ ],
+ "members": {
+ "SpotFleetRequestId": {
+ "locationName": "spotFleetRequestId"
+ },
+ "SpotFleetRequestState": {
+ "locationName": "spotFleetRequestState"
+ },
+ "SpotFleetRequestConfig": {
+ "shape": "Sf5",
+ "locationName": "spotFleetRequestConfig"
+ },
+ "CreateTime": {
+ "locationName": "createTime",
+ "type": "timestamp"
+ }
+ }
+ }
+ },
+ "NextToken": {
+ "locationName": "nextToken"
+ }
+ }
+ }
+ },
+ "DescribeSpotInstanceRequests": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "SpotInstanceRequestIds": {
+ "shape": "S2g",
+ "locationName": "SpotInstanceRequestId"
+ },
+ "Filters": {
+ "shape": "S7r",
+ "locationName": "Filter"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "SpotInstanceRequests": {
+ "shape": "Sfh",
+ "locationName": "spotInstanceRequestSet"
+ }
+ }
+ }
+ },
+ "DescribeSpotPriceHistory": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "StartTime": {
+ "locationName": "startTime",
+ "type": "timestamp"
+ },
+ "EndTime": {
+ "locationName": "endTime",
+ "type": "timestamp"
+ },
+ "InstanceTypes": {
+ "locationName": "InstanceType",
+ "type": "list",
+ "member": {}
+ },
+ "ProductDescriptions": {
+ "locationName": "ProductDescription",
+ "type": "list",
+ "member": {}
+ },
+ "Filters": {
+ "shape": "S7r",
+ "locationName": "Filter"
+ },
+ "AvailabilityZone": {
+ "locationName": "availabilityZone"
+ },
+ "MaxResults": {
+ "locationName": "maxResults",
+ "type": "integer"
+ },
+ "NextToken": {
+ "locationName": "nextToken"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "SpotPriceHistory": {
+ "locationName": "spotPriceHistorySet",
+ "type": "list",
+ "member": {
+ "locationName": "item",
+ "type": "structure",
+ "members": {
+ "InstanceType": {
+ "locationName": "instanceType"
+ },
+ "ProductDescription": {
+ "locationName": "productDescription"
+ },
+ "SpotPrice": {
+ "locationName": "spotPrice"
+ },
+ "Timestamp": {
+ "locationName": "timestamp",
+ "type": "timestamp"
+ },
+ "AvailabilityZone": {
+ "locationName": "availabilityZone"
+ }
+ }
+ }
+ },
+ "NextToken": {
+ "locationName": "nextToken"
+ }
+ }
+ }
+ },
+ "DescribeSubnets": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "SubnetIds": {
+ "locationName": "SubnetId",
+ "type": "list",
+ "member": {
+ "locationName": "SubnetId"
+ }
+ },
+ "Filters": {
+ "shape": "S7r",
+ "locationName": "Filter"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Subnets": {
+ "locationName": "subnetSet",
+ "type": "list",
+ "member": {
+ "shape": "S5o",
+ "locationName": "item"
+ }
+ }
+ }
+ }
+ },
+ "DescribeTags": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "Filters": {
+ "shape": "S7r",
+ "locationName": "Filter"
+ },
+ "MaxResults": {
+ "locationName": "maxResults",
+ "type": "integer"
+ },
+ "NextToken": {
+ "locationName": "nextToken"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Tags": {
+ "locationName": "tagSet",
+ "type": "list",
+ "member": {
+ "locationName": "item",
+ "type": "structure",
+ "members": {
+ "ResourceId": {
+ "locationName": "resourceId"
+ },
+ "ResourceType": {
+ "locationName": "resourceType"
+ },
+ "Key": {
+ "locationName": "key"
+ },
+ "Value": {
+ "locationName": "value"
+ }
+ }
+ }
+ },
+ "NextToken": {
+ "locationName": "nextToken"
+ }
+ }
+ }
+ },
+ "DescribeVolumeAttribute": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "VolumeId"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "VolumeId": {},
+ "Attribute": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "VolumeId": {
+ "locationName": "volumeId"
+ },
+ "AutoEnableIO": {
+ "shape": "Sar",
+ "locationName": "autoEnableIO"
+ },
+ "ProductCodes": {
+ "shape": "S9t",
+ "locationName": "productCodes"
+ }
+ }
+ }
+ },
+ "DescribeVolumeStatus": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "VolumeIds": {
+ "shape": "Sg7",
+ "locationName": "VolumeId"
+ },
+ "Filters": {
+ "shape": "S7r",
+ "locationName": "Filter"
+ },
+ "NextToken": {},
+ "MaxResults": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "VolumeStatuses": {
+ "locationName": "volumeStatusSet",
+ "type": "list",
+ "member": {
+ "locationName": "item",
+ "type": "structure",
+ "members": {
+ "VolumeId": {
+ "locationName": "volumeId"
+ },
+ "AvailabilityZone": {
+ "locationName": "availabilityZone"
+ },
+ "VolumeStatus": {
+ "locationName": "volumeStatus",
+ "type": "structure",
+ "members": {
+ "Status": {
+ "locationName": "status"
+ },
+ "Details": {
+ "locationName": "details",
+ "type": "list",
+ "member": {
+ "locationName": "item",
+ "type": "structure",
+ "members": {
+ "Name": {
+ "locationName": "name"
+ },
+ "Status": {
+ "locationName": "status"
+ }
+ }
+ }
+ }
+ }
+ },
+ "Events": {
+ "locationName": "eventsSet",
+ "type": "list",
+ "member": {
+ "locationName": "item",
+ "type": "structure",
+ "members": {
+ "EventType": {
+ "locationName": "eventType"
+ },
+ "Description": {
+ "locationName": "description"
+ },
+ "NotBefore": {
+ "locationName": "notBefore",
+ "type": "timestamp"
+ },
+ "NotAfter": {
+ "locationName": "notAfter",
+ "type": "timestamp"
+ },
+ "EventId": {
+ "locationName": "eventId"
+ }
+ }
+ }
+ },
+ "Actions": {
+ "locationName": "actionsSet",
+ "type": "list",
+ "member": {
+ "locationName": "item",
+ "type": "structure",
+ "members": {
+ "Code": {
+ "locationName": "code"
+ },
+ "Description": {
+ "locationName": "description"
+ },
+ "EventType": {
+ "locationName": "eventType"
+ },
+ "EventId": {
+ "locationName": "eventId"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "NextToken": {
+ "locationName": "nextToken"
+ }
+ }
+ }
+ },
+ "DescribeVolumes": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "VolumeIds": {
+ "shape": "Sg7",
+ "locationName": "VolumeId"
+ },
+ "Filters": {
+ "shape": "S7r",
+ "locationName": "Filter"
+ },
+ "NextToken": {
+ "locationName": "nextToken"
+ },
+ "MaxResults": {
+ "locationName": "maxResults",
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Volumes": {
+ "locationName": "volumeSet",
+ "type": "list",
+ "member": {
+ "shape": "S5t",
+ "locationName": "item"
+ }
+ },
+ "NextToken": {
+ "locationName": "nextToken"
+ }
+ }
+ }
+ },
+ "DescribeVpcAttribute": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "VpcId",
+ "Attribute"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "VpcId": {},
+ "Attribute": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "VpcId": {
+ "locationName": "vpcId"
+ },
+ "EnableDnsSupport": {
+ "shape": "Sar",
+ "locationName": "enableDnsSupport"
+ },
+ "EnableDnsHostnames": {
+ "shape": "Sar",
+ "locationName": "enableDnsHostnames"
+ }
+ }
+ }
+ },
+ "DescribeVpcClassicLink": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "VpcIds": {
+ "shape": "Sgr",
+ "locationName": "VpcId"
+ },
+ "Filters": {
+ "shape": "S7r",
+ "locationName": "Filter"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Vpcs": {
+ "locationName": "vpcSet",
+ "type": "list",
+ "member": {
+ "locationName": "item",
+ "type": "structure",
+ "members": {
+ "VpcId": {
+ "locationName": "vpcId"
+ },
+ "ClassicLinkEnabled": {
+ "locationName": "classicLinkEnabled",
+ "type": "boolean"
+ },
+ "Tags": {
+ "shape": "Sa",
+ "locationName": "tagSet"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "DescribeVpcClassicLinkDnsSupport": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "VpcIds": {
+ "shape": "Sgr"
+ },
+ "MaxResults": {
+ "locationName": "maxResults",
+ "type": "integer"
+ },
+ "NextToken": {
+ "locationName": "nextToken"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Vpcs": {
+ "locationName": "vpcs",
+ "type": "list",
+ "member": {
+ "locationName": "item",
+ "type": "structure",
+ "members": {
+ "VpcId": {
+ "locationName": "vpcId"
+ },
+ "ClassicLinkDnsSupported": {
+ "locationName": "classicLinkDnsSupported",
+ "type": "boolean"
+ }
+ }
+ }
+ },
+ "NextToken": {
+ "locationName": "nextToken"
+ }
+ }
+ }
+ },
+ "DescribeVpcEndpointServices": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DryRun": {
+ "type": "boolean"
+ },
+ "MaxResults": {
+ "type": "integer"
+ },
+ "NextToken": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "ServiceNames": {
+ "shape": "S26",
+ "locationName": "serviceNameSet"
+ },
+ "NextToken": {
+ "locationName": "nextToken"
+ }
+ }
+ }
+ },
+ "DescribeVpcEndpoints": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DryRun": {
+ "type": "boolean"
+ },
+ "VpcEndpointIds": {
+ "shape": "S26",
+ "locationName": "VpcEndpointId"
+ },
+ "Filters": {
+ "shape": "S7r",
+ "locationName": "Filter"
+ },
+ "MaxResults": {
+ "type": "integer"
+ },
+ "NextToken": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "VpcEndpoints": {
+ "locationName": "vpcEndpointSet",
+ "type": "list",
+ "member": {
+ "shape": "S63",
+ "locationName": "item"
+ }
+ },
+ "NextToken": {
+ "locationName": "nextToken"
+ }
+ }
+ }
+ },
+ "DescribeVpcPeeringConnections": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "VpcPeeringConnectionIds": {
+ "shape": "S26",
+ "locationName": "VpcPeeringConnectionId"
+ },
+ "Filters": {
+ "shape": "S7r",
+ "locationName": "Filter"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "VpcPeeringConnections": {
+ "locationName": "vpcPeeringConnectionSet",
+ "type": "list",
+ "member": {
+ "shape": "S5",
+ "locationName": "item"
+ }
+ }
+ }
+ }
+ },
+ "DescribeVpcs": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "VpcIds": {
+ "locationName": "VpcId",
+ "type": "list",
+ "member": {
+ "locationName": "VpcId"
+ }
+ },
+ "Filters": {
+ "shape": "S7r",
+ "locationName": "Filter"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Vpcs": {
+ "locationName": "vpcSet",
+ "type": "list",
+ "member": {
+ "shape": "S5z",
+ "locationName": "item"
+ }
+ }
+ }
+ }
+ },
+ "DescribeVpnConnections": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "VpnConnectionIds": {
+ "locationName": "VpnConnectionId",
+ "type": "list",
+ "member": {
+ "locationName": "VpnConnectionId"
+ }
+ },
+ "Filters": {
+ "shape": "S7r",
+ "locationName": "Filter"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "VpnConnections": {
+ "locationName": "vpnConnectionSet",
+ "type": "list",
+ "member": {
+ "shape": "S6a",
+ "locationName": "item"
+ }
+ }
+ }
+ }
+ },
+ "DescribeVpnGateways": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "VpnGatewayIds": {
+ "locationName": "VpnGatewayId",
+ "type": "list",
+ "member": {
+ "locationName": "VpnGatewayId"
+ }
+ },
+ "Filters": {
+ "shape": "S7r",
+ "locationName": "Filter"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "VpnGateways": {
+ "locationName": "vpnGatewaySet",
+ "type": "list",
+ "member": {
+ "shape": "S6m",
+ "locationName": "item"
+ }
+ }
+ }
+ }
+ },
+ "DetachClassicLinkVpc": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "InstanceId",
+ "VpcId"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "InstanceId": {
+ "locationName": "instanceId"
+ },
+ "VpcId": {
+ "locationName": "vpcId"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Return": {
+ "locationName": "return",
+ "type": "boolean"
+ }
+ }
+ }
+ },
+ "DetachInternetGateway": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "InternetGatewayId",
+ "VpcId"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "InternetGatewayId": {
+ "locationName": "internetGatewayId"
+ },
+ "VpcId": {
+ "locationName": "vpcId"
+ }
+ }
+ }
+ },
+ "DetachNetworkInterface": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "AttachmentId"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "AttachmentId": {
+ "locationName": "attachmentId"
+ },
+ "Force": {
+ "locationName": "force",
+ "type": "boolean"
+ }
+ }
+ }
+ },
+ "DetachVolume": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "VolumeId"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "VolumeId": {},
+ "InstanceId": {},
+ "Device": {},
+ "Force": {
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "shape": "Sy"
+ }
+ },
+ "DetachVpnGateway": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "VpnGatewayId",
+ "VpcId"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "VpnGatewayId": {},
+ "VpcId": {}
+ }
+ }
+ },
+ "DisableVgwRoutePropagation": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "RouteTableId",
+ "GatewayId"
+ ],
+ "members": {
+ "RouteTableId": {},
+ "GatewayId": {}
+ }
+ }
+ },
+ "DisableVpcClassicLink": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "VpcId"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "VpcId": {
+ "locationName": "vpcId"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Return": {
+ "locationName": "return",
+ "type": "boolean"
+ }
+ }
+ }
+ },
+ "DisableVpcClassicLinkDnsSupport": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "VpcId": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Return": {
+ "locationName": "return",
+ "type": "boolean"
+ }
+ }
+ }
+ },
+ "DisassociateAddress": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "PublicIp": {},
+ "AssociationId": {}
+ }
+ }
+ },
+ "DisassociateRouteTable": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "AssociationId"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "AssociationId": {
+ "locationName": "associationId"
+ }
+ }
+ }
+ },
+ "EnableVgwRoutePropagation": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "RouteTableId",
+ "GatewayId"
+ ],
+ "members": {
+ "RouteTableId": {},
+ "GatewayId": {}
+ }
+ }
+ },
+ "EnableVolumeIO": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "VolumeId"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "VolumeId": {
+ "locationName": "volumeId"
+ }
+ }
+ }
+ },
+ "EnableVpcClassicLink": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "VpcId"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "VpcId": {
+ "locationName": "vpcId"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Return": {
+ "locationName": "return",
+ "type": "boolean"
+ }
+ }
+ }
+ },
+ "EnableVpcClassicLinkDnsSupport": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "VpcId": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Return": {
+ "locationName": "return",
+ "type": "boolean"
+ }
+ }
+ }
+ },
+ "GetConsoleOutput": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "InstanceId"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "InstanceId": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "InstanceId": {
+ "locationName": "instanceId"
+ },
+ "Timestamp": {
+ "locationName": "timestamp",
+ "type": "timestamp"
+ },
+ "Output": {
+ "locationName": "output"
+ }
+ }
+ }
+ },
+ "GetPasswordData": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "InstanceId"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "InstanceId": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "InstanceId": {
+ "locationName": "instanceId"
+ },
+ "Timestamp": {
+ "locationName": "timestamp",
+ "type": "timestamp"
+ },
+ "PasswordData": {
+ "locationName": "passwordData"
+ }
+ }
+ }
+ },
+ "ImportImage": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DryRun": {
+ "type": "boolean"
+ },
+ "Description": {},
+ "DiskContainers": {
+ "locationName": "DiskContainer",
+ "type": "list",
+ "member": {
+ "locationName": "item",
+ "type": "structure",
+ "members": {
+ "Description": {},
+ "Format": {},
+ "Url": {},
+ "UserBucket": {
+ "shape": "Sib"
+ },
+ "DeviceName": {},
+ "SnapshotId": {}
+ }
+ }
+ },
+ "LicenseType": {},
+ "Hypervisor": {},
+ "Architecture": {},
+ "Platform": {},
+ "ClientData": {
+ "shape": "Sic"
+ },
+ "ClientToken": {},
+ "RoleName": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "ImportTaskId": {
+ "locationName": "importTaskId"
+ },
+ "Architecture": {
+ "locationName": "architecture"
+ },
+ "LicenseType": {
+ "locationName": "licenseType"
+ },
+ "Platform": {
+ "locationName": "platform"
+ },
+ "Hypervisor": {
+ "locationName": "hypervisor"
+ },
+ "Description": {
+ "locationName": "description"
+ },
+ "SnapshotDetails": {
+ "shape": "Sag",
+ "locationName": "snapshotDetailSet"
+ },
+ "ImageId": {
+ "locationName": "imageId"
+ },
+ "Progress": {
+ "locationName": "progress"
+ },
+ "StatusMessage": {
+ "locationName": "statusMessage"
+ },
+ "Status": {
+ "locationName": "status"
+ }
+ }
+ }
+ },
+ "ImportInstance": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Platform"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "Description": {
+ "locationName": "description"
+ },
+ "LaunchSpecification": {
+ "locationName": "launchSpecification",
+ "type": "structure",
+ "members": {
+ "Architecture": {
+ "locationName": "architecture"
+ },
+ "GroupNames": {
+ "shape": "Sig",
+ "locationName": "GroupName"
+ },
+ "GroupIds": {
+ "shape": "S4g",
+ "locationName": "GroupId"
+ },
+ "AdditionalInfo": {
+ "locationName": "additionalInfo"
+ },
+ "UserData": {
+ "locationName": "userData",
+ "type": "structure",
+ "members": {
+ "Data": {
+ "locationName": "data"
+ }
+ }
+ },
+ "InstanceType": {
+ "locationName": "instanceType"
+ },
+ "Placement": {
+ "shape": "Sbh",
+ "locationName": "placement"
+ },
+ "Monitoring": {
+ "locationName": "monitoring",
+ "type": "boolean"
+ },
+ "SubnetId": {
+ "locationName": "subnetId"
+ },
+ "InstanceInitiatedShutdownBehavior": {
+ "locationName": "instanceInitiatedShutdownBehavior"
+ },
+ "PrivateIpAddress": {
+ "locationName": "privateIpAddress"
+ }
+ }
+ },
+ "DiskImages": {
+ "locationName": "diskImage",
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "Image": {
+ "shape": "Sil"
+ },
+ "Description": {},
+ "Volume": {
+ "shape": "Sim"
+ }
+ }
+ }
+ },
+ "Platform": {
+ "locationName": "platform"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "ConversionTask": {
+ "shape": "S8i",
+ "locationName": "conversionTask"
+ }
+ }
+ }
+ },
+ "ImportKeyPair": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "KeyName",
+ "PublicKeyMaterial"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "KeyName": {
+ "locationName": "keyName"
+ },
+ "PublicKeyMaterial": {
+ "locationName": "publicKeyMaterial",
+ "type": "blob"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "KeyName": {
+ "locationName": "keyName"
+ },
+ "KeyFingerprint": {
+ "locationName": "keyFingerprint"
+ }
+ }
+ }
+ },
+ "ImportSnapshot": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DryRun": {
+ "type": "boolean"
+ },
+ "Description": {},
+ "DiskContainer": {
+ "type": "structure",
+ "members": {
+ "Description": {},
+ "Format": {},
+ "Url": {},
+ "UserBucket": {
+ "shape": "Sib"
+ }
+ }
+ },
+ "ClientData": {
+ "shape": "Sic"
+ },
+ "ClientToken": {},
+ "RoleName": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "ImportTaskId": {
+ "locationName": "importTaskId"
+ },
+ "SnapshotTaskDetail": {
+ "shape": "San",
+ "locationName": "snapshotTaskDetail"
+ },
+ "Description": {
+ "locationName": "description"
+ }
+ }
+ }
+ },
+ "ImportVolume": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "AvailabilityZone",
+ "Image",
+ "Volume"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "AvailabilityZone": {
+ "locationName": "availabilityZone"
+ },
+ "Image": {
+ "shape": "Sil",
+ "locationName": "image"
+ },
+ "Description": {
+ "locationName": "description"
+ },
+ "Volume": {
+ "shape": "Sim",
+ "locationName": "volume"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "ConversionTask": {
+ "shape": "S8i",
+ "locationName": "conversionTask"
+ }
+ }
+ }
+ },
+ "ModifyHosts": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "HostIds",
+ "AutoPlacement"
+ ],
+ "members": {
+ "HostIds": {
+ "shape": "S98",
+ "locationName": "hostId"
+ },
+ "AutoPlacement": {
+ "locationName": "autoPlacement"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Successful": {
+ "shape": "Sj",
+ "locationName": "successful"
+ },
+ "Unsuccessful": {
+ "shape": "Six",
+ "locationName": "unsuccessful"
+ }
+ }
+ }
+ },
+ "ModifyIdFormat": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Resource",
+ "UseLongIds"
+ ],
+ "members": {
+ "Resource": {},
+ "UseLongIds": {
+ "type": "boolean"
+ }
+ }
+ }
+ },
+ "ModifyImageAttribute": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ImageId"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "ImageId": {},
+ "Attribute": {},
+ "OperationType": {},
+ "UserIds": {
+ "shape": "Sj1",
+ "locationName": "UserId"
+ },
+ "UserGroups": {
+ "locationName": "UserGroup",
+ "type": "list",
+ "member": {
+ "locationName": "UserGroup"
+ }
+ },
+ "ProductCodes": {
+ "locationName": "ProductCode",
+ "type": "list",
+ "member": {
+ "locationName": "ProductCode"
+ }
+ },
+ "Value": {},
+ "LaunchPermission": {
+ "type": "structure",
+ "members": {
+ "Add": {
+ "shape": "S9q"
+ },
+ "Remove": {
+ "shape": "S9q"
+ }
+ }
+ },
+ "Description": {
+ "shape": "S33"
+ }
+ }
+ }
+ },
+ "ModifyInstanceAttribute": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "InstanceId"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "InstanceId": {
+ "locationName": "instanceId"
+ },
+ "Attribute": {
+ "locationName": "attribute"
+ },
+ "Value": {
+ "locationName": "value"
+ },
+ "BlockDeviceMappings": {
+ "locationName": "blockDeviceMapping",
+ "type": "list",
+ "member": {
+ "locationName": "item",
+ "type": "structure",
+ "members": {
+ "DeviceName": {
+ "locationName": "deviceName"
+ },
+ "Ebs": {
+ "locationName": "ebs",
+ "type": "structure",
+ "members": {
+ "VolumeId": {
+ "locationName": "volumeId"
+ },
+ "DeleteOnTermination": {
+ "locationName": "deleteOnTermination",
+ "type": "boolean"
+ }
+ }
+ },
+ "VirtualName": {
+ "locationName": "virtualName"
+ },
+ "NoDevice": {
+ "locationName": "noDevice"
+ }
+ }
+ }
+ },
+ "SourceDestCheck": {
+ "shape": "Sar"
+ },
+ "DisableApiTermination": {
+ "shape": "Sar",
+ "locationName": "disableApiTermination"
+ },
+ "InstanceType": {
+ "shape": "S33",
+ "locationName": "instanceType"
+ },
+ "Kernel": {
+ "shape": "S33",
+ "locationName": "kernel"
+ },
+ "Ramdisk": {
+ "shape": "S33",
+ "locationName": "ramdisk"
+ },
+ "UserData": {
+ "locationName": "userData",
+ "type": "structure",
+ "members": {
+ "Value": {
+ "locationName": "value",
+ "type": "blob"
+ }
+ }
+ },
+ "InstanceInitiatedShutdownBehavior": {
+ "shape": "S33",
+ "locationName": "instanceInitiatedShutdownBehavior"
+ },
+ "Groups": {
+ "shape": "Ss",
+ "locationName": "GroupId"
+ },
+ "EbsOptimized": {
+ "shape": "Sar",
+ "locationName": "ebsOptimized"
+ },
+ "SriovNetSupport": {
+ "shape": "S33",
+ "locationName": "sriovNetSupport"
+ }
+ }
+ }
+ },
+ "ModifyInstancePlacement": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "InstanceId"
+ ],
+ "members": {
+ "InstanceId": {
+ "locationName": "instanceId"
+ },
+ "Tenancy": {
+ "locationName": "tenancy"
+ },
+ "Affinity": {
+ "locationName": "affinity"
+ },
+ "HostId": {
+ "locationName": "hostId"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Return": {
+ "locationName": "return",
+ "type": "boolean"
+ }
+ }
+ }
+ },
+ "ModifyNetworkInterfaceAttribute": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "NetworkInterfaceId"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "NetworkInterfaceId": {
+ "locationName": "networkInterfaceId"
+ },
+ "Description": {
+ "shape": "S33",
+ "locationName": "description"
+ },
+ "SourceDestCheck": {
+ "shape": "Sar",
+ "locationName": "sourceDestCheck"
+ },
+ "Groups": {
+ "shape": "S4g",
+ "locationName": "SecurityGroupId"
+ },
+ "Attachment": {
+ "locationName": "attachment",
+ "type": "structure",
+ "members": {
+ "AttachmentId": {
+ "locationName": "attachmentId"
+ },
+ "DeleteOnTermination": {
+ "locationName": "deleteOnTermination",
+ "type": "boolean"
+ }
+ }
+ }
+ }
+ }
+ },
+ "ModifyReservedInstances": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ReservedInstancesIds",
+ "TargetConfigurations"
+ ],
+ "members": {
+ "ClientToken": {
+ "locationName": "clientToken"
+ },
+ "ReservedInstancesIds": {
+ "shape": "Scy",
+ "locationName": "ReservedInstancesId"
+ },
+ "TargetConfigurations": {
+ "locationName": "ReservedInstancesConfigurationSetItemType",
+ "type": "list",
+ "member": {
+ "shape": "Sdk",
+ "locationName": "item"
+ }
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "ReservedInstancesModificationId": {
+ "locationName": "reservedInstancesModificationId"
+ }
+ }
+ }
+ },
+ "ModifySnapshotAttribute": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "SnapshotId"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "SnapshotId": {},
+ "Attribute": {},
+ "OperationType": {},
+ "UserIds": {
+ "shape": "Sj1",
+ "locationName": "UserId"
+ },
+ "GroupNames": {
+ "shape": "Seb",
+ "locationName": "UserGroup"
+ },
+ "CreateVolumePermission": {
+ "type": "structure",
+ "members": {
+ "Add": {
+ "shape": "Sei"
+ },
+ "Remove": {
+ "shape": "Sei"
+ }
+ }
+ }
+ }
+ }
+ },
+ "ModifySpotFleetRequest": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "SpotFleetRequestId"
+ ],
+ "members": {
+ "SpotFleetRequestId": {
+ "locationName": "spotFleetRequestId"
+ },
+ "TargetCapacity": {
+ "locationName": "targetCapacity",
+ "type": "integer"
+ },
+ "ExcessCapacityTerminationPolicy": {
+ "locationName": "excessCapacityTerminationPolicy"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Return": {
+ "locationName": "return",
+ "type": "boolean"
+ }
+ }
+ }
+ },
+ "ModifySubnetAttribute": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "SubnetId"
+ ],
+ "members": {
+ "SubnetId": {
+ "locationName": "subnetId"
+ },
+ "MapPublicIpOnLaunch": {
+ "shape": "Sar"
+ }
+ }
+ }
+ },
+ "ModifyVolumeAttribute": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "VolumeId"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "VolumeId": {},
+ "AutoEnableIO": {
+ "shape": "Sar"
+ }
+ }
+ }
+ },
+ "ModifyVpcAttribute": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "VpcId"
+ ],
+ "members": {
+ "VpcId": {
+ "locationName": "vpcId"
+ },
+ "EnableDnsSupport": {
+ "shape": "Sar"
+ },
+ "EnableDnsHostnames": {
+ "shape": "Sar"
+ }
+ }
+ }
+ },
+ "ModifyVpcEndpoint": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "VpcEndpointId"
+ ],
+ "members": {
+ "DryRun": {
+ "type": "boolean"
+ },
+ "VpcEndpointId": {},
+ "ResetPolicy": {
+ "type": "boolean"
+ },
+ "PolicyDocument": {},
+ "AddRouteTableIds": {
+ "shape": "S26",
+ "locationName": "AddRouteTableId"
+ },
+ "RemoveRouteTableIds": {
+ "shape": "S26",
+ "locationName": "RemoveRouteTableId"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Return": {
+ "locationName": "return",
+ "type": "boolean"
+ }
+ }
+ }
+ },
+ "MonitorInstances": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "InstanceIds"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "InstanceIds": {
+ "shape": "S8a",
+ "locationName": "InstanceId"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "InstanceMonitorings": {
+ "shape": "Sju",
+ "locationName": "instancesSet"
+ }
+ }
+ }
+ },
+ "MoveAddressToVpc": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "PublicIp"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "PublicIp": {
+ "locationName": "publicIp"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "AllocationId": {
+ "locationName": "allocationId"
+ },
+ "Status": {
+ "locationName": "status"
+ }
+ }
+ }
+ },
+ "PurchaseReservedInstancesOffering": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ReservedInstancesOfferingId",
+ "InstanceCount"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "ReservedInstancesOfferingId": {},
+ "InstanceCount": {
+ "type": "integer"
+ },
+ "LimitPrice": {
+ "locationName": "limitPrice",
+ "type": "structure",
+ "members": {
+ "Amount": {
+ "locationName": "amount",
+ "type": "double"
+ },
+ "CurrencyCode": {
+ "locationName": "currencyCode"
+ }
+ }
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "ReservedInstancesId": {
+ "locationName": "reservedInstancesId"
+ }
+ }
+ }
+ },
+ "PurchaseScheduledInstances": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "PurchaseRequests"
+ ],
+ "members": {
+ "DryRun": {
+ "type": "boolean"
+ },
+ "ClientToken": {
+ "idempotencyToken": true
+ },
+ "PurchaseRequests": {
+ "locationName": "PurchaseRequest",
+ "type": "list",
+ "member": {
+ "locationName": "PurchaseRequest",
+ "type": "structure",
+ "required": [
+ "PurchaseToken",
+ "InstanceCount"
+ ],
+ "members": {
+ "PurchaseToken": {},
+ "InstanceCount": {
+ "type": "integer"
+ }
+ }
+ }
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "ScheduledInstanceSet": {
+ "locationName": "scheduledInstanceSet",
+ "type": "list",
+ "member": {
+ "shape": "Se9",
+ "locationName": "item"
+ }
+ }
+ }
+ }
+ },
+ "RebootInstances": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "InstanceIds"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "InstanceIds": {
+ "shape": "S8a",
+ "locationName": "InstanceId"
+ }
+ }
+ }
+ },
+ "RegisterImage": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Name"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "ImageLocation": {},
+ "Name": {
+ "locationName": "name"
+ },
+ "Description": {
+ "locationName": "description"
+ },
+ "Architecture": {
+ "locationName": "architecture"
+ },
+ "KernelId": {
+ "locationName": "kernelId"
+ },
+ "RamdiskId": {
+ "locationName": "ramdiskId"
+ },
+ "RootDeviceName": {
+ "locationName": "rootDeviceName"
+ },
+ "BlockDeviceMappings": {
+ "shape": "S3c",
+ "locationName": "BlockDeviceMapping"
+ },
+ "VirtualizationType": {
+ "locationName": "virtualizationType"
+ },
+ "SriovNetSupport": {
+ "locationName": "sriovNetSupport"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "ImageId": {
+ "locationName": "imageId"
+ }
+ }
+ }
+ },
+ "RejectVpcPeeringConnection": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "VpcPeeringConnectionId"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "VpcPeeringConnectionId": {
+ "locationName": "vpcPeeringConnectionId"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Return": {
+ "locationName": "return",
+ "type": "boolean"
+ }
+ }
+ }
+ },
+ "ReleaseAddress": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "PublicIp": {},
+ "AllocationId": {}
+ }
+ }
+ },
+ "ReleaseHosts": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "HostIds"
+ ],
+ "members": {
+ "HostIds": {
+ "shape": "S98",
+ "locationName": "hostId"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Successful": {
+ "shape": "Sj",
+ "locationName": "successful"
+ },
+ "Unsuccessful": {
+ "shape": "Six",
+ "locationName": "unsuccessful"
+ }
+ }
+ }
+ },
+ "ReplaceNetworkAclAssociation": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "AssociationId",
+ "NetworkAclId"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "AssociationId": {
+ "locationName": "associationId"
+ },
+ "NetworkAclId": {
+ "locationName": "networkAclId"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "NewAssociationId": {
+ "locationName": "newAssociationId"
+ }
+ }
+ }
+ },
+ "ReplaceNetworkAclEntry": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "NetworkAclId",
+ "RuleNumber",
+ "Protocol",
+ "RuleAction",
+ "Egress",
+ "CidrBlock"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "NetworkAclId": {
+ "locationName": "networkAclId"
+ },
+ "RuleNumber": {
+ "locationName": "ruleNumber",
+ "type": "integer"
+ },
+ "Protocol": {
+ "locationName": "protocol"
+ },
+ "RuleAction": {
+ "locationName": "ruleAction"
+ },
+ "Egress": {
+ "locationName": "egress",
+ "type": "boolean"
+ },
+ "CidrBlock": {
+ "locationName": "cidrBlock"
+ },
+ "IcmpTypeCode": {
+ "shape": "S4a",
+ "locationName": "Icmp"
+ },
+ "PortRange": {
+ "shape": "S4b",
+ "locationName": "portRange"
+ }
+ }
+ }
+ },
+ "ReplaceRoute": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "RouteTableId",
+ "DestinationCidrBlock"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "RouteTableId": {
+ "locationName": "routeTableId"
+ },
+ "DestinationCidrBlock": {
+ "locationName": "destinationCidrBlock"
+ },
+ "GatewayId": {
+ "locationName": "gatewayId"
+ },
+ "InstanceId": {
+ "locationName": "instanceId"
+ },
+ "NetworkInterfaceId": {
+ "locationName": "networkInterfaceId"
+ },
+ "VpcPeeringConnectionId": {
+ "locationName": "vpcPeeringConnectionId"
+ },
+ "NatGatewayId": {
+ "locationName": "natGatewayId"
+ }
+ }
+ }
+ },
+ "ReplaceRouteTableAssociation": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "AssociationId",
+ "RouteTableId"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "AssociationId": {
+ "locationName": "associationId"
+ },
+ "RouteTableId": {
+ "locationName": "routeTableId"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "NewAssociationId": {
+ "locationName": "newAssociationId"
+ }
+ }
+ }
+ },
+ "ReportInstanceStatus": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Instances",
+ "Status",
+ "ReasonCodes"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "Instances": {
+ "shape": "S8a",
+ "locationName": "instanceId"
+ },
+ "Status": {
+ "locationName": "status"
+ },
+ "StartTime": {
+ "locationName": "startTime",
+ "type": "timestamp"
+ },
+ "EndTime": {
+ "locationName": "endTime",
+ "type": "timestamp"
+ },
+ "ReasonCodes": {
+ "locationName": "reasonCode",
+ "type": "list",
+ "member": {
+ "locationName": "item"
+ }
+ },
+ "Description": {
+ "locationName": "description"
+ }
+ }
+ }
+ },
+ "RequestSpotFleet": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "SpotFleetRequestConfig"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "SpotFleetRequestConfig": {
+ "shape": "Sf5",
+ "locationName": "spotFleetRequestConfig"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "SpotFleetRequestId"
+ ],
+ "members": {
+ "SpotFleetRequestId": {
+ "locationName": "spotFleetRequestId"
+ }
+ }
+ }
+ },
+ "RequestSpotInstances": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "SpotPrice"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "SpotPrice": {
+ "locationName": "spotPrice"
+ },
+ "ClientToken": {
+ "locationName": "clientToken"
+ },
+ "InstanceCount": {
+ "locationName": "instanceCount",
+ "type": "integer"
+ },
+ "Type": {
+ "locationName": "type"
+ },
+ "ValidFrom": {
+ "locationName": "validFrom",
+ "type": "timestamp"
+ },
+ "ValidUntil": {
+ "locationName": "validUntil",
+ "type": "timestamp"
+ },
+ "LaunchGroup": {
+ "locationName": "launchGroup"
+ },
+ "AvailabilityZoneGroup": {
+ "locationName": "availabilityZoneGroup"
+ },
+ "BlockDurationMinutes": {
+ "locationName": "blockDurationMinutes",
+ "type": "integer"
+ },
+ "LaunchSpecification": {
+ "type": "structure",
+ "members": {
+ "ImageId": {
+ "locationName": "imageId"
+ },
+ "KeyName": {
+ "locationName": "keyName"
+ },
+ "SecurityGroups": {
+ "shape": "S26",
+ "locationName": "SecurityGroup"
+ },
+ "UserData": {
+ "locationName": "userData"
+ },
+ "AddressingType": {
+ "locationName": "addressingType"
+ },
+ "InstanceType": {
+ "locationName": "instanceType"
+ },
+ "Placement": {
+ "shape": "Sf8",
+ "locationName": "placement"
+ },
+ "KernelId": {
+ "locationName": "kernelId"
+ },
+ "RamdiskId": {
+ "locationName": "ramdiskId"
+ },
+ "BlockDeviceMappings": {
+ "shape": "S9w",
+ "locationName": "blockDeviceMapping"
+ },
+ "SubnetId": {
+ "locationName": "subnetId"
+ },
+ "NetworkInterfaces": {
+ "shape": "Sfa",
+ "locationName": "NetworkInterface"
+ },
+ "IamInstanceProfile": {
+ "shape": "Sfc",
+ "locationName": "iamInstanceProfile"
+ },
+ "EbsOptimized": {
+ "locationName": "ebsOptimized",
+ "type": "boolean"
+ },
+ "Monitoring": {
+ "shape": "Sfn",
+ "locationName": "monitoring"
+ },
+ "SecurityGroupIds": {
+ "shape": "S26",
+ "locationName": "SecurityGroupId"
+ }
+ }
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "SpotInstanceRequests": {
+ "shape": "Sfh",
+ "locationName": "spotInstanceRequestSet"
+ }
+ }
+ }
+ },
+ "ResetImageAttribute": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ImageId",
+ "Attribute"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "ImageId": {},
+ "Attribute": {}
+ }
+ }
+ },
+ "ResetInstanceAttribute": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "InstanceId",
+ "Attribute"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "InstanceId": {
+ "locationName": "instanceId"
+ },
+ "Attribute": {
+ "locationName": "attribute"
+ }
+ }
+ }
+ },
+ "ResetNetworkInterfaceAttribute": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "NetworkInterfaceId"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "NetworkInterfaceId": {
+ "locationName": "networkInterfaceId"
+ },
+ "SourceDestCheck": {
+ "locationName": "sourceDestCheck"
+ }
+ }
+ }
+ },
+ "ResetSnapshotAttribute": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "SnapshotId",
+ "Attribute"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "SnapshotId": {},
+ "Attribute": {}
+ }
+ }
+ },
+ "RestoreAddressToClassic": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "PublicIp"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "PublicIp": {
+ "locationName": "publicIp"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Status": {
+ "locationName": "status"
+ },
+ "PublicIp": {
+ "locationName": "publicIp"
+ }
+ }
+ }
+ },
+ "RevokeSecurityGroupEgress": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "GroupId"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "GroupId": {
+ "locationName": "groupId"
+ },
+ "SourceSecurityGroupName": {
+ "locationName": "sourceSecurityGroupName"
+ },
+ "SourceSecurityGroupOwnerId": {
+ "locationName": "sourceSecurityGroupOwnerId"
+ },
+ "IpProtocol": {
+ "locationName": "ipProtocol"
+ },
+ "FromPort": {
+ "locationName": "fromPort",
+ "type": "integer"
+ },
+ "ToPort": {
+ "locationName": "toPort",
+ "type": "integer"
+ },
+ "CidrIp": {
+ "locationName": "cidrIp"
+ },
+ "IpPermissions": {
+ "shape": "S15",
+ "locationName": "ipPermissions"
+ }
+ }
+ }
+ },
+ "RevokeSecurityGroupIngress": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "GroupName": {},
+ "GroupId": {},
+ "SourceSecurityGroupName": {},
+ "SourceSecurityGroupOwnerId": {},
+ "IpProtocol": {},
+ "FromPort": {
+ "type": "integer"
+ },
+ "ToPort": {
+ "type": "integer"
+ },
+ "CidrIp": {},
+ "IpPermissions": {
+ "shape": "S15"
+ }
+ }
+ }
+ },
+ "RunInstances": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ImageId",
+ "MinCount",
+ "MaxCount"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "ImageId": {},
+ "MinCount": {
+ "type": "integer"
+ },
+ "MaxCount": {
+ "type": "integer"
+ },
+ "KeyName": {},
+ "SecurityGroups": {
+ "shape": "Sig",
+ "locationName": "SecurityGroup"
+ },
+ "SecurityGroupIds": {
+ "shape": "S4g",
+ "locationName": "SecurityGroupId"
+ },
+ "UserData": {},
+ "InstanceType": {},
+ "Placement": {
+ "shape": "Sbh"
+ },
+ "KernelId": {},
+ "RamdiskId": {},
+ "BlockDeviceMappings": {
+ "shape": "S3c",
+ "locationName": "BlockDeviceMapping"
+ },
+ "Monitoring": {
+ "shape": "Sfn"
+ },
+ "SubnetId": {},
+ "DisableApiTermination": {
+ "locationName": "disableApiTermination",
+ "type": "boolean"
+ },
+ "InstanceInitiatedShutdownBehavior": {
+ "locationName": "instanceInitiatedShutdownBehavior"
+ },
+ "PrivateIpAddress": {
+ "locationName": "privateIpAddress"
+ },
+ "ClientToken": {
+ "locationName": "clientToken"
+ },
+ "AdditionalInfo": {
+ "locationName": "additionalInfo"
+ },
+ "NetworkInterfaces": {
+ "shape": "Sfa",
+ "locationName": "networkInterface"
+ },
+ "IamInstanceProfile": {
+ "shape": "Sfc",
+ "locationName": "iamInstanceProfile"
+ },
+ "EbsOptimized": {
+ "locationName": "ebsOptimized",
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "shape": "Sbd"
+ }
+ },
+ "RunScheduledInstances": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ScheduledInstanceId",
+ "LaunchSpecification"
+ ],
+ "members": {
+ "DryRun": {
+ "type": "boolean"
+ },
+ "ClientToken": {
+ "idempotencyToken": true
+ },
+ "InstanceCount": {
+ "type": "integer"
+ },
+ "ScheduledInstanceId": {},
+ "LaunchSpecification": {
+ "type": "structure",
+ "required": [
+ "ImageId"
+ ],
+ "members": {
+ "ImageId": {},
+ "KeyName": {},
+ "SecurityGroupIds": {
+ "shape": "Sl6",
+ "locationName": "SecurityGroupId"
+ },
+ "UserData": {},
+ "Placement": {
+ "type": "structure",
+ "members": {
+ "AvailabilityZone": {},
+ "GroupName": {}
+ }
+ },
+ "KernelId": {},
+ "InstanceType": {},
+ "RamdiskId": {},
+ "BlockDeviceMappings": {
+ "locationName": "BlockDeviceMapping",
+ "type": "list",
+ "member": {
+ "locationName": "BlockDeviceMapping",
+ "type": "structure",
+ "members": {
+ "DeviceName": {},
+ "NoDevice": {},
+ "VirtualName": {},
+ "Ebs": {
+ "type": "structure",
+ "members": {
+ "SnapshotId": {},
+ "VolumeSize": {
+ "type": "integer"
+ },
+ "DeleteOnTermination": {
+ "type": "boolean"
+ },
+ "VolumeType": {},
+ "Iops": {
+ "type": "integer"
+ },
+ "Encrypted": {
+ "type": "boolean"
+ }
+ }
+ }
+ }
+ }
+ },
+ "Monitoring": {
+ "type": "structure",
+ "members": {
+ "Enabled": {
+ "type": "boolean"
+ }
+ }
+ },
+ "SubnetId": {},
+ "NetworkInterfaces": {
+ "locationName": "NetworkInterface",
+ "type": "list",
+ "member": {
+ "locationName": "NetworkInterface",
+ "type": "structure",
+ "members": {
+ "NetworkInterfaceId": {},
+ "DeviceIndex": {
+ "type": "integer"
+ },
+ "SubnetId": {},
+ "Description": {},
+ "PrivateIpAddress": {},
+ "PrivateIpAddressConfigs": {
+ "locationName": "PrivateIpAddressConfig",
+ "type": "list",
+ "member": {
+ "locationName": "PrivateIpAddressConfigSet",
+ "type": "structure",
+ "members": {
+ "PrivateIpAddress": {},
+ "Primary": {
+ "type": "boolean"
+ }
+ }
+ }
+ },
+ "SecondaryPrivateIpAddressCount": {
+ "type": "integer"
+ },
+ "AssociatePublicIpAddress": {
+ "type": "boolean"
+ },
+ "Groups": {
+ "shape": "Sl6",
+ "locationName": "Group"
+ },
+ "DeleteOnTermination": {
+ "type": "boolean"
+ }
+ }
+ }
+ },
+ "IamInstanceProfile": {
+ "type": "structure",
+ "members": {
+ "Arn": {},
+ "Name": {}
+ }
+ },
+ "EbsOptimized": {
+ "type": "boolean"
+ }
+ }
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "InstanceIdSet": {
+ "locationName": "instanceIdSet",
+ "type": "list",
+ "member": {
+ "locationName": "item"
+ }
+ }
+ }
+ }
+ },
+ "StartInstances": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "InstanceIds"
+ ],
+ "members": {
+ "InstanceIds": {
+ "shape": "S8a",
+ "locationName": "InstanceId"
+ },
+ "AdditionalInfo": {
+ "locationName": "additionalInfo"
+ },
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "StartingInstances": {
+ "shape": "Sll",
+ "locationName": "instancesSet"
+ }
+ }
+ }
+ },
+ "StopInstances": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "InstanceIds"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "InstanceIds": {
+ "shape": "S8a",
+ "locationName": "InstanceId"
+ },
+ "Force": {
+ "locationName": "force",
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "StoppingInstances": {
+ "shape": "Sll",
+ "locationName": "instancesSet"
+ }
+ }
+ }
+ },
+ "TerminateInstances": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "InstanceIds"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "InstanceIds": {
+ "shape": "S8a",
+ "locationName": "InstanceId"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "TerminatingInstances": {
+ "shape": "Sll",
+ "locationName": "instancesSet"
+ }
+ }
+ }
+ },
+ "UnassignPrivateIpAddresses": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "NetworkInterfaceId",
+ "PrivateIpAddresses"
+ ],
+ "members": {
+ "NetworkInterfaceId": {
+ "locationName": "networkInterfaceId"
+ },
+ "PrivateIpAddresses": {
+ "shape": "Sl",
+ "locationName": "privateIpAddress"
+ }
+ }
+ }
+ },
+ "UnmonitorInstances": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "InstanceIds"
+ ],
+ "members": {
+ "DryRun": {
+ "locationName": "dryRun",
+ "type": "boolean"
+ },
+ "InstanceIds": {
+ "shape": "S8a",
+ "locationName": "InstanceId"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "InstanceMonitorings": {
+ "shape": "Sju",
+ "locationName": "instancesSet"
+ }
+ }
+ }
+ }
+ },
+ "shapes": {
+ "S5": {
+ "type": "structure",
+ "members": {
+ "AccepterVpcInfo": {
+ "shape": "S6",
+ "locationName": "accepterVpcInfo"
+ },
+ "ExpirationTime": {
+ "locationName": "expirationTime",
+ "type": "timestamp"
+ },
+ "RequesterVpcInfo": {
+ "shape": "S6",
+ "locationName": "requesterVpcInfo"
+ },
+ "Status": {
+ "locationName": "status",
+ "type": "structure",
+ "members": {
+ "Code": {
+ "locationName": "code"
+ },
+ "Message": {
+ "locationName": "message"
+ }
+ }
+ },
+ "Tags": {
+ "shape": "Sa",
+ "locationName": "tagSet"
+ },
+ "VpcPeeringConnectionId": {
+ "locationName": "vpcPeeringConnectionId"
+ }
+ }
+ },
+ "S6": {
+ "type": "structure",
+ "members": {
+ "CidrBlock": {
+ "locationName": "cidrBlock"
+ },
+ "OwnerId": {
+ "locationName": "ownerId"
+ },
+ "VpcId": {
+ "locationName": "vpcId"
+ }
+ }
+ },
+ "Sa": {
+ "type": "list",
+ "member": {
+ "locationName": "item",
+ "type": "structure",
+ "members": {
+ "Key": {
+ "locationName": "key"
+ },
+ "Value": {
+ "locationName": "value"
+ }
+ }
+ }
+ },
+ "Sj": {
+ "type": "list",
+ "member": {
+ "locationName": "item"
+ }
+ },
+ "Sl": {
+ "type": "list",
+ "member": {
+ "locationName": "PrivateIpAddress"
+ }
+ },
+ "Ss": {
+ "type": "list",
+ "member": {
+ "locationName": "groupId"
+ }
+ },
+ "Sy": {
+ "type": "structure",
+ "members": {
+ "VolumeId": {
+ "locationName": "volumeId"
+ },
+ "InstanceId": {
+ "locationName": "instanceId"
+ },
+ "Device": {
+ "locationName": "device"
+ },
+ "State": {
+ "locationName": "status"
+ },
+ "AttachTime": {
+ "locationName": "attachTime",
+ "type": "timestamp"
+ },
+ "DeleteOnTermination": {
+ "locationName": "deleteOnTermination",
+ "type": "boolean"
+ }
+ }
+ },
+ "S12": {
+ "type": "structure",
+ "members": {
+ "VpcId": {
+ "locationName": "vpcId"
+ },
+ "State": {
+ "locationName": "state"
+ }
+ }
+ },
+ "S15": {
+ "type": "list",
+ "member": {
+ "locationName": "item",
+ "type": "structure",
+ "members": {
+ "IpProtocol": {
+ "locationName": "ipProtocol"
+ },
+ "FromPort": {
+ "locationName": "fromPort",
+ "type": "integer"
+ },
+ "ToPort": {
+ "locationName": "toPort",
+ "type": "integer"
+ },
+ "UserIdGroupPairs": {
+ "locationName": "groups",
+ "type": "list",
+ "member": {
+ "locationName": "item",
+ "type": "structure",
+ "members": {
+ "UserId": {
+ "locationName": "userId"
+ },
+ "GroupName": {
+ "locationName": "groupName"
+ },
+ "GroupId": {
+ "locationName": "groupId"
+ },
+ "VpcId": {
+ "locationName": "vpcId"
+ },
+ "VpcPeeringConnectionId": {
+ "locationName": "vpcPeeringConnectionId"
+ },
+ "PeeringStatus": {
+ "locationName": "peeringStatus"
+ }
+ }
+ }
+ },
+ "IpRanges": {
+ "locationName": "ipRanges",
+ "type": "list",
+ "member": {
+ "locationName": "item",
+ "type": "structure",
+ "members": {
+ "CidrIp": {
+ "locationName": "cidrIp"
+ }
+ }
+ }
+ },
+ "PrefixListIds": {
+ "locationName": "prefixListIds",
+ "type": "list",
+ "member": {
+ "locationName": "item",
+ "type": "structure",
+ "members": {
+ "PrefixListId": {
+ "locationName": "prefixListId"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "S1f": {
+ "type": "structure",
+ "members": {
+ "S3": {
+ "type": "structure",
+ "members": {
+ "Bucket": {
+ "locationName": "bucket"
+ },
+ "Prefix": {
+ "locationName": "prefix"
+ },
+ "AWSAccessKeyId": {},
+ "UploadPolicy": {
+ "locationName": "uploadPolicy",
+ "type": "blob"
+ },
+ "UploadPolicySignature": {
+ "locationName": "uploadPolicySignature"
+ }
+ }
+ }
+ }
+ },
+ "S1j": {
+ "type": "structure",
+ "members": {
+ "InstanceId": {
+ "locationName": "instanceId"
+ },
+ "BundleId": {
+ "locationName": "bundleId"
+ },
+ "State": {
+ "locationName": "state"
+ },
+ "StartTime": {
+ "locationName": "startTime",
+ "type": "timestamp"
+ },
+ "UpdateTime": {
+ "locationName": "updateTime",
+ "type": "timestamp"
+ },
+ "Storage": {
+ "shape": "S1f",
+ "locationName": "storage"
+ },
+ "Progress": {
+ "locationName": "progress"
+ },
+ "BundleTaskError": {
+ "locationName": "error",
+ "type": "structure",
+ "members": {
+ "Code": {
+ "locationName": "code"
+ },
+ "Message": {
+ "locationName": "message"
+ }
+ }
+ }
+ }
+ },
+ "S1u": {
+ "type": "list",
+ "member": {
+ "locationName": "item",
+ "type": "structure",
+ "members": {
+ "ReservedInstancesListingId": {
+ "locationName": "reservedInstancesListingId"
+ },
+ "ReservedInstancesId": {
+ "locationName": "reservedInstancesId"
+ },
+ "CreateDate": {
+ "locationName": "createDate",
+ "type": "timestamp"
+ },
+ "UpdateDate": {
+ "locationName": "updateDate",
+ "type": "timestamp"
+ },
+ "Status": {
+ "locationName": "status"
+ },
+ "StatusMessage": {
+ "locationName": "statusMessage"
+ },
+ "InstanceCounts": {
+ "locationName": "instanceCounts",
+ "type": "list",
+ "member": {
+ "locationName": "item",
+ "type": "structure",
+ "members": {
+ "State": {
+ "locationName": "state"
+ },
+ "InstanceCount": {
+ "locationName": "instanceCount",
+ "type": "integer"
+ }
+ }
+ }
+ },
+ "PriceSchedules": {
+ "locationName": "priceSchedules",
+ "type": "list",
+ "member": {
+ "locationName": "item",
+ "type": "structure",
+ "members": {
+ "Term": {
+ "locationName": "term",
+ "type": "long"
+ },
+ "Price": {
+ "locationName": "price",
+ "type": "double"
+ },
+ "CurrencyCode": {
+ "locationName": "currencyCode"
+ },
+ "Active": {
+ "locationName": "active",
+ "type": "boolean"
+ }
+ }
+ }
+ },
+ "Tags": {
+ "shape": "Sa",
+ "locationName": "tagSet"
+ },
+ "ClientToken": {
+ "locationName": "clientToken"
+ }
+ }
+ }
+ },
+ "S26": {
+ "type": "list",
+ "member": {
+ "locationName": "item"
+ }
+ },
+ "S2g": {
+ "type": "list",
+ "member": {
+ "locationName": "SpotInstanceRequestId"
+ }
+ },
+ "S2u": {
+ "type": "structure",
+ "members": {
+ "CustomerGatewayId": {
+ "locationName": "customerGatewayId"
+ },
+ "State": {
+ "locationName": "state"
+ },
+ "Type": {
+ "locationName": "type"
+ },
+ "IpAddress": {
+ "locationName": "ipAddress"
+ },
+ "BgpAsn": {
+ "locationName": "bgpAsn"
+ },
+ "Tags": {
+ "shape": "Sa",
+ "locationName": "tagSet"
+ }
+ }
+ },
+ "S2z": {
+ "type": "structure",
+ "members": {
+ "DhcpOptionsId": {
+ "locationName": "dhcpOptionsId"
+ },
+ "DhcpConfigurations": {
+ "locationName": "dhcpConfigurationSet",
+ "type": "list",
+ "member": {
+ "locationName": "item",
+ "type": "structure",
+ "members": {
+ "Key": {
+ "locationName": "key"
+ },
+ "Values": {
+ "locationName": "valueSet",
+ "type": "list",
+ "member": {
+ "shape": "S33",
+ "locationName": "item"
+ }
+ }
+ }
+ }
+ },
+ "Tags": {
+ "shape": "Sa",
+ "locationName": "tagSet"
+ }
+ }
+ },
+ "S33": {
+ "type": "structure",
+ "members": {
+ "Value": {
+ "locationName": "value"
+ }
+ }
+ },
+ "S38": {
+ "type": "list",
+ "member": {
+ "shape": "S39",
+ "locationName": "item"
+ }
+ },
+ "S39": {
+ "type": "structure",
+ "required": [
+ "Error"
+ ],
+ "members": {
+ "ResourceId": {
+ "locationName": "resourceId"
+ },
+ "Error": {
+ "locationName": "error",
+ "type": "structure",
+ "required": [
+ "Code",
+ "Message"
+ ],
+ "members": {
+ "Code": {
+ "locationName": "code"
+ },
+ "Message": {
+ "locationName": "message"
+ }
+ }
+ }
+ }
+ },
+ "S3c": {
+ "type": "list",
+ "member": {
+ "shape": "S3d",
+ "locationName": "BlockDeviceMapping"
+ }
+ },
+ "S3d": {
+ "type": "structure",
+ "members": {
+ "VirtualName": {
+ "locationName": "virtualName"
+ },
+ "DeviceName": {
+ "locationName": "deviceName"
+ },
+ "Ebs": {
+ "locationName": "ebs",
+ "type": "structure",
+ "members": {
+ "SnapshotId": {
+ "locationName": "snapshotId"
+ },
+ "VolumeSize": {
+ "locationName": "volumeSize",
+ "type": "integer"
+ },
+ "DeleteOnTermination": {
+ "locationName": "deleteOnTermination",
+ "type": "boolean"
+ },
+ "VolumeType": {
+ "locationName": "volumeType"
+ },
+ "Iops": {
+ "locationName": "iops",
+ "type": "integer"
+ },
+ "Encrypted": {
+ "locationName": "encrypted",
+ "type": "boolean"
+ }
+ }
+ },
+ "NoDevice": {
+ "locationName": "noDevice"
+ }
+ }
+ },
+ "S3n": {
+ "type": "structure",
+ "members": {
+ "ExportTaskId": {
+ "locationName": "exportTaskId"
+ },
+ "Description": {
+ "locationName": "description"
+ },
+ "State": {
+ "locationName": "state"
+ },
+ "StatusMessage": {
+ "locationName": "statusMessage"
+ },
+ "InstanceExportDetails": {
+ "locationName": "instanceExport",
+ "type": "structure",
+ "members": {
+ "InstanceId": {
+ "locationName": "instanceId"
+ },
+ "TargetEnvironment": {
+ "locationName": "targetEnvironment"
+ }
+ }
+ },
+ "ExportToS3Task": {
+ "locationName": "exportToS3",
+ "type": "structure",
+ "members": {
+ "DiskImageFormat": {
+ "locationName": "diskImageFormat"
+ },
+ "ContainerFormat": {
+ "locationName": "containerFormat"
+ },
+ "S3Bucket": {
+ "locationName": "s3Bucket"
+ },
+ "S3Key": {
+ "locationName": "s3Key"
+ }
+ }
+ }
+ }
+ },
+ "S3t": {
+ "type": "structure",
+ "members": {
+ "InternetGatewayId": {
+ "locationName": "internetGatewayId"
+ },
+ "Attachments": {
+ "locationName": "attachmentSet",
+ "type": "list",
+ "member": {
+ "locationName": "item",
+ "type": "structure",
+ "members": {
+ "VpcId": {
+ "locationName": "vpcId"
+ },
+ "State": {
+ "locationName": "state"
+ }
+ }
+ }
+ },
+ "Tags": {
+ "shape": "Sa",
+ "locationName": "tagSet"
+ }
+ }
+ },
+ "S40": {
+ "type": "structure",
+ "members": {
+ "VpcId": {
+ "locationName": "vpcId"
+ },
+ "SubnetId": {
+ "locationName": "subnetId"
+ },
+ "NatGatewayId": {
+ "locationName": "natGatewayId"
+ },
+ "CreateTime": {
+ "locationName": "createTime",
+ "type": "timestamp"
+ },
+ "DeleteTime": {
+ "locationName": "deleteTime",
+ "type": "timestamp"
+ },
+ "NatGatewayAddresses": {
+ "locationName": "natGatewayAddressSet",
+ "type": "list",
+ "member": {
+ "locationName": "item",
+ "type": "structure",
+ "members": {
+ "PublicIp": {
+ "locationName": "publicIp"
+ },
+ "AllocationId": {
+ "locationName": "allocationId"
+ },
+ "PrivateIp": {
+ "locationName": "privateIp"
+ },
+ "NetworkInterfaceId": {
+ "locationName": "networkInterfaceId"
+ }
+ }
+ }
+ },
+ "State": {
+ "locationName": "state"
+ },
+ "FailureCode": {
+ "locationName": "failureCode"
+ },
+ "FailureMessage": {
+ "locationName": "failureMessage"
+ }
+ }
+ },
+ "S46": {
+ "type": "structure",
+ "members": {
+ "NetworkAclId": {
+ "locationName": "networkAclId"
+ },
+ "VpcId": {
+ "locationName": "vpcId"
+ },
+ "IsDefault": {
+ "locationName": "default",
+ "type": "boolean"
+ },
+ "Entries": {
+ "locationName": "entrySet",
+ "type": "list",
+ "member": {
+ "locationName": "item",
+ "type": "structure",
+ "members": {
+ "RuleNumber": {
+ "locationName": "ruleNumber",
+ "type": "integer"
+ },
+ "Protocol": {
+ "locationName": "protocol"
+ },
+ "RuleAction": {
+ "locationName": "ruleAction"
+ },
+ "Egress": {
+ "locationName": "egress",
+ "type": "boolean"
+ },
+ "CidrBlock": {
+ "locationName": "cidrBlock"
+ },
+ "IcmpTypeCode": {
+ "shape": "S4a",
+ "locationName": "icmpTypeCode"
+ },
+ "PortRange": {
+ "shape": "S4b",
+ "locationName": "portRange"
+ }
+ }
+ }
+ },
+ "Associations": {
+ "locationName": "associationSet",
+ "type": "list",
+ "member": {
+ "locationName": "item",
+ "type": "structure",
+ "members": {
+ "NetworkAclAssociationId": {
+ "locationName": "networkAclAssociationId"
+ },
+ "NetworkAclId": {
+ "locationName": "networkAclId"
+ },
+ "SubnetId": {
+ "locationName": "subnetId"
+ }
+ }
+ }
+ },
+ "Tags": {
+ "shape": "Sa",
+ "locationName": "tagSet"
+ }
+ }
+ },
+ "S4a": {
+ "type": "structure",
+ "members": {
+ "Type": {
+ "locationName": "type",
+ "type": "integer"
+ },
+ "Code": {
+ "locationName": "code",
+ "type": "integer"
+ }
+ }
+ },
+ "S4b": {
+ "type": "structure",
+ "members": {
+ "From": {
+ "locationName": "from",
+ "type": "integer"
+ },
+ "To": {
+ "locationName": "to",
+ "type": "integer"
+ }
+ }
+ },
+ "S4g": {
+ "type": "list",
+ "member": {
+ "locationName": "SecurityGroupId"
+ }
+ },
+ "S4h": {
+ "type": "list",
+ "member": {
+ "locationName": "item",
+ "type": "structure",
+ "required": [
+ "PrivateIpAddress"
+ ],
+ "members": {
+ "PrivateIpAddress": {
+ "locationName": "privateIpAddress"
+ },
+ "Primary": {
+ "locationName": "primary",
+ "type": "boolean"
+ }
+ }
+ }
+ },
+ "S4k": {
+ "type": "structure",
+ "members": {
+ "NetworkInterfaceId": {
+ "locationName": "networkInterfaceId"
+ },
+ "SubnetId": {
+ "locationName": "subnetId"
+ },
+ "VpcId": {
+ "locationName": "vpcId"
+ },
+ "AvailabilityZone": {
+ "locationName": "availabilityZone"
+ },
+ "Description": {
+ "locationName": "description"
+ },
+ "OwnerId": {
+ "locationName": "ownerId"
+ },
+ "RequesterId": {
+ "locationName": "requesterId"
+ },
+ "RequesterManaged": {
+ "locationName": "requesterManaged",
+ "type": "boolean"
+ },
+ "Status": {
+ "locationName": "status"
+ },
+ "MacAddress": {
+ "locationName": "macAddress"
+ },
+ "PrivateIpAddress": {
+ "locationName": "privateIpAddress"
+ },
+ "PrivateDnsName": {
+ "locationName": "privateDnsName"
+ },
+ "SourceDestCheck": {
+ "locationName": "sourceDestCheck",
+ "type": "boolean"
+ },
+ "Groups": {
+ "shape": "S4m",
+ "locationName": "groupSet"
+ },
+ "Attachment": {
+ "shape": "S4o",
+ "locationName": "attachment"
+ },
+ "Association": {
+ "shape": "S4p",
+ "locationName": "association"
+ },
+ "TagSet": {
+ "shape": "Sa",
+ "locationName": "tagSet"
+ },
+ "PrivateIpAddresses": {
+ "locationName": "privateIpAddressesSet",
+ "type": "list",
+ "member": {
+ "locationName": "item",
+ "type": "structure",
+ "members": {
+ "PrivateIpAddress": {
+ "locationName": "privateIpAddress"
+ },
+ "PrivateDnsName": {
+ "locationName": "privateDnsName"
+ },
+ "Primary": {
+ "locationName": "primary",
+ "type": "boolean"
+ },
+ "Association": {
+ "shape": "S4p",
+ "locationName": "association"
+ }
+ }
+ }
+ },
+ "InterfaceType": {
+ "locationName": "interfaceType"
+ }
+ }
+ },
+ "S4m": {
+ "type": "list",
+ "member": {
+ "locationName": "item",
+ "type": "structure",
+ "members": {
+ "GroupName": {
+ "locationName": "groupName"
+ },
+ "GroupId": {
+ "locationName": "groupId"
+ }
+ }
+ }
+ },
+ "S4o": {
+ "type": "structure",
+ "members": {
+ "AttachmentId": {
+ "locationName": "attachmentId"
+ },
+ "InstanceId": {
+ "locationName": "instanceId"
+ },
+ "InstanceOwnerId": {
+ "locationName": "instanceOwnerId"
+ },
+ "DeviceIndex": {
+ "locationName": "deviceIndex",
+ "type": "integer"
+ },
+ "Status": {
+ "locationName": "status"
+ },
+ "AttachTime": {
+ "locationName": "attachTime",
+ "type": "timestamp"
+ },
+ "DeleteOnTermination": {
+ "locationName": "deleteOnTermination",
+ "type": "boolean"
+ }
+ }
+ },
+ "S4p": {
+ "type": "structure",
+ "members": {
+ "PublicIp": {
+ "locationName": "publicIp"
+ },
+ "PublicDnsName": {
+ "locationName": "publicDnsName"
+ },
+ "IpOwnerId": {
+ "locationName": "ipOwnerId"
+ },
+ "AllocationId": {
+ "locationName": "allocationId"
+ },
+ "AssociationId": {
+ "locationName": "associationId"
+ }
+ }
+ },
+ "S53": {
+ "type": "structure",
+ "members": {
+ "RouteTableId": {
+ "locationName": "routeTableId"
+ },
+ "VpcId": {
+ "locationName": "vpcId"
+ },
+ "Routes": {
+ "locationName": "routeSet",
+ "type": "list",
+ "member": {
+ "locationName": "item",
+ "type": "structure",
+ "members": {
+ "DestinationCidrBlock": {
+ "locationName": "destinationCidrBlock"
+ },
+ "DestinationPrefixListId": {
+ "locationName": "destinationPrefixListId"
+ },
+ "GatewayId": {
+ "locationName": "gatewayId"
+ },
+ "InstanceId": {
+ "locationName": "instanceId"
+ },
+ "InstanceOwnerId": {
+ "locationName": "instanceOwnerId"
+ },
+ "NetworkInterfaceId": {
+ "locationName": "networkInterfaceId"
+ },
+ "VpcPeeringConnectionId": {
+ "locationName": "vpcPeeringConnectionId"
+ },
+ "NatGatewayId": {
+ "locationName": "natGatewayId"
+ },
+ "State": {
+ "locationName": "state"
+ },
+ "Origin": {
+ "locationName": "origin"
+ }
+ }
+ }
+ },
+ "Associations": {
+ "locationName": "associationSet",
+ "type": "list",
+ "member": {
+ "locationName": "item",
+ "type": "structure",
+ "members": {
+ "RouteTableAssociationId": {
+ "locationName": "routeTableAssociationId"
+ },
+ "RouteTableId": {
+ "locationName": "routeTableId"
+ },
+ "SubnetId": {
+ "locationName": "subnetId"
+ },
+ "Main": {
+ "locationName": "main",
+ "type": "boolean"
+ }
+ }
+ }
+ },
+ "Tags": {
+ "shape": "Sa",
+ "locationName": "tagSet"
+ },
+ "PropagatingVgws": {
+ "locationName": "propagatingVgwSet",
+ "type": "list",
+ "member": {
+ "locationName": "item",
+ "type": "structure",
+ "members": {
+ "GatewayId": {
+ "locationName": "gatewayId"
+ }
+ }
+ }
+ }
+ }
+ },
+ "S5f": {
+ "type": "structure",
+ "members": {
+ "SnapshotId": {
+ "locationName": "snapshotId"
+ },
+ "VolumeId": {
+ "locationName": "volumeId"
+ },
+ "State": {
+ "locationName": "status"
+ },
+ "StateMessage": {
+ "locationName": "statusMessage"
+ },
+ "StartTime": {
+ "locationName": "startTime",
+ "type": "timestamp"
+ },
+ "Progress": {
+ "locationName": "progress"
+ },
+ "OwnerId": {
+ "locationName": "ownerId"
+ },
+ "Description": {
+ "locationName": "description"
+ },
+ "VolumeSize": {
+ "locationName": "volumeSize",
+ "type": "integer"
+ },
+ "OwnerAlias": {
+ "locationName": "ownerAlias"
+ },
+ "Tags": {
+ "shape": "Sa",
+ "locationName": "tagSet"
+ },
+ "Encrypted": {
+ "locationName": "encrypted",
+ "type": "boolean"
+ },
+ "KmsKeyId": {
+ "locationName": "kmsKeyId"
+ },
+ "DataEncryptionKeyId": {
+ "locationName": "dataEncryptionKeyId"
+ }
+ }
+ },
+ "S5j": {
+ "type": "structure",
+ "members": {
+ "OwnerId": {
+ "locationName": "ownerId"
+ },
+ "Bucket": {
+ "locationName": "bucket"
+ },
+ "Prefix": {
+ "locationName": "prefix"
+ },
+ "State": {
+ "locationName": "state"
+ },
+ "Fault": {
+ "shape": "S5l",
+ "locationName": "fault"
+ }
+ }
+ },
+ "S5l": {
+ "type": "structure",
+ "members": {
+ "Code": {
+ "locationName": "code"
+ },
+ "Message": {
+ "locationName": "message"
+ }
+ }
+ },
+ "S5o": {
+ "type": "structure",
+ "members": {
+ "SubnetId": {
+ "locationName": "subnetId"
+ },
+ "State": {
+ "locationName": "state"
+ },
+ "VpcId": {
+ "locationName": "vpcId"
+ },
+ "CidrBlock": {
+ "locationName": "cidrBlock"
+ },
+ "AvailableIpAddressCount": {
+ "locationName": "availableIpAddressCount",
+ "type": "integer"
+ },
+ "AvailabilityZone": {
+ "locationName": "availabilityZone"
+ },
+ "DefaultForAz": {
+ "locationName": "defaultForAz",
+ "type": "boolean"
+ },
+ "MapPublicIpOnLaunch": {
+ "locationName": "mapPublicIpOnLaunch",
+ "type": "boolean"
+ },
+ "Tags": {
+ "shape": "Sa",
+ "locationName": "tagSet"
+ }
+ }
+ },
+ "S5r": {
+ "type": "list",
+ "member": {}
+ },
+ "S5t": {
+ "type": "structure",
+ "members": {
+ "VolumeId": {
+ "locationName": "volumeId"
+ },
+ "Size": {
+ "locationName": "size",
+ "type": "integer"
+ },
+ "SnapshotId": {
+ "locationName": "snapshotId"
+ },
+ "AvailabilityZone": {
+ "locationName": "availabilityZone"
+ },
+ "State": {
+ "locationName": "status"
+ },
+ "CreateTime": {
+ "locationName": "createTime",
+ "type": "timestamp"
+ },
+ "Attachments": {
+ "locationName": "attachmentSet",
+ "type": "list",
+ "member": {
+ "shape": "Sy",
+ "locationName": "item"
+ }
+ },
+ "Tags": {
+ "shape": "Sa",
+ "locationName": "tagSet"
+ },
+ "VolumeType": {
+ "locationName": "volumeType"
+ },
+ "Iops": {
+ "locationName": "iops",
+ "type": "integer"
+ },
+ "Encrypted": {
+ "locationName": "encrypted",
+ "type": "boolean"
+ },
+ "KmsKeyId": {
+ "locationName": "kmsKeyId"
+ }
+ }
+ },
+ "S5z": {
+ "type": "structure",
+ "members": {
+ "VpcId": {
+ "locationName": "vpcId"
+ },
+ "State": {
+ "locationName": "state"
+ },
+ "CidrBlock": {
+ "locationName": "cidrBlock"
+ },
+ "DhcpOptionsId": {
+ "locationName": "dhcpOptionsId"
+ },
+ "Tags": {
+ "shape": "Sa",
+ "locationName": "tagSet"
+ },
+ "InstanceTenancy": {
+ "locationName": "instanceTenancy"
+ },
+ "IsDefault": {
+ "locationName": "isDefault",
+ "type": "boolean"
+ }
+ }
+ },
+ "S63": {
+ "type": "structure",
+ "members": {
+ "VpcEndpointId": {
+ "locationName": "vpcEndpointId"
+ },
+ "VpcId": {
+ "locationName": "vpcId"
+ },
+ "ServiceName": {
+ "locationName": "serviceName"
+ },
+ "State": {
+ "locationName": "state"
+ },
+ "PolicyDocument": {
+ "locationName": "policyDocument"
+ },
+ "RouteTableIds": {
+ "shape": "S26",
+ "locationName": "routeTableIdSet"
+ },
+ "CreationTimestamp": {
+ "locationName": "creationTimestamp",
+ "type": "timestamp"
+ }
+ }
+ },
+ "S6a": {
+ "type": "structure",
+ "members": {
+ "VpnConnectionId": {
+ "locationName": "vpnConnectionId"
+ },
+ "State": {
+ "locationName": "state"
+ },
+ "CustomerGatewayConfiguration": {
+ "locationName": "customerGatewayConfiguration"
+ },
+ "Type": {
+ "locationName": "type"
+ },
+ "CustomerGatewayId": {
+ "locationName": "customerGatewayId"
+ },
+ "VpnGatewayId": {
+ "locationName": "vpnGatewayId"
+ },
+ "Tags": {
+ "shape": "Sa",
+ "locationName": "tagSet"
+ },
+ "VgwTelemetry": {
+ "locationName": "vgwTelemetry",
+ "type": "list",
+ "member": {
+ "locationName": "item",
+ "type": "structure",
+ "members": {
+ "OutsideIpAddress": {
+ "locationName": "outsideIpAddress"
+ },
+ "Status": {
+ "locationName": "status"
+ },
+ "LastStatusChange": {
+ "locationName": "lastStatusChange",
+ "type": "timestamp"
+ },
+ "StatusMessage": {
+ "locationName": "statusMessage"
+ },
+ "AcceptedRouteCount": {
+ "locationName": "acceptedRouteCount",
+ "type": "integer"
+ }
+ }
+ }
+ },
+ "Options": {
+ "locationName": "options",
+ "type": "structure",
+ "members": {
+ "StaticRoutesOnly": {
+ "locationName": "staticRoutesOnly",
+ "type": "boolean"
+ }
+ }
+ },
+ "Routes": {
+ "locationName": "routes",
+ "type": "list",
+ "member": {
+ "locationName": "item",
+ "type": "structure",
+ "members": {
+ "DestinationCidrBlock": {
+ "locationName": "destinationCidrBlock"
+ },
+ "Source": {
+ "locationName": "source"
+ },
+ "State": {
+ "locationName": "state"
+ }
+ }
+ }
+ }
+ }
+ },
+ "S6m": {
+ "type": "structure",
+ "members": {
+ "VpnGatewayId": {
+ "locationName": "vpnGatewayId"
+ },
+ "State": {
+ "locationName": "state"
+ },
+ "Type": {
+ "locationName": "type"
+ },
+ "AvailabilityZone": {
+ "locationName": "availabilityZone"
+ },
+ "VpcAttachments": {
+ "locationName": "attachments",
+ "type": "list",
+ "member": {
+ "shape": "S12",
+ "locationName": "item"
+ }
+ },
+ "Tags": {
+ "shape": "Sa",
+ "locationName": "tagSet"
+ }
+ }
+ },
+ "S7r": {
+ "type": "list",
+ "member": {
+ "locationName": "Filter",
+ "type": "structure",
+ "members": {
+ "Name": {},
+ "Values": {
+ "shape": "S26",
+ "locationName": "Value"
+ }
+ }
+ }
+ },
+ "S8a": {
+ "type": "list",
+ "member": {
+ "locationName": "InstanceId"
+ }
+ },
+ "S8i": {
+ "type": "structure",
+ "required": [
+ "ConversionTaskId",
+ "State"
+ ],
+ "members": {
+ "ConversionTaskId": {
+ "locationName": "conversionTaskId"
+ },
+ "ExpirationTime": {
+ "locationName": "expirationTime"
+ },
+ "ImportInstance": {
+ "locationName": "importInstance",
+ "type": "structure",
+ "required": [
+ "Volumes"
+ ],
+ "members": {
+ "Volumes": {
+ "locationName": "volumes",
+ "type": "list",
+ "member": {
+ "locationName": "item",
+ "type": "structure",
+ "required": [
+ "BytesConverted",
+ "AvailabilityZone",
+ "Image",
+ "Volume",
+ "Status"
+ ],
+ "members": {
+ "BytesConverted": {
+ "locationName": "bytesConverted",
+ "type": "long"
+ },
+ "AvailabilityZone": {
+ "locationName": "availabilityZone"
+ },
+ "Image": {
+ "shape": "S8m",
+ "locationName": "image"
+ },
+ "Volume": {
+ "shape": "S8n",
+ "locationName": "volume"
+ },
+ "Status": {
+ "locationName": "status"
+ },
+ "StatusMessage": {
+ "locationName": "statusMessage"
+ },
+ "Description": {
+ "locationName": "description"
+ }
+ }
+ }
+ },
+ "InstanceId": {
+ "locationName": "instanceId"
+ },
+ "Platform": {
+ "locationName": "platform"
+ },
+ "Description": {
+ "locationName": "description"
+ }
+ }
+ },
+ "ImportVolume": {
+ "locationName": "importVolume",
+ "type": "structure",
+ "required": [
+ "BytesConverted",
+ "AvailabilityZone",
+ "Image",
+ "Volume"
+ ],
+ "members": {
+ "BytesConverted": {
+ "locationName": "bytesConverted",
+ "type": "long"
+ },
+ "AvailabilityZone": {
+ "locationName": "availabilityZone"
+ },
+ "Description": {
+ "locationName": "description"
+ },
+ "Image": {
+ "shape": "S8m",
+ "locationName": "image"
+ },
+ "Volume": {
+ "shape": "S8n",
+ "locationName": "volume"
+ }
+ }
+ },
+ "State": {
+ "locationName": "state"
+ },
+ "StatusMessage": {
+ "locationName": "statusMessage"
+ },
+ "Tags": {
+ "shape": "Sa",
+ "locationName": "tagSet"
+ }
+ }
+ },
+ "S8m": {
+ "type": "structure",
+ "required": [
+ "Format",
+ "Size",
+ "ImportManifestUrl"
+ ],
+ "members": {
+ "Format": {
+ "locationName": "format"
+ },
+ "Size": {
+ "locationName": "size",
+ "type": "long"
+ },
+ "ImportManifestUrl": {
+ "locationName": "importManifestUrl"
+ },
+ "Checksum": {
+ "locationName": "checksum"
+ }
+ }
+ },
+ "S8n": {
+ "type": "structure",
+ "required": [
+ "Id"
+ ],
+ "members": {
+ "Size": {
+ "locationName": "size",
+ "type": "long"
+ },
+ "Id": {
+ "locationName": "id"
+ }
+ }
+ },
+ "S98": {
+ "type": "list",
+ "member": {
+ "locationName": "item"
+ }
+ },
+ "S9q": {
+ "type": "list",
+ "member": {
+ "locationName": "item",
+ "type": "structure",
+ "members": {
+ "UserId": {
+ "locationName": "userId"
+ },
+ "Group": {
+ "locationName": "group"
+ }
+ }
+ }
+ },
+ "S9t": {
+ "type": "list",
+ "member": {
+ "locationName": "item",
+ "type": "structure",
+ "members": {
+ "ProductCodeId": {
+ "locationName": "productCode"
+ },
+ "ProductCodeType": {
+ "locationName": "type"
+ }
+ }
+ }
+ },
+ "S9w": {
+ "type": "list",
+ "member": {
+ "shape": "S3d",
+ "locationName": "item"
+ }
+ },
+ "S9z": {
+ "type": "list",
+ "member": {
+ "locationName": "Owner"
+ }
+ },
+ "Sa7": {
+ "type": "structure",
+ "members": {
+ "Code": {
+ "locationName": "code"
+ },
+ "Message": {
+ "locationName": "message"
+ }
+ }
+ },
+ "Sac": {
+ "type": "list",
+ "member": {
+ "locationName": "ImportTaskId"
+ }
+ },
+ "Sag": {
+ "type": "list",
+ "member": {
+ "locationName": "item",
+ "type": "structure",
+ "members": {
+ "DiskImageSize": {
+ "locationName": "diskImageSize",
+ "type": "double"
+ },
+ "Description": {
+ "locationName": "description"
+ },
+ "Format": {
+ "locationName": "format"
+ },
+ "Url": {
+ "locationName": "url"
+ },
+ "UserBucket": {
+ "shape": "Sai",
+ "locationName": "userBucket"
+ },
+ "DeviceName": {
+ "locationName": "deviceName"
+ },
+ "SnapshotId": {
+ "locationName": "snapshotId"
+ },
+ "Progress": {
+ "locationName": "progress"
+ },
+ "StatusMessage": {
+ "locationName": "statusMessage"
+ },
+ "Status": {
+ "locationName": "status"
+ }
+ }
+ }
+ },
+ "Sai": {
+ "type": "structure",
+ "members": {
+ "S3Bucket": {
+ "locationName": "s3Bucket"
+ },
+ "S3Key": {
+ "locationName": "s3Key"
+ }
+ }
+ },
+ "San": {
+ "type": "structure",
+ "members": {
+ "DiskImageSize": {
+ "locationName": "diskImageSize",
+ "type": "double"
+ },
+ "Description": {
+ "locationName": "description"
+ },
+ "Format": {
+ "locationName": "format"
+ },
+ "Url": {
+ "locationName": "url"
+ },
+ "UserBucket": {
+ "shape": "Sai",
+ "locationName": "userBucket"
+ },
+ "SnapshotId": {
+ "locationName": "snapshotId"
+ },
+ "Progress": {
+ "locationName": "progress"
+ },
+ "StatusMessage": {
+ "locationName": "statusMessage"
+ },
+ "Status": {
+ "locationName": "status"
+ }
+ }
+ },
+ "Sar": {
+ "type": "structure",
+ "members": {
+ "Value": {
+ "locationName": "value",
+ "type": "boolean"
+ }
+ }
+ },
+ "Sas": {
+ "type": "list",
+ "member": {
+ "locationName": "item",
+ "type": "structure",
+ "members": {
+ "DeviceName": {
+ "locationName": "deviceName"
+ },
+ "Ebs": {
+ "locationName": "ebs",
+ "type": "structure",
+ "members": {
+ "VolumeId": {
+ "locationName": "volumeId"
+ },
+ "Status": {
+ "locationName": "status"
+ },
+ "AttachTime": {
+ "locationName": "attachTime",
+ "type": "timestamp"
+ },
+ "DeleteOnTermination": {
+ "locationName": "deleteOnTermination",
+ "type": "boolean"
+ }
+ }
+ }
+ }
+ }
+ },
+ "Sb2": {
+ "type": "structure",
+ "members": {
+ "Code": {
+ "locationName": "code",
+ "type": "integer"
+ },
+ "Name": {
+ "locationName": "name"
+ }
+ }
+ },
+ "Sb4": {
+ "type": "structure",
+ "members": {
+ "Status": {
+ "locationName": "status"
+ },
+ "Details": {
+ "locationName": "details",
+ "type": "list",
+ "member": {
+ "locationName": "item",
+ "type": "structure",
+ "members": {
+ "Name": {
+ "locationName": "name"
+ },
+ "Status": {
+ "locationName": "status"
+ },
+ "ImpairedSince": {
+ "locationName": "impairedSince",
+ "type": "timestamp"
+ }
+ }
+ }
+ }
+ }
+ },
+ "Sbd": {
+ "type": "structure",
+ "members": {
+ "ReservationId": {
+ "locationName": "reservationId"
+ },
+ "OwnerId": {
+ "locationName": "ownerId"
+ },
+ "RequesterId": {
+ "locationName": "requesterId"
+ },
+ "Groups": {
+ "shape": "S4m",
+ "locationName": "groupSet"
+ },
+ "Instances": {
+ "locationName": "instancesSet",
+ "type": "list",
+ "member": {
+ "locationName": "item",
+ "type": "structure",
+ "members": {
+ "InstanceId": {
+ "locationName": "instanceId"
+ },
+ "ImageId": {
+ "locationName": "imageId"
+ },
+ "State": {
+ "shape": "Sb2",
+ "locationName": "instanceState"
+ },
+ "PrivateDnsName": {
+ "locationName": "privateDnsName"
+ },
+ "PublicDnsName": {
+ "locationName": "dnsName"
+ },
+ "StateTransitionReason": {
+ "locationName": "reason"
+ },
+ "KeyName": {
+ "locationName": "keyName"
+ },
+ "AmiLaunchIndex": {
+ "locationName": "amiLaunchIndex",
+ "type": "integer"
+ },
+ "ProductCodes": {
+ "shape": "S9t",
+ "locationName": "productCodes"
+ },
+ "InstanceType": {
+ "locationName": "instanceType"
+ },
+ "LaunchTime": {
+ "locationName": "launchTime",
+ "type": "timestamp"
+ },
+ "Placement": {
+ "shape": "Sbh",
+ "locationName": "placement"
+ },
+ "KernelId": {
+ "locationName": "kernelId"
+ },
+ "RamdiskId": {
+ "locationName": "ramdiskId"
+ },
+ "Platform": {
+ "locationName": "platform"
+ },
+ "Monitoring": {
+ "shape": "Sbi",
+ "locationName": "monitoring"
+ },
+ "SubnetId": {
+ "locationName": "subnetId"
+ },
+ "VpcId": {
+ "locationName": "vpcId"
+ },
+ "PrivateIpAddress": {
+ "locationName": "privateIpAddress"
+ },
+ "PublicIpAddress": {
+ "locationName": "ipAddress"
+ },
+ "StateReason": {
+ "shape": "Sa7",
+ "locationName": "stateReason"
+ },
+ "Architecture": {
+ "locationName": "architecture"
+ },
+ "RootDeviceType": {
+ "locationName": "rootDeviceType"
+ },
+ "RootDeviceName": {
+ "locationName": "rootDeviceName"
+ },
+ "BlockDeviceMappings": {
+ "shape": "Sas",
+ "locationName": "blockDeviceMapping"
+ },
+ "VirtualizationType": {
+ "locationName": "virtualizationType"
+ },
+ "InstanceLifecycle": {
+ "locationName": "instanceLifecycle"
+ },
+ "SpotInstanceRequestId": {
+ "locationName": "spotInstanceRequestId"
+ },
+ "ClientToken": {
+ "locationName": "clientToken"
+ },
+ "Tags": {
+ "shape": "Sa",
+ "locationName": "tagSet"
+ },
+ "SecurityGroups": {
+ "shape": "S4m",
+ "locationName": "groupSet"
+ },
+ "SourceDestCheck": {
+ "locationName": "sourceDestCheck",
+ "type": "boolean"
+ },
+ "Hypervisor": {
+ "locationName": "hypervisor"
+ },
+ "NetworkInterfaces": {
+ "locationName": "networkInterfaceSet",
+ "type": "list",
+ "member": {
+ "locationName": "item",
+ "type": "structure",
+ "members": {
+ "NetworkInterfaceId": {
+ "locationName": "networkInterfaceId"
+ },
+ "SubnetId": {
+ "locationName": "subnetId"
+ },
+ "VpcId": {
+ "locationName": "vpcId"
+ },
+ "Description": {
+ "locationName": "description"
+ },
+ "OwnerId": {
+ "locationName": "ownerId"
+ },
+ "Status": {
+ "locationName": "status"
+ },
+ "MacAddress": {
+ "locationName": "macAddress"
+ },
+ "PrivateIpAddress": {
+ "locationName": "privateIpAddress"
+ },
+ "PrivateDnsName": {
+ "locationName": "privateDnsName"
+ },
+ "SourceDestCheck": {
+ "locationName": "sourceDestCheck",
+ "type": "boolean"
+ },
+ "Groups": {
+ "shape": "S4m",
+ "locationName": "groupSet"
+ },
+ "Attachment": {
+ "locationName": "attachment",
+ "type": "structure",
+ "members": {
+ "AttachmentId": {
+ "locationName": "attachmentId"
+ },
+ "DeviceIndex": {
+ "locationName": "deviceIndex",
+ "type": "integer"
+ },
+ "Status": {
+ "locationName": "status"
+ },
+ "AttachTime": {
+ "locationName": "attachTime",
+ "type": "timestamp"
+ },
+ "DeleteOnTermination": {
+ "locationName": "deleteOnTermination",
+ "type": "boolean"
+ }
+ }
+ },
+ "Association": {
+ "shape": "Sbo",
+ "locationName": "association"
+ },
+ "PrivateIpAddresses": {
+ "locationName": "privateIpAddressesSet",
+ "type": "list",
+ "member": {
+ "locationName": "item",
+ "type": "structure",
+ "members": {
+ "PrivateIpAddress": {
+ "locationName": "privateIpAddress"
+ },
+ "PrivateDnsName": {
+ "locationName": "privateDnsName"
+ },
+ "Primary": {
+ "locationName": "primary",
+ "type": "boolean"
+ },
+ "Association": {
+ "shape": "Sbo",
+ "locationName": "association"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "IamInstanceProfile": {
+ "locationName": "iamInstanceProfile",
+ "type": "structure",
+ "members": {
+ "Arn": {
+ "locationName": "arn"
+ },
+ "Id": {
+ "locationName": "id"
+ }
+ }
+ },
+ "EbsOptimized": {
+ "locationName": "ebsOptimized",
+ "type": "boolean"
+ },
+ "SriovNetSupport": {
+ "locationName": "sriovNetSupport"
+ }
+ }
+ }
+ }
+ }
+ },
+ "Sbh": {
+ "type": "structure",
+ "members": {
+ "AvailabilityZone": {
+ "locationName": "availabilityZone"
+ },
+ "GroupName": {
+ "locationName": "groupName"
+ },
+ "Tenancy": {
+ "locationName": "tenancy"
+ },
+ "HostId": {
+ "locationName": "hostId"
+ },
+ "Affinity": {
+ "locationName": "affinity"
+ }
+ }
+ },
+ "Sbi": {
+ "type": "structure",
+ "members": {
+ "State": {
+ "locationName": "state"
+ }
+ }
+ },
+ "Sbo": {
+ "type": "structure",
+ "members": {
+ "PublicIp": {
+ "locationName": "publicIp"
+ },
+ "PublicDnsName": {
+ "locationName": "publicDnsName"
+ },
+ "IpOwnerId": {
+ "locationName": "ipOwnerId"
+ }
+ }
+ },
+ "Scy": {
+ "type": "list",
+ "member": {
+ "locationName": "ReservedInstancesId"
+ }
+ },
+ "Sd6": {
+ "type": "list",
+ "member": {
+ "locationName": "item",
+ "type": "structure",
+ "members": {
+ "Frequency": {
+ "locationName": "frequency"
+ },
+ "Amount": {
+ "locationName": "amount",
+ "type": "double"
+ }
+ }
+ }
+ },
+ "Sdk": {
+ "type": "structure",
+ "members": {
+ "AvailabilityZone": {
+ "locationName": "availabilityZone"
+ },
+ "Platform": {
+ "locationName": "platform"
+ },
+ "InstanceCount": {
+ "locationName": "instanceCount",
+ "type": "integer"
+ },
+ "InstanceType": {
+ "locationName": "instanceType"
+ }
+ }
+ },
+ "Se2": {
+ "type": "structure",
+ "members": {
+ "Frequency": {
+ "locationName": "frequency"
+ },
+ "Interval": {
+ "locationName": "interval",
+ "type": "integer"
+ },
+ "OccurrenceDaySet": {
+ "locationName": "occurrenceDaySet",
+ "type": "list",
+ "member": {
+ "locationName": "item",
+ "type": "integer"
+ }
+ },
+ "OccurrenceRelativeToEnd": {
+ "locationName": "occurrenceRelativeToEnd",
+ "type": "boolean"
+ },
+ "OccurrenceUnit": {
+ "locationName": "occurrenceUnit"
+ }
+ }
+ },
+ "Se9": {
+ "type": "structure",
+ "members": {
+ "ScheduledInstanceId": {
+ "locationName": "scheduledInstanceId"
+ },
+ "InstanceType": {
+ "locationName": "instanceType"
+ },
+ "Platform": {
+ "locationName": "platform"
+ },
+ "NetworkPlatform": {
+ "locationName": "networkPlatform"
+ },
+ "AvailabilityZone": {
+ "locationName": "availabilityZone"
+ },
+ "SlotDurationInHours": {
+ "locationName": "slotDurationInHours",
+ "type": "integer"
+ },
+ "Recurrence": {
+ "shape": "Se2",
+ "locationName": "recurrence"
+ },
+ "PreviousSlotEndTime": {
+ "locationName": "previousSlotEndTime",
+ "type": "timestamp"
+ },
+ "NextSlotStartTime": {
+ "locationName": "nextSlotStartTime",
+ "type": "timestamp"
+ },
+ "HourlyPrice": {
+ "locationName": "hourlyPrice"
+ },
+ "TotalScheduledInstanceHours": {
+ "locationName": "totalScheduledInstanceHours",
+ "type": "integer"
+ },
+ "InstanceCount": {
+ "locationName": "instanceCount",
+ "type": "integer"
+ },
+ "TermStartDate": {
+ "locationName": "termStartDate",
+ "type": "timestamp"
+ },
+ "TermEndDate": {
+ "locationName": "termEndDate",
+ "type": "timestamp"
+ },
+ "CreateDate": {
+ "locationName": "createDate",
+ "type": "timestamp"
+ }
+ }
+ },
+ "Seb": {
+ "type": "list",
+ "member": {
+ "locationName": "GroupName"
+ }
+ },
+ "Sei": {
+ "type": "list",
+ "member": {
+ "locationName": "item",
+ "type": "structure",
+ "members": {
+ "UserId": {
+ "locationName": "userId"
+ },
+ "Group": {
+ "locationName": "group"
+ }
+ }
+ }
+ },
+ "Sf5": {
+ "type": "structure",
+ "required": [
+ "SpotPrice",
+ "TargetCapacity",
+ "IamFleetRole",
+ "LaunchSpecifications"
+ ],
+ "members": {
+ "ClientToken": {
+ "locationName": "clientToken"
+ },
+ "SpotPrice": {
+ "locationName": "spotPrice"
+ },
+ "TargetCapacity": {
+ "locationName": "targetCapacity",
+ "type": "integer"
+ },
+ "ValidFrom": {
+ "locationName": "validFrom",
+ "type": "timestamp"
+ },
+ "ValidUntil": {
+ "locationName": "validUntil",
+ "type": "timestamp"
+ },
+ "TerminateInstancesWithExpiration": {
+ "locationName": "terminateInstancesWithExpiration",
+ "type": "boolean"
+ },
+ "IamFleetRole": {
+ "locationName": "iamFleetRole"
+ },
+ "LaunchSpecifications": {
+ "locationName": "launchSpecifications",
+ "type": "list",
+ "member": {
+ "locationName": "item",
+ "type": "structure",
+ "members": {
+ "ImageId": {
+ "locationName": "imageId"
+ },
+ "KeyName": {
+ "locationName": "keyName"
+ },
+ "SecurityGroups": {
+ "shape": "S4m",
+ "locationName": "groupSet"
+ },
+ "UserData": {
+ "locationName": "userData"
+ },
+ "AddressingType": {
+ "locationName": "addressingType"
+ },
+ "InstanceType": {
+ "locationName": "instanceType"
+ },
+ "Placement": {
+ "shape": "Sf8",
+ "locationName": "placement"
+ },
+ "KernelId": {
+ "locationName": "kernelId"
+ },
+ "RamdiskId": {
+ "locationName": "ramdiskId"
+ },
+ "BlockDeviceMappings": {
+ "shape": "S9w",
+ "locationName": "blockDeviceMapping"
+ },
+ "Monitoring": {
+ "locationName": "monitoring",
+ "type": "structure",
+ "members": {
+ "Enabled": {
+ "locationName": "enabled",
+ "type": "boolean"
+ }
+ }
+ },
+ "SubnetId": {
+ "locationName": "subnetId"
+ },
+ "NetworkInterfaces": {
+ "shape": "Sfa",
+ "locationName": "networkInterfaceSet"
+ },
+ "IamInstanceProfile": {
+ "shape": "Sfc",
+ "locationName": "iamInstanceProfile"
+ },
+ "EbsOptimized": {
+ "locationName": "ebsOptimized",
+ "type": "boolean"
+ },
+ "WeightedCapacity": {
+ "locationName": "weightedCapacity",
+ "type": "double"
+ },
+ "SpotPrice": {
+ "locationName": "spotPrice"
+ }
+ }
+ }
+ },
+ "ExcessCapacityTerminationPolicy": {
+ "locationName": "excessCapacityTerminationPolicy"
+ },
+ "AllocationStrategy": {
+ "locationName": "allocationStrategy"
+ }
+ }
+ },
+ "Sf8": {
+ "type": "structure",
+ "members": {
+ "AvailabilityZone": {
+ "locationName": "availabilityZone"
+ },
+ "GroupName": {
+ "locationName": "groupName"
+ }
+ }
+ },
+ "Sfa": {
+ "type": "list",
+ "member": {
+ "locationName": "item",
+ "type": "structure",
+ "members": {
+ "NetworkInterfaceId": {
+ "locationName": "networkInterfaceId"
+ },
+ "DeviceIndex": {
+ "locationName": "deviceIndex",
+ "type": "integer"
+ },
+ "SubnetId": {
+ "locationName": "subnetId"
+ },
+ "Description": {
+ "locationName": "description"
+ },
+ "PrivateIpAddress": {
+ "locationName": "privateIpAddress"
+ },
+ "Groups": {
+ "shape": "S4g",
+ "locationName": "SecurityGroupId"
+ },
+ "DeleteOnTermination": {
+ "locationName": "deleteOnTermination",
+ "type": "boolean"
+ },
+ "PrivateIpAddresses": {
+ "shape": "S4h",
+ "locationName": "privateIpAddressesSet",
+ "queryName": "PrivateIpAddresses"
+ },
+ "SecondaryPrivateIpAddressCount": {
+ "locationName": "secondaryPrivateIpAddressCount",
+ "type": "integer"
+ },
+ "AssociatePublicIpAddress": {
+ "locationName": "associatePublicIpAddress",
+ "type": "boolean"
+ }
+ }
+ }
+ },
+ "Sfc": {
+ "type": "structure",
+ "members": {
+ "Arn": {
+ "locationName": "arn"
+ },
+ "Name": {
+ "locationName": "name"
+ }
+ }
+ },
+ "Sfh": {
+ "type": "list",
+ "member": {
+ "locationName": "item",
+ "type": "structure",
+ "members": {
+ "SpotInstanceRequestId": {
+ "locationName": "spotInstanceRequestId"
+ },
+ "SpotPrice": {
+ "locationName": "spotPrice"
+ },
+ "Type": {
+ "locationName": "type"
+ },
+ "State": {
+ "locationName": "state"
+ },
+ "Fault": {
+ "shape": "S5l",
+ "locationName": "fault"
+ },
+ "Status": {
+ "locationName": "status",
+ "type": "structure",
+ "members": {
+ "Code": {
+ "locationName": "code"
+ },
+ "UpdateTime": {
+ "locationName": "updateTime",
+ "type": "timestamp"
+ },
+ "Message": {
+ "locationName": "message"
+ }
+ }
+ },
+ "ValidFrom": {
+ "locationName": "validFrom",
+ "type": "timestamp"
+ },
+ "ValidUntil": {
+ "locationName": "validUntil",
+ "type": "timestamp"
+ },
+ "LaunchGroup": {
+ "locationName": "launchGroup"
+ },
+ "AvailabilityZoneGroup": {
+ "locationName": "availabilityZoneGroup"
+ },
+ "LaunchSpecification": {
+ "locationName": "launchSpecification",
+ "type": "structure",
+ "members": {
+ "ImageId": {
+ "locationName": "imageId"
+ },
+ "KeyName": {
+ "locationName": "keyName"
+ },
+ "SecurityGroups": {
+ "shape": "S4m",
+ "locationName": "groupSet"
+ },
+ "UserData": {
+ "locationName": "userData"
+ },
+ "AddressingType": {
+ "locationName": "addressingType"
+ },
+ "InstanceType": {
+ "locationName": "instanceType"
+ },
+ "Placement": {
+ "shape": "Sf8",
+ "locationName": "placement"
+ },
+ "KernelId": {
+ "locationName": "kernelId"
+ },
+ "RamdiskId": {
+ "locationName": "ramdiskId"
+ },
+ "BlockDeviceMappings": {
+ "shape": "S9w",
+ "locationName": "blockDeviceMapping"
+ },
+ "SubnetId": {
+ "locationName": "subnetId"
+ },
+ "NetworkInterfaces": {
+ "shape": "Sfa",
+ "locationName": "networkInterfaceSet"
+ },
+ "IamInstanceProfile": {
+ "shape": "Sfc",
+ "locationName": "iamInstanceProfile"
+ },
+ "EbsOptimized": {
+ "locationName": "ebsOptimized",
+ "type": "boolean"
+ },
+ "Monitoring": {
+ "shape": "Sfn",
+ "locationName": "monitoring"
+ }
+ }
+ },
+ "InstanceId": {
+ "locationName": "instanceId"
+ },
+ "CreateTime": {
+ "locationName": "createTime",
+ "type": "timestamp"
+ },
+ "ProductDescription": {
+ "locationName": "productDescription"
+ },
+ "BlockDurationMinutes": {
+ "locationName": "blockDurationMinutes",
+ "type": "integer"
+ },
+ "ActualBlockHourlyPrice": {
+ "locationName": "actualBlockHourlyPrice"
+ },
+ "Tags": {
+ "shape": "Sa",
+ "locationName": "tagSet"
+ },
+ "LaunchedAvailabilityZone": {
+ "locationName": "launchedAvailabilityZone"
+ }
+ }
+ }
+ },
+ "Sfn": {
+ "type": "structure",
+ "required": [
+ "Enabled"
+ ],
+ "members": {
+ "Enabled": {
+ "locationName": "enabled",
+ "type": "boolean"
+ }
+ }
+ },
+ "Sg7": {
+ "type": "list",
+ "member": {
+ "locationName": "VolumeId"
+ }
+ },
+ "Sgr": {
+ "type": "list",
+ "member": {
+ "locationName": "VpcId"
+ }
+ },
+ "Sib": {
+ "type": "structure",
+ "members": {
+ "S3Bucket": {},
+ "S3Key": {}
+ }
+ },
+ "Sic": {
+ "type": "structure",
+ "members": {
+ "UploadStart": {
+ "type": "timestamp"
+ },
+ "UploadEnd": {
+ "type": "timestamp"
+ },
+ "UploadSize": {
+ "type": "double"
+ },
+ "Comment": {}
+ }
+ },
+ "Sig": {
+ "type": "list",
+ "member": {
+ "locationName": "SecurityGroup"
+ }
+ },
+ "Sil": {
+ "type": "structure",
+ "required": [
+ "Format",
+ "Bytes",
+ "ImportManifestUrl"
+ ],
+ "members": {
+ "Format": {
+ "locationName": "format"
+ },
+ "Bytes": {
+ "locationName": "bytes",
+ "type": "long"
+ },
+ "ImportManifestUrl": {
+ "locationName": "importManifestUrl"
+ }
+ }
+ },
+ "Sim": {
+ "type": "structure",
+ "required": [
+ "Size"
+ ],
+ "members": {
+ "Size": {
+ "locationName": "size",
+ "type": "long"
+ }
+ }
+ },
+ "Six": {
+ "type": "list",
+ "member": {
+ "shape": "S39",
+ "locationName": "item"
+ }
+ },
+ "Sj1": {
+ "type": "list",
+ "member": {
+ "locationName": "UserId"
+ }
+ },
+ "Sju": {
+ "type": "list",
+ "member": {
+ "locationName": "item",
+ "type": "structure",
+ "members": {
+ "InstanceId": {
+ "locationName": "instanceId"
+ },
+ "Monitoring": {
+ "shape": "Sbi",
+ "locationName": "monitoring"
+ }
+ }
+ }
+ },
+ "Sl6": {
+ "type": "list",
+ "member": {
+ "locationName": "SecurityGroupId"
+ }
+ },
+ "Sll": {
+ "type": "list",
+ "member": {
+ "locationName": "item",
+ "type": "structure",
+ "members": {
+ "InstanceId": {
+ "locationName": "instanceId"
+ },
+ "CurrentState": {
+ "shape": "Sb2",
+ "locationName": "currentState"
+ },
+ "PreviousState": {
+ "shape": "Sb2",
+ "locationName": "previousState"
+ }
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/node_modules/aws-sdk/apis/ec2-2015-10-01.paginators.json b/node_modules/aws-sdk/apis/ec2-2015-10-01.paginators.json
new file mode 100644
index 0000000000000000000000000000000000000000..7d6feff63c706e7c8dd0ef0d15e7de41a576dc9f
--- /dev/null
+++ b/node_modules/aws-sdk/apis/ec2-2015-10-01.paginators.json
@@ -0,0 +1,132 @@
+{
+ "pagination": {
+ "DescribeAccountAttributes": {
+ "result_key": "AccountAttributes"
+ },
+ "DescribeAddresses": {
+ "result_key": "Addresses"
+ },
+ "DescribeAvailabilityZones": {
+ "result_key": "AvailabilityZones"
+ },
+ "DescribeBundleTasks": {
+ "result_key": "BundleTasks"
+ },
+ "DescribeConversionTasks": {
+ "result_key": "ConversionTasks"
+ },
+ "DescribeCustomerGateways": {
+ "result_key": "CustomerGateways"
+ },
+ "DescribeDhcpOptions": {
+ "result_key": "DhcpOptions"
+ },
+ "DescribeExportTasks": {
+ "result_key": "ExportTasks"
+ },
+ "DescribeImages": {
+ "result_key": "Images"
+ },
+ "DescribeInstanceStatus": {
+ "input_token": "NextToken",
+ "output_token": "NextToken",
+ "limit_key": "MaxResults",
+ "result_key": "InstanceStatuses"
+ },
+ "DescribeInstances": {
+ "input_token": "NextToken",
+ "output_token": "NextToken",
+ "limit_key": "MaxResults",
+ "result_key": "Reservations"
+ },
+ "DescribeInternetGateways": {
+ "result_key": "InternetGateways"
+ },
+ "DescribeKeyPairs": {
+ "result_key": "KeyPairs"
+ },
+ "DescribeNetworkAcls": {
+ "result_key": "NetworkAcls"
+ },
+ "DescribeNetworkInterfaces": {
+ "result_key": "NetworkInterfaces"
+ },
+ "DescribePlacementGroups": {
+ "result_key": "PlacementGroups"
+ },
+ "DescribeRegions": {
+ "result_key": "Regions"
+ },
+ "DescribeReservedInstances": {
+ "result_key": "ReservedInstances"
+ },
+ "DescribeReservedInstancesListings": {
+ "result_key": "ReservedInstancesListings"
+ },
+ "DescribeReservedInstancesOfferings": {
+ "input_token": "NextToken",
+ "output_token": "NextToken",
+ "limit_key": "MaxResults",
+ "result_key": "ReservedInstancesOfferings"
+ },
+ "DescribeReservedInstancesModifications": {
+ "input_token": "NextToken",
+ "output_token": "NextToken",
+ "result_key": "ReservedInstancesModifications"
+ },
+ "DescribeRouteTables": {
+ "result_key": "RouteTables"
+ },
+ "DescribeSecurityGroups": {
+ "result_key": "SecurityGroups"
+ },
+ "DescribeSnapshots": {
+ "input_token": "NextToken",
+ "output_token": "NextToken",
+ "limit_key": "MaxResults",
+ "result_key": "Snapshots"
+ },
+ "DescribeSpotInstanceRequests": {
+ "result_key": "SpotInstanceRequests"
+ },
+ "DescribeSpotPriceHistory": {
+ "input_token": "NextToken",
+ "output_token": "NextToken",
+ "limit_key": "MaxResults",
+ "result_key": "SpotPriceHistory"
+ },
+ "DescribeSubnets": {
+ "result_key": "Subnets"
+ },
+ "DescribeTags": {
+ "input_token": "NextToken",
+ "output_token": "NextToken",
+ "limit_key": "MaxResults",
+ "result_key": "Tags"
+ },
+ "DescribeVolumeStatus": {
+ "input_token": "NextToken",
+ "output_token": "NextToken",
+ "limit_key": "MaxResults",
+ "result_key": "VolumeStatuses"
+ },
+ "DescribeVolumes": {
+ "input_token": "NextToken",
+ "output_token": "NextToken",
+ "limit_key": "MaxResults",
+ "result_key": "Volumes"
+ },
+ "DescribeVpcs": {
+ "result_key": "Vpcs"
+ },
+ "DescribeVpcPeeringConnections": {
+ "result_key": "VpcPeeringConnections"
+ },
+ "DescribeVpnConnections": {
+ "result_key": "VpnConnections"
+ },
+ "DescribeVpnGateways": {
+ "result_key": "VpnGateways"
+ }
+ }
+}
diff --git a/node_modules/aws-sdk/apis/ec2-2015-10-01.waiters.json b/node_modules/aws-sdk/apis/ec2-2015-10-01.waiters.json
new file mode 100644
index 0000000000000000000000000000000000000000..939fdf9efbaee7a10ba851927197626eed3ec1b5
--- /dev/null
+++ b/node_modules/aws-sdk/apis/ec2-2015-10-01.waiters.json
@@ -0,0 +1,181 @@
+{
+ "waiters": {
+ "__default__": {
+ "interval": 15,
+ "max_attempts": 40,
+ "acceptor_type": "output"
+ },
+ "__InstanceState": {
+ "operation": "DescribeInstances",
+ "acceptor_path": "Reservations[].Instances[].State.Name"
+ },
+ "__InstanceStatus": {
+ "operation": "DescribeInstanceStatus",
+ "success_value": "ok"
+ },
+ "SystemStatusOk": {
+ "extends": "__InstanceStatus",
+ "acceptor_path": "InstanceStatuses[].SystemStatus.Status"
+ },
+ "InstanceStatusOk": {
+ "extends": "__InstanceStatus",
+ "acceptor_path": "InstanceStatuses[].InstanceStatus.Status"
+ },
+ "ImageAvailable": {
+ "operation": "DescribeImages",
+ "acceptor_path": "Images[].State",
+ "success_value": "available",
+ "failure_value": [
+ "failed"
+ ]
+ },
+ "InstanceRunning": {
+ "extends": "__InstanceState",
+ "success_value": "running",
+ "failure_value": [
+ "shutting-down",
+ "terminated",
+ "stopping"
+ ]
+ },
+ "InstanceStopped": {
+ "extends": "__InstanceState",
+ "success_value": "stopped",
+ "failure_value": [
+ "pending",
+ "terminated"
+ ]
+ },
+ "InstanceTerminated": {
+ "extends": "__InstanceState",
+ "success_value": "terminated",
+ "failure_value": [
+ "pending",
+ "stopping"
+ ]
+ },
+ "__ExportTaskState": {
+ "operation": "DescribeExportTasks",
+ "acceptor_path": "ExportTasks[].State"
+ },
+ "ExportTaskCompleted": {
+ "extends": "__ExportTaskState",
+ "success_value": "completed"
+ },
+ "ExportTaskCancelled": {
+ "extends": "__ExportTaskState",
+ "success_value": "cancelled"
+ },
+ "SnapshotCompleted": {
+ "operation": "DescribeSnapshots",
+ "success_path": "Snapshots[].State",
+ "success_value": "completed"
+ },
+ "SubnetAvailable": {
+ "operation": "DescribeSubnets",
+ "success_path": "Subnets[].State",
+ "success_value": "available"
+ },
+ "__VolumeStatus": {
+ "operation": "DescribeVolumes",
+ "acceptor_path": "Volumes[].State"
+ },
+ "VolumeAvailable": {
+ "extends": "__VolumeStatus",
+ "success_value": "available",
+ "failure_value": [
+ "deleted"
+ ]
+ },
+ "VolumeInUse": {
+ "extends": "__VolumeStatus",
+ "success_value": "in-use",
+ "failure_value": [
+ "deleted"
+ ]
+ },
+ "VolumeDeleted": {
+ "extends": "__VolumeStatus",
+ "success_type": "error",
+ "success_value": "InvalidVolume.NotFound"
+ },
+ "VpcAvailable": {
+ "operation": "DescribeVpcs",
+ "success_path": "Vpcs[].State",
+ "success_value": "available"
+ },
+ "__VpnConnectionState": {
+ "operation": "DescribeVpnConnections",
+ "acceptor_path": "VpnConnections[].State"
+ },
+ "VpnConnectionAvailable": {
+ "extends": "__VpnConnectionState",
+ "success_value": "available",
+ "failure_value": [
+ "deleting",
+ "deleted"
+ ]
+ },
+ "VpnConnectionDeleted": {
+ "extends": "__VpnConnectionState",
+ "success_value": "deleted",
+ "failure_value": [
+ "pending"
+ ]
+ },
+ "BundleTaskComplete": {
+ "operation": "DescribeBundleTasks",
+ "acceptor_path": "BundleTasks[].State",
+ "success_value": "complete",
+ "failure_value": [
+ "failed"
+ ]
+ },
+ "__ConversionTaskState": {
+ "operation": "DescribeConversionTasks",
+ "acceptor_path": "ConversionTasks[].State"
+ },
+ "ConversionTaskCompleted": {
+ "extends": "__ConversionTaskState",
+ "success_value": "completed",
+ "failure_value": [
+ "cancelled",
+ "cancelling"
+ ]
+ },
+ "ConversionTaskCancelled": {
+ "extends": "__ConversionTaskState",
+ "success_value": "cancelled"
+ },
+ "__CustomerGatewayState": {
+ "operation": "DescribeCustomerGateways",
+ "acceptor_path": "CustomerGateways[].State"
+ },
+ "CustomerGatewayAvailable": {
+ "extends": "__CustomerGatewayState",
+ "success_value": "available",
+ "failure_value": [
+ "deleted",
+ "deleting"
+ ]
+ },
+ "ConversionTaskDeleted": {
+ "extends": "__CustomerGatewayState",
+ "success_value": "deleted"
+ },
+ "__SpotInstanceRequestState": {
+ "operation": "DescribeSpotInstanceRequests",
+ "acceptor_path": "SpotInstanceRequests[].Status.Code"
+ },
+ "SpotInstanceRequestFulfilled": {
+ "extends": "__SpotInstanceRequestState",
+ "success_value": "fulfilled",
+ "failure_value": [
+ "schedule-expired",
+ "canceled-before-fulfillment",
+ "bad-parameters",
+ "system-error"
+ ]
+ }
+ }
+}
diff --git a/node_modules/aws-sdk/apis/ecr-2015-09-21.min.json b/node_modules/aws-sdk/apis/ecr-2015-09-21.min.json
new file mode 100644
index 0000000000000000000000000000000000000000..d5d40afc573471151f2b803a429f4a12b3f4ca3e
--- /dev/null
+++ b/node_modules/aws-sdk/apis/ecr-2015-09-21.min.json
@@ -0,0 +1,483 @@
+{
+ "version": "2.0",
+ "metadata": {
+ "apiVersion": "2015-09-21",
+ "endpointPrefix": "ecr",
+ "jsonVersion": "1.1",
+ "protocol": "json",
+ "serviceAbbreviation": "Amazon ECR",
+ "serviceFullName": "Amazon EC2 Container Registry",
+ "signatureVersion": "v4",
+ "targetPrefix": "AmazonEC2ContainerRegistry_V20150921"
+ },
+ "operations": {
+ "BatchCheckLayerAvailability": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "repositoryName",
+ "layerDigests"
+ ],
+ "members": {
+ "registryId": {},
+ "repositoryName": {},
+ "layerDigests": {
+ "type": "list",
+ "member": {}
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "layers": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "layerDigest": {},
+ "layerAvailability": {},
+ "layerSize": {
+ "type": "long"
+ }
+ }
+ }
+ },
+ "failures": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "layerDigest": {},
+ "failureCode": {},
+ "failureReason": {}
+ }
+ }
+ }
+ }
+ }
+ },
+ "BatchDeleteImage": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "repositoryName",
+ "imageIds"
+ ],
+ "members": {
+ "registryId": {},
+ "repositoryName": {},
+ "imageIds": {
+ "shape": "Sh"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "imageIds": {
+ "shape": "Sh"
+ },
+ "failures": {
+ "shape": "Sm"
+ }
+ }
+ }
+ },
+ "BatchGetImage": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "repositoryName",
+ "imageIds"
+ ],
+ "members": {
+ "registryId": {},
+ "repositoryName": {},
+ "imageIds": {
+ "shape": "Sh"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "images": {
+ "type": "list",
+ "member": {
+ "shape": "St"
+ }
+ },
+ "failures": {
+ "shape": "Sm"
+ }
+ }
+ }
+ },
+ "CompleteLayerUpload": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "repositoryName",
+ "uploadId",
+ "layerDigests"
+ ],
+ "members": {
+ "registryId": {},
+ "repositoryName": {},
+ "uploadId": {},
+ "layerDigests": {
+ "type": "list",
+ "member": {}
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "registryId": {},
+ "repositoryName": {},
+ "uploadId": {},
+ "layerDigest": {}
+ }
+ }
+ },
+ "CreateRepository": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "repositoryName"
+ ],
+ "members": {
+ "repositoryName": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "repository": {
+ "shape": "S11"
+ }
+ }
+ }
+ },
+ "DeleteRepository": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "repositoryName"
+ ],
+ "members": {
+ "registryId": {},
+ "repositoryName": {},
+ "force": {
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "repository": {
+ "shape": "S11"
+ }
+ }
+ }
+ },
+ "DeleteRepositoryPolicy": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "repositoryName"
+ ],
+ "members": {
+ "registryId": {},
+ "repositoryName": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "registryId": {},
+ "repositoryName": {},
+ "policyText": {}
+ }
+ }
+ },
+ "DescribeRepositories": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "registryId": {},
+ "repositoryNames": {
+ "type": "list",
+ "member": {}
+ },
+ "nextToken": {},
+ "maxResults": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "repositories": {
+ "type": "list",
+ "member": {
+ "shape": "S11"
+ }
+ },
+ "nextToken": {}
+ }
+ }
+ },
+ "GetAuthorizationToken": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "registryIds": {
+ "type": "list",
+ "member": {}
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "authorizationData": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "authorizationToken": {},
+ "expiresAt": {
+ "type": "timestamp"
+ },
+ "proxyEndpoint": {}
+ }
+ }
+ }
+ }
+ }
+ },
+ "GetDownloadUrlForLayer": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "repositoryName",
+ "layerDigest"
+ ],
+ "members": {
+ "registryId": {},
+ "repositoryName": {},
+ "layerDigest": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "downloadUrl": {},
+ "layerDigest": {}
+ }
+ }
+ },
+ "GetRepositoryPolicy": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "repositoryName"
+ ],
+ "members": {
+ "registryId": {},
+ "repositoryName": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "registryId": {},
+ "repositoryName": {},
+ "policyText": {}
+ }
+ }
+ },
+ "InitiateLayerUpload": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "repositoryName"
+ ],
+ "members": {
+ "registryId": {},
+ "repositoryName": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "uploadId": {},
+ "partSize": {
+ "type": "long"
+ }
+ }
+ }
+ },
+ "ListImages": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "repositoryName"
+ ],
+ "members": {
+ "registryId": {},
+ "repositoryName": {},
+ "nextToken": {},
+ "maxResults": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "imageIds": {
+ "shape": "Sh"
+ },
+ "nextToken": {}
+ }
+ }
+ },
+ "PutImage": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "repositoryName",
+ "imageManifest"
+ ],
+ "members": {
+ "registryId": {},
+ "repositoryName": {},
+ "imageManifest": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "image": {
+ "shape": "St"
+ }
+ }
+ }
+ },
+ "SetRepositoryPolicy": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "repositoryName",
+ "policyText"
+ ],
+ "members": {
+ "registryId": {},
+ "repositoryName": {},
+ "policyText": {},
+ "force": {
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "registryId": {},
+ "repositoryName": {},
+ "policyText": {}
+ }
+ }
+ },
+ "UploadLayerPart": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "repositoryName",
+ "uploadId",
+ "partFirstByte",
+ "partLastByte",
+ "layerPartBlob"
+ ],
+ "members": {
+ "registryId": {},
+ "repositoryName": {},
+ "uploadId": {},
+ "partFirstByte": {
+ "type": "long"
+ },
+ "partLastByte": {
+ "type": "long"
+ },
+ "layerPartBlob": {
+ "type": "blob"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "registryId": {},
+ "repositoryName": {},
+ "uploadId": {},
+ "lastByteReceived": {
+ "type": "long"
+ }
+ }
+ }
+ }
+ },
+ "shapes": {
+ "Sh": {
+ "type": "list",
+ "member": {
+ "shape": "Si"
+ }
+ },
+ "Si": {
+ "type": "structure",
+ "members": {
+ "imageDigest": {},
+ "imageTag": {}
+ }
+ },
+ "Sm": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "imageId": {
+ "shape": "Si"
+ },
+ "failureCode": {},
+ "failureReason": {}
+ }
+ }
+ },
+ "St": {
+ "type": "structure",
+ "members": {
+ "registryId": {},
+ "repositoryName": {},
+ "imageId": {
+ "shape": "Si"
+ },
+ "imageManifest": {}
+ }
+ },
+ "S11": {
+ "type": "structure",
+ "members": {
+ "repositoryArn": {},
+ "registryId": {},
+ "repositoryName": {}
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/node_modules/aws-sdk/apis/ecs-2014-11-13.min.json b/node_modules/aws-sdk/apis/ecs-2014-11-13.min.json
new file mode 100644
index 0000000000000000000000000000000000000000..71fc410c10902700d2714110d68c4d21dae25cf3
--- /dev/null
+++ b/node_modules/aws-sdk/apis/ecs-2014-11-13.min.json
@@ -0,0 +1,1122 @@
+{
+ "version": "2.0",
+ "metadata": {
+ "apiVersion": "2014-11-13",
+ "endpointPrefix": "ecs",
+ "jsonVersion": "1.1",
+ "protocol": "json",
+ "serviceAbbreviation": "Amazon ECS",
+ "serviceFullName": "Amazon EC2 Container Service",
+ "signatureVersion": "v4",
+ "targetPrefix": "AmazonEC2ContainerServiceV20141113"
+ },
+ "operations": {
+ "CreateCluster": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "clusterName": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "cluster": {
+ "shape": "S4"
+ }
+ }
+ }
+ },
+ "CreateService": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "serviceName",
+ "taskDefinition",
+ "desiredCount"
+ ],
+ "members": {
+ "cluster": {},
+ "serviceName": {},
+ "taskDefinition": {},
+ "loadBalancers": {
+ "shape": "S7"
+ },
+ "desiredCount": {
+ "type": "integer"
+ },
+ "clientToken": {},
+ "role": {},
+ "deploymentConfiguration": {
+ "shape": "Sa"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "service": {
+ "shape": "Sc"
+ }
+ }
+ }
+ },
+ "DeleteCluster": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "cluster"
+ ],
+ "members": {
+ "cluster": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "cluster": {
+ "shape": "S4"
+ }
+ }
+ }
+ },
+ "DeleteService": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "service"
+ ],
+ "members": {
+ "cluster": {},
+ "service": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "service": {
+ "shape": "Sc"
+ }
+ }
+ }
+ },
+ "DeregisterContainerInstance": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "containerInstance"
+ ],
+ "members": {
+ "cluster": {},
+ "containerInstance": {},
+ "force": {
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "containerInstance": {
+ "shape": "Sp"
+ }
+ }
+ }
+ },
+ "DeregisterTaskDefinition": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "taskDefinition"
+ ],
+ "members": {
+ "taskDefinition": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "taskDefinition": {
+ "shape": "S12"
+ }
+ }
+ }
+ },
+ "DescribeClusters": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "clusters": {
+ "shape": "Sv"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "clusters": {
+ "type": "list",
+ "member": {
+ "shape": "S4"
+ }
+ },
+ "failures": {
+ "shape": "S1v"
+ }
+ }
+ }
+ },
+ "DescribeContainerInstances": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "containerInstances"
+ ],
+ "members": {
+ "cluster": {},
+ "containerInstances": {
+ "shape": "Sv"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "containerInstances": {
+ "type": "list",
+ "member": {
+ "shape": "Sp"
+ }
+ },
+ "failures": {
+ "shape": "S1v"
+ }
+ }
+ }
+ },
+ "DescribeServices": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "services"
+ ],
+ "members": {
+ "cluster": {},
+ "services": {
+ "shape": "Sv"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "services": {
+ "type": "list",
+ "member": {
+ "shape": "Sc"
+ }
+ },
+ "failures": {
+ "shape": "S1v"
+ }
+ }
+ }
+ },
+ "DescribeTaskDefinition": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "taskDefinition"
+ ],
+ "members": {
+ "taskDefinition": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "taskDefinition": {
+ "shape": "S12"
+ }
+ }
+ }
+ },
+ "DescribeTasks": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "tasks"
+ ],
+ "members": {
+ "cluster": {},
+ "tasks": {
+ "shape": "Sv"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "tasks": {
+ "shape": "S27"
+ },
+ "failures": {
+ "shape": "S1v"
+ }
+ }
+ }
+ },
+ "DiscoverPollEndpoint": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "containerInstance": {},
+ "cluster": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "endpoint": {},
+ "telemetryEndpoint": {}
+ }
+ }
+ },
+ "ListClusters": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "nextToken": {},
+ "maxResults": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "clusterArns": {
+ "shape": "Sv"
+ },
+ "nextToken": {}
+ }
+ }
+ },
+ "ListContainerInstances": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "cluster": {},
+ "nextToken": {},
+ "maxResults": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "containerInstanceArns": {
+ "shape": "Sv"
+ },
+ "nextToken": {}
+ }
+ }
+ },
+ "ListServices": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "cluster": {},
+ "nextToken": {},
+ "maxResults": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "serviceArns": {
+ "shape": "Sv"
+ },
+ "nextToken": {}
+ }
+ }
+ },
+ "ListTaskDefinitionFamilies": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "familyPrefix": {},
+ "nextToken": {},
+ "maxResults": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "families": {
+ "shape": "Sv"
+ },
+ "nextToken": {}
+ }
+ }
+ },
+ "ListTaskDefinitions": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "familyPrefix": {},
+ "status": {},
+ "sort": {},
+ "nextToken": {},
+ "maxResults": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "taskDefinitionArns": {
+ "shape": "Sv"
+ },
+ "nextToken": {}
+ }
+ }
+ },
+ "ListTasks": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "cluster": {},
+ "containerInstance": {},
+ "family": {},
+ "nextToken": {},
+ "maxResults": {
+ "type": "integer"
+ },
+ "startedBy": {},
+ "serviceName": {},
+ "desiredStatus": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "taskArns": {
+ "shape": "Sv"
+ },
+ "nextToken": {}
+ }
+ }
+ },
+ "RegisterContainerInstance": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "cluster": {},
+ "instanceIdentityDocument": {},
+ "instanceIdentityDocumentSignature": {},
+ "totalResources": {
+ "shape": "Sr"
+ },
+ "versionInfo": {
+ "shape": "Sq"
+ },
+ "containerInstanceArn": {},
+ "attributes": {
+ "shape": "Sy"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "containerInstance": {
+ "shape": "Sp"
+ }
+ }
+ }
+ },
+ "RegisterTaskDefinition": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "family",
+ "containerDefinitions"
+ ],
+ "members": {
+ "family": {},
+ "containerDefinitions": {
+ "shape": "S13"
+ },
+ "volumes": {
+ "shape": "S1n"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "taskDefinition": {
+ "shape": "S12"
+ }
+ }
+ }
+ },
+ "RunTask": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "taskDefinition"
+ ],
+ "members": {
+ "cluster": {},
+ "taskDefinition": {},
+ "overrides": {
+ "shape": "S29"
+ },
+ "count": {
+ "type": "integer"
+ },
+ "startedBy": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "tasks": {
+ "shape": "S27"
+ },
+ "failures": {
+ "shape": "S1v"
+ }
+ }
+ }
+ },
+ "StartTask": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "taskDefinition",
+ "containerInstances"
+ ],
+ "members": {
+ "cluster": {},
+ "taskDefinition": {},
+ "overrides": {
+ "shape": "S29"
+ },
+ "containerInstances": {
+ "shape": "Sv"
+ },
+ "startedBy": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "tasks": {
+ "shape": "S27"
+ },
+ "failures": {
+ "shape": "S1v"
+ }
+ }
+ }
+ },
+ "StopTask": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "task"
+ ],
+ "members": {
+ "cluster": {},
+ "task": {},
+ "reason": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "task": {
+ "shape": "S28"
+ }
+ }
+ }
+ },
+ "SubmitContainerStateChange": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "cluster": {},
+ "task": {},
+ "containerName": {},
+ "status": {},
+ "exitCode": {
+ "type": "integer"
+ },
+ "reason": {},
+ "networkBindings": {
+ "shape": "S2e"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "acknowledgment": {}
+ }
+ }
+ },
+ "SubmitTaskStateChange": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "cluster": {},
+ "task": {},
+ "status": {},
+ "reason": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "acknowledgment": {}
+ }
+ }
+ },
+ "UpdateContainerAgent": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "containerInstance"
+ ],
+ "members": {
+ "cluster": {},
+ "containerInstance": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "containerInstance": {
+ "shape": "Sp"
+ }
+ }
+ }
+ },
+ "UpdateService": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "service"
+ ],
+ "members": {
+ "cluster": {},
+ "service": {},
+ "desiredCount": {
+ "type": "integer"
+ },
+ "taskDefinition": {},
+ "deploymentConfiguration": {
+ "shape": "Sa"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "service": {
+ "shape": "Sc"
+ }
+ }
+ }
+ }
+ },
+ "shapes": {
+ "S4": {
+ "type": "structure",
+ "members": {
+ "clusterArn": {},
+ "clusterName": {},
+ "status": {},
+ "registeredContainerInstancesCount": {
+ "type": "integer"
+ },
+ "runningTasksCount": {
+ "type": "integer"
+ },
+ "pendingTasksCount": {
+ "type": "integer"
+ },
+ "activeServicesCount": {
+ "type": "integer"
+ }
+ }
+ },
+ "S7": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "loadBalancerName": {},
+ "containerName": {},
+ "containerPort": {
+ "type": "integer"
+ }
+ }
+ }
+ },
+ "Sa": {
+ "type": "structure",
+ "members": {
+ "maximumPercent": {
+ "type": "integer"
+ },
+ "minimumHealthyPercent": {
+ "type": "integer"
+ }
+ }
+ },
+ "Sc": {
+ "type": "structure",
+ "members": {
+ "serviceArn": {},
+ "serviceName": {},
+ "clusterArn": {},
+ "loadBalancers": {
+ "shape": "S7"
+ },
+ "status": {},
+ "desiredCount": {
+ "type": "integer"
+ },
+ "runningCount": {
+ "type": "integer"
+ },
+ "pendingCount": {
+ "type": "integer"
+ },
+ "taskDefinition": {},
+ "deploymentConfiguration": {
+ "shape": "Sa"
+ },
+ "deployments": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "id": {},
+ "status": {},
+ "taskDefinition": {},
+ "desiredCount": {
+ "type": "integer"
+ },
+ "pendingCount": {
+ "type": "integer"
+ },
+ "runningCount": {
+ "type": "integer"
+ },
+ "createdAt": {
+ "type": "timestamp"
+ },
+ "updatedAt": {
+ "type": "timestamp"
+ }
+ }
+ }
+ },
+ "roleArn": {},
+ "events": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "id": {},
+ "createdAt": {
+ "type": "timestamp"
+ },
+ "message": {}
+ }
+ }
+ }
+ }
+ },
+ "Sp": {
+ "type": "structure",
+ "members": {
+ "containerInstanceArn": {},
+ "ec2InstanceId": {},
+ "versionInfo": {
+ "shape": "Sq"
+ },
+ "remainingResources": {
+ "shape": "Sr"
+ },
+ "registeredResources": {
+ "shape": "Sr"
+ },
+ "status": {},
+ "agentConnected": {
+ "type": "boolean"
+ },
+ "runningTasksCount": {
+ "type": "integer"
+ },
+ "pendingTasksCount": {
+ "type": "integer"
+ },
+ "agentUpdateStatus": {},
+ "attributes": {
+ "shape": "Sy"
+ }
+ }
+ },
+ "Sq": {
+ "type": "structure",
+ "members": {
+ "agentVersion": {},
+ "agentHash": {},
+ "dockerVersion": {}
+ }
+ },
+ "Sr": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "name": {},
+ "type": {},
+ "doubleValue": {
+ "type": "double"
+ },
+ "longValue": {
+ "type": "long"
+ },
+ "integerValue": {
+ "type": "integer"
+ },
+ "stringSetValue": {
+ "shape": "Sv"
+ }
+ }
+ }
+ },
+ "Sv": {
+ "type": "list",
+ "member": {}
+ },
+ "Sy": {
+ "type": "list",
+ "member": {
+ "shape": "Sz"
+ }
+ },
+ "Sz": {
+ "type": "structure",
+ "required": [
+ "name"
+ ],
+ "members": {
+ "name": {},
+ "value": {}
+ }
+ },
+ "S12": {
+ "type": "structure",
+ "members": {
+ "taskDefinitionArn": {},
+ "containerDefinitions": {
+ "shape": "S13"
+ },
+ "family": {},
+ "revision": {
+ "type": "integer"
+ },
+ "volumes": {
+ "shape": "S1n"
+ },
+ "status": {},
+ "requiresAttributes": {
+ "type": "list",
+ "member": {
+ "shape": "Sz"
+ }
+ }
+ }
+ },
+ "S13": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "name": {},
+ "image": {},
+ "cpu": {
+ "type": "integer"
+ },
+ "memory": {
+ "type": "integer"
+ },
+ "links": {
+ "shape": "Sv"
+ },
+ "portMappings": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "containerPort": {
+ "type": "integer"
+ },
+ "hostPort": {
+ "type": "integer"
+ },
+ "protocol": {}
+ }
+ }
+ },
+ "essential": {
+ "type": "boolean"
+ },
+ "entryPoint": {
+ "shape": "Sv"
+ },
+ "command": {
+ "shape": "Sv"
+ },
+ "environment": {
+ "shape": "S18"
+ },
+ "mountPoints": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "sourceVolume": {},
+ "containerPath": {},
+ "readOnly": {
+ "type": "boolean"
+ }
+ }
+ }
+ },
+ "volumesFrom": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "sourceContainer": {},
+ "readOnly": {
+ "type": "boolean"
+ }
+ }
+ }
+ },
+ "hostname": {},
+ "user": {},
+ "workingDirectory": {},
+ "disableNetworking": {
+ "type": "boolean"
+ },
+ "privileged": {
+ "type": "boolean"
+ },
+ "readonlyRootFilesystem": {
+ "type": "boolean"
+ },
+ "dnsServers": {
+ "shape": "Sv"
+ },
+ "dnsSearchDomains": {
+ "shape": "Sv"
+ },
+ "extraHosts": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "hostname",
+ "ipAddress"
+ ],
+ "members": {
+ "hostname": {},
+ "ipAddress": {}
+ }
+ }
+ },
+ "dockerSecurityOptions": {
+ "shape": "Sv"
+ },
+ "dockerLabels": {
+ "type": "map",
+ "key": {},
+ "value": {}
+ },
+ "ulimits": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "name",
+ "softLimit",
+ "hardLimit"
+ ],
+ "members": {
+ "name": {},
+ "softLimit": {
+ "type": "integer"
+ },
+ "hardLimit": {
+ "type": "integer"
+ }
+ }
+ }
+ },
+ "logConfiguration": {
+ "type": "structure",
+ "required": [
+ "logDriver"
+ ],
+ "members": {
+ "logDriver": {},
+ "options": {
+ "type": "map",
+ "key": {},
+ "value": {}
+ }
+ }
+ }
+ }
+ }
+ },
+ "S18": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "name": {},
+ "value": {}
+ }
+ }
+ },
+ "S1n": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "name": {},
+ "host": {
+ "type": "structure",
+ "members": {
+ "sourcePath": {}
+ }
+ }
+ }
+ }
+ },
+ "S1v": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "arn": {},
+ "reason": {}
+ }
+ }
+ },
+ "S27": {
+ "type": "list",
+ "member": {
+ "shape": "S28"
+ }
+ },
+ "S28": {
+ "type": "structure",
+ "members": {
+ "taskArn": {},
+ "clusterArn": {},
+ "taskDefinitionArn": {},
+ "containerInstanceArn": {},
+ "overrides": {
+ "shape": "S29"
+ },
+ "lastStatus": {},
+ "desiredStatus": {},
+ "containers": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "containerArn": {},
+ "taskArn": {},
+ "name": {},
+ "lastStatus": {},
+ "exitCode": {
+ "type": "integer"
+ },
+ "reason": {},
+ "networkBindings": {
+ "shape": "S2e"
+ }
+ }
+ }
+ },
+ "startedBy": {},
+ "stoppedReason": {},
+ "createdAt": {
+ "type": "timestamp"
+ },
+ "startedAt": {
+ "type": "timestamp"
+ },
+ "stoppedAt": {
+ "type": "timestamp"
+ }
+ }
+ },
+ "S29": {
+ "type": "structure",
+ "members": {
+ "containerOverrides": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "name": {},
+ "command": {
+ "shape": "Sv"
+ },
+ "environment": {
+ "shape": "S18"
+ }
+ }
+ }
+ }
+ }
+ },
+ "S2e": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "bindIP": {},
+ "containerPort": {
+ "type": "integer"
+ },
+ "hostPort": {
+ "type": "integer"
+ },
+ "protocol": {}
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/node_modules/aws-sdk/apis/ecs-2014-11-13.paginators.json b/node_modules/aws-sdk/apis/ecs-2014-11-13.paginators.json
new file mode 100644
index 0000000000000000000000000000000000000000..081a2df00253612d5722538ce5b2209894c0827d
--- /dev/null
+++ b/node_modules/aws-sdk/apis/ecs-2014-11-13.paginators.json
@@ -0,0 +1,40 @@
+{
+ "pagination": {
+ "ListClusters": {
+ "input_token": "nextToken",
+ "output_token": "nextToken",
+ "limit_key": "maxResults",
+ "result_key": "clusterArns"
+ },
+ "ListContainerInstances": {
+ "input_token": "nextToken",
+ "output_token": "nextToken",
+ "limit_key": "maxResults",
+ "result_key": "containerInstanceArns"
+ },
+ "ListTaskDefinitions": {
+ "input_token": "nextToken",
+ "output_token": "nextToken",
+ "limit_key": "maxResults",
+ "result_key": "taskDefinitionArns"
+ },
+ "ListTaskDefinitionFamilies": {
+ "input_token": "nextToken",
+ "output_token": "nextToken",
+ "limit_key": "maxResults",
+ "result_key": "families"
+ },
+ "ListTasks": {
+ "input_token": "nextToken",
+ "output_token": "nextToken",
+ "limit_key": "maxResults",
+ "result_key": "taskArns"
+ },
+ "ListServices": {
+ "input_token": "nextToken",
+ "output_token": "nextToken",
+ "limit_key": "maxResults",
+ "result_key": "serviceArns"
+ }
+ }
+}
diff --git a/node_modules/aws-sdk/apis/elasticache-2015-02-02.min.json b/node_modules/aws-sdk/apis/elasticache-2015-02-02.min.json
new file mode 100644
index 0000000000000000000000000000000000000000..02b085a772f1c324ed29fddf0b7e44ba48493cdb
--- /dev/null
+++ b/node_modules/aws-sdk/apis/elasticache-2015-02-02.min.json
@@ -0,0 +1,1513 @@
+{
+ "version": "2.0",
+ "metadata": {
+ "apiVersion": "2015-02-02",
+ "endpointPrefix": "elasticache",
+ "protocol": "query",
+ "serviceFullName": "Amazon ElastiCache",
+ "signatureVersion": "v4",
+ "xmlNamespace": "http://elasticache.amazonaws.com/doc/2015-02-02/"
+ },
+ "operations": {
+ "AddTagsToResource": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ResourceName",
+ "Tags"
+ ],
+ "members": {
+ "ResourceName": {},
+ "Tags": {
+ "shape": "S3"
+ }
+ }
+ },
+ "output": {
+ "shape": "S5",
+ "resultWrapper": "AddTagsToResourceResult"
+ }
+ },
+ "AuthorizeCacheSecurityGroupIngress": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "CacheSecurityGroupName",
+ "EC2SecurityGroupName",
+ "EC2SecurityGroupOwnerId"
+ ],
+ "members": {
+ "CacheSecurityGroupName": {},
+ "EC2SecurityGroupName": {},
+ "EC2SecurityGroupOwnerId": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "AuthorizeCacheSecurityGroupIngressResult",
+ "type": "structure",
+ "members": {
+ "CacheSecurityGroup": {
+ "shape": "S8"
+ }
+ }
+ }
+ },
+ "CopySnapshot": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "SourceSnapshotName",
+ "TargetSnapshotName"
+ ],
+ "members": {
+ "SourceSnapshotName": {},
+ "TargetSnapshotName": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "CopySnapshotResult",
+ "type": "structure",
+ "members": {
+ "Snapshot": {
+ "shape": "Sd"
+ }
+ }
+ }
+ },
+ "CreateCacheCluster": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "CacheClusterId"
+ ],
+ "members": {
+ "CacheClusterId": {},
+ "ReplicationGroupId": {},
+ "AZMode": {},
+ "PreferredAvailabilityZone": {},
+ "PreferredAvailabilityZones": {
+ "shape": "Sl"
+ },
+ "NumCacheNodes": {
+ "type": "integer"
+ },
+ "CacheNodeType": {},
+ "Engine": {},
+ "EngineVersion": {},
+ "CacheParameterGroupName": {},
+ "CacheSubnetGroupName": {},
+ "CacheSecurityGroupNames": {
+ "shape": "Sm"
+ },
+ "SecurityGroupIds": {
+ "shape": "Sn"
+ },
+ "Tags": {
+ "shape": "S3"
+ },
+ "SnapshotArns": {
+ "shape": "So"
+ },
+ "SnapshotName": {},
+ "PreferredMaintenanceWindow": {},
+ "Port": {
+ "type": "integer"
+ },
+ "NotificationTopicArn": {},
+ "AutoMinorVersionUpgrade": {
+ "type": "boolean"
+ },
+ "SnapshotRetentionLimit": {
+ "type": "integer"
+ },
+ "SnapshotWindow": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "CreateCacheClusterResult",
+ "type": "structure",
+ "members": {
+ "CacheCluster": {
+ "shape": "Sr"
+ }
+ }
+ }
+ },
+ "CreateCacheParameterGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "CacheParameterGroupName",
+ "CacheParameterGroupFamily",
+ "Description"
+ ],
+ "members": {
+ "CacheParameterGroupName": {},
+ "CacheParameterGroupFamily": {},
+ "Description": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "CreateCacheParameterGroupResult",
+ "type": "structure",
+ "members": {
+ "CacheParameterGroup": {
+ "shape": "S16"
+ }
+ }
+ }
+ },
+ "CreateCacheSecurityGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "CacheSecurityGroupName",
+ "Description"
+ ],
+ "members": {
+ "CacheSecurityGroupName": {},
+ "Description": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "CreateCacheSecurityGroupResult",
+ "type": "structure",
+ "members": {
+ "CacheSecurityGroup": {
+ "shape": "S8"
+ }
+ }
+ }
+ },
+ "CreateCacheSubnetGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "CacheSubnetGroupName",
+ "CacheSubnetGroupDescription",
+ "SubnetIds"
+ ],
+ "members": {
+ "CacheSubnetGroupName": {},
+ "CacheSubnetGroupDescription": {},
+ "SubnetIds": {
+ "shape": "S1a"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "CreateCacheSubnetGroupResult",
+ "type": "structure",
+ "members": {
+ "CacheSubnetGroup": {
+ "shape": "S1c"
+ }
+ }
+ }
+ },
+ "CreateReplicationGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ReplicationGroupId",
+ "ReplicationGroupDescription"
+ ],
+ "members": {
+ "ReplicationGroupId": {},
+ "ReplicationGroupDescription": {},
+ "PrimaryClusterId": {},
+ "AutomaticFailoverEnabled": {
+ "type": "boolean"
+ },
+ "NumCacheClusters": {
+ "type": "integer"
+ },
+ "PreferredCacheClusterAZs": {
+ "type": "list",
+ "member": {
+ "locationName": "AvailabilityZone"
+ }
+ },
+ "CacheNodeType": {},
+ "Engine": {},
+ "EngineVersion": {},
+ "CacheParameterGroupName": {},
+ "CacheSubnetGroupName": {},
+ "CacheSecurityGroupNames": {
+ "shape": "Sm"
+ },
+ "SecurityGroupIds": {
+ "shape": "Sn"
+ },
+ "Tags": {
+ "shape": "S3"
+ },
+ "SnapshotArns": {
+ "shape": "So"
+ },
+ "SnapshotName": {},
+ "PreferredMaintenanceWindow": {},
+ "Port": {
+ "type": "integer"
+ },
+ "NotificationTopicArn": {},
+ "AutoMinorVersionUpgrade": {
+ "type": "boolean"
+ },
+ "SnapshotRetentionLimit": {
+ "type": "integer"
+ },
+ "SnapshotWindow": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "CreateReplicationGroupResult",
+ "type": "structure",
+ "members": {
+ "ReplicationGroup": {
+ "shape": "S1j"
+ }
+ }
+ }
+ },
+ "CreateSnapshot": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "CacheClusterId",
+ "SnapshotName"
+ ],
+ "members": {
+ "CacheClusterId": {},
+ "SnapshotName": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "CreateSnapshotResult",
+ "type": "structure",
+ "members": {
+ "Snapshot": {
+ "shape": "Sd"
+ }
+ }
+ }
+ },
+ "DeleteCacheCluster": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "CacheClusterId"
+ ],
+ "members": {
+ "CacheClusterId": {},
+ "FinalSnapshotIdentifier": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DeleteCacheClusterResult",
+ "type": "structure",
+ "members": {
+ "CacheCluster": {
+ "shape": "Sr"
+ }
+ }
+ }
+ },
+ "DeleteCacheParameterGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "CacheParameterGroupName"
+ ],
+ "members": {
+ "CacheParameterGroupName": {}
+ }
+ }
+ },
+ "DeleteCacheSecurityGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "CacheSecurityGroupName"
+ ],
+ "members": {
+ "CacheSecurityGroupName": {}
+ }
+ }
+ },
+ "DeleteCacheSubnetGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "CacheSubnetGroupName"
+ ],
+ "members": {
+ "CacheSubnetGroupName": {}
+ }
+ }
+ },
+ "DeleteReplicationGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ReplicationGroupId"
+ ],
+ "members": {
+ "ReplicationGroupId": {},
+ "RetainPrimaryCluster": {
+ "type": "boolean"
+ },
+ "FinalSnapshotIdentifier": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DeleteReplicationGroupResult",
+ "type": "structure",
+ "members": {
+ "ReplicationGroup": {
+ "shape": "S1j"
+ }
+ }
+ }
+ },
+ "DeleteSnapshot": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "SnapshotName"
+ ],
+ "members": {
+ "SnapshotName": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DeleteSnapshotResult",
+ "type": "structure",
+ "members": {
+ "Snapshot": {
+ "shape": "Sd"
+ }
+ }
+ }
+ },
+ "DescribeCacheClusters": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "CacheClusterId": {},
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {},
+ "ShowCacheNodeInfo": {
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeCacheClustersResult",
+ "type": "structure",
+ "members": {
+ "Marker": {},
+ "CacheClusters": {
+ "type": "list",
+ "member": {
+ "shape": "Sr",
+ "locationName": "CacheCluster"
+ }
+ }
+ }
+ }
+ },
+ "DescribeCacheEngineVersions": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "Engine": {},
+ "EngineVersion": {},
+ "CacheParameterGroupFamily": {},
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {},
+ "DefaultOnly": {
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeCacheEngineVersionsResult",
+ "type": "structure",
+ "members": {
+ "Marker": {},
+ "CacheEngineVersions": {
+ "type": "list",
+ "member": {
+ "locationName": "CacheEngineVersion",
+ "type": "structure",
+ "members": {
+ "Engine": {},
+ "EngineVersion": {},
+ "CacheParameterGroupFamily": {},
+ "CacheEngineDescription": {},
+ "CacheEngineVersionDescription": {}
+ }
+ }
+ }
+ }
+ }
+ },
+ "DescribeCacheParameterGroups": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "CacheParameterGroupName": {},
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeCacheParameterGroupsResult",
+ "type": "structure",
+ "members": {
+ "Marker": {},
+ "CacheParameterGroups": {
+ "type": "list",
+ "member": {
+ "shape": "S16",
+ "locationName": "CacheParameterGroup"
+ }
+ }
+ }
+ }
+ },
+ "DescribeCacheParameters": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "CacheParameterGroupName"
+ ],
+ "members": {
+ "CacheParameterGroupName": {},
+ "Source": {},
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeCacheParametersResult",
+ "type": "structure",
+ "members": {
+ "Marker": {},
+ "Parameters": {
+ "shape": "S2f"
+ },
+ "CacheNodeTypeSpecificParameters": {
+ "shape": "S2h"
+ }
+ }
+ }
+ },
+ "DescribeCacheSecurityGroups": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "CacheSecurityGroupName": {},
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeCacheSecurityGroupsResult",
+ "type": "structure",
+ "members": {
+ "Marker": {},
+ "CacheSecurityGroups": {
+ "type": "list",
+ "member": {
+ "shape": "S8",
+ "locationName": "CacheSecurityGroup"
+ }
+ }
+ }
+ }
+ },
+ "DescribeCacheSubnetGroups": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "CacheSubnetGroupName": {},
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeCacheSubnetGroupsResult",
+ "type": "structure",
+ "members": {
+ "Marker": {},
+ "CacheSubnetGroups": {
+ "type": "list",
+ "member": {
+ "shape": "S1c",
+ "locationName": "CacheSubnetGroup"
+ }
+ }
+ }
+ }
+ },
+ "DescribeEngineDefaultParameters": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "CacheParameterGroupFamily"
+ ],
+ "members": {
+ "CacheParameterGroupFamily": {},
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeEngineDefaultParametersResult",
+ "type": "structure",
+ "members": {
+ "EngineDefaults": {
+ "type": "structure",
+ "members": {
+ "CacheParameterGroupFamily": {},
+ "Marker": {},
+ "Parameters": {
+ "shape": "S2f"
+ },
+ "CacheNodeTypeSpecificParameters": {
+ "shape": "S2h"
+ }
+ },
+ "wrapper": true
+ }
+ }
+ }
+ },
+ "DescribeEvents": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "SourceIdentifier": {},
+ "SourceType": {},
+ "StartTime": {
+ "type": "timestamp"
+ },
+ "EndTime": {
+ "type": "timestamp"
+ },
+ "Duration": {
+ "type": "integer"
+ },
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeEventsResult",
+ "type": "structure",
+ "members": {
+ "Marker": {},
+ "Events": {
+ "type": "list",
+ "member": {
+ "locationName": "Event",
+ "type": "structure",
+ "members": {
+ "SourceIdentifier": {},
+ "SourceType": {},
+ "Message": {},
+ "Date": {
+ "type": "timestamp"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "DescribeReplicationGroups": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "ReplicationGroupId": {},
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeReplicationGroupsResult",
+ "type": "structure",
+ "members": {
+ "Marker": {},
+ "ReplicationGroups": {
+ "type": "list",
+ "member": {
+ "shape": "S1j",
+ "locationName": "ReplicationGroup"
+ }
+ }
+ }
+ }
+ },
+ "DescribeReservedCacheNodes": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "ReservedCacheNodeId": {},
+ "ReservedCacheNodesOfferingId": {},
+ "CacheNodeType": {},
+ "Duration": {},
+ "ProductDescription": {},
+ "OfferingType": {},
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeReservedCacheNodesResult",
+ "type": "structure",
+ "members": {
+ "Marker": {},
+ "ReservedCacheNodes": {
+ "type": "list",
+ "member": {
+ "shape": "S35",
+ "locationName": "ReservedCacheNode"
+ }
+ }
+ }
+ }
+ },
+ "DescribeReservedCacheNodesOfferings": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "ReservedCacheNodesOfferingId": {},
+ "CacheNodeType": {},
+ "Duration": {},
+ "ProductDescription": {},
+ "OfferingType": {},
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeReservedCacheNodesOfferingsResult",
+ "type": "structure",
+ "members": {
+ "Marker": {},
+ "ReservedCacheNodesOfferings": {
+ "type": "list",
+ "member": {
+ "locationName": "ReservedCacheNodesOffering",
+ "type": "structure",
+ "members": {
+ "ReservedCacheNodesOfferingId": {},
+ "CacheNodeType": {},
+ "Duration": {
+ "type": "integer"
+ },
+ "FixedPrice": {
+ "type": "double"
+ },
+ "UsagePrice": {
+ "type": "double"
+ },
+ "ProductDescription": {},
+ "OfferingType": {},
+ "RecurringCharges": {
+ "shape": "S37"
+ }
+ },
+ "wrapper": true
+ }
+ }
+ }
+ }
+ },
+ "DescribeSnapshots": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "CacheClusterId": {},
+ "SnapshotName": {},
+ "SnapshotSource": {},
+ "Marker": {},
+ "MaxRecords": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeSnapshotsResult",
+ "type": "structure",
+ "members": {
+ "Marker": {},
+ "Snapshots": {
+ "type": "list",
+ "member": {
+ "shape": "Sd",
+ "locationName": "Snapshot"
+ }
+ }
+ }
+ }
+ },
+ "ListAllowedNodeTypeModifications": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "CacheClusterId": {},
+ "ReplicationGroupId": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "ListAllowedNodeTypeModificationsResult",
+ "type": "structure",
+ "members": {
+ "ScaleUpModifications": {
+ "type": "list",
+ "member": {}
+ }
+ }
+ }
+ },
+ "ListTagsForResource": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ResourceName"
+ ],
+ "members": {
+ "ResourceName": {}
+ }
+ },
+ "output": {
+ "shape": "S5",
+ "resultWrapper": "ListTagsForResourceResult"
+ }
+ },
+ "ModifyCacheCluster": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "CacheClusterId"
+ ],
+ "members": {
+ "CacheClusterId": {},
+ "NumCacheNodes": {
+ "type": "integer"
+ },
+ "CacheNodeIdsToRemove": {
+ "shape": "Sv"
+ },
+ "AZMode": {},
+ "NewAvailabilityZones": {
+ "shape": "Sl"
+ },
+ "CacheSecurityGroupNames": {
+ "shape": "Sm"
+ },
+ "SecurityGroupIds": {
+ "shape": "Sn"
+ },
+ "PreferredMaintenanceWindow": {},
+ "NotificationTopicArn": {},
+ "CacheParameterGroupName": {},
+ "NotificationTopicStatus": {},
+ "ApplyImmediately": {
+ "type": "boolean"
+ },
+ "EngineVersion": {},
+ "AutoMinorVersionUpgrade": {
+ "type": "boolean"
+ },
+ "SnapshotRetentionLimit": {
+ "type": "integer"
+ },
+ "SnapshotWindow": {},
+ "CacheNodeType": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "ModifyCacheClusterResult",
+ "type": "structure",
+ "members": {
+ "CacheCluster": {
+ "shape": "Sr"
+ }
+ }
+ }
+ },
+ "ModifyCacheParameterGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "CacheParameterGroupName",
+ "ParameterNameValues"
+ ],
+ "members": {
+ "CacheParameterGroupName": {},
+ "ParameterNameValues": {
+ "shape": "S3n"
+ }
+ }
+ },
+ "output": {
+ "shape": "S3p",
+ "resultWrapper": "ModifyCacheParameterGroupResult"
+ }
+ },
+ "ModifyCacheSubnetGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "CacheSubnetGroupName"
+ ],
+ "members": {
+ "CacheSubnetGroupName": {},
+ "CacheSubnetGroupDescription": {},
+ "SubnetIds": {
+ "shape": "S1a"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "ModifyCacheSubnetGroupResult",
+ "type": "structure",
+ "members": {
+ "CacheSubnetGroup": {
+ "shape": "S1c"
+ }
+ }
+ }
+ },
+ "ModifyReplicationGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ReplicationGroupId"
+ ],
+ "members": {
+ "ReplicationGroupId": {},
+ "ReplicationGroupDescription": {},
+ "PrimaryClusterId": {},
+ "SnapshottingClusterId": {},
+ "AutomaticFailoverEnabled": {
+ "type": "boolean"
+ },
+ "CacheSecurityGroupNames": {
+ "shape": "Sm"
+ },
+ "SecurityGroupIds": {
+ "shape": "Sn"
+ },
+ "PreferredMaintenanceWindow": {},
+ "NotificationTopicArn": {},
+ "CacheParameterGroupName": {},
+ "NotificationTopicStatus": {},
+ "ApplyImmediately": {
+ "type": "boolean"
+ },
+ "EngineVersion": {},
+ "AutoMinorVersionUpgrade": {
+ "type": "boolean"
+ },
+ "SnapshotRetentionLimit": {
+ "type": "integer"
+ },
+ "SnapshotWindow": {},
+ "CacheNodeType": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "ModifyReplicationGroupResult",
+ "type": "structure",
+ "members": {
+ "ReplicationGroup": {
+ "shape": "S1j"
+ }
+ }
+ }
+ },
+ "PurchaseReservedCacheNodesOffering": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ReservedCacheNodesOfferingId"
+ ],
+ "members": {
+ "ReservedCacheNodesOfferingId": {},
+ "ReservedCacheNodeId": {},
+ "CacheNodeCount": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "PurchaseReservedCacheNodesOfferingResult",
+ "type": "structure",
+ "members": {
+ "ReservedCacheNode": {
+ "shape": "S35"
+ }
+ }
+ }
+ },
+ "RebootCacheCluster": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "CacheClusterId",
+ "CacheNodeIdsToReboot"
+ ],
+ "members": {
+ "CacheClusterId": {},
+ "CacheNodeIdsToReboot": {
+ "shape": "Sv"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "RebootCacheClusterResult",
+ "type": "structure",
+ "members": {
+ "CacheCluster": {
+ "shape": "Sr"
+ }
+ }
+ }
+ },
+ "RemoveTagsFromResource": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ResourceName",
+ "TagKeys"
+ ],
+ "members": {
+ "ResourceName": {},
+ "TagKeys": {
+ "type": "list",
+ "member": {}
+ }
+ }
+ },
+ "output": {
+ "shape": "S5",
+ "resultWrapper": "RemoveTagsFromResourceResult"
+ }
+ },
+ "ResetCacheParameterGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "CacheParameterGroupName",
+ "ParameterNameValues"
+ ],
+ "members": {
+ "CacheParameterGroupName": {},
+ "ResetAllParameters": {
+ "type": "boolean"
+ },
+ "ParameterNameValues": {
+ "shape": "S3n"
+ }
+ }
+ },
+ "output": {
+ "shape": "S3p",
+ "resultWrapper": "ResetCacheParameterGroupResult"
+ }
+ },
+ "RevokeCacheSecurityGroupIngress": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "CacheSecurityGroupName",
+ "EC2SecurityGroupName",
+ "EC2SecurityGroupOwnerId"
+ ],
+ "members": {
+ "CacheSecurityGroupName": {},
+ "EC2SecurityGroupName": {},
+ "EC2SecurityGroupOwnerId": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "RevokeCacheSecurityGroupIngressResult",
+ "type": "structure",
+ "members": {
+ "CacheSecurityGroup": {
+ "shape": "S8"
+ }
+ }
+ }
+ }
+ },
+ "shapes": {
+ "S3": {
+ "type": "list",
+ "member": {
+ "locationName": "Tag",
+ "type": "structure",
+ "members": {
+ "Key": {},
+ "Value": {}
+ }
+ }
+ },
+ "S5": {
+ "type": "structure",
+ "members": {
+ "TagList": {
+ "shape": "S3"
+ }
+ }
+ },
+ "S8": {
+ "type": "structure",
+ "members": {
+ "OwnerId": {},
+ "CacheSecurityGroupName": {},
+ "Description": {},
+ "EC2SecurityGroups": {
+ "type": "list",
+ "member": {
+ "locationName": "EC2SecurityGroup",
+ "type": "structure",
+ "members": {
+ "Status": {},
+ "EC2SecurityGroupName": {},
+ "EC2SecurityGroupOwnerId": {}
+ }
+ }
+ }
+ },
+ "wrapper": true
+ },
+ "Sd": {
+ "type": "structure",
+ "members": {
+ "SnapshotName": {},
+ "CacheClusterId": {},
+ "SnapshotStatus": {},
+ "SnapshotSource": {},
+ "CacheNodeType": {},
+ "Engine": {},
+ "EngineVersion": {},
+ "NumCacheNodes": {
+ "type": "integer"
+ },
+ "PreferredAvailabilityZone": {},
+ "CacheClusterCreateTime": {
+ "type": "timestamp"
+ },
+ "PreferredMaintenanceWindow": {},
+ "TopicArn": {},
+ "Port": {
+ "type": "integer"
+ },
+ "CacheParameterGroupName": {},
+ "CacheSubnetGroupName": {},
+ "VpcId": {},
+ "AutoMinorVersionUpgrade": {
+ "type": "boolean"
+ },
+ "SnapshotRetentionLimit": {
+ "type": "integer"
+ },
+ "SnapshotWindow": {},
+ "NodeSnapshots": {
+ "type": "list",
+ "member": {
+ "locationName": "NodeSnapshot",
+ "type": "structure",
+ "members": {
+ "CacheNodeId": {},
+ "CacheSize": {},
+ "CacheNodeCreateTime": {
+ "type": "timestamp"
+ },
+ "SnapshotCreateTime": {
+ "type": "timestamp"
+ }
+ },
+ "wrapper": true
+ }
+ }
+ },
+ "wrapper": true
+ },
+ "Sl": {
+ "type": "list",
+ "member": {
+ "locationName": "PreferredAvailabilityZone"
+ }
+ },
+ "Sm": {
+ "type": "list",
+ "member": {
+ "locationName": "CacheSecurityGroupName"
+ }
+ },
+ "Sn": {
+ "type": "list",
+ "member": {
+ "locationName": "SecurityGroupId"
+ }
+ },
+ "So": {
+ "type": "list",
+ "member": {
+ "locationName": "SnapshotArn"
+ }
+ },
+ "Sr": {
+ "type": "structure",
+ "members": {
+ "CacheClusterId": {},
+ "ConfigurationEndpoint": {
+ "shape": "Ss"
+ },
+ "ClientDownloadLandingPage": {},
+ "CacheNodeType": {},
+ "Engine": {},
+ "EngineVersion": {},
+ "CacheClusterStatus": {},
+ "NumCacheNodes": {
+ "type": "integer"
+ },
+ "PreferredAvailabilityZone": {},
+ "CacheClusterCreateTime": {
+ "type": "timestamp"
+ },
+ "PreferredMaintenanceWindow": {},
+ "PendingModifiedValues": {
+ "type": "structure",
+ "members": {
+ "NumCacheNodes": {
+ "type": "integer"
+ },
+ "CacheNodeIdsToRemove": {
+ "shape": "Sv"
+ },
+ "EngineVersion": {},
+ "CacheNodeType": {}
+ }
+ },
+ "NotificationConfiguration": {
+ "type": "structure",
+ "members": {
+ "TopicArn": {},
+ "TopicStatus": {}
+ }
+ },
+ "CacheSecurityGroups": {
+ "type": "list",
+ "member": {
+ "locationName": "CacheSecurityGroup",
+ "type": "structure",
+ "members": {
+ "CacheSecurityGroupName": {},
+ "Status": {}
+ }
+ }
+ },
+ "CacheParameterGroup": {
+ "type": "structure",
+ "members": {
+ "CacheParameterGroupName": {},
+ "ParameterApplyStatus": {},
+ "CacheNodeIdsToReboot": {
+ "shape": "Sv"
+ }
+ }
+ },
+ "CacheSubnetGroupName": {},
+ "CacheNodes": {
+ "type": "list",
+ "member": {
+ "locationName": "CacheNode",
+ "type": "structure",
+ "members": {
+ "CacheNodeId": {},
+ "CacheNodeStatus": {},
+ "CacheNodeCreateTime": {
+ "type": "timestamp"
+ },
+ "Endpoint": {
+ "shape": "Ss"
+ },
+ "ParameterGroupStatus": {},
+ "SourceCacheNodeId": {},
+ "CustomerAvailabilityZone": {}
+ }
+ }
+ },
+ "AutoMinorVersionUpgrade": {
+ "type": "boolean"
+ },
+ "SecurityGroups": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "SecurityGroupId": {},
+ "Status": {}
+ }
+ }
+ },
+ "ReplicationGroupId": {},
+ "SnapshotRetentionLimit": {
+ "type": "integer"
+ },
+ "SnapshotWindow": {}
+ },
+ "wrapper": true
+ },
+ "Ss": {
+ "type": "structure",
+ "members": {
+ "Address": {},
+ "Port": {
+ "type": "integer"
+ }
+ }
+ },
+ "Sv": {
+ "type": "list",
+ "member": {
+ "locationName": "CacheNodeId"
+ }
+ },
+ "S16": {
+ "type": "structure",
+ "members": {
+ "CacheParameterGroupName": {},
+ "CacheParameterGroupFamily": {},
+ "Description": {}
+ },
+ "wrapper": true
+ },
+ "S1a": {
+ "type": "list",
+ "member": {
+ "locationName": "SubnetIdentifier"
+ }
+ },
+ "S1c": {
+ "type": "structure",
+ "members": {
+ "CacheSubnetGroupName": {},
+ "CacheSubnetGroupDescription": {},
+ "VpcId": {},
+ "Subnets": {
+ "type": "list",
+ "member": {
+ "locationName": "Subnet",
+ "type": "structure",
+ "members": {
+ "SubnetIdentifier": {},
+ "SubnetAvailabilityZone": {
+ "type": "structure",
+ "members": {
+ "Name": {}
+ },
+ "wrapper": true
+ }
+ }
+ }
+ }
+ },
+ "wrapper": true
+ },
+ "S1j": {
+ "type": "structure",
+ "members": {
+ "ReplicationGroupId": {},
+ "Description": {},
+ "Status": {},
+ "PendingModifiedValues": {
+ "type": "structure",
+ "members": {
+ "PrimaryClusterId": {},
+ "AutomaticFailoverStatus": {}
+ }
+ },
+ "MemberClusters": {
+ "type": "list",
+ "member": {
+ "locationName": "ClusterId"
+ }
+ },
+ "NodeGroups": {
+ "type": "list",
+ "member": {
+ "locationName": "NodeGroup",
+ "type": "structure",
+ "members": {
+ "NodeGroupId": {},
+ "Status": {},
+ "PrimaryEndpoint": {
+ "shape": "Ss"
+ },
+ "NodeGroupMembers": {
+ "type": "list",
+ "member": {
+ "locationName": "NodeGroupMember",
+ "type": "structure",
+ "members": {
+ "CacheClusterId": {},
+ "CacheNodeId": {},
+ "ReadEndpoint": {
+ "shape": "Ss"
+ },
+ "PreferredAvailabilityZone": {},
+ "CurrentRole": {}
+ }
+ }
+ }
+ }
+ }
+ },
+ "SnapshottingClusterId": {},
+ "AutomaticFailover": {}
+ },
+ "wrapper": true
+ },
+ "S2f": {
+ "type": "list",
+ "member": {
+ "locationName": "Parameter",
+ "type": "structure",
+ "members": {
+ "ParameterName": {},
+ "ParameterValue": {},
+ "Description": {},
+ "Source": {},
+ "DataType": {},
+ "AllowedValues": {},
+ "IsModifiable": {
+ "type": "boolean"
+ },
+ "MinimumEngineVersion": {}
+ }
+ }
+ },
+ "S2h": {
+ "type": "list",
+ "member": {
+ "locationName": "CacheNodeTypeSpecificParameter",
+ "type": "structure",
+ "members": {
+ "ParameterName": {},
+ "Description": {},
+ "Source": {},
+ "DataType": {},
+ "AllowedValues": {},
+ "IsModifiable": {
+ "type": "boolean"
+ },
+ "MinimumEngineVersion": {},
+ "CacheNodeTypeSpecificValues": {
+ "type": "list",
+ "member": {
+ "locationName": "CacheNodeTypeSpecificValue",
+ "type": "structure",
+ "members": {
+ "CacheNodeType": {},
+ "Value": {}
+ }
+ }
+ }
+ }
+ }
+ },
+ "S35": {
+ "type": "structure",
+ "members": {
+ "ReservedCacheNodeId": {},
+ "ReservedCacheNodesOfferingId": {},
+ "CacheNodeType": {},
+ "StartTime": {
+ "type": "timestamp"
+ },
+ "Duration": {
+ "type": "integer"
+ },
+ "FixedPrice": {
+ "type": "double"
+ },
+ "UsagePrice": {
+ "type": "double"
+ },
+ "CacheNodeCount": {
+ "type": "integer"
+ },
+ "ProductDescription": {},
+ "OfferingType": {},
+ "State": {},
+ "RecurringCharges": {
+ "shape": "S37"
+ }
+ },
+ "wrapper": true
+ },
+ "S37": {
+ "type": "list",
+ "member": {
+ "locationName": "RecurringCharge",
+ "type": "structure",
+ "members": {
+ "RecurringChargeAmount": {
+ "type": "double"
+ },
+ "RecurringChargeFrequency": {}
+ },
+ "wrapper": true
+ }
+ },
+ "S3n": {
+ "type": "list",
+ "member": {
+ "locationName": "ParameterNameValue",
+ "type": "structure",
+ "members": {
+ "ParameterName": {},
+ "ParameterValue": {}
+ }
+ }
+ },
+ "S3p": {
+ "type": "structure",
+ "members": {
+ "CacheParameterGroupName": {}
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/node_modules/aws-sdk/apis/elasticache-2015-02-02.paginators.json b/node_modules/aws-sdk/apis/elasticache-2015-02-02.paginators.json
new file mode 100644
index 0000000000000000000000000000000000000000..8724740d6fca492f9bdfc230f8d23820ad43dc12
--- /dev/null
+++ b/node_modules/aws-sdk/apis/elasticache-2015-02-02.paginators.json
@@ -0,0 +1,76 @@
+{
+ "pagination": {
+ "DescribeCacheClusters": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "CacheClusters"
+ },
+ "DescribeCacheEngineVersions": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "CacheEngineVersions"
+ },
+ "DescribeCacheParameterGroups": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "CacheParameterGroups"
+ },
+ "DescribeCacheParameters": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "Parameters"
+ },
+ "DescribeCacheSecurityGroups": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "CacheSecurityGroups"
+ },
+ "DescribeCacheSubnetGroups": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "CacheSubnetGroups"
+ },
+ "DescribeEngineDefaultParameters": {
+ "input_token": "Marker",
+ "output_token": "EngineDefaults.Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "EngineDefaults.Parameters"
+ },
+ "DescribeEvents": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "Events"
+ },
+ "DescribeReservedCacheNodes": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "ReservedCacheNodes"
+ },
+ "DescribeReservedCacheNodesOfferings": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "ReservedCacheNodesOfferings"
+ },
+ "DescribeReplicationGroups": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "ReplicationGroups"
+ },
+ "DescribeSnapshots": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "Snapshots"
+ }
+ }
+}
diff --git a/node_modules/aws-sdk/apis/elasticbeanstalk-2010-12-01.examples.json b/node_modules/aws-sdk/apis/elasticbeanstalk-2010-12-01.examples.json
new file mode 100644
index 0000000000000000000000000000000000000000..0fded62815628f6b0586acfda2445a5a5774f7ee
--- /dev/null
+++ b/node_modules/aws-sdk/apis/elasticbeanstalk-2010-12-01.examples.json
@@ -0,0 +1,1109 @@
+{
+ "version": "1.0",
+ "examples": {
+ "AbortEnvironmentUpdate": [
+ {
+ "input": {
+ "EnvironmentName": "my-env"
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "The following code aborts a running application version deployment for an environment named my-env:",
+ "id": "to-abort-a-deployment-1456267848227",
+ "title": "To abort a deployment"
+ }
+ ],
+ "CheckDNSAvailability": [
+ {
+ "input": {
+ "CNAMEPrefix": "my-cname"
+ },
+ "output": {
+ "Available": true,
+ "FullyQualifiedCNAME": "my-cname.us-west-2.elasticbeanstalk.com"
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "The following operation checks the availability of the subdomain my-cname:",
+ "id": "to-check-the-availability-of-a-cname-1456268589537",
+ "title": "To check the availability of a CNAME"
+ }
+ ],
+ "CreateApplication": [
+ {
+ "input": {
+ "ApplicationName": "my-app",
+ "Description": "my application"
+ },
+ "output": {
+ "Application": {
+ "ApplicationName": "my-app",
+ "ConfigurationTemplates": [
+
+ ],
+ "DateCreated": "2015-02-12T18:32:21.181Z",
+ "DateUpdated": "2015-02-12T18:32:21.181Z",
+ "Description": "my application"
+ }
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "The following operation creates a new application named my-app:",
+ "id": "to-create-a-new-application-1456268895683",
+ "title": "To create a new application"
+ }
+ ],
+ "CreateApplicationVersion": [
+ {
+ "input": {
+ "ApplicationName": "my-app",
+ "AutoCreateApplication": true,
+ "Description": "my-app-v1",
+ "Process": true,
+ "SourceBundle": {
+ "S3Bucket": "my-bucket",
+ "S3Key": "sample.war"
+ },
+ "VersionLabel": "v1"
+ },
+ "output": {
+ "ApplicationVersion": {
+ "ApplicationName": "my-app",
+ "DateCreated": "2015-02-03T23:01:25.412Z",
+ "DateUpdated": "2015-02-03T23:01:25.412Z",
+ "Description": "my-app-v1",
+ "SourceBundle": {
+ "S3Bucket": "my-bucket",
+ "S3Key": "sample.war"
+ },
+ "VersionLabel": "v1"
+ }
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "The following operation creates a new version (v1) of an application named my-app:",
+ "id": "to-create-a-new-application-1456268895683",
+ "title": "To create a new application"
+ }
+ ],
+ "CreateConfigurationTemplate": [
+ {
+ "input": {
+ "ApplicationName": "my-app",
+ "EnvironmentId": "e-rpqsewtp2j",
+ "TemplateName": "my-app-v1"
+ },
+ "output": {
+ "ApplicationName": "my-app",
+ "DateCreated": "2015-08-12T18:40:39Z",
+ "DateUpdated": "2015-08-12T18:40:39Z",
+ "SolutionStackName": "64bit Amazon Linux 2015.03 v2.0.0 running Tomcat 8 Java 8",
+ "TemplateName": "my-app-v1"
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "The following operation creates a configuration template named my-app-v1 from the settings applied to an environment with the id e-rpqsewtp2j:",
+ "id": "to-create-a-configuration-template-1456269283586",
+ "title": "To create a configuration template"
+ }
+ ],
+ "CreateEnvironment": [
+ {
+ "input": {
+ "ApplicationName": "my-app",
+ "CNAMEPrefix": "my-app",
+ "EnvironmentName": "my-env",
+ "SolutionStackName": "64bit Amazon Linux 2015.03 v2.0.0 running Tomcat 8 Java 8",
+ "VersionLabel": "v1"
+ },
+ "output": {
+ "ApplicationName": "my-app",
+ "CNAME": "my-app.elasticbeanstalk.com",
+ "DateCreated": "2015-02-03T23:04:54.479Z",
+ "DateUpdated": "2015-02-03T23:04:54.479Z",
+ "EnvironmentId": "e-izqpassy4h",
+ "EnvironmentName": "my-env",
+ "Health": "Grey",
+ "SolutionStackName": "64bit Amazon Linux 2015.03 v2.0.0 running Tomcat 8 Java 8",
+ "Status": "Launching",
+ "Tier": {
+ "Name": "WebServer",
+ "Type": "Standard",
+ "Version": " "
+ },
+ "VersionLabel": "v1"
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "The following operation creates a new environment for version v1 of a java application named my-app:",
+ "id": "to-create-a-new-environment-for-an-application-1456269380396",
+ "title": "To create a new environment for an application"
+ }
+ ],
+ "CreateStorageLocation": [
+ {
+ "output": {
+ "S3Bucket": "elasticbeanstalk-us-west-2-0123456789012"
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "The following operation creates a new environment for version v1 of a java application named my-app:",
+ "id": "to-create-a-new-environment-for-an-application-1456269380396",
+ "title": "To create a new environment for an application"
+ }
+ ],
+ "DeleteApplication": [
+ {
+ "input": {
+ "ApplicationName": "my-app"
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "The following operation deletes an application named my-app:",
+ "id": "to-delete-an-application-1456269699366",
+ "title": "To delete an application"
+ }
+ ],
+ "DeleteApplicationVersion": [
+ {
+ "input": {
+ "ApplicationName": "my-app",
+ "DeleteSourceBundle": true,
+ "VersionLabel": "22a0-stage-150819_182129"
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "The following operation deletes an application version named 22a0-stage-150819_182129 for an application named my-app:",
+ "id": "to-delete-an-application-version-1456269792956",
+ "title": "To delete an application version"
+ }
+ ],
+ "DeleteConfigurationTemplate": [
+ {
+ "input": {
+ "ApplicationName": "my-app",
+ "TemplateName": "my-template"
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "The following operation deletes a configuration template named my-template for an application named my-app:",
+ "id": "to-delete-a-configuration-template-1456269836701",
+ "title": "To delete a configuration template"
+ }
+ ],
+ "DeleteEnvironmentConfiguration": [
+ {
+ "input": {
+ "ApplicationName": "my-app",
+ "EnvironmentName": "my-env"
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "The following operation deletes a draft configuration for an environment named my-env:",
+ "id": "to-delete-a-draft-configuration-1456269886654",
+ "title": "To delete a draft configuration"
+ }
+ ],
+ "DescribeApplicationVersions": [
+ {
+ "input": {
+ "ApplicationName": "my-app",
+ "VersionLabels": [
+ "v2"
+ ]
+ },
+ "output": {
+ "ApplicationVersions": [
+ {
+ "ApplicationName": "my-app",
+ "DateCreated": "2015-07-23T01:32:26.079Z",
+ "DateUpdated": "2015-07-23T01:32:26.079Z",
+ "Description": "update cover page",
+ "SourceBundle": {
+ "S3Bucket": "elasticbeanstalk-us-west-2-015321684451",
+ "S3Key": "my-app/5026-stage-150723_224258.war"
+ },
+ "VersionLabel": "v2"
+ },
+ {
+ "ApplicationName": "my-app",
+ "DateCreated": "2015-07-23T22:26:10.816Z",
+ "DateUpdated": "2015-07-23T22:26:10.816Z",
+ "Description": "initial version",
+ "SourceBundle": {
+ "S3Bucket": "elasticbeanstalk-us-west-2-015321684451",
+ "S3Key": "my-app/5026-stage-150723_222618.war"
+ },
+ "VersionLabel": "v1"
+ }
+ ]
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "The following operation retrieves information about an application version labeled v2:",
+ "id": "to-view-information-about-an-application-version-1456269947428",
+ "title": "To view information about an application version"
+ }
+ ],
+ "DescribeApplications": [
+ {
+ "input": {
+ },
+ "output": {
+ "Applications": [
+ {
+ "ApplicationName": "ruby",
+ "ConfigurationTemplates": [
+
+ ],
+ "DateCreated": "2015-08-13T21:05:44.376Z",
+ "DateUpdated": "2015-08-13T21:05:44.376Z",
+ "Versions": [
+ "Sample Application"
+ ]
+ },
+ {
+ "ApplicationName": "pythonsample",
+ "ConfigurationTemplates": [
+
+ ],
+ "DateCreated": "2015-08-13T19:05:43.637Z",
+ "DateUpdated": "2015-08-13T19:05:43.637Z",
+ "Description": "Application created from the EB CLI using \"eb init\"",
+ "Versions": [
+ "Sample Application"
+ ]
+ },
+ {
+ "ApplicationName": "nodejs-example",
+ "ConfigurationTemplates": [
+
+ ],
+ "DateCreated": "2015-08-06T17:50:02.486Z",
+ "DateUpdated": "2015-08-06T17:50:02.486Z",
+ "Versions": [
+ "add elasticache",
+ "First Release"
+ ]
+ }
+ ]
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "The following operation retrieves information about applications in the current region:",
+ "id": "to-view-a-list-of-applications-1456270027373",
+ "title": "To view a list of applications"
+ }
+ ],
+ "DescribeConfigurationOptions": [
+ {
+ "input": {
+ "ApplicationName": "my-app",
+ "EnvironmentName": "my-env"
+ },
+ "output": {
+ "Options": [
+ {
+ "ChangeSeverity": "NoInterruption",
+ "DefaultValue": "30",
+ "MaxValue": 300,
+ "MinValue": 5,
+ "Name": "Interval",
+ "Namespace": "aws:elb:healthcheck",
+ "UserDefined": false,
+ "ValueType": "Scalar"
+ },
+ {
+ "ChangeSeverity": "NoInterruption",
+ "DefaultValue": "2000000",
+ "MinValue": 0,
+ "Name": "LowerThreshold",
+ "Namespace": "aws:autoscaling:trigger",
+ "UserDefined": false,
+ "ValueType": "Scalar"
+ }
+ ]
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "The following operation retrieves descriptions of all available configuration options for an environment named my-env:",
+ "id": "to-view-configuration-options-for-an-environment-1456276763917",
+ "title": "To view configuration options for an environment"
+ }
+ ],
+ "DescribeConfigurationSettings": [
+ {
+ "input": {
+ "ApplicationName": "my-app",
+ "EnvironmentName": "my-env"
+ },
+ "output": {
+ "ConfigurationSettings": [
+ {
+ "ApplicationName": "my-app",
+ "DateCreated": "2015-08-13T19:16:25Z",
+ "DateUpdated": "2015-08-13T23:30:07Z",
+ "DeploymentStatus": "deployed",
+ "Description": "Environment created from the EB CLI using \"eb create\"",
+ "EnvironmentName": "my-env",
+ "OptionSettings": [
+ {
+ "Namespace": "aws:autoscaling:asg",
+ "OptionName": "Availability Zones",
+ "ResourceName": "AWSEBAutoScalingGroup",
+ "Value": "Any"
+ },
+ {
+ "Namespace": "aws:autoscaling:asg",
+ "OptionName": "Cooldown",
+ "ResourceName": "AWSEBAutoScalingGroup",
+ "Value": "360"
+ },
+ {
+ "Namespace": "aws:elb:policies",
+ "OptionName": "ConnectionDrainingTimeout",
+ "ResourceName": "AWSEBLoadBalancer",
+ "Value": "20"
+ },
+ {
+ "Namespace": "aws:elb:policies",
+ "OptionName": "ConnectionSettingIdleTimeout",
+ "ResourceName": "AWSEBLoadBalancer",
+ "Value": "60"
+ }
+ ],
+ "SolutionStackName": "64bit Amazon Linux 2015.03 v2.0.0 running Tomcat 8 Java 8"
+ }
+ ]
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ "abbreviated": "Output is abbreviated"
+ }
+ },
+ "description": "The following operation retrieves configuration settings for an environment named my-env:",
+ "id": "to-view-configurations-settings-for-an-environment-1456276924537",
+ "title": "To view configurations settings for an environment"
+ }
+ ],
+ "DescribeEnvironmentHealth": [
+ {
+ "input": {
+ "AttributeNames": [
+ "All"
+ ],
+ "EnvironmentName": "my-env"
+ },
+ "output": {
+ "ApplicationMetrics": {
+ "Duration": 10,
+ "Latency": {
+ "P10": 0.001,
+ "P50": 0.001,
+ "P75": 0.002,
+ "P85": 0.003,
+ "P90": 0.003,
+ "P95": 0.004,
+ "P99": 0.004,
+ "P999": 0.004
+ },
+ "RequestCount": 45,
+ "StatusCodes": {
+ "Status2xx": 45,
+ "Status3xx": 0,
+ "Status4xx": 0,
+ "Status5xx": 0
+ }
+ },
+ "Causes": [
+
+ ],
+ "Color": "Green",
+ "EnvironmentName": "my-env",
+ "HealthStatus": "Ok",
+ "InstancesHealth": {
+ "Degraded": 0,
+ "Info": 0,
+ "NoData": 0,
+ "Ok": 1,
+ "Pending": 0,
+ "Severe": 0,
+ "Unknown": 0,
+ "Warning": 0
+ },
+ "RefreshedAt": "2015-08-20T21:09:18Z"
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "The following operation retrieves overall health information for an environment named my-env:",
+ "id": "to-view-environment-health-1456277109510",
+ "title": "To view environment health"
+ }
+ ],
+ "DescribeEnvironmentResources": [
+ {
+ "input": {
+ "EnvironmentName": "my-env"
+ },
+ "output": {
+ "EnvironmentResources": {
+ "AutoScalingGroups": [
+ {
+ "Name": "awseb-e-qu3fyyjyjs-stack-AWSEBAutoScalingGroup-QSB2ZO88SXZT"
+ }
+ ],
+ "EnvironmentName": "my-env",
+ "Instances": [
+ {
+ "Id": "i-0c91c786"
+ }
+ ],
+ "LaunchConfigurations": [
+ {
+ "Name": "awseb-e-qu3fyyjyjs-stack-AWSEBAutoScalingLaunchConfiguration-1UUVQIBC96TQ2"
+ }
+ ],
+ "LoadBalancers": [
+ {
+ "Name": "awseb-e-q-AWSEBLoa-1EEPZ0K98BIF0"
+ }
+ ],
+ "Queues": [
+
+ ],
+ "Triggers": [
+
+ ]
+ }
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "The following operation retrieves information about resources in an environment named my-env:",
+ "id": "to-view-information-about-the-aws-resources-in-your-environment-1456277206232",
+ "title": "To view information about the AWS resources in your environment"
+ }
+ ],
+ "DescribeEnvironments": [
+ {
+ "input": {
+ "EnvironmentNames": [
+ "my-env"
+ ]
+ },
+ "output": {
+ "Environments": [
+ {
+ "AbortableOperationInProgress": false,
+ "ApplicationName": "my-app",
+ "CNAME": "my-env.elasticbeanstalk.com",
+ "DateCreated": "2015-08-07T20:48:49.599Z",
+ "DateUpdated": "2015-08-12T18:16:55.019Z",
+ "EndpointURL": "awseb-e-w-AWSEBLoa-1483140XB0Q4L-109QXY8121.us-west-2.elb.amazonaws.com",
+ "EnvironmentId": "e-rpqsewtp2j",
+ "EnvironmentName": "my-env",
+ "Health": "Green",
+ "SolutionStackName": "64bit Amazon Linux 2015.03 v2.0.0 running Tomcat 8 Java 8",
+ "Status": "Ready",
+ "Tier": {
+ "Name": "WebServer",
+ "Type": "Standard",
+ "Version": " "
+ },
+ "VersionLabel": "7f58-stage-150812_025409"
+ }
+ ]
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "The following operation retrieves information about an environment named my-env:",
+ "id": "to-view-information-about-an-environment-1456277288662",
+ "title": "To view information about an environment"
+ }
+ ],
+ "DescribeEvents": [
+ {
+ "input": {
+ "EnvironmentName": "my-env"
+ },
+ "output": {
+ "Events": [
+ {
+ "ApplicationName": "my-app",
+ "EnvironmentName": "my-env",
+ "EventDate": "2015-08-20T07:06:53.535Z",
+ "Message": "Environment health has transitioned from Info to Ok.",
+ "Severity": "INFO"
+ },
+ {
+ "ApplicationName": "my-app",
+ "EnvironmentName": "my-env",
+ "EventDate": "2015-08-20T07:06:02.049Z",
+ "Message": "Environment update completed successfully.",
+ "RequestId": "b7f3960b-4709-11e5-ba1e-07e16200da41",
+ "Severity": "INFO"
+ },
+ {
+ "ApplicationName": "my-app",
+ "EnvironmentName": "my-env",
+ "EventDate": "2015-08-13T19:16:27.561Z",
+ "Message": "Using elasticbeanstalk-us-west-2-012445113685 as Amazon S3 storage bucket for environment data.",
+ "RequestId": "ca8dfbf6-41ef-11e5-988b-651aa638f46b",
+ "Severity": "INFO"
+ },
+ {
+ "ApplicationName": "my-app",
+ "EnvironmentName": "my-env",
+ "EventDate": "2015-08-13T19:16:26.581Z",
+ "Message": "createEnvironment is starting.",
+ "RequestId": "cdfba8f6-41ef-11e5-988b-65638f41aa6b",
+ "Severity": "INFO"
+ }
+ ]
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "The following operation retrieves events for an environment named my-env:",
+ "id": "to-view-events-for-an-environment-1456277367589",
+ "title": "To view events for an environment"
+ }
+ ],
+ "DescribeInstancesHealth": [
+ {
+ "input": {
+ "AttributeNames": [
+ "All"
+ ],
+ "EnvironmentName": "my-env"
+ },
+ "output": {
+ "InstanceHealthList": [
+ {
+ "ApplicationMetrics": {
+ "Duration": 10,
+ "Latency": {
+ "P10": 0,
+ "P50": 0.001,
+ "P75": 0.002,
+ "P85": 0.003,
+ "P90": 0.004,
+ "P95": 0.005,
+ "P99": 0.006,
+ "P999": 0.006
+ },
+ "RequestCount": 48,
+ "StatusCodes": {
+ "Status2xx": 47,
+ "Status3xx": 0,
+ "Status4xx": 1,
+ "Status5xx": 0
+ }
+ },
+ "Causes": [
+
+ ],
+ "Color": "Green",
+ "HealthStatus": "Ok",
+ "InstanceId": "i-08691cc7",
+ "LaunchedAt": "2015-08-13T19:17:09Z",
+ "System": {
+ "CPUUtilization": {
+ "IOWait": 0.2,
+ "IRQ": 0,
+ "Idle": 97.8,
+ "Nice": 0.1,
+ "SoftIRQ": 0.1,
+ "System": 0.3,
+ "User": 1.5
+ },
+ "LoadAverage": [
+ 0,
+ 0.02,
+ 0.05
+ ]
+ }
+ }
+ ],
+ "RefreshedAt": "2015-08-20T21:09:08Z"
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "The following operation retrieves health information for instances in an environment named my-env:",
+ "id": "to-view-environment-health-1456277424757",
+ "title": "To view environment health"
+ }
+ ],
+ "ListAvailableSolutionStacks": [
+ {
+ "output": {
+ "SolutionStackDetails": [
+ {
+ "PermittedFileTypes": [
+ "zip"
+ ],
+ "SolutionStackName": "64bit Amazon Linux 2015.03 v2.0.0 running Node.js"
+ }
+ ],
+ "SolutionStacks": [
+ "64bit Amazon Linux 2015.03 v2.0.0 running Node.js",
+ "64bit Amazon Linux 2015.03 v2.0.0 running PHP 5.6",
+ "64bit Amazon Linux 2015.03 v2.0.0 running PHP 5.5",
+ "64bit Amazon Linux 2015.03 v2.0.0 running PHP 5.4",
+ "64bit Amazon Linux 2015.03 v2.0.0 running Python 3.4",
+ "64bit Amazon Linux 2015.03 v2.0.0 running Python 2.7",
+ "64bit Amazon Linux 2015.03 v2.0.0 running Python",
+ "64bit Amazon Linux 2015.03 v2.0.0 running Ruby 2.2 (Puma)",
+ "64bit Amazon Linux 2015.03 v2.0.0 running Ruby 2.2 (Passenger Standalone)",
+ "64bit Amazon Linux 2015.03 v2.0.0 running Ruby 2.1 (Puma)",
+ "64bit Amazon Linux 2015.03 v2.0.0 running Ruby 2.1 (Passenger Standalone)",
+ "64bit Amazon Linux 2015.03 v2.0.0 running Ruby 2.0 (Puma)",
+ "64bit Amazon Linux 2015.03 v2.0.0 running Ruby 2.0 (Passenger Standalone)",
+ "64bit Amazon Linux 2015.03 v2.0.0 running Ruby 1.9.3",
+ "64bit Amazon Linux 2015.03 v2.0.0 running Tomcat 8 Java 8",
+ "64bit Amazon Linux 2015.03 v2.0.0 running Tomcat 7 Java 7",
+ "64bit Amazon Linux 2015.03 v2.0.0 running Tomcat 7 Java 6",
+ "64bit Windows Server Core 2012 R2 running IIS 8.5",
+ "64bit Windows Server 2012 R2 running IIS 8.5",
+ "64bit Windows Server 2012 running IIS 8",
+ "64bit Windows Server 2008 R2 running IIS 7.5",
+ "64bit Amazon Linux 2015.03 v2.0.0 running Docker 1.6.2",
+ "64bit Amazon Linux 2015.03 v2.0.0 running Multi-container Docker 1.6.2 (Generic)",
+ "64bit Debian jessie v2.0.0 running GlassFish 4.1 Java 8 (Preconfigured - Docker)",
+ "64bit Debian jessie v2.0.0 running GlassFish 4.0 Java 7 (Preconfigured - Docker)",
+ "64bit Debian jessie v2.0.0 running Go 1.4 (Preconfigured - Docker)",
+ "64bit Debian jessie v2.0.0 running Go 1.3 (Preconfigured - Docker)",
+ "64bit Debian jessie v2.0.0 running Python 3.4 (Preconfigured - Docker)"
+ ]
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "The following operation lists solution stacks for all currently available platform configurations and any that you have used in the past:",
+ "id": "to-view-solution-stacks-1456277504811",
+ "title": "To view solution stacks"
+ }
+ ],
+ "RebuildEnvironment": [
+ {
+ "input": {
+ "EnvironmentName": "my-env"
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "The following operation terminates and recreates the resources in an environment named my-env:",
+ "id": "to-rebuild-an-environment-1456277600918",
+ "title": "To rebuild an environment"
+ }
+ ],
+ "RequestEnvironmentInfo": [
+ {
+ "input": {
+ "EnvironmentName": "my-env",
+ "InfoType": "tail"
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "The following operation requests logs from an environment named my-env:",
+ "id": "to-request-tailed-logs-1456277657045",
+ "title": "To request tailed logs"
+ }
+ ],
+ "RestartAppServer": [
+ {
+ "input": {
+ "EnvironmentName": "my-env"
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "The following operation restarts application servers on all instances in an environment named my-env:",
+ "id": "to-restart-application-servers-1456277739302",
+ "title": "To restart application servers"
+ }
+ ],
+ "RetrieveEnvironmentInfo": [
+ {
+ "input": {
+ "EnvironmentName": "my-env",
+ "InfoType": "tail"
+ },
+ "output": {
+ "EnvironmentInfo": [
+ {
+ "Ec2InstanceId": "i-09c1c867",
+ "InfoType": "tail",
+ "Message": "https://elasticbeanstalk-us-west-2-0123456789012.s3.amazonaws.com/resources/environments/logs/tail/e-fyqyju3yjs/i-09c1c867/TailLogs-1440109397703.out?AWSAccessKeyId=AKGPT4J56IAJ2EUBL5CQ&Expires=1440195891&Signature=n%2BEalOV6A2HIOx4Rcfb7LT16bBM%3D",
+ "SampleTimestamp": "2015-08-20T22:23:17.703Z"
+ }
+ ]
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "The following operation retrieves a link to logs from an environment named my-env:",
+ "id": "to-retrieve-tailed-logs-1456277792734",
+ "title": "To retrieve tailed logs"
+ }
+ ],
+ "SwapEnvironmentCNAMEs": [
+ {
+ "input": {
+ "DestinationEnvironmentName": "my-env-green",
+ "SourceEnvironmentName": "my-env-blue"
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "The following operation swaps the assigned subdomains of two environments:",
+ "id": "to-swap-environment-cnames-1456277839438",
+ "title": "To swap environment CNAMES"
+ }
+ ],
+ "TerminateEnvironment": [
+ {
+ "input": {
+ "EnvironmentName": "my-env"
+ },
+ "output": {
+ "AbortableOperationInProgress": false,
+ "ApplicationName": "my-app",
+ "CNAME": "my-env.elasticbeanstalk.com",
+ "DateCreated": "2015-08-12T18:52:53.622Z",
+ "DateUpdated": "2015-08-12T19:05:54.744Z",
+ "EndpointURL": "awseb-e-f-AWSEBLoa-1I9XUMP4-8492WNUP202574.us-west-2.elb.amazonaws.com",
+ "EnvironmentId": "e-fh2eravpns",
+ "EnvironmentName": "my-env",
+ "Health": "Grey",
+ "SolutionStackName": "64bit Amazon Linux 2015.03 v2.0.0 running Tomcat 8 Java 8",
+ "Status": "Terminating",
+ "Tier": {
+ "Name": "WebServer",
+ "Type": "Standard",
+ "Version": " "
+ }
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "The following operation terminates an Elastic Beanstalk environment named my-env:",
+ "id": "to-terminate-an-environment-1456277888556",
+ "title": "To terminate an environment"
+ }
+ ],
+ "UpdateApplication": [
+ {
+ "input": {
+ "ApplicationName": "my-app",
+ "Description": "my Elastic Beanstalk application"
+ },
+ "output": {
+ "Application": {
+ "ApplicationName": "my-app",
+ "ConfigurationTemplates": [
+
+ ],
+ "DateCreated": "2015-08-13T19:15:50.449Z",
+ "DateUpdated": "2015-08-20T22:34:56.195Z",
+ "Description": "my Elastic Beanstalk application",
+ "Versions": [
+ "2fba-stage-150819_234450",
+ "bf07-stage-150820_214945",
+ "93f8",
+ "fd7c-stage-150820_000431",
+ "22a0-stage-150819_185942"
+ ]
+ }
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "The following operation updates the description of an application named my-app:",
+ "id": "to-change-an-applications-description-1456277957075",
+ "title": "To change an application's description"
+ }
+ ],
+ "UpdateApplicationVersion": [
+ {
+ "input": {
+ "ApplicationName": "my-app",
+ "Description": "new description",
+ "VersionLabel": "22a0-stage-150819_185942"
+ },
+ "output": {
+ "ApplicationVersion": {
+ "ApplicationName": "my-app",
+ "DateCreated": "2015-08-19T18:59:17.646Z",
+ "DateUpdated": "2015-08-20T22:53:28.871Z",
+ "Description": "new description",
+ "SourceBundle": {
+ "S3Bucket": "elasticbeanstalk-us-west-2-0123456789012",
+ "S3Key": "my-app/22a0-stage-150819_185942.war"
+ },
+ "VersionLabel": "22a0-stage-150819_185942"
+ }
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "The following operation updates the description of an application version named 22a0-stage-150819_185942:",
+ "id": "to-change-an-application-versions-description-1456278019237",
+ "title": "To change an application version's description"
+ }
+ ],
+ "UpdateConfigurationTemplate": [
+ {
+ "input": {
+ "ApplicationName": "my-app",
+ "OptionsToRemove": [
+ {
+ "Namespace": "aws:elasticbeanstalk:healthreporting:system",
+ "OptionName": "ConfigDocument"
+ }
+ ],
+ "TemplateName": "my-template"
+ },
+ "output": {
+ "ApplicationName": "my-app",
+ "DateCreated": "2015-08-20T22:39:31Z",
+ "DateUpdated": "2015-08-20T22:43:11Z",
+ "SolutionStackName": "64bit Amazon Linux 2015.03 v2.0.0 running Tomcat 8 Java 8",
+ "TemplateName": "my-template"
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "The following operation removes the configured CloudWatch custom health metrics configuration ConfigDocument from a saved configuration template named my-template:",
+ "id": "to-update-a-configuration-template-1456278075300",
+ "title": "To update a configuration template"
+ }
+ ],
+ "UpdateEnvironment": [
+ {
+ "input": {
+ "EnvironmentName": "my-env",
+ "VersionLabel": "v2"
+ },
+ "output": {
+ "ApplicationName": "my-app",
+ "CNAME": "my-env.elasticbeanstalk.com",
+ "DateCreated": "2015-02-03T23:04:54.453Z",
+ "DateUpdated": "2015-02-03T23:12:29.119Z",
+ "EndpointURL": "awseb-e-i-AWSEBLoa-1RDLX6TC9VUAO-0123456789.us-west-2.elb.amazonaws.com",
+ "EnvironmentId": "e-szqipays4h",
+ "EnvironmentName": "my-env",
+ "Health": "Grey",
+ "SolutionStackName": "64bit Amazon Linux running Tomcat 7",
+ "Status": "Updating",
+ "Tier": {
+ "Name": "WebServer",
+ "Type": "Standard",
+ "Version": " "
+ },
+ "VersionLabel": "v2"
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "The following operation updates an environment named \"my-env\" to version \"v2\" of the application to which it belongs:",
+ "id": "to-update-an-environment-to-a-new-version-1456278210718",
+ "title": "To update an environment to a new version"
+ },
+ {
+ "input": {
+ "EnvironmentName": "my-env",
+ "OptionSettings": [
+ {
+ "Namespace": "aws:elb:healthcheck",
+ "OptionName": "Interval",
+ "Value": "15"
+ },
+ {
+ "Namespace": "aws:elb:healthcheck",
+ "OptionName": "Timeout",
+ "Value": "8"
+ },
+ {
+ "Namespace": "aws:elb:healthcheck",
+ "OptionName": "HealthyThreshold",
+ "Value": "2"
+ },
+ {
+ "Namespace": "aws:elb:healthcheck",
+ "OptionName": "UnhealthyThreshold",
+ "Value": "3"
+ }
+ ]
+ },
+ "output": {
+ "AbortableOperationInProgress": true,
+ "ApplicationName": "my-app",
+ "CNAME": "my-env.elasticbeanstalk.com",
+ "DateCreated": "2015-08-07T20:48:49.599Z",
+ "DateUpdated": "2015-08-12T18:15:23.804Z",
+ "EndpointURL": "awseb-e-w-AWSEBLoa-14XB83101Q4L-104QXY80921.sa-east-1.elb.amazonaws.com",
+ "EnvironmentId": "e-wtp2rpqsej",
+ "EnvironmentName": "my-env",
+ "Health": "Grey",
+ "SolutionStackName": "64bit Amazon Linux 2015.03 v2.0.0 running Tomcat 8 Java 8",
+ "Status": "Updating",
+ "Tier": {
+ "Name": "WebServer",
+ "Type": "Standard",
+ "Version": " "
+ },
+ "VersionLabel": "7f58-stage-150812_025409"
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "The following operation configures several options in the aws:elb:loadbalancer namespace:",
+ "id": "to-configure-option-settings-1456278286349",
+ "title": "To configure option settings"
+ }
+ ],
+ "ValidateConfigurationSettings": [
+ {
+ "input": {
+ "ApplicationName": "my-app",
+ "EnvironmentName": "my-env",
+ "OptionSettings": [
+ {
+ "Namespace": "aws:elasticbeanstalk:healthreporting:system",
+ "OptionName": "ConfigDocument",
+ "Value": "{\"CloudWatchMetrics\": {\"Environment\": {\"ApplicationLatencyP99.9\": null,\"InstancesSevere\": 60,\"ApplicationLatencyP90\": 60,\"ApplicationLatencyP99\": null,\"ApplicationLatencyP95\": 60,\"InstancesUnknown\": 60,\"ApplicationLatencyP85\": 60,\"InstancesInfo\": null,\"ApplicationRequests2xx\": null,\"InstancesDegraded\": null,\"InstancesWarning\": 60,\"ApplicationLatencyP50\": 60,\"ApplicationRequestsTotal\": null,\"InstancesNoData\": null,\"InstancesPending\": 60,\"ApplicationLatencyP10\": null,\"ApplicationRequests5xx\": null,\"ApplicationLatencyP75\": null,\"InstancesOk\": 60,\"ApplicationRequests3xx\": null,\"ApplicationRequests4xx\": null},\"Instance\": {\"ApplicationLatencyP99.9\": null,\"ApplicationLatencyP90\": 60,\"ApplicationLatencyP99\": null,\"ApplicationLatencyP95\": null,\"ApplicationLatencyP85\": null,\"CPUUser\": 60,\"ApplicationRequests2xx\": null,\"CPUIdle\": null,\"ApplicationLatencyP50\": null,\"ApplicationRequestsTotal\": 60,\"RootFilesystemUtil\": null,\"LoadAverage1min\": null,\"CPUIrq\": null,\"CPUNice\": 60,\"CPUIowait\": 60,\"ApplicationLatencyP10\": null,\"LoadAverage5min\": null,\"ApplicationRequests5xx\": null,\"ApplicationLatencyP75\": 60,\"CPUSystem\": 60,\"ApplicationRequests3xx\": 60,\"ApplicationRequests4xx\": null,\"InstanceHealth\": null,\"CPUSoftirq\": 60}},\"Version\": 1}"
+ }
+ ]
+ },
+ "output": {
+ "Messages": [
+
+ ]
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "The following operation validates a CloudWatch custom metrics config document:",
+ "id": "to-validate-configuration-settings-1456278393654",
+ "title": "To validate configuration settings"
+ }
+ ]
+ }
+}
diff --git a/node_modules/aws-sdk/apis/elasticbeanstalk-2010-12-01.min.json b/node_modules/aws-sdk/apis/elasticbeanstalk-2010-12-01.min.json
new file mode 100644
index 0000000000000000000000000000000000000000..751a544a85c06cef8de0d822a10ea5c80b9c6b75
--- /dev/null
+++ b/node_modules/aws-sdk/apis/elasticbeanstalk-2010-12-01.min.json
@@ -0,0 +1,1155 @@
+{
+ "version": "2.0",
+ "metadata": {
+ "apiVersion": "2010-12-01",
+ "endpointPrefix": "elasticbeanstalk",
+ "protocol": "query",
+ "serviceAbbreviation": "Elastic Beanstalk",
+ "serviceFullName": "AWS Elastic Beanstalk",
+ "signatureVersion": "v4",
+ "xmlNamespace": "http://elasticbeanstalk.amazonaws.com/docs/2010-12-01/"
+ },
+ "operations": {
+ "AbortEnvironmentUpdate": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "EnvironmentId": {},
+ "EnvironmentName": {}
+ }
+ }
+ },
+ "CheckDNSAvailability": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "CNAMEPrefix"
+ ],
+ "members": {
+ "CNAMEPrefix": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "CheckDNSAvailabilityResult",
+ "type": "structure",
+ "members": {
+ "Available": {
+ "type": "boolean"
+ },
+ "FullyQualifiedCNAME": {}
+ }
+ }
+ },
+ "ComposeEnvironments": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "ApplicationName": {},
+ "GroupName": {},
+ "VersionLabels": {
+ "type": "list",
+ "member": {}
+ }
+ }
+ },
+ "output": {
+ "shape": "Se",
+ "resultWrapper": "ComposeEnvironmentsResult"
+ }
+ },
+ "CreateApplication": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ApplicationName"
+ ],
+ "members": {
+ "ApplicationName": {},
+ "Description": {}
+ }
+ },
+ "output": {
+ "shape": "S11",
+ "resultWrapper": "CreateApplicationResult"
+ }
+ },
+ "CreateApplicationVersion": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ApplicationName",
+ "VersionLabel"
+ ],
+ "members": {
+ "ApplicationName": {},
+ "VersionLabel": {},
+ "Description": {},
+ "SourceBundle": {
+ "shape": "S16"
+ },
+ "AutoCreateApplication": {
+ "type": "boolean"
+ },
+ "Process": {
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "shape": "S1b",
+ "resultWrapper": "CreateApplicationVersionResult"
+ }
+ },
+ "CreateConfigurationTemplate": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ApplicationName",
+ "TemplateName"
+ ],
+ "members": {
+ "ApplicationName": {},
+ "TemplateName": {},
+ "SolutionStackName": {},
+ "SourceConfiguration": {
+ "type": "structure",
+ "members": {
+ "ApplicationName": {},
+ "TemplateName": {}
+ }
+ },
+ "EnvironmentId": {},
+ "Description": {},
+ "OptionSettings": {
+ "shape": "S1g"
+ }
+ }
+ },
+ "output": {
+ "shape": "S1m",
+ "resultWrapper": "CreateConfigurationTemplateResult"
+ }
+ },
+ "CreateEnvironment": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ApplicationName"
+ ],
+ "members": {
+ "ApplicationName": {},
+ "EnvironmentName": {},
+ "GroupName": {},
+ "Description": {},
+ "CNAMEPrefix": {},
+ "Tier": {
+ "shape": "Sx"
+ },
+ "Tags": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "Key": {},
+ "Value": {}
+ }
+ }
+ },
+ "VersionLabel": {},
+ "TemplateName": {},
+ "SolutionStackName": {},
+ "OptionSettings": {
+ "shape": "S1g"
+ },
+ "OptionsToRemove": {
+ "shape": "S1t"
+ }
+ }
+ },
+ "output": {
+ "shape": "Sg",
+ "resultWrapper": "CreateEnvironmentResult"
+ }
+ },
+ "CreateStorageLocation": {
+ "output": {
+ "resultWrapper": "CreateStorageLocationResult",
+ "type": "structure",
+ "members": {
+ "S3Bucket": {}
+ }
+ }
+ },
+ "DeleteApplication": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ApplicationName"
+ ],
+ "members": {
+ "ApplicationName": {},
+ "TerminateEnvByForce": {
+ "type": "boolean"
+ }
+ }
+ }
+ },
+ "DeleteApplicationVersion": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ApplicationName",
+ "VersionLabel"
+ ],
+ "members": {
+ "ApplicationName": {},
+ "VersionLabel": {},
+ "DeleteSourceBundle": {
+ "type": "boolean"
+ }
+ }
+ }
+ },
+ "DeleteConfigurationTemplate": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ApplicationName",
+ "TemplateName"
+ ],
+ "members": {
+ "ApplicationName": {},
+ "TemplateName": {}
+ }
+ }
+ },
+ "DeleteEnvironmentConfiguration": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ApplicationName",
+ "EnvironmentName"
+ ],
+ "members": {
+ "ApplicationName": {},
+ "EnvironmentName": {}
+ }
+ }
+ },
+ "DescribeApplicationVersions": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "ApplicationName": {},
+ "VersionLabels": {
+ "shape": "S13"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeApplicationVersionsResult",
+ "type": "structure",
+ "members": {
+ "ApplicationVersions": {
+ "type": "list",
+ "member": {
+ "shape": "S1c"
+ }
+ }
+ }
+ }
+ },
+ "DescribeApplications": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "ApplicationNames": {
+ "type": "list",
+ "member": {}
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeApplicationsResult",
+ "type": "structure",
+ "members": {
+ "Applications": {
+ "type": "list",
+ "member": {
+ "shape": "S12"
+ }
+ }
+ }
+ }
+ },
+ "DescribeConfigurationOptions": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "ApplicationName": {},
+ "TemplateName": {},
+ "EnvironmentName": {},
+ "SolutionStackName": {},
+ "Options": {
+ "shape": "S1t"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeConfigurationOptionsResult",
+ "type": "structure",
+ "members": {
+ "SolutionStackName": {},
+ "Options": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "Namespace": {},
+ "Name": {},
+ "DefaultValue": {},
+ "ChangeSeverity": {},
+ "UserDefined": {
+ "type": "boolean"
+ },
+ "ValueType": {},
+ "ValueOptions": {
+ "type": "list",
+ "member": {}
+ },
+ "MinValue": {
+ "type": "integer"
+ },
+ "MaxValue": {
+ "type": "integer"
+ },
+ "MaxLength": {
+ "type": "integer"
+ },
+ "Regex": {
+ "type": "structure",
+ "members": {
+ "Pattern": {},
+ "Label": {}
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "DescribeConfigurationSettings": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ApplicationName"
+ ],
+ "members": {
+ "ApplicationName": {},
+ "TemplateName": {},
+ "EnvironmentName": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeConfigurationSettingsResult",
+ "type": "structure",
+ "members": {
+ "ConfigurationSettings": {
+ "type": "list",
+ "member": {
+ "shape": "S1m"
+ }
+ }
+ }
+ }
+ },
+ "DescribeEnvironmentHealth": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "EnvironmentName": {},
+ "EnvironmentId": {},
+ "AttributeNames": {
+ "type": "list",
+ "member": {}
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeEnvironmentHealthResult",
+ "type": "structure",
+ "members": {
+ "EnvironmentName": {},
+ "HealthStatus": {},
+ "Status": {},
+ "Color": {},
+ "Causes": {
+ "shape": "S2w"
+ },
+ "ApplicationMetrics": {
+ "shape": "S2y"
+ },
+ "InstancesHealth": {
+ "type": "structure",
+ "members": {
+ "NoData": {
+ "type": "integer"
+ },
+ "Unknown": {
+ "type": "integer"
+ },
+ "Pending": {
+ "type": "integer"
+ },
+ "Ok": {
+ "type": "integer"
+ },
+ "Info": {
+ "type": "integer"
+ },
+ "Warning": {
+ "type": "integer"
+ },
+ "Degraded": {
+ "type": "integer"
+ },
+ "Severe": {
+ "type": "integer"
+ }
+ }
+ },
+ "RefreshedAt": {
+ "type": "timestamp"
+ }
+ }
+ }
+ },
+ "DescribeEnvironmentResources": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "EnvironmentId": {},
+ "EnvironmentName": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeEnvironmentResourcesResult",
+ "type": "structure",
+ "members": {
+ "EnvironmentResources": {
+ "type": "structure",
+ "members": {
+ "EnvironmentName": {},
+ "AutoScalingGroups": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "Name": {}
+ }
+ }
+ },
+ "Instances": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "Id": {}
+ }
+ }
+ },
+ "LaunchConfigurations": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "Name": {}
+ }
+ }
+ },
+ "LoadBalancers": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "Name": {}
+ }
+ }
+ },
+ "Triggers": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "Name": {}
+ }
+ }
+ },
+ "Queues": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "Name": {},
+ "URL": {}
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "DescribeEnvironments": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "ApplicationName": {},
+ "VersionLabel": {},
+ "EnvironmentIds": {
+ "type": "list",
+ "member": {}
+ },
+ "EnvironmentNames": {
+ "type": "list",
+ "member": {}
+ },
+ "IncludeDeleted": {
+ "type": "boolean"
+ },
+ "IncludedDeletedBackTo": {
+ "type": "timestamp"
+ }
+ }
+ },
+ "output": {
+ "shape": "Se",
+ "resultWrapper": "DescribeEnvironmentsResult"
+ }
+ },
+ "DescribeEvents": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "ApplicationName": {},
+ "VersionLabel": {},
+ "TemplateName": {},
+ "EnvironmentId": {},
+ "EnvironmentName": {},
+ "RequestId": {},
+ "Severity": {},
+ "StartTime": {
+ "type": "timestamp"
+ },
+ "EndTime": {
+ "type": "timestamp"
+ },
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "NextToken": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeEventsResult",
+ "type": "structure",
+ "members": {
+ "Events": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "EventDate": {
+ "type": "timestamp"
+ },
+ "Message": {},
+ "ApplicationName": {},
+ "VersionLabel": {},
+ "TemplateName": {},
+ "EnvironmentName": {},
+ "RequestId": {},
+ "Severity": {}
+ }
+ }
+ },
+ "NextToken": {}
+ }
+ }
+ },
+ "DescribeInstancesHealth": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "EnvironmentName": {},
+ "EnvironmentId": {},
+ "AttributeNames": {
+ "type": "list",
+ "member": {}
+ },
+ "NextToken": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeInstancesHealthResult",
+ "type": "structure",
+ "members": {
+ "InstanceHealthList": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "InstanceId": {},
+ "HealthStatus": {},
+ "Color": {},
+ "Causes": {
+ "shape": "S2w"
+ },
+ "LaunchedAt": {
+ "type": "timestamp"
+ },
+ "ApplicationMetrics": {
+ "shape": "S2y"
+ },
+ "System": {
+ "type": "structure",
+ "members": {
+ "CPUUtilization": {
+ "type": "structure",
+ "members": {
+ "User": {
+ "type": "double"
+ },
+ "Nice": {
+ "type": "double"
+ },
+ "System": {
+ "type": "double"
+ },
+ "Idle": {
+ "type": "double"
+ },
+ "IOWait": {
+ "type": "double"
+ },
+ "IRQ": {
+ "type": "double"
+ },
+ "SoftIRQ": {
+ "type": "double"
+ }
+ }
+ },
+ "LoadAverage": {
+ "type": "list",
+ "member": {
+ "type": "double"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "RefreshedAt": {
+ "type": "timestamp"
+ },
+ "NextToken": {}
+ }
+ }
+ },
+ "ListAvailableSolutionStacks": {
+ "output": {
+ "resultWrapper": "ListAvailableSolutionStacksResult",
+ "type": "structure",
+ "members": {
+ "SolutionStacks": {
+ "type": "list",
+ "member": {}
+ },
+ "SolutionStackDetails": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "SolutionStackName": {},
+ "PermittedFileTypes": {
+ "type": "list",
+ "member": {}
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "RebuildEnvironment": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "EnvironmentId": {},
+ "EnvironmentName": {}
+ }
+ }
+ },
+ "RequestEnvironmentInfo": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "InfoType"
+ ],
+ "members": {
+ "EnvironmentId": {},
+ "EnvironmentName": {},
+ "InfoType": {}
+ }
+ }
+ },
+ "RestartAppServer": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "EnvironmentId": {},
+ "EnvironmentName": {}
+ }
+ }
+ },
+ "RetrieveEnvironmentInfo": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "InfoType"
+ ],
+ "members": {
+ "EnvironmentId": {},
+ "EnvironmentName": {},
+ "InfoType": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "RetrieveEnvironmentInfoResult",
+ "type": "structure",
+ "members": {
+ "EnvironmentInfo": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "InfoType": {},
+ "Ec2InstanceId": {},
+ "SampleTimestamp": {
+ "type": "timestamp"
+ },
+ "Message": {}
+ }
+ }
+ }
+ }
+ }
+ },
+ "SwapEnvironmentCNAMEs": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "SourceEnvironmentId": {},
+ "SourceEnvironmentName": {},
+ "DestinationEnvironmentId": {},
+ "DestinationEnvironmentName": {}
+ }
+ }
+ },
+ "TerminateEnvironment": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "EnvironmentId": {},
+ "EnvironmentName": {},
+ "TerminateResources": {
+ "type": "boolean"
+ },
+ "ForceTerminate": {
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "shape": "Sg",
+ "resultWrapper": "TerminateEnvironmentResult"
+ }
+ },
+ "UpdateApplication": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ApplicationName"
+ ],
+ "members": {
+ "ApplicationName": {},
+ "Description": {}
+ }
+ },
+ "output": {
+ "shape": "S11",
+ "resultWrapper": "UpdateApplicationResult"
+ }
+ },
+ "UpdateApplicationVersion": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ApplicationName",
+ "VersionLabel"
+ ],
+ "members": {
+ "ApplicationName": {},
+ "VersionLabel": {},
+ "Description": {}
+ }
+ },
+ "output": {
+ "shape": "S1b",
+ "resultWrapper": "UpdateApplicationVersionResult"
+ }
+ },
+ "UpdateConfigurationTemplate": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ApplicationName",
+ "TemplateName"
+ ],
+ "members": {
+ "ApplicationName": {},
+ "TemplateName": {},
+ "Description": {},
+ "OptionSettings": {
+ "shape": "S1g"
+ },
+ "OptionsToRemove": {
+ "shape": "S1t"
+ }
+ }
+ },
+ "output": {
+ "shape": "S1m",
+ "resultWrapper": "UpdateConfigurationTemplateResult"
+ }
+ },
+ "UpdateEnvironment": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "ApplicationName": {},
+ "EnvironmentId": {},
+ "EnvironmentName": {},
+ "GroupName": {},
+ "Description": {},
+ "Tier": {
+ "shape": "Sx"
+ },
+ "VersionLabel": {},
+ "TemplateName": {},
+ "SolutionStackName": {},
+ "OptionSettings": {
+ "shape": "S1g"
+ },
+ "OptionsToRemove": {
+ "shape": "S1t"
+ }
+ }
+ },
+ "output": {
+ "shape": "Sg",
+ "resultWrapper": "UpdateEnvironmentResult"
+ }
+ },
+ "ValidateConfigurationSettings": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ApplicationName",
+ "OptionSettings"
+ ],
+ "members": {
+ "ApplicationName": {},
+ "TemplateName": {},
+ "EnvironmentName": {},
+ "OptionSettings": {
+ "shape": "S1g"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "ValidateConfigurationSettingsResult",
+ "type": "structure",
+ "members": {
+ "Messages": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "Message": {},
+ "Severity": {},
+ "Namespace": {},
+ "OptionName": {}
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "shapes": {
+ "Se": {
+ "type": "structure",
+ "members": {
+ "Environments": {
+ "type": "list",
+ "member": {
+ "shape": "Sg"
+ }
+ }
+ }
+ },
+ "Sg": {
+ "type": "structure",
+ "members": {
+ "EnvironmentName": {},
+ "EnvironmentId": {},
+ "ApplicationName": {},
+ "VersionLabel": {},
+ "SolutionStackName": {},
+ "TemplateName": {},
+ "Description": {},
+ "EndpointURL": {},
+ "CNAME": {},
+ "DateCreated": {
+ "type": "timestamp"
+ },
+ "DateUpdated": {
+ "type": "timestamp"
+ },
+ "Status": {},
+ "AbortableOperationInProgress": {
+ "type": "boolean"
+ },
+ "Health": {},
+ "HealthStatus": {},
+ "Resources": {
+ "type": "structure",
+ "members": {
+ "LoadBalancer": {
+ "type": "structure",
+ "members": {
+ "LoadBalancerName": {},
+ "Domain": {},
+ "Listeners": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "Protocol": {},
+ "Port": {
+ "type": "integer"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "Tier": {
+ "shape": "Sx"
+ },
+ "EnvironmentLinks": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "LinkName": {},
+ "EnvironmentName": {}
+ }
+ }
+ }
+ }
+ },
+ "Sx": {
+ "type": "structure",
+ "members": {
+ "Name": {},
+ "Type": {},
+ "Version": {}
+ }
+ },
+ "S11": {
+ "type": "structure",
+ "members": {
+ "Application": {
+ "shape": "S12"
+ }
+ }
+ },
+ "S12": {
+ "type": "structure",
+ "members": {
+ "ApplicationName": {},
+ "Description": {},
+ "DateCreated": {
+ "type": "timestamp"
+ },
+ "DateUpdated": {
+ "type": "timestamp"
+ },
+ "Versions": {
+ "shape": "S13"
+ },
+ "ConfigurationTemplates": {
+ "type": "list",
+ "member": {}
+ }
+ }
+ },
+ "S13": {
+ "type": "list",
+ "member": {}
+ },
+ "S16": {
+ "type": "structure",
+ "members": {
+ "S3Bucket": {},
+ "S3Key": {}
+ }
+ },
+ "S1b": {
+ "type": "structure",
+ "members": {
+ "ApplicationVersion": {
+ "shape": "S1c"
+ }
+ }
+ },
+ "S1c": {
+ "type": "structure",
+ "members": {
+ "ApplicationName": {},
+ "Description": {},
+ "VersionLabel": {},
+ "SourceBundle": {
+ "shape": "S16"
+ },
+ "DateCreated": {
+ "type": "timestamp"
+ },
+ "DateUpdated": {
+ "type": "timestamp"
+ },
+ "Status": {}
+ }
+ },
+ "S1g": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "ResourceName": {},
+ "Namespace": {},
+ "OptionName": {},
+ "Value": {}
+ }
+ }
+ },
+ "S1m": {
+ "type": "structure",
+ "members": {
+ "SolutionStackName": {},
+ "ApplicationName": {},
+ "TemplateName": {},
+ "Description": {},
+ "EnvironmentName": {},
+ "DeploymentStatus": {},
+ "DateCreated": {
+ "type": "timestamp"
+ },
+ "DateUpdated": {
+ "type": "timestamp"
+ },
+ "OptionSettings": {
+ "shape": "S1g"
+ }
+ }
+ },
+ "S1t": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "ResourceName": {},
+ "Namespace": {},
+ "OptionName": {}
+ }
+ }
+ },
+ "S2w": {
+ "type": "list",
+ "member": {}
+ },
+ "S2y": {
+ "type": "structure",
+ "members": {
+ "Duration": {
+ "type": "integer"
+ },
+ "RequestCount": {
+ "type": "integer"
+ },
+ "StatusCodes": {
+ "type": "structure",
+ "members": {
+ "Status2xx": {
+ "type": "integer"
+ },
+ "Status3xx": {
+ "type": "integer"
+ },
+ "Status4xx": {
+ "type": "integer"
+ },
+ "Status5xx": {
+ "type": "integer"
+ }
+ }
+ },
+ "Latency": {
+ "type": "structure",
+ "members": {
+ "P999": {
+ "type": "double"
+ },
+ "P99": {
+ "type": "double"
+ },
+ "P95": {
+ "type": "double"
+ },
+ "P90": {
+ "type": "double"
+ },
+ "P85": {
+ "type": "double"
+ },
+ "P75": {
+ "type": "double"
+ },
+ "P50": {
+ "type": "double"
+ },
+ "P10": {
+ "type": "double"
+ }
+ }
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/node_modules/aws-sdk/apis/elasticbeanstalk-2010-12-01.paginators.json b/node_modules/aws-sdk/apis/elasticbeanstalk-2010-12-01.paginators.json
new file mode 100644
index 0000000000000000000000000000000000000000..383ce8d6f88b4f8fd60cbe927ca3a262904b4561
--- /dev/null
+++ b/node_modules/aws-sdk/apis/elasticbeanstalk-2010-12-01.paginators.json
@@ -0,0 +1,25 @@
+{
+ "pagination": {
+ "DescribeApplicationVersions": {
+ "result_key": "ApplicationVersions"
+ },
+ "DescribeApplications": {
+ "result_key": "Applications"
+ },
+ "DescribeConfigurationOptions": {
+ "result_key": "Options"
+ },
+ "DescribeEnvironments": {
+ "result_key": "Environments"
+ },
+ "DescribeEvents": {
+ "input_token": "NextToken",
+ "output_token": "NextToken",
+ "limit_key": "MaxRecords",
+ "result_key": "Events"
+ },
+ "ListAvailableSolutionStacks": {
+ "result_key": "SolutionStacks"
+ }
+ }
+}
diff --git a/node_modules/aws-sdk/apis/elasticfilesystem-2015-02-01.min.json b/node_modules/aws-sdk/apis/elasticfilesystem-2015-02-01.min.json
new file mode 100644
index 0000000000000000000000000000000000000000..0454ec2c38de123327dcd52a2e8bbaf76cf9b021
--- /dev/null
+++ b/node_modules/aws-sdk/apis/elasticfilesystem-2015-02-01.min.json
@@ -0,0 +1,393 @@
+{
+ "version": "2.0",
+ "metadata": {
+ "apiVersion": "2015-02-01",
+ "endpointPrefix": "elasticfilesystem",
+ "serviceAbbreviation": "EFS",
+ "serviceFullName": "Amazon Elastic File System",
+ "signatureVersion": "v4",
+ "protocol": "rest-json"
+ },
+ "operations": {
+ "CreateFileSystem": {
+ "http": {
+ "requestUri": "/2015-02-01/file-systems",
+ "responseCode": 201
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "CreationToken"
+ ],
+ "members": {
+ "CreationToken": {}
+ }
+ },
+ "output": {
+ "shape": "S3"
+ }
+ },
+ "CreateMountTarget": {
+ "http": {
+ "requestUri": "/2015-02-01/mount-targets",
+ "responseCode": 200
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "FileSystemId",
+ "SubnetId"
+ ],
+ "members": {
+ "FileSystemId": {},
+ "SubnetId": {},
+ "IpAddress": {},
+ "SecurityGroups": {
+ "shape": "Sf"
+ }
+ }
+ },
+ "output": {
+ "shape": "Sh"
+ }
+ },
+ "CreateTags": {
+ "http": {
+ "requestUri": "/2015-02-01/create-tags/{FileSystemId}",
+ "responseCode": 204
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "FileSystemId",
+ "Tags"
+ ],
+ "members": {
+ "FileSystemId": {
+ "location": "uri",
+ "locationName": "FileSystemId"
+ },
+ "Tags": {
+ "shape": "Sl"
+ }
+ }
+ }
+ },
+ "DeleteFileSystem": {
+ "http": {
+ "method": "DELETE",
+ "requestUri": "/2015-02-01/file-systems/{FileSystemId}",
+ "responseCode": 204
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "FileSystemId"
+ ],
+ "members": {
+ "FileSystemId": {
+ "location": "uri",
+ "locationName": "FileSystemId"
+ }
+ }
+ }
+ },
+ "DeleteMountTarget": {
+ "http": {
+ "method": "DELETE",
+ "requestUri": "/2015-02-01/mount-targets/{MountTargetId}",
+ "responseCode": 204
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "MountTargetId"
+ ],
+ "members": {
+ "MountTargetId": {
+ "location": "uri",
+ "locationName": "MountTargetId"
+ }
+ }
+ }
+ },
+ "DeleteTags": {
+ "http": {
+ "requestUri": "/2015-02-01/delete-tags/{FileSystemId}",
+ "responseCode": 204
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "FileSystemId",
+ "TagKeys"
+ ],
+ "members": {
+ "FileSystemId": {
+ "location": "uri",
+ "locationName": "FileSystemId"
+ },
+ "TagKeys": {
+ "type": "list",
+ "member": {}
+ }
+ }
+ }
+ },
+ "DescribeFileSystems": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/2015-02-01/file-systems",
+ "responseCode": 200
+ },
+ "input": {
+ "type": "structure",
+ "members": {
+ "MaxItems": {
+ "location": "querystring",
+ "locationName": "MaxItems",
+ "type": "integer"
+ },
+ "Marker": {
+ "location": "querystring",
+ "locationName": "Marker"
+ },
+ "CreationToken": {
+ "location": "querystring",
+ "locationName": "CreationToken"
+ },
+ "FileSystemId": {
+ "location": "querystring",
+ "locationName": "FileSystemId"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Marker": {},
+ "FileSystems": {
+ "type": "list",
+ "member": {
+ "shape": "S3"
+ }
+ },
+ "NextMarker": {}
+ }
+ }
+ },
+ "DescribeMountTargetSecurityGroups": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/2015-02-01/mount-targets/{MountTargetId}/security-groups",
+ "responseCode": 200
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "MountTargetId"
+ ],
+ "members": {
+ "MountTargetId": {
+ "location": "uri",
+ "locationName": "MountTargetId"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "SecurityGroups"
+ ],
+ "members": {
+ "SecurityGroups": {
+ "shape": "Sf"
+ }
+ }
+ }
+ },
+ "DescribeMountTargets": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/2015-02-01/mount-targets",
+ "responseCode": 200
+ },
+ "input": {
+ "type": "structure",
+ "members": {
+ "MaxItems": {
+ "location": "querystring",
+ "locationName": "MaxItems",
+ "type": "integer"
+ },
+ "Marker": {
+ "location": "querystring",
+ "locationName": "Marker"
+ },
+ "FileSystemId": {
+ "location": "querystring",
+ "locationName": "FileSystemId"
+ },
+ "MountTargetId": {
+ "location": "querystring",
+ "locationName": "MountTargetId"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Marker": {},
+ "MountTargets": {
+ "type": "list",
+ "member": {
+ "shape": "Sh"
+ }
+ },
+ "NextMarker": {}
+ }
+ }
+ },
+ "DescribeTags": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/2015-02-01/tags/{FileSystemId}/",
+ "responseCode": 200
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "FileSystemId"
+ ],
+ "members": {
+ "MaxItems": {
+ "location": "querystring",
+ "locationName": "MaxItems",
+ "type": "integer"
+ },
+ "Marker": {
+ "location": "querystring",
+ "locationName": "Marker"
+ },
+ "FileSystemId": {
+ "location": "uri",
+ "locationName": "FileSystemId"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "Tags"
+ ],
+ "members": {
+ "Marker": {},
+ "Tags": {
+ "shape": "Sl"
+ },
+ "NextMarker": {}
+ }
+ }
+ },
+ "ModifyMountTargetSecurityGroups": {
+ "http": {
+ "method": "PUT",
+ "requestUri": "/2015-02-01/mount-targets/{MountTargetId}/security-groups",
+ "responseCode": 204
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "MountTargetId"
+ ],
+ "members": {
+ "MountTargetId": {
+ "location": "uri",
+ "locationName": "MountTargetId"
+ },
+ "SecurityGroups": {
+ "shape": "Sf"
+ }
+ }
+ }
+ }
+ },
+ "shapes": {
+ "S3": {
+ "type": "structure",
+ "required": [
+ "OwnerId",
+ "CreationToken",
+ "FileSystemId",
+ "CreationTime",
+ "LifeCycleState",
+ "NumberOfMountTargets",
+ "SizeInBytes"
+ ],
+ "members": {
+ "OwnerId": {},
+ "CreationToken": {},
+ "FileSystemId": {},
+ "CreationTime": {
+ "type": "timestamp"
+ },
+ "LifeCycleState": {},
+ "Name": {},
+ "NumberOfMountTargets": {
+ "type": "integer"
+ },
+ "SizeInBytes": {
+ "type": "structure",
+ "required": [
+ "Value"
+ ],
+ "members": {
+ "Value": {
+ "type": "long"
+ },
+ "Timestamp": {
+ "type": "timestamp"
+ }
+ }
+ }
+ }
+ },
+ "Sf": {
+ "type": "list",
+ "member": {}
+ },
+ "Sh": {
+ "type": "structure",
+ "required": [
+ "MountTargetId",
+ "FileSystemId",
+ "SubnetId",
+ "LifeCycleState"
+ ],
+ "members": {
+ "OwnerId": {},
+ "MountTargetId": {},
+ "FileSystemId": {},
+ "SubnetId": {},
+ "LifeCycleState": {},
+ "IpAddress": {},
+ "NetworkInterfaceId": {}
+ }
+ },
+ "Sl": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "Key",
+ "Value"
+ ],
+ "members": {
+ "Key": {},
+ "Value": {}
+ }
+ }
+ }
+ },
+ "examples": {}
+}
\ No newline at end of file
diff --git a/node_modules/aws-sdk/apis/elasticloadbalancing-2012-06-01.min.json b/node_modules/aws-sdk/apis/elasticloadbalancing-2012-06-01.min.json
new file mode 100644
index 0000000000000000000000000000000000000000..f56b6bbccd863b8700d6c59760822a3a11ffa857
--- /dev/null
+++ b/node_modules/aws-sdk/apis/elasticloadbalancing-2012-06-01.min.json
@@ -0,0 +1,973 @@
+{
+ "version": "2.0",
+ "metadata": {
+ "apiVersion": "2012-06-01",
+ "endpointPrefix": "elasticloadbalancing",
+ "serviceFullName": "Elastic Load Balancing",
+ "signatureVersion": "v4",
+ "xmlNamespace": "http://elasticloadbalancing.amazonaws.com/doc/2012-06-01/",
+ "protocol": "query"
+ },
+ "operations": {
+ "AddTags": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "LoadBalancerNames",
+ "Tags"
+ ],
+ "members": {
+ "LoadBalancerNames": {
+ "shape": "S2"
+ },
+ "Tags": {
+ "shape": "S4"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "AddTagsResult",
+ "type": "structure",
+ "members": {}
+ }
+ },
+ "ApplySecurityGroupsToLoadBalancer": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "LoadBalancerName",
+ "SecurityGroups"
+ ],
+ "members": {
+ "LoadBalancerName": {},
+ "SecurityGroups": {
+ "shape": "Sa"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "ApplySecurityGroupsToLoadBalancerResult",
+ "type": "structure",
+ "members": {
+ "SecurityGroups": {
+ "shape": "Sa"
+ }
+ }
+ }
+ },
+ "AttachLoadBalancerToSubnets": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "LoadBalancerName",
+ "Subnets"
+ ],
+ "members": {
+ "LoadBalancerName": {},
+ "Subnets": {
+ "shape": "Se"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "AttachLoadBalancerToSubnetsResult",
+ "type": "structure",
+ "members": {
+ "Subnets": {
+ "shape": "Se"
+ }
+ }
+ }
+ },
+ "ConfigureHealthCheck": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "LoadBalancerName",
+ "HealthCheck"
+ ],
+ "members": {
+ "LoadBalancerName": {},
+ "HealthCheck": {
+ "shape": "Si"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "ConfigureHealthCheckResult",
+ "type": "structure",
+ "members": {
+ "HealthCheck": {
+ "shape": "Si"
+ }
+ }
+ }
+ },
+ "CreateAppCookieStickinessPolicy": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "LoadBalancerName",
+ "PolicyName",
+ "CookieName"
+ ],
+ "members": {
+ "LoadBalancerName": {},
+ "PolicyName": {},
+ "CookieName": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "CreateAppCookieStickinessPolicyResult",
+ "type": "structure",
+ "members": {}
+ }
+ },
+ "CreateLBCookieStickinessPolicy": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "LoadBalancerName",
+ "PolicyName"
+ ],
+ "members": {
+ "LoadBalancerName": {},
+ "PolicyName": {},
+ "CookieExpirationPeriod": {
+ "type": "long"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "CreateLBCookieStickinessPolicyResult",
+ "type": "structure",
+ "members": {}
+ }
+ },
+ "CreateLoadBalancer": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "LoadBalancerName",
+ "Listeners"
+ ],
+ "members": {
+ "LoadBalancerName": {},
+ "Listeners": {
+ "shape": "Sx"
+ },
+ "AvailabilityZones": {
+ "shape": "S13"
+ },
+ "Subnets": {
+ "shape": "Se"
+ },
+ "SecurityGroups": {
+ "shape": "Sa"
+ },
+ "Scheme": {},
+ "Tags": {
+ "shape": "S4"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "CreateLoadBalancerResult",
+ "type": "structure",
+ "members": {
+ "DNSName": {}
+ }
+ }
+ },
+ "CreateLoadBalancerListeners": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "LoadBalancerName",
+ "Listeners"
+ ],
+ "members": {
+ "LoadBalancerName": {},
+ "Listeners": {
+ "shape": "Sx"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "CreateLoadBalancerListenersResult",
+ "type": "structure",
+ "members": {}
+ }
+ },
+ "CreateLoadBalancerPolicy": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "LoadBalancerName",
+ "PolicyName",
+ "PolicyTypeName"
+ ],
+ "members": {
+ "LoadBalancerName": {},
+ "PolicyName": {},
+ "PolicyTypeName": {},
+ "PolicyAttributes": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "AttributeName": {},
+ "AttributeValue": {}
+ }
+ }
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "CreateLoadBalancerPolicyResult",
+ "type": "structure",
+ "members": {}
+ }
+ },
+ "DeleteLoadBalancer": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "LoadBalancerName"
+ ],
+ "members": {
+ "LoadBalancerName": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DeleteLoadBalancerResult",
+ "type": "structure",
+ "members": {}
+ }
+ },
+ "DeleteLoadBalancerListeners": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "LoadBalancerName",
+ "LoadBalancerPorts"
+ ],
+ "members": {
+ "LoadBalancerName": {},
+ "LoadBalancerPorts": {
+ "type": "list",
+ "member": {
+ "type": "integer"
+ }
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "DeleteLoadBalancerListenersResult",
+ "type": "structure",
+ "members": {}
+ }
+ },
+ "DeleteLoadBalancerPolicy": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "LoadBalancerName",
+ "PolicyName"
+ ],
+ "members": {
+ "LoadBalancerName": {},
+ "PolicyName": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DeleteLoadBalancerPolicyResult",
+ "type": "structure",
+ "members": {}
+ }
+ },
+ "DeregisterInstancesFromLoadBalancer": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "LoadBalancerName",
+ "Instances"
+ ],
+ "members": {
+ "LoadBalancerName": {},
+ "Instances": {
+ "shape": "S1p"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "DeregisterInstancesFromLoadBalancerResult",
+ "type": "structure",
+ "members": {
+ "Instances": {
+ "shape": "S1p"
+ }
+ }
+ }
+ },
+ "DescribeInstanceHealth": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "LoadBalancerName"
+ ],
+ "members": {
+ "LoadBalancerName": {},
+ "Instances": {
+ "shape": "S1p"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeInstanceHealthResult",
+ "type": "structure",
+ "members": {
+ "InstanceStates": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "InstanceId": {},
+ "State": {},
+ "ReasonCode": {},
+ "Description": {}
+ }
+ }
+ }
+ }
+ }
+ },
+ "DescribeLoadBalancerAttributes": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "LoadBalancerName"
+ ],
+ "members": {
+ "LoadBalancerName": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeLoadBalancerAttributesResult",
+ "type": "structure",
+ "members": {
+ "LoadBalancerAttributes": {
+ "shape": "S22"
+ }
+ }
+ }
+ },
+ "DescribeLoadBalancerPolicies": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "LoadBalancerName": {},
+ "PolicyNames": {
+ "shape": "S2j"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeLoadBalancerPoliciesResult",
+ "type": "structure",
+ "members": {
+ "PolicyDescriptions": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "PolicyName": {},
+ "PolicyTypeName": {},
+ "PolicyAttributeDescriptions": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "AttributeName": {},
+ "AttributeValue": {}
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "DescribeLoadBalancerPolicyTypes": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "PolicyTypeNames": {
+ "type": "list",
+ "member": {}
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeLoadBalancerPolicyTypesResult",
+ "type": "structure",
+ "members": {
+ "PolicyTypeDescriptions": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "PolicyTypeName": {},
+ "Description": {},
+ "PolicyAttributeTypeDescriptions": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "AttributeName": {},
+ "AttributeType": {},
+ "Description": {},
+ "DefaultValue": {},
+ "Cardinality": {}
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "DescribeLoadBalancers": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "LoadBalancerNames": {
+ "shape": "S2"
+ },
+ "Marker": {},
+ "PageSize": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeLoadBalancersResult",
+ "type": "structure",
+ "members": {
+ "LoadBalancerDescriptions": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "LoadBalancerName": {},
+ "DNSName": {},
+ "CanonicalHostedZoneName": {},
+ "CanonicalHostedZoneNameID": {},
+ "ListenerDescriptions": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "Listener": {
+ "shape": "Sy"
+ },
+ "PolicyNames": {
+ "shape": "S2j"
+ }
+ }
+ }
+ },
+ "Policies": {
+ "type": "structure",
+ "members": {
+ "AppCookieStickinessPolicies": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "PolicyName": {},
+ "CookieName": {}
+ }
+ }
+ },
+ "LBCookieStickinessPolicies": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "PolicyName": {},
+ "CookieExpirationPeriod": {
+ "type": "long"
+ }
+ }
+ }
+ },
+ "OtherPolicies": {
+ "shape": "S2j"
+ }
+ }
+ },
+ "BackendServerDescriptions": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "InstancePort": {
+ "type": "integer"
+ },
+ "PolicyNames": {
+ "shape": "S2j"
+ }
+ }
+ }
+ },
+ "AvailabilityZones": {
+ "shape": "S13"
+ },
+ "Subnets": {
+ "shape": "Se"
+ },
+ "VPCId": {},
+ "Instances": {
+ "shape": "S1p"
+ },
+ "HealthCheck": {
+ "shape": "Si"
+ },
+ "SourceSecurityGroup": {
+ "type": "structure",
+ "members": {
+ "OwnerAlias": {},
+ "GroupName": {}
+ }
+ },
+ "SecurityGroups": {
+ "shape": "Sa"
+ },
+ "CreatedTime": {
+ "type": "timestamp"
+ },
+ "Scheme": {}
+ }
+ }
+ },
+ "NextMarker": {}
+ }
+ }
+ },
+ "DescribeTags": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "LoadBalancerNames"
+ ],
+ "members": {
+ "LoadBalancerNames": {
+ "type": "list",
+ "member": {}
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeTagsResult",
+ "type": "structure",
+ "members": {
+ "TagDescriptions": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "LoadBalancerName": {},
+ "Tags": {
+ "shape": "S4"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "DetachLoadBalancerFromSubnets": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "LoadBalancerName",
+ "Subnets"
+ ],
+ "members": {
+ "LoadBalancerName": {},
+ "Subnets": {
+ "shape": "Se"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "DetachLoadBalancerFromSubnetsResult",
+ "type": "structure",
+ "members": {
+ "Subnets": {
+ "shape": "Se"
+ }
+ }
+ }
+ },
+ "DisableAvailabilityZonesForLoadBalancer": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "LoadBalancerName",
+ "AvailabilityZones"
+ ],
+ "members": {
+ "LoadBalancerName": {},
+ "AvailabilityZones": {
+ "shape": "S13"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "DisableAvailabilityZonesForLoadBalancerResult",
+ "type": "structure",
+ "members": {
+ "AvailabilityZones": {
+ "shape": "S13"
+ }
+ }
+ }
+ },
+ "EnableAvailabilityZonesForLoadBalancer": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "LoadBalancerName",
+ "AvailabilityZones"
+ ],
+ "members": {
+ "LoadBalancerName": {},
+ "AvailabilityZones": {
+ "shape": "S13"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "EnableAvailabilityZonesForLoadBalancerResult",
+ "type": "structure",
+ "members": {
+ "AvailabilityZones": {
+ "shape": "S13"
+ }
+ }
+ }
+ },
+ "ModifyLoadBalancerAttributes": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "LoadBalancerName",
+ "LoadBalancerAttributes"
+ ],
+ "members": {
+ "LoadBalancerName": {},
+ "LoadBalancerAttributes": {
+ "shape": "S22"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "ModifyLoadBalancerAttributesResult",
+ "type": "structure",
+ "members": {
+ "LoadBalancerName": {},
+ "LoadBalancerAttributes": {
+ "shape": "S22"
+ }
+ }
+ }
+ },
+ "RegisterInstancesWithLoadBalancer": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "LoadBalancerName",
+ "Instances"
+ ],
+ "members": {
+ "LoadBalancerName": {},
+ "Instances": {
+ "shape": "S1p"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "RegisterInstancesWithLoadBalancerResult",
+ "type": "structure",
+ "members": {
+ "Instances": {
+ "shape": "S1p"
+ }
+ }
+ }
+ },
+ "RemoveTags": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "LoadBalancerNames",
+ "Tags"
+ ],
+ "members": {
+ "LoadBalancerNames": {
+ "shape": "S2"
+ },
+ "Tags": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "Key": {}
+ }
+ }
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "RemoveTagsResult",
+ "type": "structure",
+ "members": {}
+ }
+ },
+ "SetLoadBalancerListenerSSLCertificate": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "LoadBalancerName",
+ "LoadBalancerPort",
+ "SSLCertificateId"
+ ],
+ "members": {
+ "LoadBalancerName": {},
+ "LoadBalancerPort": {
+ "type": "integer"
+ },
+ "SSLCertificateId": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "SetLoadBalancerListenerSSLCertificateResult",
+ "type": "structure",
+ "members": {}
+ }
+ },
+ "SetLoadBalancerPoliciesForBackendServer": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "LoadBalancerName",
+ "InstancePort",
+ "PolicyNames"
+ ],
+ "members": {
+ "LoadBalancerName": {},
+ "InstancePort": {
+ "type": "integer"
+ },
+ "PolicyNames": {
+ "shape": "S2j"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "SetLoadBalancerPoliciesForBackendServerResult",
+ "type": "structure",
+ "members": {}
+ }
+ },
+ "SetLoadBalancerPoliciesOfListener": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "LoadBalancerName",
+ "LoadBalancerPort",
+ "PolicyNames"
+ ],
+ "members": {
+ "LoadBalancerName": {},
+ "LoadBalancerPort": {
+ "type": "integer"
+ },
+ "PolicyNames": {
+ "shape": "S2j"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "SetLoadBalancerPoliciesOfListenerResult",
+ "type": "structure",
+ "members": {}
+ }
+ }
+ },
+ "shapes": {
+ "S2": {
+ "type": "list",
+ "member": {}
+ },
+ "S4": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "Key"
+ ],
+ "members": {
+ "Key": {},
+ "Value": {}
+ }
+ }
+ },
+ "Sa": {
+ "type": "list",
+ "member": {}
+ },
+ "Se": {
+ "type": "list",
+ "member": {}
+ },
+ "Si": {
+ "type": "structure",
+ "required": [
+ "Target",
+ "Interval",
+ "Timeout",
+ "UnhealthyThreshold",
+ "HealthyThreshold"
+ ],
+ "members": {
+ "Target": {},
+ "Interval": {
+ "type": "integer"
+ },
+ "Timeout": {
+ "type": "integer"
+ },
+ "UnhealthyThreshold": {
+ "type": "integer"
+ },
+ "HealthyThreshold": {
+ "type": "integer"
+ }
+ }
+ },
+ "Sx": {
+ "type": "list",
+ "member": {
+ "shape": "Sy"
+ }
+ },
+ "Sy": {
+ "type": "structure",
+ "required": [
+ "Protocol",
+ "LoadBalancerPort",
+ "InstancePort"
+ ],
+ "members": {
+ "Protocol": {},
+ "LoadBalancerPort": {
+ "type": "integer"
+ },
+ "InstanceProtocol": {},
+ "InstancePort": {
+ "type": "integer"
+ },
+ "SSLCertificateId": {}
+ }
+ },
+ "S13": {
+ "type": "list",
+ "member": {}
+ },
+ "S1p": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "InstanceId": {}
+ }
+ }
+ },
+ "S22": {
+ "type": "structure",
+ "members": {
+ "CrossZoneLoadBalancing": {
+ "type": "structure",
+ "required": [
+ "Enabled"
+ ],
+ "members": {
+ "Enabled": {
+ "type": "boolean"
+ }
+ }
+ },
+ "AccessLog": {
+ "type": "structure",
+ "required": [
+ "Enabled"
+ ],
+ "members": {
+ "Enabled": {
+ "type": "boolean"
+ },
+ "S3BucketName": {},
+ "EmitInterval": {
+ "type": "integer"
+ },
+ "S3BucketPrefix": {}
+ }
+ },
+ "ConnectionDraining": {
+ "type": "structure",
+ "required": [
+ "Enabled"
+ ],
+ "members": {
+ "Enabled": {
+ "type": "boolean"
+ },
+ "Timeout": {
+ "type": "integer"
+ }
+ }
+ },
+ "ConnectionSettings": {
+ "type": "structure",
+ "required": [
+ "IdleTimeout"
+ ],
+ "members": {
+ "IdleTimeout": {
+ "type": "integer"
+ }
+ }
+ },
+ "AdditionalAttributes": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "Key": {},
+ "Value": {}
+ }
+ }
+ }
+ }
+ },
+ "S2j": {
+ "type": "list",
+ "member": {}
+ }
+ }
+}
\ No newline at end of file
diff --git a/node_modules/aws-sdk/apis/elasticloadbalancing-2012-06-01.paginators.json b/node_modules/aws-sdk/apis/elasticloadbalancing-2012-06-01.paginators.json
new file mode 100644
index 0000000000000000000000000000000000000000..82113a70668e556d01aa425afb67bc8e8e08718d
--- /dev/null
+++ b/node_modules/aws-sdk/apis/elasticloadbalancing-2012-06-01.paginators.json
@@ -0,0 +1,18 @@
+{
+ "pagination": {
+ "DescribeInstanceHealth": {
+ "result_key": "InstanceStates"
+ },
+ "DescribeLoadBalancerPolicies": {
+ "result_key": "PolicyDescriptions"
+ },
+ "DescribeLoadBalancerPolicyTypes": {
+ "result_key": "PolicyTypeDescriptions"
+ },
+ "DescribeLoadBalancers": {
+ "input_token": "Marker",
+ "output_token": "NextMarker",
+ "result_key": "LoadBalancerDescriptions"
+ }
+ }
+}
diff --git a/node_modules/aws-sdk/apis/elasticmapreduce-2009-03-31.min.json b/node_modules/aws-sdk/apis/elasticmapreduce-2009-03-31.min.json
new file mode 100644
index 0000000000000000000000000000000000000000..d30c93b2726039b9b68404a85bdd6eeb06fc8c63
--- /dev/null
+++ b/node_modules/aws-sdk/apis/elasticmapreduce-2009-03-31.min.json
@@ -0,0 +1,1107 @@
+{
+ "version": "2.0",
+ "metadata": {
+ "apiVersion": "2009-03-31",
+ "endpointPrefix": "elasticmapreduce",
+ "jsonVersion": "1.1",
+ "protocol": "json",
+ "serviceAbbreviation": "Amazon EMR",
+ "serviceFullName": "Amazon Elastic MapReduce",
+ "signatureVersion": "v4",
+ "targetPrefix": "ElasticMapReduce",
+ "timestampFormat": "unixTimestamp"
+ },
+ "operations": {
+ "AddInstanceGroups": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "InstanceGroups",
+ "JobFlowId"
+ ],
+ "members": {
+ "InstanceGroups": {
+ "shape": "S2"
+ },
+ "JobFlowId": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "JobFlowId": {},
+ "InstanceGroupIds": {
+ "type": "list",
+ "member": {}
+ }
+ }
+ }
+ },
+ "AddJobFlowSteps": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "JobFlowId",
+ "Steps"
+ ],
+ "members": {
+ "JobFlowId": {},
+ "Steps": {
+ "shape": "Sl"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "StepIds": {
+ "type": "list",
+ "member": {}
+ }
+ }
+ }
+ },
+ "AddTags": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ResourceId",
+ "Tags"
+ ],
+ "members": {
+ "ResourceId": {},
+ "Tags": {
+ "shape": "Sx"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {}
+ }
+ },
+ "DescribeCluster": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ClusterId"
+ ],
+ "members": {
+ "ClusterId": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Cluster": {
+ "type": "structure",
+ "members": {
+ "Id": {},
+ "Name": {},
+ "Status": {
+ "shape": "S14"
+ },
+ "Ec2InstanceAttributes": {
+ "type": "structure",
+ "members": {
+ "Ec2KeyName": {},
+ "Ec2SubnetId": {},
+ "Ec2AvailabilityZone": {},
+ "IamInstanceProfile": {},
+ "EmrManagedMasterSecurityGroup": {},
+ "EmrManagedSlaveSecurityGroup": {},
+ "ServiceAccessSecurityGroup": {},
+ "AdditionalMasterSecurityGroups": {
+ "shape": "S1b"
+ },
+ "AdditionalSlaveSecurityGroups": {
+ "shape": "S1b"
+ }
+ }
+ },
+ "LogUri": {},
+ "RequestedAmiVersion": {},
+ "RunningAmiVersion": {},
+ "ReleaseLabel": {},
+ "AutoTerminate": {
+ "type": "boolean"
+ },
+ "TerminationProtected": {
+ "type": "boolean"
+ },
+ "VisibleToAllUsers": {
+ "type": "boolean"
+ },
+ "Applications": {
+ "shape": "S1d"
+ },
+ "Tags": {
+ "shape": "Sx"
+ },
+ "ServiceRole": {},
+ "NormalizedInstanceHours": {
+ "type": "integer"
+ },
+ "MasterPublicDnsName": {},
+ "Configurations": {
+ "shape": "S9"
+ }
+ }
+ }
+ }
+ }
+ },
+ "DescribeJobFlows": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "CreatedAfter": {
+ "type": "timestamp"
+ },
+ "CreatedBefore": {
+ "type": "timestamp"
+ },
+ "JobFlowIds": {
+ "shape": "Ss"
+ },
+ "JobFlowStates": {
+ "type": "list",
+ "member": {}
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "JobFlows": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "JobFlowId",
+ "Name",
+ "ExecutionStatusDetail",
+ "Instances"
+ ],
+ "members": {
+ "JobFlowId": {},
+ "Name": {},
+ "LogUri": {},
+ "AmiVersion": {},
+ "ExecutionStatusDetail": {
+ "type": "structure",
+ "required": [
+ "State",
+ "CreationDateTime"
+ ],
+ "members": {
+ "State": {},
+ "CreationDateTime": {
+ "type": "timestamp"
+ },
+ "StartDateTime": {
+ "type": "timestamp"
+ },
+ "ReadyDateTime": {
+ "type": "timestamp"
+ },
+ "EndDateTime": {
+ "type": "timestamp"
+ },
+ "LastStateChangeReason": {}
+ }
+ },
+ "Instances": {
+ "type": "structure",
+ "required": [
+ "MasterInstanceType",
+ "SlaveInstanceType",
+ "InstanceCount"
+ ],
+ "members": {
+ "MasterInstanceType": {},
+ "MasterPublicDnsName": {},
+ "MasterInstanceId": {},
+ "SlaveInstanceType": {},
+ "InstanceCount": {
+ "type": "integer"
+ },
+ "InstanceGroups": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "Market",
+ "InstanceRole",
+ "InstanceType",
+ "InstanceRequestCount",
+ "InstanceRunningCount",
+ "State",
+ "CreationDateTime"
+ ],
+ "members": {
+ "InstanceGroupId": {},
+ "Name": {},
+ "Market": {},
+ "InstanceRole": {},
+ "BidPrice": {},
+ "InstanceType": {},
+ "InstanceRequestCount": {
+ "type": "integer"
+ },
+ "InstanceRunningCount": {
+ "type": "integer"
+ },
+ "State": {},
+ "LastStateChangeReason": {},
+ "CreationDateTime": {
+ "type": "timestamp"
+ },
+ "StartDateTime": {
+ "type": "timestamp"
+ },
+ "ReadyDateTime": {
+ "type": "timestamp"
+ },
+ "EndDateTime": {
+ "type": "timestamp"
+ }
+ }
+ }
+ },
+ "NormalizedInstanceHours": {
+ "type": "integer"
+ },
+ "Ec2KeyName": {},
+ "Ec2SubnetId": {},
+ "Placement": {
+ "shape": "S1q"
+ },
+ "KeepJobFlowAliveWhenNoSteps": {
+ "type": "boolean"
+ },
+ "TerminationProtected": {
+ "type": "boolean"
+ },
+ "HadoopVersion": {}
+ }
+ },
+ "Steps": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "StepConfig",
+ "ExecutionStatusDetail"
+ ],
+ "members": {
+ "StepConfig": {
+ "shape": "Sm"
+ },
+ "ExecutionStatusDetail": {
+ "type": "structure",
+ "required": [
+ "State",
+ "CreationDateTime"
+ ],
+ "members": {
+ "State": {},
+ "CreationDateTime": {
+ "type": "timestamp"
+ },
+ "StartDateTime": {
+ "type": "timestamp"
+ },
+ "EndDateTime": {
+ "type": "timestamp"
+ },
+ "LastStateChangeReason": {}
+ }
+ }
+ }
+ }
+ },
+ "BootstrapActions": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "BootstrapActionConfig": {
+ "shape": "S1x"
+ }
+ }
+ }
+ },
+ "SupportedProducts": {
+ "shape": "S1z"
+ },
+ "VisibleToAllUsers": {
+ "type": "boolean"
+ },
+ "JobFlowRole": {},
+ "ServiceRole": {}
+ }
+ }
+ }
+ }
+ },
+ "deprecated": true
+ },
+ "DescribeStep": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ClusterId",
+ "StepId"
+ ],
+ "members": {
+ "ClusterId": {},
+ "StepId": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Step": {
+ "type": "structure",
+ "members": {
+ "Id": {},
+ "Name": {},
+ "Config": {
+ "shape": "S24"
+ },
+ "ActionOnFailure": {},
+ "Status": {
+ "shape": "S25"
+ }
+ }
+ }
+ }
+ }
+ },
+ "ListBootstrapActions": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ClusterId"
+ ],
+ "members": {
+ "ClusterId": {},
+ "Marker": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "BootstrapActions": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "Name": {},
+ "ScriptPath": {},
+ "Args": {
+ "shape": "S1b"
+ }
+ }
+ }
+ },
+ "Marker": {}
+ }
+ }
+ },
+ "ListClusters": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "CreatedAfter": {
+ "type": "timestamp"
+ },
+ "CreatedBefore": {
+ "type": "timestamp"
+ },
+ "ClusterStates": {
+ "type": "list",
+ "member": {}
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Clusters": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "Id": {},
+ "Name": {},
+ "Status": {
+ "shape": "S14"
+ },
+ "NormalizedInstanceHours": {
+ "type": "integer"
+ }
+ }
+ }
+ },
+ "Marker": {}
+ }
+ }
+ },
+ "ListInstanceGroups": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ClusterId"
+ ],
+ "members": {
+ "ClusterId": {},
+ "Marker": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "InstanceGroups": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "Id": {},
+ "Name": {},
+ "Market": {},
+ "InstanceGroupType": {},
+ "BidPrice": {},
+ "InstanceType": {},
+ "RequestedInstanceCount": {
+ "type": "integer"
+ },
+ "RunningInstanceCount": {
+ "type": "integer"
+ },
+ "Status": {
+ "type": "structure",
+ "members": {
+ "State": {},
+ "StateChangeReason": {
+ "type": "structure",
+ "members": {
+ "Code": {},
+ "Message": {}
+ }
+ },
+ "Timeline": {
+ "type": "structure",
+ "members": {
+ "CreationDateTime": {
+ "type": "timestamp"
+ },
+ "ReadyDateTime": {
+ "type": "timestamp"
+ },
+ "EndDateTime": {
+ "type": "timestamp"
+ }
+ }
+ }
+ }
+ },
+ "Configurations": {
+ "shape": "S9"
+ },
+ "EbsBlockDevices": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "VolumeSpecification": {
+ "shape": "Sg"
+ },
+ "Device": {}
+ }
+ }
+ },
+ "EbsOptimized": {
+ "type": "boolean"
+ }
+ }
+ }
+ },
+ "Marker": {}
+ }
+ }
+ },
+ "ListInstances": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ClusterId"
+ ],
+ "members": {
+ "ClusterId": {},
+ "InstanceGroupId": {},
+ "InstanceGroupTypes": {
+ "type": "list",
+ "member": {}
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Instances": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "Id": {},
+ "Ec2InstanceId": {},
+ "PublicDnsName": {},
+ "PublicIpAddress": {},
+ "PrivateDnsName": {},
+ "PrivateIpAddress": {},
+ "Status": {
+ "type": "structure",
+ "members": {
+ "State": {},
+ "StateChangeReason": {
+ "type": "structure",
+ "members": {
+ "Code": {},
+ "Message": {}
+ }
+ },
+ "Timeline": {
+ "type": "structure",
+ "members": {
+ "CreationDateTime": {
+ "type": "timestamp"
+ },
+ "ReadyDateTime": {
+ "type": "timestamp"
+ },
+ "EndDateTime": {
+ "type": "timestamp"
+ }
+ }
+ }
+ }
+ },
+ "InstanceGroupId": {},
+ "EbsVolumes": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "Device": {},
+ "VolumeId": {}
+ }
+ }
+ }
+ }
+ }
+ },
+ "Marker": {}
+ }
+ }
+ },
+ "ListSteps": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ClusterId"
+ ],
+ "members": {
+ "ClusterId": {},
+ "StepStates": {
+ "type": "list",
+ "member": {}
+ },
+ "StepIds": {
+ "shape": "Ss"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Steps": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "Id": {},
+ "Name": {},
+ "Config": {
+ "shape": "S24"
+ },
+ "ActionOnFailure": {},
+ "Status": {
+ "shape": "S25"
+ }
+ }
+ }
+ },
+ "Marker": {}
+ }
+ }
+ },
+ "ModifyInstanceGroups": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "InstanceGroups": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "InstanceGroupId"
+ ],
+ "members": {
+ "InstanceGroupId": {},
+ "InstanceCount": {
+ "type": "integer"
+ },
+ "EC2InstanceIdsToTerminate": {
+ "type": "list",
+ "member": {}
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "RemoveTags": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ResourceId",
+ "TagKeys"
+ ],
+ "members": {
+ "ResourceId": {},
+ "TagKeys": {
+ "shape": "S1b"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {}
+ }
+ },
+ "RunJobFlow": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Name",
+ "Instances"
+ ],
+ "members": {
+ "Name": {},
+ "LogUri": {},
+ "AdditionalInfo": {},
+ "AmiVersion": {},
+ "ReleaseLabel": {},
+ "Instances": {
+ "type": "structure",
+ "members": {
+ "MasterInstanceType": {},
+ "SlaveInstanceType": {},
+ "InstanceCount": {
+ "type": "integer"
+ },
+ "InstanceGroups": {
+ "shape": "S2"
+ },
+ "Ec2KeyName": {},
+ "Placement": {
+ "shape": "S1q"
+ },
+ "KeepJobFlowAliveWhenNoSteps": {
+ "type": "boolean"
+ },
+ "TerminationProtected": {
+ "type": "boolean"
+ },
+ "HadoopVersion": {},
+ "Ec2SubnetId": {},
+ "EmrManagedMasterSecurityGroup": {},
+ "EmrManagedSlaveSecurityGroup": {},
+ "ServiceAccessSecurityGroup": {},
+ "AdditionalMasterSecurityGroups": {
+ "shape": "S3m"
+ },
+ "AdditionalSlaveSecurityGroups": {
+ "shape": "S3m"
+ }
+ }
+ },
+ "Steps": {
+ "shape": "Sl"
+ },
+ "BootstrapActions": {
+ "type": "list",
+ "member": {
+ "shape": "S1x"
+ }
+ },
+ "SupportedProducts": {
+ "shape": "S1z"
+ },
+ "NewSupportedProducts": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "Name": {},
+ "Args": {
+ "shape": "Ss"
+ }
+ }
+ }
+ },
+ "Applications": {
+ "shape": "S1d"
+ },
+ "Configurations": {
+ "shape": "S9"
+ },
+ "VisibleToAllUsers": {
+ "type": "boolean"
+ },
+ "JobFlowRole": {},
+ "ServiceRole": {},
+ "Tags": {
+ "shape": "Sx"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "JobFlowId": {}
+ }
+ }
+ },
+ "SetTerminationProtection": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "JobFlowIds",
+ "TerminationProtected"
+ ],
+ "members": {
+ "JobFlowIds": {
+ "shape": "Ss"
+ },
+ "TerminationProtected": {
+ "type": "boolean"
+ }
+ }
+ }
+ },
+ "SetVisibleToAllUsers": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "JobFlowIds",
+ "VisibleToAllUsers"
+ ],
+ "members": {
+ "JobFlowIds": {
+ "shape": "Ss"
+ },
+ "VisibleToAllUsers": {
+ "type": "boolean"
+ }
+ }
+ }
+ },
+ "TerminateJobFlows": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "JobFlowIds"
+ ],
+ "members": {
+ "JobFlowIds": {
+ "shape": "Ss"
+ }
+ }
+ }
+ }
+ },
+ "shapes": {
+ "S2": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "InstanceRole",
+ "InstanceType",
+ "InstanceCount"
+ ],
+ "members": {
+ "Name": {},
+ "Market": {},
+ "InstanceRole": {},
+ "BidPrice": {},
+ "InstanceType": {},
+ "InstanceCount": {
+ "type": "integer"
+ },
+ "Configurations": {
+ "shape": "S9"
+ },
+ "EbsConfiguration": {
+ "type": "structure",
+ "members": {
+ "EbsBlockDeviceConfigs": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "VolumeSpecification"
+ ],
+ "members": {
+ "VolumeSpecification": {
+ "shape": "Sg"
+ },
+ "VolumesPerInstance": {
+ "type": "integer"
+ }
+ }
+ }
+ },
+ "EbsOptimized": {
+ "type": "boolean"
+ }
+ }
+ }
+ }
+ }
+ },
+ "S9": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "Classification": {},
+ "Configurations": {
+ "shape": "S9"
+ },
+ "Properties": {
+ "shape": "Sc"
+ }
+ }
+ }
+ },
+ "Sc": {
+ "type": "map",
+ "key": {},
+ "value": {}
+ },
+ "Sg": {
+ "type": "structure",
+ "required": [
+ "VolumeType",
+ "SizeInGB"
+ ],
+ "members": {
+ "VolumeType": {},
+ "Iops": {
+ "type": "integer"
+ },
+ "SizeInGB": {
+ "type": "integer"
+ }
+ }
+ },
+ "Sl": {
+ "type": "list",
+ "member": {
+ "shape": "Sm"
+ }
+ },
+ "Sm": {
+ "type": "structure",
+ "required": [
+ "Name",
+ "HadoopJarStep"
+ ],
+ "members": {
+ "Name": {},
+ "ActionOnFailure": {},
+ "HadoopJarStep": {
+ "type": "structure",
+ "required": [
+ "Jar"
+ ],
+ "members": {
+ "Properties": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "Key": {},
+ "Value": {}
+ }
+ }
+ },
+ "Jar": {},
+ "MainClass": {},
+ "Args": {
+ "shape": "Ss"
+ }
+ }
+ }
+ }
+ },
+ "Ss": {
+ "type": "list",
+ "member": {}
+ },
+ "Sx": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "Key": {},
+ "Value": {}
+ }
+ }
+ },
+ "S14": {
+ "type": "structure",
+ "members": {
+ "State": {},
+ "StateChangeReason": {
+ "type": "structure",
+ "members": {
+ "Code": {},
+ "Message": {}
+ }
+ },
+ "Timeline": {
+ "type": "structure",
+ "members": {
+ "CreationDateTime": {
+ "type": "timestamp"
+ },
+ "ReadyDateTime": {
+ "type": "timestamp"
+ },
+ "EndDateTime": {
+ "type": "timestamp"
+ }
+ }
+ }
+ }
+ },
+ "S1b": {
+ "type": "list",
+ "member": {}
+ },
+ "S1d": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "Name": {},
+ "Version": {},
+ "Args": {
+ "shape": "S1b"
+ },
+ "AdditionalInfo": {
+ "shape": "Sc"
+ }
+ }
+ }
+ },
+ "S1q": {
+ "type": "structure",
+ "required": [
+ "AvailabilityZone"
+ ],
+ "members": {
+ "AvailabilityZone": {}
+ }
+ },
+ "S1x": {
+ "type": "structure",
+ "required": [
+ "Name",
+ "ScriptBootstrapAction"
+ ],
+ "members": {
+ "Name": {},
+ "ScriptBootstrapAction": {
+ "type": "structure",
+ "required": [
+ "Path"
+ ],
+ "members": {
+ "Path": {},
+ "Args": {
+ "shape": "Ss"
+ }
+ }
+ }
+ }
+ },
+ "S1z": {
+ "type": "list",
+ "member": {}
+ },
+ "S24": {
+ "type": "structure",
+ "members": {
+ "Jar": {},
+ "Properties": {
+ "shape": "Sc"
+ },
+ "MainClass": {},
+ "Args": {
+ "shape": "S1b"
+ }
+ }
+ },
+ "S25": {
+ "type": "structure",
+ "members": {
+ "State": {},
+ "StateChangeReason": {
+ "type": "structure",
+ "members": {
+ "Code": {},
+ "Message": {}
+ }
+ },
+ "Timeline": {
+ "type": "structure",
+ "members": {
+ "CreationDateTime": {
+ "type": "timestamp"
+ },
+ "StartDateTime": {
+ "type": "timestamp"
+ },
+ "EndDateTime": {
+ "type": "timestamp"
+ }
+ }
+ }
+ }
+ },
+ "S3m": {
+ "type": "list",
+ "member": {}
+ }
+ }
+}
\ No newline at end of file
diff --git a/node_modules/aws-sdk/apis/elasticmapreduce-2009-03-31.paginators.json b/node_modules/aws-sdk/apis/elasticmapreduce-2009-03-31.paginators.json
new file mode 100644
index 0000000000000000000000000000000000000000..87f282d779977fedacbcf3d3b588690ca8b4d87e
--- /dev/null
+++ b/node_modules/aws-sdk/apis/elasticmapreduce-2009-03-31.paginators.json
@@ -0,0 +1,32 @@
+{
+ "pagination": {
+ "DescribeJobFlows": {
+ "result_key": "JobFlows"
+ },
+ "ListBootstrapActions": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "result_key": "BootstrapActions"
+ },
+ "ListClusters": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "result_key": "Clusters"
+ },
+ "ListInstanceGroups": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "result_key": "InstanceGroups"
+ },
+ "ListInstances": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "result_key": "Instances"
+ },
+ "ListSteps": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "result_key": "Steps"
+ }
+ }
+}
diff --git a/node_modules/aws-sdk/apis/elastictranscoder-2012-09-25.min.json b/node_modules/aws-sdk/apis/elastictranscoder-2012-09-25.min.json
new file mode 100644
index 0000000000000000000000000000000000000000..2a383fca31753250d649a21d53133cc15f3983d2
--- /dev/null
+++ b/node_modules/aws-sdk/apis/elastictranscoder-2012-09-25.min.json
@@ -0,0 +1,1019 @@
+{
+ "version": "2.0",
+ "metadata": {
+ "apiVersion": "2012-09-25",
+ "endpointPrefix": "elastictranscoder",
+ "serviceFullName": "Amazon Elastic Transcoder",
+ "signatureVersion": "v4",
+ "protocol": "rest-json"
+ },
+ "operations": {
+ "CancelJob": {
+ "http": {
+ "method": "DELETE",
+ "requestUri": "/2012-09-25/jobs/{Id}",
+ "responseCode": 202
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "Id"
+ ],
+ "members": {
+ "Id": {
+ "location": "uri",
+ "locationName": "Id"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {}
+ }
+ },
+ "CreateJob": {
+ "http": {
+ "requestUri": "/2012-09-25/jobs",
+ "responseCode": 201
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "PipelineId",
+ "Input"
+ ],
+ "members": {
+ "PipelineId": {},
+ "Input": {
+ "shape": "S5"
+ },
+ "Output": {
+ "shape": "Sk"
+ },
+ "Outputs": {
+ "type": "list",
+ "member": {
+ "shape": "Sk"
+ }
+ },
+ "OutputKeyPrefix": {},
+ "Playlists": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "Name": {},
+ "Format": {},
+ "OutputKeys": {
+ "shape": "S1i"
+ },
+ "HlsContentProtection": {
+ "shape": "S1j"
+ },
+ "PlayReadyDrm": {
+ "shape": "S1n"
+ }
+ }
+ }
+ },
+ "UserMetadata": {
+ "shape": "S1s"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Job": {
+ "shape": "S1v"
+ }
+ }
+ }
+ },
+ "CreatePipeline": {
+ "http": {
+ "requestUri": "/2012-09-25/pipelines",
+ "responseCode": 201
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "Name",
+ "InputBucket",
+ "Role"
+ ],
+ "members": {
+ "Name": {},
+ "InputBucket": {},
+ "OutputBucket": {},
+ "Role": {},
+ "AwsKmsKeyArn": {},
+ "Notifications": {
+ "shape": "S27"
+ },
+ "ContentConfig": {
+ "shape": "S29"
+ },
+ "ThumbnailConfig": {
+ "shape": "S29"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Pipeline": {
+ "shape": "S2i"
+ },
+ "Warnings": {
+ "shape": "S2k"
+ }
+ }
+ }
+ },
+ "CreatePreset": {
+ "http": {
+ "requestUri": "/2012-09-25/presets",
+ "responseCode": 201
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "Name",
+ "Container"
+ ],
+ "members": {
+ "Name": {},
+ "Description": {},
+ "Container": {},
+ "Video": {
+ "shape": "S2o"
+ },
+ "Audio": {
+ "shape": "S34"
+ },
+ "Thumbnails": {
+ "shape": "S3f"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Preset": {
+ "shape": "S3j"
+ },
+ "Warning": {}
+ }
+ }
+ },
+ "DeletePipeline": {
+ "http": {
+ "method": "DELETE",
+ "requestUri": "/2012-09-25/pipelines/{Id}",
+ "responseCode": 202
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "Id"
+ ],
+ "members": {
+ "Id": {
+ "location": "uri",
+ "locationName": "Id"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {}
+ }
+ },
+ "DeletePreset": {
+ "http": {
+ "method": "DELETE",
+ "requestUri": "/2012-09-25/presets/{Id}",
+ "responseCode": 202
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "Id"
+ ],
+ "members": {
+ "Id": {
+ "location": "uri",
+ "locationName": "Id"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {}
+ }
+ },
+ "ListJobsByPipeline": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/2012-09-25/jobsByPipeline/{PipelineId}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "PipelineId"
+ ],
+ "members": {
+ "PipelineId": {
+ "location": "uri",
+ "locationName": "PipelineId"
+ },
+ "Ascending": {
+ "location": "querystring",
+ "locationName": "Ascending"
+ },
+ "PageToken": {
+ "location": "querystring",
+ "locationName": "PageToken"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Jobs": {
+ "shape": "S3s"
+ },
+ "NextPageToken": {}
+ }
+ }
+ },
+ "ListJobsByStatus": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/2012-09-25/jobsByStatus/{Status}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "Status"
+ ],
+ "members": {
+ "Status": {
+ "location": "uri",
+ "locationName": "Status"
+ },
+ "Ascending": {
+ "location": "querystring",
+ "locationName": "Ascending"
+ },
+ "PageToken": {
+ "location": "querystring",
+ "locationName": "PageToken"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Jobs": {
+ "shape": "S3s"
+ },
+ "NextPageToken": {}
+ }
+ }
+ },
+ "ListPipelines": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/2012-09-25/pipelines"
+ },
+ "input": {
+ "type": "structure",
+ "members": {
+ "Ascending": {
+ "location": "querystring",
+ "locationName": "Ascending"
+ },
+ "PageToken": {
+ "location": "querystring",
+ "locationName": "PageToken"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Pipelines": {
+ "type": "list",
+ "member": {
+ "shape": "S2i"
+ }
+ },
+ "NextPageToken": {}
+ }
+ }
+ },
+ "ListPresets": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/2012-09-25/presets"
+ },
+ "input": {
+ "type": "structure",
+ "members": {
+ "Ascending": {
+ "location": "querystring",
+ "locationName": "Ascending"
+ },
+ "PageToken": {
+ "location": "querystring",
+ "locationName": "PageToken"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Presets": {
+ "type": "list",
+ "member": {
+ "shape": "S3j"
+ }
+ },
+ "NextPageToken": {}
+ }
+ }
+ },
+ "ReadJob": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/2012-09-25/jobs/{Id}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "Id"
+ ],
+ "members": {
+ "Id": {
+ "location": "uri",
+ "locationName": "Id"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Job": {
+ "shape": "S1v"
+ }
+ }
+ }
+ },
+ "ReadPipeline": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/2012-09-25/pipelines/{Id}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "Id"
+ ],
+ "members": {
+ "Id": {
+ "location": "uri",
+ "locationName": "Id"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Pipeline": {
+ "shape": "S2i"
+ },
+ "Warnings": {
+ "shape": "S2k"
+ }
+ }
+ }
+ },
+ "ReadPreset": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/2012-09-25/presets/{Id}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "Id"
+ ],
+ "members": {
+ "Id": {
+ "location": "uri",
+ "locationName": "Id"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Preset": {
+ "shape": "S3j"
+ }
+ }
+ }
+ },
+ "TestRole": {
+ "http": {
+ "requestUri": "/2012-09-25/roleTests",
+ "responseCode": 200
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "Role",
+ "InputBucket",
+ "OutputBucket",
+ "Topics"
+ ],
+ "members": {
+ "Role": {},
+ "InputBucket": {},
+ "OutputBucket": {},
+ "Topics": {
+ "type": "list",
+ "member": {}
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Success": {},
+ "Messages": {
+ "type": "list",
+ "member": {}
+ }
+ }
+ }
+ },
+ "UpdatePipeline": {
+ "http": {
+ "method": "PUT",
+ "requestUri": "/2012-09-25/pipelines/{Id}",
+ "responseCode": 200
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "Id"
+ ],
+ "members": {
+ "Id": {
+ "location": "uri",
+ "locationName": "Id"
+ },
+ "Name": {},
+ "InputBucket": {},
+ "Role": {},
+ "AwsKmsKeyArn": {},
+ "Notifications": {
+ "shape": "S27"
+ },
+ "ContentConfig": {
+ "shape": "S29"
+ },
+ "ThumbnailConfig": {
+ "shape": "S29"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Pipeline": {
+ "shape": "S2i"
+ },
+ "Warnings": {
+ "shape": "S2k"
+ }
+ }
+ }
+ },
+ "UpdatePipelineNotifications": {
+ "http": {
+ "requestUri": "/2012-09-25/pipelines/{Id}/notifications"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "Id",
+ "Notifications"
+ ],
+ "members": {
+ "Id": {
+ "location": "uri",
+ "locationName": "Id"
+ },
+ "Notifications": {
+ "shape": "S27"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Pipeline": {
+ "shape": "S2i"
+ }
+ }
+ }
+ },
+ "UpdatePipelineStatus": {
+ "http": {
+ "requestUri": "/2012-09-25/pipelines/{Id}/status"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "Id",
+ "Status"
+ ],
+ "members": {
+ "Id": {
+ "location": "uri",
+ "locationName": "Id"
+ },
+ "Status": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Pipeline": {
+ "shape": "S2i"
+ }
+ }
+ }
+ }
+ },
+ "shapes": {
+ "S5": {
+ "type": "structure",
+ "members": {
+ "Key": {},
+ "FrameRate": {},
+ "Resolution": {},
+ "AspectRatio": {},
+ "Interlaced": {},
+ "Container": {},
+ "Encryption": {
+ "shape": "Sc"
+ },
+ "DetectedProperties": {
+ "type": "structure",
+ "members": {
+ "Width": {
+ "type": "integer"
+ },
+ "Height": {
+ "type": "integer"
+ },
+ "FrameRate": {},
+ "FileSize": {
+ "type": "long"
+ },
+ "DurationMillis": {
+ "type": "long"
+ }
+ }
+ }
+ }
+ },
+ "Sc": {
+ "type": "structure",
+ "members": {
+ "Mode": {},
+ "Key": {},
+ "KeyMd5": {},
+ "InitializationVector": {}
+ }
+ },
+ "Sk": {
+ "type": "structure",
+ "members": {
+ "Key": {},
+ "ThumbnailPattern": {},
+ "ThumbnailEncryption": {
+ "shape": "Sc"
+ },
+ "Rotate": {},
+ "PresetId": {},
+ "SegmentDuration": {},
+ "Watermarks": {
+ "shape": "Sn"
+ },
+ "AlbumArt": {
+ "shape": "Sr"
+ },
+ "Composition": {
+ "shape": "Sz"
+ },
+ "Captions": {
+ "shape": "S13"
+ },
+ "Encryption": {
+ "shape": "Sc"
+ }
+ }
+ },
+ "Sn": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "PresetWatermarkId": {},
+ "InputKey": {},
+ "Encryption": {
+ "shape": "Sc"
+ }
+ }
+ }
+ },
+ "Sr": {
+ "type": "structure",
+ "members": {
+ "MergePolicy": {},
+ "Artwork": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "InputKey": {},
+ "MaxWidth": {},
+ "MaxHeight": {},
+ "SizingPolicy": {},
+ "PaddingPolicy": {},
+ "AlbumArtFormat": {},
+ "Encryption": {
+ "shape": "Sc"
+ }
+ }
+ }
+ }
+ }
+ },
+ "Sz": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "TimeSpan": {
+ "type": "structure",
+ "members": {
+ "StartTime": {},
+ "Duration": {}
+ }
+ }
+ }
+ }
+ },
+ "S13": {
+ "type": "structure",
+ "members": {
+ "MergePolicy": {},
+ "CaptionSources": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "Key": {},
+ "Language": {},
+ "TimeOffset": {},
+ "Label": {},
+ "Encryption": {
+ "shape": "Sc"
+ }
+ }
+ }
+ },
+ "CaptionFormats": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "Format": {},
+ "Pattern": {},
+ "Encryption": {
+ "shape": "Sc"
+ }
+ }
+ }
+ }
+ }
+ },
+ "S1i": {
+ "type": "list",
+ "member": {}
+ },
+ "S1j": {
+ "type": "structure",
+ "members": {
+ "Method": {},
+ "Key": {},
+ "KeyMd5": {},
+ "InitializationVector": {},
+ "LicenseAcquisitionUrl": {},
+ "KeyStoragePolicy": {}
+ }
+ },
+ "S1n": {
+ "type": "structure",
+ "members": {
+ "Format": {},
+ "Key": {},
+ "KeyMd5": {},
+ "KeyId": {},
+ "InitializationVector": {},
+ "LicenseAcquisitionUrl": {}
+ }
+ },
+ "S1s": {
+ "type": "map",
+ "key": {},
+ "value": {}
+ },
+ "S1v": {
+ "type": "structure",
+ "members": {
+ "Id": {},
+ "Arn": {},
+ "PipelineId": {},
+ "Input": {
+ "shape": "S5"
+ },
+ "Output": {
+ "shape": "S1w"
+ },
+ "Outputs": {
+ "type": "list",
+ "member": {
+ "shape": "S1w"
+ }
+ },
+ "OutputKeyPrefix": {},
+ "Playlists": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "Name": {},
+ "Format": {},
+ "OutputKeys": {
+ "shape": "S1i"
+ },
+ "HlsContentProtection": {
+ "shape": "S1j"
+ },
+ "PlayReadyDrm": {
+ "shape": "S1n"
+ },
+ "Status": {},
+ "StatusDetail": {}
+ }
+ }
+ },
+ "Status": {},
+ "UserMetadata": {
+ "shape": "S1s"
+ },
+ "Timing": {
+ "type": "structure",
+ "members": {
+ "SubmitTimeMillis": {
+ "type": "long"
+ },
+ "StartTimeMillis": {
+ "type": "long"
+ },
+ "FinishTimeMillis": {
+ "type": "long"
+ }
+ }
+ }
+ }
+ },
+ "S1w": {
+ "type": "structure",
+ "members": {
+ "Id": {},
+ "Key": {},
+ "ThumbnailPattern": {},
+ "ThumbnailEncryption": {
+ "shape": "Sc"
+ },
+ "Rotate": {},
+ "PresetId": {},
+ "SegmentDuration": {},
+ "Status": {},
+ "StatusDetail": {},
+ "Duration": {
+ "type": "long"
+ },
+ "Width": {
+ "type": "integer"
+ },
+ "Height": {
+ "type": "integer"
+ },
+ "FrameRate": {},
+ "FileSize": {
+ "type": "long"
+ },
+ "DurationMillis": {
+ "type": "long"
+ },
+ "Watermarks": {
+ "shape": "Sn"
+ },
+ "AlbumArt": {
+ "shape": "Sr"
+ },
+ "Composition": {
+ "shape": "Sz"
+ },
+ "Captions": {
+ "shape": "S13"
+ },
+ "Encryption": {
+ "shape": "Sc"
+ },
+ "AppliedColorSpaceConversion": {}
+ }
+ },
+ "S27": {
+ "type": "structure",
+ "members": {
+ "Progressing": {},
+ "Completed": {},
+ "Warning": {},
+ "Error": {}
+ }
+ },
+ "S29": {
+ "type": "structure",
+ "members": {
+ "Bucket": {},
+ "StorageClass": {},
+ "Permissions": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "GranteeType": {},
+ "Grantee": {},
+ "Access": {
+ "type": "list",
+ "member": {}
+ }
+ }
+ }
+ }
+ }
+ },
+ "S2i": {
+ "type": "structure",
+ "members": {
+ "Id": {},
+ "Arn": {},
+ "Name": {},
+ "Status": {},
+ "InputBucket": {},
+ "OutputBucket": {},
+ "Role": {},
+ "AwsKmsKeyArn": {},
+ "Notifications": {
+ "shape": "S27"
+ },
+ "ContentConfig": {
+ "shape": "S29"
+ },
+ "ThumbnailConfig": {
+ "shape": "S29"
+ }
+ }
+ },
+ "S2k": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "Code": {},
+ "Message": {}
+ }
+ }
+ },
+ "S2o": {
+ "type": "structure",
+ "members": {
+ "Codec": {},
+ "CodecOptions": {
+ "type": "map",
+ "key": {},
+ "value": {}
+ },
+ "KeyframesMaxDist": {},
+ "FixedGOP": {},
+ "BitRate": {},
+ "FrameRate": {},
+ "MaxFrameRate": {},
+ "Resolution": {},
+ "AspectRatio": {},
+ "MaxWidth": {},
+ "MaxHeight": {},
+ "DisplayAspectRatio": {},
+ "SizingPolicy": {},
+ "PaddingPolicy": {},
+ "Watermarks": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "Id": {},
+ "MaxWidth": {},
+ "MaxHeight": {},
+ "SizingPolicy": {},
+ "HorizontalAlign": {},
+ "HorizontalOffset": {},
+ "VerticalAlign": {},
+ "VerticalOffset": {},
+ "Opacity": {},
+ "Target": {}
+ }
+ }
+ }
+ }
+ },
+ "S34": {
+ "type": "structure",
+ "members": {
+ "Codec": {},
+ "SampleRate": {},
+ "BitRate": {},
+ "Channels": {},
+ "AudioPackingMode": {},
+ "CodecOptions": {
+ "type": "structure",
+ "members": {
+ "Profile": {},
+ "BitDepth": {},
+ "BitOrder": {},
+ "Signed": {}
+ }
+ }
+ }
+ },
+ "S3f": {
+ "type": "structure",
+ "members": {
+ "Format": {},
+ "Interval": {},
+ "Resolution": {},
+ "AspectRatio": {},
+ "MaxWidth": {},
+ "MaxHeight": {},
+ "SizingPolicy": {},
+ "PaddingPolicy": {}
+ }
+ },
+ "S3j": {
+ "type": "structure",
+ "members": {
+ "Id": {},
+ "Arn": {},
+ "Name": {},
+ "Description": {},
+ "Container": {},
+ "Audio": {
+ "shape": "S34"
+ },
+ "Video": {
+ "shape": "S2o"
+ },
+ "Thumbnails": {
+ "shape": "S3f"
+ },
+ "Type": {}
+ }
+ },
+ "S3s": {
+ "type": "list",
+ "member": {
+ "shape": "S1v"
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/node_modules/aws-sdk/apis/elastictranscoder-2012-09-25.paginators.json b/node_modules/aws-sdk/apis/elastictranscoder-2012-09-25.paginators.json
new file mode 100644
index 0000000000000000000000000000000000000000..5a145d3688b88b3c244142635377a2fc03565462
--- /dev/null
+++ b/node_modules/aws-sdk/apis/elastictranscoder-2012-09-25.paginators.json
@@ -0,0 +1,24 @@
+{
+ "pagination": {
+ "ListJobsByPipeline": {
+ "input_token": "PageToken",
+ "output_token": "NextPageToken",
+ "result_key": "Jobs"
+ },
+ "ListJobsByStatus": {
+ "input_token": "PageToken",
+ "output_token": "NextPageToken",
+ "result_key": "Jobs"
+ },
+ "ListPipelines": {
+ "input_token": "PageToken",
+ "output_token": "NextPageToken",
+ "result_key": "Pipelines"
+ },
+ "ListPresets": {
+ "input_token": "PageToken",
+ "output_token": "NextPageToken",
+ "result_key": "Presets"
+ }
+ }
+}
diff --git a/node_modules/aws-sdk/apis/elastictranscoder-2012-09-25.waiters.json b/node_modules/aws-sdk/apis/elastictranscoder-2012-09-25.waiters.json
new file mode 100644
index 0000000000000000000000000000000000000000..109d16067d3ce43b33a06f63ac4bf07b99f46660
--- /dev/null
+++ b/node_modules/aws-sdk/apis/elastictranscoder-2012-09-25.waiters.json
@@ -0,0 +1,16 @@
+{
+ "waiters": {
+ "JobComplete": {
+ "operation": "ReadJob",
+ "success_type": "output",
+ "success_path": "Job.Status",
+ "interval": 30,
+ "max_attempts": 120,
+ "success_value": "Complete",
+ "failure_value": [
+ "Canceled",
+ "Error"
+ ]
+ }
+ }
+}
diff --git a/node_modules/aws-sdk/apis/email-2010-12-01.min.json b/node_modules/aws-sdk/apis/email-2010-12-01.min.json
new file mode 100644
index 0000000000000000000000000000000000000000..8c8b7fbf18b5ebdc94c0aa8911755e63c53e6eef
--- /dev/null
+++ b/node_modules/aws-sdk/apis/email-2010-12-01.min.json
@@ -0,0 +1,1183 @@
+{
+ "version": "2.0",
+ "metadata": {
+ "apiVersion": "2010-12-01",
+ "endpointPrefix": "email",
+ "protocol": "query",
+ "serviceAbbreviation": "Amazon SES",
+ "serviceFullName": "Amazon Simple Email Service",
+ "signatureVersion": "v4",
+ "signingName": "ses",
+ "xmlNamespace": "http://ses.amazonaws.com/doc/2010-12-01/"
+ },
+ "operations": {
+ "CloneReceiptRuleSet": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "RuleSetName",
+ "OriginalRuleSetName"
+ ],
+ "members": {
+ "RuleSetName": {},
+ "OriginalRuleSetName": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "CloneReceiptRuleSetResult",
+ "type": "structure",
+ "members": {}
+ }
+ },
+ "CreateReceiptFilter": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Filter"
+ ],
+ "members": {
+ "Filter": {
+ "shape": "S5"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "CreateReceiptFilterResult",
+ "type": "structure",
+ "members": {}
+ }
+ },
+ "CreateReceiptRule": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "RuleSetName",
+ "Rule"
+ ],
+ "members": {
+ "RuleSetName": {},
+ "After": {},
+ "Rule": {
+ "shape": "Sd"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "CreateReceiptRuleResult",
+ "type": "structure",
+ "members": {}
+ }
+ },
+ "CreateReceiptRuleSet": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "RuleSetName"
+ ],
+ "members": {
+ "RuleSetName": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "CreateReceiptRuleSetResult",
+ "type": "structure",
+ "members": {}
+ }
+ },
+ "DeleteIdentity": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Identity"
+ ],
+ "members": {
+ "Identity": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DeleteIdentityResult",
+ "type": "structure",
+ "members": {}
+ }
+ },
+ "DeleteIdentityPolicy": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Identity",
+ "PolicyName"
+ ],
+ "members": {
+ "Identity": {},
+ "PolicyName": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DeleteIdentityPolicyResult",
+ "type": "structure",
+ "members": {}
+ }
+ },
+ "DeleteReceiptFilter": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "FilterName"
+ ],
+ "members": {
+ "FilterName": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DeleteReceiptFilterResult",
+ "type": "structure",
+ "members": {}
+ }
+ },
+ "DeleteReceiptRule": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "RuleSetName",
+ "RuleName"
+ ],
+ "members": {
+ "RuleSetName": {},
+ "RuleName": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DeleteReceiptRuleResult",
+ "type": "structure",
+ "members": {}
+ }
+ },
+ "DeleteReceiptRuleSet": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "RuleSetName"
+ ],
+ "members": {
+ "RuleSetName": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DeleteReceiptRuleSetResult",
+ "type": "structure",
+ "members": {}
+ }
+ },
+ "DeleteVerifiedEmailAddress": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "EmailAddress"
+ ],
+ "members": {
+ "EmailAddress": {}
+ }
+ }
+ },
+ "DescribeActiveReceiptRuleSet": {
+ "input": {
+ "type": "structure",
+ "members": {}
+ },
+ "output": {
+ "resultWrapper": "DescribeActiveReceiptRuleSetResult",
+ "type": "structure",
+ "members": {
+ "Metadata": {
+ "shape": "S1l"
+ },
+ "Rules": {
+ "shape": "S1n"
+ }
+ }
+ }
+ },
+ "DescribeReceiptRule": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "RuleSetName",
+ "RuleName"
+ ],
+ "members": {
+ "RuleSetName": {},
+ "RuleName": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeReceiptRuleResult",
+ "type": "structure",
+ "members": {
+ "Rule": {
+ "shape": "Sd"
+ }
+ }
+ }
+ },
+ "DescribeReceiptRuleSet": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "RuleSetName"
+ ],
+ "members": {
+ "RuleSetName": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeReceiptRuleSetResult",
+ "type": "structure",
+ "members": {
+ "Metadata": {
+ "shape": "S1l"
+ },
+ "Rules": {
+ "shape": "S1n"
+ }
+ }
+ }
+ },
+ "GetIdentityDkimAttributes": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Identities"
+ ],
+ "members": {
+ "Identities": {
+ "shape": "S1t"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "GetIdentityDkimAttributesResult",
+ "type": "structure",
+ "required": [
+ "DkimAttributes"
+ ],
+ "members": {
+ "DkimAttributes": {
+ "type": "map",
+ "key": {},
+ "value": {
+ "type": "structure",
+ "required": [
+ "DkimEnabled",
+ "DkimVerificationStatus"
+ ],
+ "members": {
+ "DkimEnabled": {
+ "type": "boolean"
+ },
+ "DkimVerificationStatus": {},
+ "DkimTokens": {
+ "shape": "S1y"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "GetIdentityMailFromDomainAttributes": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Identities"
+ ],
+ "members": {
+ "Identities": {
+ "shape": "S1t"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "GetIdentityMailFromDomainAttributesResult",
+ "type": "structure",
+ "required": [
+ "MailFromDomainAttributes"
+ ],
+ "members": {
+ "MailFromDomainAttributes": {
+ "type": "map",
+ "key": {},
+ "value": {
+ "type": "structure",
+ "required": [
+ "MailFromDomain",
+ "MailFromDomainStatus",
+ "BehaviorOnMXFailure"
+ ],
+ "members": {
+ "MailFromDomain": {},
+ "MailFromDomainStatus": {},
+ "BehaviorOnMXFailure": {}
+ }
+ }
+ }
+ }
+ }
+ },
+ "GetIdentityNotificationAttributes": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Identities"
+ ],
+ "members": {
+ "Identities": {
+ "shape": "S1t"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "GetIdentityNotificationAttributesResult",
+ "type": "structure",
+ "required": [
+ "NotificationAttributes"
+ ],
+ "members": {
+ "NotificationAttributes": {
+ "type": "map",
+ "key": {},
+ "value": {
+ "type": "structure",
+ "required": [
+ "BounceTopic",
+ "ComplaintTopic",
+ "DeliveryTopic",
+ "ForwardingEnabled"
+ ],
+ "members": {
+ "BounceTopic": {},
+ "ComplaintTopic": {},
+ "DeliveryTopic": {},
+ "ForwardingEnabled": {
+ "type": "boolean"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "GetIdentityPolicies": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Identity",
+ "PolicyNames"
+ ],
+ "members": {
+ "Identity": {},
+ "PolicyNames": {
+ "shape": "S2d"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "GetIdentityPoliciesResult",
+ "type": "structure",
+ "required": [
+ "Policies"
+ ],
+ "members": {
+ "Policies": {
+ "type": "map",
+ "key": {},
+ "value": {}
+ }
+ }
+ }
+ },
+ "GetIdentityVerificationAttributes": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Identities"
+ ],
+ "members": {
+ "Identities": {
+ "shape": "S1t"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "GetIdentityVerificationAttributesResult",
+ "type": "structure",
+ "required": [
+ "VerificationAttributes"
+ ],
+ "members": {
+ "VerificationAttributes": {
+ "type": "map",
+ "key": {},
+ "value": {
+ "type": "structure",
+ "required": [
+ "VerificationStatus"
+ ],
+ "members": {
+ "VerificationStatus": {},
+ "VerificationToken": {}
+ }
+ }
+ }
+ }
+ }
+ },
+ "GetSendQuota": {
+ "output": {
+ "resultWrapper": "GetSendQuotaResult",
+ "type": "structure",
+ "members": {
+ "Max24HourSend": {
+ "type": "double"
+ },
+ "MaxSendRate": {
+ "type": "double"
+ },
+ "SentLast24Hours": {
+ "type": "double"
+ }
+ }
+ }
+ },
+ "GetSendStatistics": {
+ "output": {
+ "resultWrapper": "GetSendStatisticsResult",
+ "type": "structure",
+ "members": {
+ "SendDataPoints": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "Timestamp": {
+ "type": "timestamp"
+ },
+ "DeliveryAttempts": {
+ "type": "long"
+ },
+ "Bounces": {
+ "type": "long"
+ },
+ "Complaints": {
+ "type": "long"
+ },
+ "Rejects": {
+ "type": "long"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "ListIdentities": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "IdentityType": {},
+ "NextToken": {},
+ "MaxItems": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "ListIdentitiesResult",
+ "type": "structure",
+ "required": [
+ "Identities"
+ ],
+ "members": {
+ "Identities": {
+ "shape": "S1t"
+ },
+ "NextToken": {}
+ }
+ }
+ },
+ "ListIdentityPolicies": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Identity"
+ ],
+ "members": {
+ "Identity": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "ListIdentityPoliciesResult",
+ "type": "structure",
+ "required": [
+ "PolicyNames"
+ ],
+ "members": {
+ "PolicyNames": {
+ "shape": "S2d"
+ }
+ }
+ }
+ },
+ "ListReceiptFilters": {
+ "input": {
+ "type": "structure",
+ "members": {}
+ },
+ "output": {
+ "resultWrapper": "ListReceiptFiltersResult",
+ "type": "structure",
+ "members": {
+ "Filters": {
+ "type": "list",
+ "member": {
+ "shape": "S5"
+ }
+ }
+ }
+ }
+ },
+ "ListReceiptRuleSets": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "NextToken": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "ListReceiptRuleSetsResult",
+ "type": "structure",
+ "members": {
+ "RuleSets": {
+ "type": "list",
+ "member": {
+ "shape": "S1l"
+ }
+ },
+ "NextToken": {}
+ }
+ }
+ },
+ "ListVerifiedEmailAddresses": {
+ "output": {
+ "resultWrapper": "ListVerifiedEmailAddressesResult",
+ "type": "structure",
+ "members": {
+ "VerifiedEmailAddresses": {
+ "shape": "S37"
+ }
+ }
+ }
+ },
+ "PutIdentityPolicy": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Identity",
+ "PolicyName",
+ "Policy"
+ ],
+ "members": {
+ "Identity": {},
+ "PolicyName": {},
+ "Policy": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "PutIdentityPolicyResult",
+ "type": "structure",
+ "members": {}
+ }
+ },
+ "ReorderReceiptRuleSet": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "RuleSetName",
+ "RuleNames"
+ ],
+ "members": {
+ "RuleSetName": {},
+ "RuleNames": {
+ "type": "list",
+ "member": {}
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "ReorderReceiptRuleSetResult",
+ "type": "structure",
+ "members": {}
+ }
+ },
+ "SendBounce": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "OriginalMessageId",
+ "BounceSender",
+ "BouncedRecipientInfoList"
+ ],
+ "members": {
+ "OriginalMessageId": {},
+ "BounceSender": {},
+ "Explanation": {},
+ "MessageDsn": {
+ "type": "structure",
+ "required": [
+ "ReportingMta"
+ ],
+ "members": {
+ "ReportingMta": {},
+ "ArrivalDate": {
+ "type": "timestamp"
+ },
+ "ExtensionFields": {
+ "shape": "S3j"
+ }
+ }
+ },
+ "BouncedRecipientInfoList": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "Recipient"
+ ],
+ "members": {
+ "Recipient": {},
+ "RecipientArn": {},
+ "BounceType": {},
+ "RecipientDsnFields": {
+ "type": "structure",
+ "required": [
+ "Action",
+ "Status"
+ ],
+ "members": {
+ "FinalRecipient": {},
+ "Action": {},
+ "RemoteMta": {},
+ "Status": {},
+ "DiagnosticCode": {},
+ "LastAttemptDate": {
+ "type": "timestamp"
+ },
+ "ExtensionFields": {
+ "shape": "S3j"
+ }
+ }
+ }
+ }
+ }
+ },
+ "BounceSenderArn": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "SendBounceResult",
+ "type": "structure",
+ "members": {
+ "MessageId": {}
+ }
+ }
+ },
+ "SendEmail": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Source",
+ "Destination",
+ "Message"
+ ],
+ "members": {
+ "Source": {},
+ "Destination": {
+ "type": "structure",
+ "members": {
+ "ToAddresses": {
+ "shape": "S37"
+ },
+ "CcAddresses": {
+ "shape": "S37"
+ },
+ "BccAddresses": {
+ "shape": "S37"
+ }
+ }
+ },
+ "Message": {
+ "type": "structure",
+ "required": [
+ "Subject",
+ "Body"
+ ],
+ "members": {
+ "Subject": {
+ "shape": "S40"
+ },
+ "Body": {
+ "type": "structure",
+ "members": {
+ "Text": {
+ "shape": "S40"
+ },
+ "Html": {
+ "shape": "S40"
+ }
+ }
+ }
+ }
+ },
+ "ReplyToAddresses": {
+ "shape": "S37"
+ },
+ "ReturnPath": {},
+ "SourceArn": {},
+ "ReturnPathArn": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "SendEmailResult",
+ "type": "structure",
+ "required": [
+ "MessageId"
+ ],
+ "members": {
+ "MessageId": {}
+ }
+ }
+ },
+ "SendRawEmail": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "RawMessage"
+ ],
+ "members": {
+ "Source": {},
+ "Destinations": {
+ "shape": "S37"
+ },
+ "RawMessage": {
+ "type": "structure",
+ "required": [
+ "Data"
+ ],
+ "members": {
+ "Data": {
+ "type": "blob"
+ }
+ }
+ },
+ "FromArn": {},
+ "SourceArn": {},
+ "ReturnPathArn": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "SendRawEmailResult",
+ "type": "structure",
+ "required": [
+ "MessageId"
+ ],
+ "members": {
+ "MessageId": {}
+ }
+ }
+ },
+ "SetActiveReceiptRuleSet": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "RuleSetName": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "SetActiveReceiptRuleSetResult",
+ "type": "structure",
+ "members": {}
+ }
+ },
+ "SetIdentityDkimEnabled": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Identity",
+ "DkimEnabled"
+ ],
+ "members": {
+ "Identity": {},
+ "DkimEnabled": {
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "SetIdentityDkimEnabledResult",
+ "type": "structure",
+ "members": {}
+ }
+ },
+ "SetIdentityFeedbackForwardingEnabled": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Identity",
+ "ForwardingEnabled"
+ ],
+ "members": {
+ "Identity": {},
+ "ForwardingEnabled": {
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "SetIdentityFeedbackForwardingEnabledResult",
+ "type": "structure",
+ "members": {}
+ }
+ },
+ "SetIdentityMailFromDomain": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Identity"
+ ],
+ "members": {
+ "Identity": {},
+ "MailFromDomain": {},
+ "BehaviorOnMXFailure": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "SetIdentityMailFromDomainResult",
+ "type": "structure",
+ "members": {}
+ }
+ },
+ "SetIdentityNotificationTopic": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Identity",
+ "NotificationType"
+ ],
+ "members": {
+ "Identity": {},
+ "NotificationType": {},
+ "SnsTopic": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "SetIdentityNotificationTopicResult",
+ "type": "structure",
+ "members": {}
+ }
+ },
+ "SetReceiptRulePosition": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "RuleSetName",
+ "RuleName"
+ ],
+ "members": {
+ "RuleSetName": {},
+ "RuleName": {},
+ "After": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "SetReceiptRulePositionResult",
+ "type": "structure",
+ "members": {}
+ }
+ },
+ "UpdateReceiptRule": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "RuleSetName",
+ "Rule"
+ ],
+ "members": {
+ "RuleSetName": {},
+ "Rule": {
+ "shape": "Sd"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "UpdateReceiptRuleResult",
+ "type": "structure",
+ "members": {}
+ }
+ },
+ "VerifyDomainDkim": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Domain"
+ ],
+ "members": {
+ "Domain": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "VerifyDomainDkimResult",
+ "type": "structure",
+ "required": [
+ "DkimTokens"
+ ],
+ "members": {
+ "DkimTokens": {
+ "shape": "S1y"
+ }
+ }
+ }
+ },
+ "VerifyDomainIdentity": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Domain"
+ ],
+ "members": {
+ "Domain": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "VerifyDomainIdentityResult",
+ "type": "structure",
+ "required": [
+ "VerificationToken"
+ ],
+ "members": {
+ "VerificationToken": {}
+ }
+ }
+ },
+ "VerifyEmailAddress": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "EmailAddress"
+ ],
+ "members": {
+ "EmailAddress": {}
+ }
+ }
+ },
+ "VerifyEmailIdentity": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "EmailAddress"
+ ],
+ "members": {
+ "EmailAddress": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "VerifyEmailIdentityResult",
+ "type": "structure",
+ "members": {}
+ }
+ }
+ },
+ "shapes": {
+ "S5": {
+ "type": "structure",
+ "required": [
+ "Name",
+ "IpFilter"
+ ],
+ "members": {
+ "Name": {},
+ "IpFilter": {
+ "type": "structure",
+ "required": [
+ "Policy",
+ "Cidr"
+ ],
+ "members": {
+ "Policy": {},
+ "Cidr": {}
+ }
+ }
+ }
+ },
+ "Sd": {
+ "type": "structure",
+ "required": [
+ "Name"
+ ],
+ "members": {
+ "Name": {},
+ "Enabled": {
+ "type": "boolean"
+ },
+ "TlsPolicy": {},
+ "Recipients": {
+ "type": "list",
+ "member": {}
+ },
+ "Actions": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "S3Action": {
+ "type": "structure",
+ "required": [
+ "BucketName"
+ ],
+ "members": {
+ "TopicArn": {},
+ "BucketName": {},
+ "ObjectKeyPrefix": {},
+ "KmsKeyArn": {}
+ }
+ },
+ "BounceAction": {
+ "type": "structure",
+ "required": [
+ "SmtpReplyCode",
+ "Message",
+ "Sender"
+ ],
+ "members": {
+ "TopicArn": {},
+ "SmtpReplyCode": {},
+ "StatusCode": {},
+ "Message": {},
+ "Sender": {}
+ }
+ },
+ "WorkmailAction": {
+ "type": "structure",
+ "required": [
+ "OrganizationArn"
+ ],
+ "members": {
+ "TopicArn": {},
+ "OrganizationArn": {}
+ }
+ },
+ "LambdaAction": {
+ "type": "structure",
+ "required": [
+ "FunctionArn"
+ ],
+ "members": {
+ "TopicArn": {},
+ "FunctionArn": {},
+ "InvocationType": {}
+ }
+ },
+ "StopAction": {
+ "type": "structure",
+ "required": [
+ "Scope"
+ ],
+ "members": {
+ "Scope": {},
+ "TopicArn": {}
+ }
+ },
+ "AddHeaderAction": {
+ "type": "structure",
+ "required": [
+ "HeaderName",
+ "HeaderValue"
+ ],
+ "members": {
+ "HeaderName": {},
+ "HeaderValue": {}
+ }
+ },
+ "SNSAction": {
+ "type": "structure",
+ "required": [
+ "TopicArn"
+ ],
+ "members": {
+ "TopicArn": {},
+ "Encoding": {}
+ }
+ }
+ }
+ }
+ },
+ "ScanEnabled": {
+ "type": "boolean"
+ }
+ }
+ },
+ "S1l": {
+ "type": "structure",
+ "members": {
+ "Name": {},
+ "CreatedTimestamp": {
+ "type": "timestamp"
+ }
+ }
+ },
+ "S1n": {
+ "type": "list",
+ "member": {
+ "shape": "Sd"
+ }
+ },
+ "S1t": {
+ "type": "list",
+ "member": {}
+ },
+ "S1y": {
+ "type": "list",
+ "member": {}
+ },
+ "S2d": {
+ "type": "list",
+ "member": {}
+ },
+ "S37": {
+ "type": "list",
+ "member": {}
+ },
+ "S3j": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "Name",
+ "Value"
+ ],
+ "members": {
+ "Name": {},
+ "Value": {}
+ }
+ }
+ },
+ "S40": {
+ "type": "structure",
+ "required": [
+ "Data"
+ ],
+ "members": {
+ "Data": {},
+ "Charset": {}
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/node_modules/aws-sdk/apis/email-2010-12-01.paginators.json b/node_modules/aws-sdk/apis/email-2010-12-01.paginators.json
new file mode 100644
index 0000000000000000000000000000000000000000..e12811f5e131549290a46ecbe42c99f42126fab4
--- /dev/null
+++ b/node_modules/aws-sdk/apis/email-2010-12-01.paginators.json
@@ -0,0 +1,13 @@
+{
+ "pagination": {
+ "ListIdentities": {
+ "input_token": "NextToken",
+ "output_token": "NextToken",
+ "limit_key": "MaxItems",
+ "result_key": "Identities"
+ },
+ "ListVerifiedEmailAddresses": {
+ "result_key": "VerifiedEmailAddresses"
+ }
+ }
+}
diff --git a/node_modules/aws-sdk/apis/email-2010-12-01.waiters.json b/node_modules/aws-sdk/apis/email-2010-12-01.waiters.json
new file mode 100644
index 0000000000000000000000000000000000000000..e8724fc75a3461527ce5ef6813f580b87936de03
--- /dev/null
+++ b/node_modules/aws-sdk/apis/email-2010-12-01.waiters.json
@@ -0,0 +1,14 @@
+{
+ "waiters": {
+ "__default__": {
+ "interval": 3,
+ "max_attempts": 20
+ },
+ "IdentityExists": {
+ "operation": "GetIdentityVerificationAttributes",
+ "success_type": "output",
+ "success_path": "VerificationAttributes[].VerificationStatus",
+ "success_value": true
+ }
+ }
+}
diff --git a/node_modules/aws-sdk/apis/es-2015-01-01.min.json b/node_modules/aws-sdk/apis/es-2015-01-01.min.json
new file mode 100644
index 0000000000000000000000000000000000000000..dcdaba00c7eeb7a419c61a850ad6035068ebe1d1
--- /dev/null
+++ b/node_modules/aws-sdk/apis/es-2015-01-01.min.json
@@ -0,0 +1,488 @@
+{
+ "version": "2.0",
+ "metadata": {
+ "apiVersion": "2015-01-01",
+ "endpointPrefix": "es",
+ "serviceFullName": "Amazon Elasticsearch Service",
+ "signatureVersion": "v4",
+ "protocol": "rest-json"
+ },
+ "operations": {
+ "AddTags": {
+ "http": {
+ "requestUri": "/2015-01-01/tags"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "ARN",
+ "TagList"
+ ],
+ "members": {
+ "ARN": {},
+ "TagList": {
+ "shape": "S3"
+ }
+ }
+ }
+ },
+ "CreateElasticsearchDomain": {
+ "http": {
+ "requestUri": "/2015-01-01/es/domain"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "DomainName"
+ ],
+ "members": {
+ "DomainName": {},
+ "ElasticsearchClusterConfig": {
+ "shape": "S9"
+ },
+ "EBSOptions": {
+ "shape": "Sd"
+ },
+ "AccessPolicies": {},
+ "SnapshotOptions": {
+ "shape": "Sg"
+ },
+ "AdvancedOptions": {
+ "shape": "Sh"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "DomainStatus": {
+ "shape": "Sk"
+ }
+ }
+ }
+ },
+ "DeleteElasticsearchDomain": {
+ "http": {
+ "method": "DELETE",
+ "requestUri": "/2015-01-01/es/domain/{DomainName}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "DomainName"
+ ],
+ "members": {
+ "DomainName": {
+ "location": "uri",
+ "locationName": "DomainName"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "DomainStatus": {
+ "shape": "Sk"
+ }
+ }
+ }
+ },
+ "DescribeElasticsearchDomain": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/2015-01-01/es/domain/{DomainName}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "DomainName"
+ ],
+ "members": {
+ "DomainName": {
+ "location": "uri",
+ "locationName": "DomainName"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "DomainStatus"
+ ],
+ "members": {
+ "DomainStatus": {
+ "shape": "Sk"
+ }
+ }
+ }
+ },
+ "DescribeElasticsearchDomainConfig": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/2015-01-01/es/domain/{DomainName}/config"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "DomainName"
+ ],
+ "members": {
+ "DomainName": {
+ "location": "uri",
+ "locationName": "DomainName"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "DomainConfig"
+ ],
+ "members": {
+ "DomainConfig": {
+ "shape": "St"
+ }
+ }
+ }
+ },
+ "DescribeElasticsearchDomains": {
+ "http": {
+ "requestUri": "/2015-01-01/es/domain-info"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "DomainNames"
+ ],
+ "members": {
+ "DomainNames": {
+ "type": "list",
+ "member": {}
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "DomainStatusList"
+ ],
+ "members": {
+ "DomainStatusList": {
+ "type": "list",
+ "member": {
+ "shape": "Sk"
+ }
+ }
+ }
+ }
+ },
+ "ListDomainNames": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/2015-01-01/domain"
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "DomainNames": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "DomainName": {}
+ }
+ }
+ }
+ }
+ }
+ },
+ "ListTags": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/2015-01-01/tags/"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "ARN"
+ ],
+ "members": {
+ "ARN": {
+ "location": "querystring",
+ "locationName": "arn"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "TagList": {
+ "shape": "S3"
+ }
+ }
+ }
+ },
+ "RemoveTags": {
+ "http": {
+ "requestUri": "/2015-01-01/tags-removal"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "ARN",
+ "TagKeys"
+ ],
+ "members": {
+ "ARN": {},
+ "TagKeys": {
+ "type": "list",
+ "member": {}
+ }
+ }
+ }
+ },
+ "UpdateElasticsearchDomainConfig": {
+ "http": {
+ "requestUri": "/2015-01-01/es/domain/{DomainName}/config"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "DomainName"
+ ],
+ "members": {
+ "DomainName": {
+ "location": "uri",
+ "locationName": "DomainName"
+ },
+ "ElasticsearchClusterConfig": {
+ "shape": "S9"
+ },
+ "EBSOptions": {
+ "shape": "Sd"
+ },
+ "SnapshotOptions": {
+ "shape": "Sg"
+ },
+ "AdvancedOptions": {
+ "shape": "Sh"
+ },
+ "AccessPolicies": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "DomainConfig"
+ ],
+ "members": {
+ "DomainConfig": {
+ "shape": "St"
+ }
+ }
+ }
+ }
+ },
+ "shapes": {
+ "S3": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "Key",
+ "Value"
+ ],
+ "members": {
+ "Key": {},
+ "Value": {}
+ }
+ }
+ },
+ "S9": {
+ "type": "structure",
+ "members": {
+ "InstanceType": {},
+ "InstanceCount": {
+ "type": "integer"
+ },
+ "DedicatedMasterEnabled": {
+ "type": "boolean"
+ },
+ "ZoneAwarenessEnabled": {
+ "type": "boolean"
+ },
+ "DedicatedMasterType": {},
+ "DedicatedMasterCount": {
+ "type": "integer"
+ }
+ }
+ },
+ "Sd": {
+ "type": "structure",
+ "members": {
+ "EBSEnabled": {
+ "type": "boolean"
+ },
+ "VolumeType": {},
+ "VolumeSize": {
+ "type": "integer"
+ },
+ "Iops": {
+ "type": "integer"
+ }
+ }
+ },
+ "Sg": {
+ "type": "structure",
+ "members": {
+ "AutomatedSnapshotStartHour": {
+ "type": "integer"
+ }
+ }
+ },
+ "Sh": {
+ "type": "map",
+ "key": {},
+ "value": {}
+ },
+ "Sk": {
+ "type": "structure",
+ "required": [
+ "DomainId",
+ "DomainName",
+ "ARN",
+ "ElasticsearchClusterConfig"
+ ],
+ "members": {
+ "DomainId": {},
+ "DomainName": {},
+ "ARN": {},
+ "Created": {
+ "type": "boolean"
+ },
+ "Deleted": {
+ "type": "boolean"
+ },
+ "Endpoint": {},
+ "Processing": {
+ "type": "boolean"
+ },
+ "ElasticsearchClusterConfig": {
+ "shape": "S9"
+ },
+ "EBSOptions": {
+ "shape": "Sd"
+ },
+ "AccessPolicies": {},
+ "SnapshotOptions": {
+ "shape": "Sg"
+ },
+ "AdvancedOptions": {
+ "shape": "Sh"
+ }
+ }
+ },
+ "St": {
+ "type": "structure",
+ "members": {
+ "ElasticsearchClusterConfig": {
+ "type": "structure",
+ "required": [
+ "Options",
+ "Status"
+ ],
+ "members": {
+ "Options": {
+ "shape": "S9"
+ },
+ "Status": {
+ "shape": "Sv"
+ }
+ }
+ },
+ "EBSOptions": {
+ "type": "structure",
+ "required": [
+ "Options",
+ "Status"
+ ],
+ "members": {
+ "Options": {
+ "shape": "Sd"
+ },
+ "Status": {
+ "shape": "Sv"
+ }
+ }
+ },
+ "AccessPolicies": {
+ "type": "structure",
+ "required": [
+ "Options",
+ "Status"
+ ],
+ "members": {
+ "Options": {},
+ "Status": {
+ "shape": "Sv"
+ }
+ }
+ },
+ "SnapshotOptions": {
+ "type": "structure",
+ "required": [
+ "Options",
+ "Status"
+ ],
+ "members": {
+ "Options": {
+ "shape": "Sg"
+ },
+ "Status": {
+ "shape": "Sv"
+ }
+ }
+ },
+ "AdvancedOptions": {
+ "type": "structure",
+ "required": [
+ "Options",
+ "Status"
+ ],
+ "members": {
+ "Options": {
+ "shape": "Sh"
+ },
+ "Status": {
+ "shape": "Sv"
+ }
+ }
+ }
+ }
+ },
+ "Sv": {
+ "type": "structure",
+ "required": [
+ "CreationDate",
+ "UpdateDate",
+ "State"
+ ],
+ "members": {
+ "CreationDate": {
+ "type": "timestamp"
+ },
+ "UpdateDate": {
+ "type": "timestamp"
+ },
+ "UpdateVersion": {
+ "type": "integer"
+ },
+ "State": {},
+ "PendingDeletion": {
+ "type": "boolean"
+ }
+ }
+ }
+ },
+ "examples": {}
+}
\ No newline at end of file
diff --git a/node_modules/aws-sdk/apis/events-2015-10-07.min.json b/node_modules/aws-sdk/apis/events-2015-10-07.min.json
new file mode 100644
index 0000000000000000000000000000000000000000..bb4d59a7b7733f894f33d8a76f24661598e408ac
--- /dev/null
+++ b/node_modules/aws-sdk/apis/events-2015-10-07.min.json
@@ -0,0 +1,330 @@
+{
+ "version": "2.0",
+ "metadata": {
+ "apiVersion": "2015-10-07",
+ "endpointPrefix": "events",
+ "jsonVersion": "1.1",
+ "serviceFullName": "Amazon CloudWatch Events",
+ "signatureVersion": "v4",
+ "targetPrefix": "AWSEvents",
+ "protocol": "json"
+ },
+ "operations": {
+ "DeleteRule": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Name"
+ ],
+ "members": {
+ "Name": {}
+ }
+ }
+ },
+ "DescribeRule": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Name"
+ ],
+ "members": {
+ "Name": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Name": {},
+ "Arn": {},
+ "EventPattern": {},
+ "ScheduleExpression": {},
+ "State": {},
+ "Description": {},
+ "RoleArn": {}
+ }
+ }
+ },
+ "DisableRule": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Name"
+ ],
+ "members": {
+ "Name": {}
+ }
+ }
+ },
+ "EnableRule": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Name"
+ ],
+ "members": {
+ "Name": {}
+ }
+ }
+ },
+ "ListRuleNamesByTarget": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "TargetArn"
+ ],
+ "members": {
+ "TargetArn": {},
+ "NextToken": {},
+ "Limit": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "RuleNames": {
+ "type": "list",
+ "member": {}
+ },
+ "NextToken": {}
+ }
+ }
+ },
+ "ListRules": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "NamePrefix": {},
+ "NextToken": {},
+ "Limit": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Rules": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "Name": {},
+ "Arn": {},
+ "EventPattern": {},
+ "State": {},
+ "Description": {},
+ "ScheduleExpression": {},
+ "RoleArn": {}
+ }
+ }
+ },
+ "NextToken": {}
+ }
+ }
+ },
+ "ListTargetsByRule": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Rule"
+ ],
+ "members": {
+ "Rule": {},
+ "NextToken": {},
+ "Limit": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Targets": {
+ "shape": "Sp"
+ },
+ "NextToken": {}
+ }
+ }
+ },
+ "PutEvents": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Entries"
+ ],
+ "members": {
+ "Entries": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "Time": {
+ "type": "timestamp"
+ },
+ "Source": {},
+ "Resources": {
+ "type": "list",
+ "member": {}
+ },
+ "DetailType": {},
+ "Detail": {}
+ }
+ }
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "FailedEntryCount": {
+ "type": "integer"
+ },
+ "Entries": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "EventId": {},
+ "ErrorCode": {},
+ "ErrorMessage": {}
+ }
+ }
+ }
+ }
+ }
+ },
+ "PutRule": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Name"
+ ],
+ "members": {
+ "Name": {},
+ "ScheduleExpression": {},
+ "EventPattern": {},
+ "State": {},
+ "Description": {},
+ "RoleArn": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "RuleArn": {}
+ }
+ }
+ },
+ "PutTargets": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Rule",
+ "Targets"
+ ],
+ "members": {
+ "Rule": {},
+ "Targets": {
+ "shape": "Sp"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "FailedEntryCount": {
+ "type": "integer"
+ },
+ "FailedEntries": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "TargetId": {},
+ "ErrorCode": {},
+ "ErrorMessage": {}
+ }
+ }
+ }
+ }
+ }
+ },
+ "RemoveTargets": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Rule",
+ "Ids"
+ ],
+ "members": {
+ "Rule": {},
+ "Ids": {
+ "type": "list",
+ "member": {}
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "FailedEntryCount": {
+ "type": "integer"
+ },
+ "FailedEntries": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "TargetId": {},
+ "ErrorCode": {},
+ "ErrorMessage": {}
+ }
+ }
+ }
+ }
+ }
+ },
+ "TestEventPattern": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "EventPattern",
+ "Event"
+ ],
+ "members": {
+ "EventPattern": {},
+ "Event": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Result": {
+ "type": "boolean"
+ }
+ }
+ }
+ }
+ },
+ "shapes": {
+ "Sp": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "Id",
+ "Arn"
+ ],
+ "members": {
+ "Id": {},
+ "Arn": {},
+ "Input": {},
+ "InputPath": {}
+ }
+ }
+ }
+ },
+ "examples": {}
+}
\ No newline at end of file
diff --git a/node_modules/aws-sdk/apis/firehose-2015-08-04.min.json b/node_modules/aws-sdk/apis/firehose-2015-08-04.min.json
new file mode 100644
index 0000000000000000000000000000000000000000..85b07d9759ab10eadc70ce639cc79e03dfb256e5
--- /dev/null
+++ b/node_modules/aws-sdk/apis/firehose-2015-08-04.min.json
@@ -0,0 +1,412 @@
+{
+ "version": "2.0",
+ "metadata": {
+ "apiVersion": "2015-08-04",
+ "endpointPrefix": "firehose",
+ "jsonVersion": "1.1",
+ "serviceAbbreviation": "Firehose",
+ "serviceFullName": "0",
+ "signatureVersion": "v4",
+ "targetPrefix": "Firehose_20150804",
+ "protocol": "json"
+ },
+ "operations": {
+ "CreateDeliveryStream": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DeliveryStreamName"
+ ],
+ "members": {
+ "DeliveryStreamName": {},
+ "S3DestinationConfiguration": {
+ "shape": "S3"
+ },
+ "RedshiftDestinationConfiguration": {
+ "type": "structure",
+ "required": [
+ "RoleARN",
+ "ClusterJDBCURL",
+ "CopyCommand",
+ "Username",
+ "Password",
+ "S3Configuration"
+ ],
+ "members": {
+ "RoleARN": {},
+ "ClusterJDBCURL": {},
+ "CopyCommand": {
+ "shape": "Sh"
+ },
+ "Username": {
+ "shape": "Sl"
+ },
+ "Password": {
+ "shape": "Sm"
+ },
+ "S3Configuration": {
+ "shape": "S3"
+ }
+ }
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "DeliveryStreamARN": {}
+ }
+ }
+ },
+ "DeleteDeliveryStream": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DeliveryStreamName"
+ ],
+ "members": {
+ "DeliveryStreamName": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {}
+ }
+ },
+ "DescribeDeliveryStream": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DeliveryStreamName"
+ ],
+ "members": {
+ "DeliveryStreamName": {},
+ "Limit": {
+ "type": "integer"
+ },
+ "ExclusiveStartDestinationId": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "DeliveryStreamDescription"
+ ],
+ "members": {
+ "DeliveryStreamDescription": {
+ "type": "structure",
+ "required": [
+ "DeliveryStreamName",
+ "DeliveryStreamARN",
+ "DeliveryStreamStatus",
+ "VersionId",
+ "Destinations",
+ "HasMoreDestinations"
+ ],
+ "members": {
+ "DeliveryStreamName": {},
+ "DeliveryStreamARN": {},
+ "DeliveryStreamStatus": {},
+ "VersionId": {},
+ "CreateTimestamp": {
+ "type": "timestamp"
+ },
+ "LastUpdateTimestamp": {
+ "type": "timestamp"
+ },
+ "Destinations": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "DestinationId"
+ ],
+ "members": {
+ "DestinationId": {},
+ "S3DestinationDescription": {
+ "shape": "S11"
+ },
+ "RedshiftDestinationDescription": {
+ "type": "structure",
+ "required": [
+ "RoleARN",
+ "ClusterJDBCURL",
+ "CopyCommand",
+ "Username",
+ "S3DestinationDescription"
+ ],
+ "members": {
+ "RoleARN": {},
+ "ClusterJDBCURL": {},
+ "CopyCommand": {
+ "shape": "Sh"
+ },
+ "Username": {
+ "shape": "Sl"
+ },
+ "S3DestinationDescription": {
+ "shape": "S11"
+ }
+ }
+ }
+ }
+ }
+ },
+ "HasMoreDestinations": {
+ "type": "boolean"
+ }
+ }
+ }
+ }
+ }
+ },
+ "ListDeliveryStreams": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "Limit": {
+ "type": "integer"
+ },
+ "ExclusiveStartDeliveryStreamName": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "DeliveryStreamNames",
+ "HasMoreDeliveryStreams"
+ ],
+ "members": {
+ "DeliveryStreamNames": {
+ "type": "list",
+ "member": {}
+ },
+ "HasMoreDeliveryStreams": {
+ "type": "boolean"
+ }
+ }
+ }
+ },
+ "PutRecord": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DeliveryStreamName",
+ "Record"
+ ],
+ "members": {
+ "DeliveryStreamName": {},
+ "Record": {
+ "shape": "S19"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "RecordId"
+ ],
+ "members": {
+ "RecordId": {}
+ }
+ }
+ },
+ "PutRecordBatch": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DeliveryStreamName",
+ "Records"
+ ],
+ "members": {
+ "DeliveryStreamName": {},
+ "Records": {
+ "type": "list",
+ "member": {
+ "shape": "S19"
+ }
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "FailedPutCount",
+ "RequestResponses"
+ ],
+ "members": {
+ "FailedPutCount": {
+ "type": "integer"
+ },
+ "RequestResponses": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "RecordId": {},
+ "ErrorCode": {},
+ "ErrorMessage": {}
+ }
+ }
+ }
+ }
+ }
+ },
+ "UpdateDestination": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DeliveryStreamName",
+ "CurrentDeliveryStreamVersionId",
+ "DestinationId"
+ ],
+ "members": {
+ "DeliveryStreamName": {},
+ "CurrentDeliveryStreamVersionId": {},
+ "DestinationId": {},
+ "S3DestinationUpdate": {
+ "shape": "S1m"
+ },
+ "RedshiftDestinationUpdate": {
+ "type": "structure",
+ "members": {
+ "RoleARN": {},
+ "ClusterJDBCURL": {},
+ "CopyCommand": {
+ "shape": "Sh"
+ },
+ "Username": {
+ "shape": "Sl"
+ },
+ "Password": {
+ "shape": "Sm"
+ },
+ "S3Update": {
+ "shape": "S1m"
+ }
+ }
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {}
+ }
+ }
+ },
+ "shapes": {
+ "S3": {
+ "type": "structure",
+ "required": [
+ "RoleARN",
+ "BucketARN"
+ ],
+ "members": {
+ "RoleARN": {},
+ "BucketARN": {},
+ "Prefix": {},
+ "BufferingHints": {
+ "shape": "S7"
+ },
+ "CompressionFormat": {},
+ "EncryptionConfiguration": {
+ "shape": "Sb"
+ }
+ }
+ },
+ "S7": {
+ "type": "structure",
+ "members": {
+ "SizeInMBs": {
+ "type": "integer"
+ },
+ "IntervalInSeconds": {
+ "type": "integer"
+ }
+ }
+ },
+ "Sb": {
+ "type": "structure",
+ "members": {
+ "NoEncryptionConfig": {},
+ "KMSEncryptionConfig": {
+ "type": "structure",
+ "required": [
+ "AWSKMSKeyARN"
+ ],
+ "members": {
+ "AWSKMSKeyARN": {}
+ }
+ }
+ }
+ },
+ "Sh": {
+ "type": "structure",
+ "required": [
+ "DataTableName"
+ ],
+ "members": {
+ "DataTableName": {},
+ "DataTableColumns": {},
+ "CopyOptions": {}
+ }
+ },
+ "Sl": {
+ "type": "string",
+ "sensitive": true
+ },
+ "Sm": {
+ "type": "string",
+ "sensitive": true
+ },
+ "S11": {
+ "type": "structure",
+ "required": [
+ "RoleARN",
+ "BucketARN",
+ "BufferingHints",
+ "CompressionFormat",
+ "EncryptionConfiguration"
+ ],
+ "members": {
+ "RoleARN": {},
+ "BucketARN": {},
+ "Prefix": {},
+ "BufferingHints": {
+ "shape": "S7"
+ },
+ "CompressionFormat": {},
+ "EncryptionConfiguration": {
+ "shape": "Sb"
+ }
+ }
+ },
+ "S19": {
+ "type": "structure",
+ "required": [
+ "Data"
+ ],
+ "members": {
+ "Data": {
+ "type": "blob"
+ }
+ }
+ },
+ "S1m": {
+ "type": "structure",
+ "members": {
+ "RoleARN": {},
+ "BucketARN": {},
+ "Prefix": {},
+ "BufferingHints": {
+ "shape": "S7"
+ },
+ "CompressionFormat": {},
+ "EncryptionConfiguration": {
+ "shape": "Sb"
+ }
+ }
+ }
+ },
+ "examples": {}
+}
\ No newline at end of file
diff --git a/node_modules/aws-sdk/apis/gamelift-2015-10-01.min.json b/node_modules/aws-sdk/apis/gamelift-2015-10-01.min.json
new file mode 100644
index 0000000000000000000000000000000000000000..587681b6354b7ad9522e0d78d27505cde60efcd4
--- /dev/null
+++ b/node_modules/aws-sdk/apis/gamelift-2015-10-01.min.json
@@ -0,0 +1,1069 @@
+{
+ "version": "2.0",
+ "metadata": {
+ "apiVersion": "2015-10-01",
+ "endpointPrefix": "gamelift",
+ "jsonVersion": "1.1",
+ "serviceFullName": "Amazon GameLift",
+ "signatureVersion": "v4",
+ "targetPrefix": "GameLift",
+ "protocol": "json"
+ },
+ "operations": {
+ "CreateAlias": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Name",
+ "RoutingStrategy"
+ ],
+ "members": {
+ "Name": {},
+ "Description": {},
+ "RoutingStrategy": {
+ "shape": "S3"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Alias": {
+ "shape": "S8"
+ }
+ }
+ }
+ },
+ "CreateBuild": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "Name": {},
+ "Version": {},
+ "StorageLocation": {
+ "shape": "Sc"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Build": {
+ "shape": "Sf"
+ },
+ "UploadCredentials": {
+ "shape": "Sj"
+ },
+ "StorageLocation": {
+ "shape": "Sc"
+ }
+ }
+ }
+ },
+ "CreateFleet": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Name",
+ "BuildId",
+ "ServerLaunchPath",
+ "EC2InstanceType"
+ ],
+ "members": {
+ "Name": {},
+ "Description": {},
+ "BuildId": {},
+ "ServerLaunchPath": {},
+ "ServerLaunchParameters": {},
+ "LogPaths": {
+ "shape": "Sl"
+ },
+ "EC2InstanceType": {},
+ "EC2InboundPermissions": {
+ "shape": "Sn"
+ },
+ "NewGameSessionProtectionPolicy": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "FleetAttributes": {
+ "shape": "Su"
+ }
+ }
+ }
+ },
+ "CreateGameSession": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "MaximumPlayerSessionCount"
+ ],
+ "members": {
+ "FleetId": {},
+ "AliasId": {},
+ "MaximumPlayerSessionCount": {
+ "type": "integer"
+ },
+ "Name": {},
+ "GameProperties": {
+ "shape": "Sy"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "GameSession": {
+ "shape": "S13"
+ }
+ }
+ }
+ },
+ "CreatePlayerSession": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "GameSessionId",
+ "PlayerId"
+ ],
+ "members": {
+ "GameSessionId": {},
+ "PlayerId": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "PlayerSession": {
+ "shape": "S1a"
+ }
+ }
+ }
+ },
+ "CreatePlayerSessions": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "GameSessionId",
+ "PlayerIds"
+ ],
+ "members": {
+ "GameSessionId": {},
+ "PlayerIds": {
+ "type": "list",
+ "member": {}
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "PlayerSessions": {
+ "shape": "S1g"
+ }
+ }
+ }
+ },
+ "DeleteAlias": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "AliasId"
+ ],
+ "members": {
+ "AliasId": {}
+ }
+ }
+ },
+ "DeleteBuild": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "BuildId"
+ ],
+ "members": {
+ "BuildId": {}
+ }
+ }
+ },
+ "DeleteFleet": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "FleetId"
+ ],
+ "members": {
+ "FleetId": {}
+ }
+ }
+ },
+ "DeleteScalingPolicy": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Name",
+ "FleetId"
+ ],
+ "members": {
+ "Name": {},
+ "FleetId": {}
+ }
+ }
+ },
+ "DescribeAlias": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "AliasId"
+ ],
+ "members": {
+ "AliasId": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Alias": {
+ "shape": "S8"
+ }
+ }
+ }
+ },
+ "DescribeBuild": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "BuildId"
+ ],
+ "members": {
+ "BuildId": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Build": {
+ "shape": "Sf"
+ }
+ }
+ }
+ },
+ "DescribeEC2InstanceLimits": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "EC2InstanceType": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "EC2InstanceLimits": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "EC2InstanceType": {},
+ "CurrentInstances": {
+ "type": "integer"
+ },
+ "InstanceLimit": {
+ "type": "integer"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "DescribeFleetAttributes": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "FleetIds": {
+ "shape": "S1u"
+ },
+ "Limit": {
+ "type": "integer"
+ },
+ "NextToken": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "FleetAttributes": {
+ "type": "list",
+ "member": {
+ "shape": "Su"
+ }
+ },
+ "NextToken": {}
+ }
+ }
+ },
+ "DescribeFleetCapacity": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "FleetIds": {
+ "shape": "S1u"
+ },
+ "Limit": {
+ "type": "integer"
+ },
+ "NextToken": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "FleetCapacity": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "FleetId": {},
+ "InstanceType": {},
+ "InstanceCounts": {
+ "type": "structure",
+ "members": {
+ "DESIRED": {
+ "type": "integer"
+ },
+ "MINIMUM": {
+ "type": "integer"
+ },
+ "MAXIMUM": {
+ "type": "integer"
+ },
+ "PENDING": {
+ "type": "integer"
+ },
+ "ACTIVE": {
+ "type": "integer"
+ },
+ "IDLE": {
+ "type": "integer"
+ },
+ "TERMINATING": {
+ "type": "integer"
+ }
+ }
+ }
+ }
+ }
+ },
+ "NextToken": {}
+ }
+ }
+ },
+ "DescribeFleetEvents": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "FleetId"
+ ],
+ "members": {
+ "FleetId": {},
+ "StartTime": {
+ "type": "timestamp"
+ },
+ "EndTime": {
+ "type": "timestamp"
+ },
+ "Limit": {
+ "type": "integer"
+ },
+ "NextToken": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Events": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "EventId": {},
+ "ResourceId": {},
+ "EventCode": {},
+ "Message": {},
+ "EventTime": {
+ "type": "timestamp"
+ }
+ }
+ }
+ },
+ "NextToken": {}
+ }
+ }
+ },
+ "DescribeFleetPortSettings": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "FleetId"
+ ],
+ "members": {
+ "FleetId": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "InboundPermissions": {
+ "shape": "Sn"
+ }
+ }
+ }
+ },
+ "DescribeFleetUtilization": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "FleetIds": {
+ "shape": "S1u"
+ },
+ "Limit": {
+ "type": "integer"
+ },
+ "NextToken": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "FleetUtilization": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "FleetId": {},
+ "ActiveGameSessionCount": {
+ "type": "integer"
+ },
+ "CurrentPlayerSessionCount": {
+ "type": "integer"
+ },
+ "MaximumPlayerSessionCount": {
+ "type": "integer"
+ }
+ }
+ }
+ },
+ "NextToken": {}
+ }
+ }
+ },
+ "DescribeGameSessionDetails": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "FleetId": {},
+ "GameSessionId": {},
+ "AliasId": {},
+ "StatusFilter": {},
+ "Limit": {
+ "type": "integer"
+ },
+ "NextToken": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "GameSessionDetails": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "GameSession": {
+ "shape": "S13"
+ },
+ "ProtectionPolicy": {}
+ }
+ }
+ },
+ "NextToken": {}
+ }
+ }
+ },
+ "DescribeGameSessions": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "FleetId": {},
+ "GameSessionId": {},
+ "AliasId": {},
+ "StatusFilter": {},
+ "Limit": {
+ "type": "integer"
+ },
+ "NextToken": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "GameSessions": {
+ "type": "list",
+ "member": {
+ "shape": "S13"
+ }
+ },
+ "NextToken": {}
+ }
+ }
+ },
+ "DescribePlayerSessions": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "GameSessionId": {},
+ "PlayerId": {},
+ "PlayerSessionId": {},
+ "PlayerSessionStatusFilter": {},
+ "Limit": {
+ "type": "integer"
+ },
+ "NextToken": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "PlayerSessions": {
+ "shape": "S1g"
+ },
+ "NextToken": {}
+ }
+ }
+ },
+ "DescribeScalingPolicies": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "FleetId"
+ ],
+ "members": {
+ "FleetId": {},
+ "StatusFilter": {},
+ "Limit": {
+ "type": "integer"
+ },
+ "NextToken": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "ScalingPolicies": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "FleetId": {},
+ "Name": {},
+ "Status": {},
+ "ScalingAdjustment": {
+ "type": "integer"
+ },
+ "ScalingAdjustmentType": {},
+ "ComparisonOperator": {},
+ "Threshold": {
+ "type": "double"
+ },
+ "EvaluationPeriods": {
+ "type": "integer"
+ },
+ "MetricName": {}
+ }
+ }
+ },
+ "NextToken": {}
+ }
+ }
+ },
+ "GetGameSessionLogUrl": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "GameSessionId"
+ ],
+ "members": {
+ "GameSessionId": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "PreSignedUrl": {}
+ }
+ }
+ },
+ "ListAliases": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "RoutingStrategyType": {},
+ "Name": {},
+ "Limit": {
+ "type": "integer"
+ },
+ "NextToken": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Aliases": {
+ "type": "list",
+ "member": {
+ "shape": "S8"
+ }
+ },
+ "NextToken": {}
+ }
+ }
+ },
+ "ListBuilds": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "Status": {},
+ "Limit": {
+ "type": "integer"
+ },
+ "NextToken": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Builds": {
+ "type": "list",
+ "member": {
+ "shape": "Sf"
+ }
+ },
+ "NextToken": {}
+ }
+ }
+ },
+ "ListFleets": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "BuildId": {},
+ "Limit": {
+ "type": "integer"
+ },
+ "NextToken": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "FleetIds": {
+ "shape": "S1u"
+ },
+ "NextToken": {}
+ }
+ }
+ },
+ "PutScalingPolicy": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Name",
+ "FleetId",
+ "ScalingAdjustment",
+ "ScalingAdjustmentType",
+ "Threshold",
+ "ComparisonOperator",
+ "EvaluationPeriods",
+ "MetricName"
+ ],
+ "members": {
+ "Name": {},
+ "FleetId": {},
+ "ScalingAdjustment": {
+ "type": "integer"
+ },
+ "ScalingAdjustmentType": {},
+ "Threshold": {
+ "type": "double"
+ },
+ "ComparisonOperator": {},
+ "EvaluationPeriods": {
+ "type": "integer"
+ },
+ "MetricName": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Name": {}
+ }
+ }
+ },
+ "RequestUploadCredentials": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "BuildId"
+ ],
+ "members": {
+ "BuildId": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "UploadCredentials": {
+ "shape": "Sj"
+ },
+ "StorageLocation": {
+ "shape": "Sc"
+ }
+ }
+ }
+ },
+ "ResolveAlias": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "AliasId"
+ ],
+ "members": {
+ "AliasId": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "FleetId": {}
+ }
+ }
+ },
+ "UpdateAlias": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "AliasId"
+ ],
+ "members": {
+ "AliasId": {},
+ "Name": {},
+ "Description": {},
+ "RoutingStrategy": {
+ "shape": "S3"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Alias": {
+ "shape": "S8"
+ }
+ }
+ }
+ },
+ "UpdateBuild": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "BuildId"
+ ],
+ "members": {
+ "BuildId": {},
+ "Name": {},
+ "Version": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Build": {
+ "shape": "Sf"
+ }
+ }
+ }
+ },
+ "UpdateFleetAttributes": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "FleetId"
+ ],
+ "members": {
+ "FleetId": {},
+ "Name": {},
+ "Description": {},
+ "NewGameSessionProtectionPolicy": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "FleetId": {}
+ }
+ }
+ },
+ "UpdateFleetCapacity": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "FleetId"
+ ],
+ "members": {
+ "FleetId": {},
+ "DesiredInstances": {
+ "type": "integer"
+ },
+ "MinSize": {
+ "type": "integer"
+ },
+ "MaxSize": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "FleetId": {}
+ }
+ }
+ },
+ "UpdateFleetPortSettings": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "FleetId"
+ ],
+ "members": {
+ "FleetId": {},
+ "InboundPermissionAuthorizations": {
+ "shape": "Sn"
+ },
+ "InboundPermissionRevocations": {
+ "shape": "Sn"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "FleetId": {}
+ }
+ }
+ },
+ "UpdateGameSession": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "GameSessionId"
+ ],
+ "members": {
+ "GameSessionId": {},
+ "MaximumPlayerSessionCount": {
+ "type": "integer"
+ },
+ "Name": {},
+ "PlayerSessionCreationPolicy": {},
+ "ProtectionPolicy": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "GameSession": {
+ "shape": "S13"
+ }
+ }
+ }
+ }
+ },
+ "shapes": {
+ "S3": {
+ "type": "structure",
+ "members": {
+ "Type": {},
+ "FleetId": {},
+ "Message": {}
+ }
+ },
+ "S8": {
+ "type": "structure",
+ "members": {
+ "AliasId": {},
+ "Name": {},
+ "Description": {},
+ "RoutingStrategy": {
+ "shape": "S3"
+ },
+ "CreationTime": {
+ "type": "timestamp"
+ },
+ "LastUpdatedTime": {
+ "type": "timestamp"
+ }
+ }
+ },
+ "Sc": {
+ "type": "structure",
+ "members": {
+ "Bucket": {},
+ "Key": {},
+ "RoleArn": {}
+ }
+ },
+ "Sf": {
+ "type": "structure",
+ "members": {
+ "BuildId": {},
+ "Name": {},
+ "Version": {},
+ "Status": {},
+ "SizeOnDisk": {
+ "type": "long"
+ },
+ "CreationTime": {
+ "type": "timestamp"
+ }
+ }
+ },
+ "Sj": {
+ "type": "structure",
+ "members": {
+ "AccessKeyId": {},
+ "SecretAccessKey": {},
+ "SessionToken": {}
+ },
+ "sensitive": true
+ },
+ "Sl": {
+ "type": "list",
+ "member": {}
+ },
+ "Sn": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "FromPort",
+ "ToPort",
+ "IpRange",
+ "Protocol"
+ ],
+ "members": {
+ "FromPort": {
+ "type": "integer"
+ },
+ "ToPort": {
+ "type": "integer"
+ },
+ "IpRange": {},
+ "Protocol": {}
+ }
+ }
+ },
+ "Su": {
+ "type": "structure",
+ "members": {
+ "FleetId": {},
+ "Description": {},
+ "Name": {},
+ "CreationTime": {
+ "type": "timestamp"
+ },
+ "TerminationTime": {
+ "type": "timestamp"
+ },
+ "Status": {},
+ "BuildId": {},
+ "ServerLaunchPath": {},
+ "ServerLaunchParameters": {},
+ "LogPaths": {
+ "shape": "Sl"
+ },
+ "NewGameSessionProtectionPolicy": {}
+ }
+ },
+ "Sy": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "Key",
+ "Value"
+ ],
+ "members": {
+ "Key": {},
+ "Value": {}
+ }
+ }
+ },
+ "S13": {
+ "type": "structure",
+ "members": {
+ "GameSessionId": {},
+ "Name": {},
+ "FleetId": {},
+ "CreationTime": {
+ "type": "timestamp"
+ },
+ "TerminationTime": {
+ "type": "timestamp"
+ },
+ "CurrentPlayerSessionCount": {
+ "type": "integer"
+ },
+ "MaximumPlayerSessionCount": {
+ "type": "integer"
+ },
+ "Status": {},
+ "GameProperties": {
+ "shape": "Sy"
+ },
+ "IpAddress": {},
+ "PlayerSessionCreationPolicy": {}
+ }
+ },
+ "S1a": {
+ "type": "structure",
+ "members": {
+ "PlayerSessionId": {},
+ "PlayerId": {},
+ "GameSessionId": {},
+ "FleetId": {},
+ "CreationTime": {
+ "type": "timestamp"
+ },
+ "TerminationTime": {
+ "type": "timestamp"
+ },
+ "Status": {},
+ "IpAddress": {}
+ }
+ },
+ "S1g": {
+ "type": "list",
+ "member": {
+ "shape": "S1a"
+ }
+ },
+ "S1u": {
+ "type": "list",
+ "member": {}
+ }
+ },
+ "examples": {}
+}
\ No newline at end of file
diff --git a/node_modules/aws-sdk/apis/glacier-2012-06-01.min.json b/node_modules/aws-sdk/apis/glacier-2012-06-01.min.json
new file mode 100644
index 0000000000000000000000000000000000000000..6db1a30c03a417f6cf61997182900ab0719b464a
--- /dev/null
+++ b/node_modules/aws-sdk/apis/glacier-2012-06-01.min.json
@@ -0,0 +1,1215 @@
+{
+ "version": "2.0",
+ "metadata": {
+ "apiVersion": "2012-06-01",
+ "checksumFormat": "sha256",
+ "endpointPrefix": "glacier",
+ "serviceFullName": "Amazon Glacier",
+ "signatureVersion": "v4",
+ "protocol": "rest-json"
+ },
+ "operations": {
+ "AbortMultipartUpload": {
+ "http": {
+ "method": "DELETE",
+ "requestUri": "/{accountId}/vaults/{vaultName}/multipart-uploads/{uploadId}",
+ "responseCode": 204
+ },
+ "input": {
+ "type": "structure",
+ "members": {
+ "accountId": {
+ "location": "uri",
+ "locationName": "accountId"
+ },
+ "vaultName": {
+ "location": "uri",
+ "locationName": "vaultName"
+ },
+ "uploadId": {
+ "location": "uri",
+ "locationName": "uploadId"
+ }
+ },
+ "required": [
+ "accountId",
+ "vaultName",
+ "uploadId"
+ ]
+ }
+ },
+ "AbortVaultLock": {
+ "http": {
+ "method": "DELETE",
+ "requestUri": "/{accountId}/vaults/{vaultName}/lock-policy",
+ "responseCode": 204
+ },
+ "input": {
+ "type": "structure",
+ "members": {
+ "accountId": {
+ "location": "uri",
+ "locationName": "accountId"
+ },
+ "vaultName": {
+ "location": "uri",
+ "locationName": "vaultName"
+ }
+ },
+ "required": [
+ "accountId",
+ "vaultName"
+ ]
+ }
+ },
+ "AddTagsToVault": {
+ "http": {
+ "requestUri": "/{accountId}/vaults/{vaultName}/tags?operation=add",
+ "responseCode": 204
+ },
+ "input": {
+ "type": "structure",
+ "members": {
+ "accountId": {
+ "location": "uri",
+ "locationName": "accountId"
+ },
+ "vaultName": {
+ "location": "uri",
+ "locationName": "vaultName"
+ },
+ "Tags": {
+ "shape": "S5"
+ }
+ },
+ "required": [
+ "accountId",
+ "vaultName"
+ ]
+ }
+ },
+ "CompleteMultipartUpload": {
+ "http": {
+ "requestUri": "/{accountId}/vaults/{vaultName}/multipart-uploads/{uploadId}",
+ "responseCode": 201
+ },
+ "input": {
+ "type": "structure",
+ "members": {
+ "accountId": {
+ "location": "uri",
+ "locationName": "accountId"
+ },
+ "vaultName": {
+ "location": "uri",
+ "locationName": "vaultName"
+ },
+ "uploadId": {
+ "location": "uri",
+ "locationName": "uploadId"
+ },
+ "archiveSize": {
+ "location": "header",
+ "locationName": "x-amz-archive-size"
+ },
+ "checksum": {
+ "location": "header",
+ "locationName": "x-amz-sha256-tree-hash"
+ }
+ },
+ "required": [
+ "accountId",
+ "vaultName",
+ "uploadId"
+ ]
+ },
+ "output": {
+ "shape": "S9"
+ }
+ },
+ "CompleteVaultLock": {
+ "http": {
+ "requestUri": "/{accountId}/vaults/{vaultName}/lock-policy/{lockId}",
+ "responseCode": 204
+ },
+ "input": {
+ "type": "structure",
+ "members": {
+ "accountId": {
+ "location": "uri",
+ "locationName": "accountId"
+ },
+ "vaultName": {
+ "location": "uri",
+ "locationName": "vaultName"
+ },
+ "lockId": {
+ "location": "uri",
+ "locationName": "lockId"
+ }
+ },
+ "required": [
+ "accountId",
+ "vaultName",
+ "lockId"
+ ]
+ }
+ },
+ "CreateVault": {
+ "http": {
+ "method": "PUT",
+ "requestUri": "/{accountId}/vaults/{vaultName}",
+ "responseCode": 201
+ },
+ "input": {
+ "type": "structure",
+ "members": {
+ "accountId": {
+ "location": "uri",
+ "locationName": "accountId"
+ },
+ "vaultName": {
+ "location": "uri",
+ "locationName": "vaultName"
+ }
+ },
+ "required": [
+ "accountId",
+ "vaultName"
+ ]
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "location": {
+ "location": "header",
+ "locationName": "Location"
+ }
+ }
+ }
+ },
+ "DeleteArchive": {
+ "http": {
+ "method": "DELETE",
+ "requestUri": "/{accountId}/vaults/{vaultName}/archives/{archiveId}",
+ "responseCode": 204
+ },
+ "input": {
+ "type": "structure",
+ "members": {
+ "accountId": {
+ "location": "uri",
+ "locationName": "accountId"
+ },
+ "vaultName": {
+ "location": "uri",
+ "locationName": "vaultName"
+ },
+ "archiveId": {
+ "location": "uri",
+ "locationName": "archiveId"
+ }
+ },
+ "required": [
+ "accountId",
+ "vaultName",
+ "archiveId"
+ ]
+ }
+ },
+ "DeleteVault": {
+ "http": {
+ "method": "DELETE",
+ "requestUri": "/{accountId}/vaults/{vaultName}",
+ "responseCode": 204
+ },
+ "input": {
+ "type": "structure",
+ "members": {
+ "accountId": {
+ "location": "uri",
+ "locationName": "accountId"
+ },
+ "vaultName": {
+ "location": "uri",
+ "locationName": "vaultName"
+ }
+ },
+ "required": [
+ "accountId",
+ "vaultName"
+ ]
+ }
+ },
+ "DeleteVaultAccessPolicy": {
+ "http": {
+ "method": "DELETE",
+ "requestUri": "/{accountId}/vaults/{vaultName}/access-policy",
+ "responseCode": 204
+ },
+ "input": {
+ "type": "structure",
+ "members": {
+ "accountId": {
+ "location": "uri",
+ "locationName": "accountId"
+ },
+ "vaultName": {
+ "location": "uri",
+ "locationName": "vaultName"
+ }
+ },
+ "required": [
+ "accountId",
+ "vaultName"
+ ]
+ }
+ },
+ "DeleteVaultNotifications": {
+ "http": {
+ "method": "DELETE",
+ "requestUri": "/{accountId}/vaults/{vaultName}/notification-configuration",
+ "responseCode": 204
+ },
+ "input": {
+ "type": "structure",
+ "members": {
+ "accountId": {
+ "location": "uri",
+ "locationName": "accountId"
+ },
+ "vaultName": {
+ "location": "uri",
+ "locationName": "vaultName"
+ }
+ },
+ "required": [
+ "accountId",
+ "vaultName"
+ ]
+ }
+ },
+ "DescribeJob": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/{accountId}/vaults/{vaultName}/jobs/{jobId}"
+ },
+ "input": {
+ "type": "structure",
+ "members": {
+ "accountId": {
+ "location": "uri",
+ "locationName": "accountId"
+ },
+ "vaultName": {
+ "location": "uri",
+ "locationName": "vaultName"
+ },
+ "jobId": {
+ "location": "uri",
+ "locationName": "jobId"
+ }
+ },
+ "required": [
+ "accountId",
+ "vaultName",
+ "jobId"
+ ]
+ },
+ "output": {
+ "shape": "Si"
+ }
+ },
+ "DescribeVault": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/{accountId}/vaults/{vaultName}"
+ },
+ "input": {
+ "type": "structure",
+ "members": {
+ "accountId": {
+ "location": "uri",
+ "locationName": "accountId"
+ },
+ "vaultName": {
+ "location": "uri",
+ "locationName": "vaultName"
+ }
+ },
+ "required": [
+ "accountId",
+ "vaultName"
+ ]
+ },
+ "output": {
+ "shape": "Sq"
+ }
+ },
+ "GetDataRetrievalPolicy": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/{accountId}/policies/data-retrieval"
+ },
+ "input": {
+ "type": "structure",
+ "members": {
+ "accountId": {
+ "location": "uri",
+ "locationName": "accountId"
+ }
+ },
+ "required": [
+ "accountId"
+ ]
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Policy": {
+ "shape": "Su"
+ }
+ }
+ }
+ },
+ "GetJobOutput": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/{accountId}/vaults/{vaultName}/jobs/{jobId}/output"
+ },
+ "input": {
+ "type": "structure",
+ "members": {
+ "accountId": {
+ "location": "uri",
+ "locationName": "accountId"
+ },
+ "vaultName": {
+ "location": "uri",
+ "locationName": "vaultName"
+ },
+ "jobId": {
+ "location": "uri",
+ "locationName": "jobId"
+ },
+ "range": {
+ "location": "header",
+ "locationName": "Range"
+ }
+ },
+ "required": [
+ "accountId",
+ "vaultName",
+ "jobId"
+ ]
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "body": {
+ "shape": "S10"
+ },
+ "checksum": {
+ "location": "header",
+ "locationName": "x-amz-sha256-tree-hash"
+ },
+ "status": {
+ "location": "statusCode",
+ "type": "integer"
+ },
+ "contentRange": {
+ "location": "header",
+ "locationName": "Content-Range"
+ },
+ "acceptRanges": {
+ "location": "header",
+ "locationName": "Accept-Ranges"
+ },
+ "contentType": {
+ "location": "header",
+ "locationName": "Content-Type"
+ },
+ "archiveDescription": {
+ "location": "header",
+ "locationName": "x-amz-archive-description"
+ }
+ },
+ "payload": "body"
+ }
+ },
+ "GetVaultAccessPolicy": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/{accountId}/vaults/{vaultName}/access-policy"
+ },
+ "input": {
+ "type": "structure",
+ "members": {
+ "accountId": {
+ "location": "uri",
+ "locationName": "accountId"
+ },
+ "vaultName": {
+ "location": "uri",
+ "locationName": "vaultName"
+ }
+ },
+ "required": [
+ "accountId",
+ "vaultName"
+ ]
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "policy": {
+ "shape": "S14"
+ }
+ },
+ "payload": "policy"
+ }
+ },
+ "GetVaultLock": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/{accountId}/vaults/{vaultName}/lock-policy"
+ },
+ "input": {
+ "type": "structure",
+ "members": {
+ "accountId": {
+ "location": "uri",
+ "locationName": "accountId"
+ },
+ "vaultName": {
+ "location": "uri",
+ "locationName": "vaultName"
+ }
+ },
+ "required": [
+ "accountId",
+ "vaultName"
+ ]
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Policy": {},
+ "State": {},
+ "ExpirationDate": {},
+ "CreationDate": {}
+ }
+ }
+ },
+ "GetVaultNotifications": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/{accountId}/vaults/{vaultName}/notification-configuration"
+ },
+ "input": {
+ "type": "structure",
+ "members": {
+ "accountId": {
+ "location": "uri",
+ "locationName": "accountId"
+ },
+ "vaultName": {
+ "location": "uri",
+ "locationName": "vaultName"
+ }
+ },
+ "required": [
+ "accountId",
+ "vaultName"
+ ]
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "vaultNotificationConfig": {
+ "shape": "S19"
+ }
+ },
+ "payload": "vaultNotificationConfig"
+ }
+ },
+ "InitiateJob": {
+ "http": {
+ "requestUri": "/{accountId}/vaults/{vaultName}/jobs",
+ "responseCode": 202
+ },
+ "input": {
+ "type": "structure",
+ "members": {
+ "accountId": {
+ "location": "uri",
+ "locationName": "accountId"
+ },
+ "vaultName": {
+ "location": "uri",
+ "locationName": "vaultName"
+ },
+ "jobParameters": {
+ "type": "structure",
+ "members": {
+ "Format": {},
+ "Type": {},
+ "ArchiveId": {},
+ "Description": {},
+ "SNSTopic": {},
+ "RetrievalByteRange": {},
+ "InventoryRetrievalParameters": {
+ "type": "structure",
+ "members": {
+ "StartDate": {},
+ "EndDate": {},
+ "Limit": {},
+ "Marker": {}
+ }
+ }
+ }
+ }
+ },
+ "required": [
+ "accountId",
+ "vaultName"
+ ],
+ "payload": "jobParameters"
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "location": {
+ "location": "header",
+ "locationName": "Location"
+ },
+ "jobId": {
+ "location": "header",
+ "locationName": "x-amz-job-id"
+ }
+ }
+ }
+ },
+ "InitiateMultipartUpload": {
+ "http": {
+ "requestUri": "/{accountId}/vaults/{vaultName}/multipart-uploads",
+ "responseCode": 201
+ },
+ "input": {
+ "type": "structure",
+ "members": {
+ "accountId": {
+ "location": "uri",
+ "locationName": "accountId"
+ },
+ "vaultName": {
+ "location": "uri",
+ "locationName": "vaultName"
+ },
+ "archiveDescription": {
+ "location": "header",
+ "locationName": "x-amz-archive-description"
+ },
+ "partSize": {
+ "location": "header",
+ "locationName": "x-amz-part-size"
+ }
+ },
+ "required": [
+ "accountId",
+ "vaultName"
+ ]
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "location": {
+ "location": "header",
+ "locationName": "Location"
+ },
+ "uploadId": {
+ "location": "header",
+ "locationName": "x-amz-multipart-upload-id"
+ }
+ }
+ }
+ },
+ "InitiateVaultLock": {
+ "http": {
+ "requestUri": "/{accountId}/vaults/{vaultName}/lock-policy",
+ "responseCode": 201
+ },
+ "input": {
+ "type": "structure",
+ "members": {
+ "accountId": {
+ "location": "uri",
+ "locationName": "accountId"
+ },
+ "vaultName": {
+ "location": "uri",
+ "locationName": "vaultName"
+ },
+ "policy": {
+ "type": "structure",
+ "members": {
+ "Policy": {}
+ }
+ }
+ },
+ "required": [
+ "accountId",
+ "vaultName"
+ ],
+ "payload": "policy"
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "lockId": {
+ "location": "header",
+ "locationName": "x-amz-lock-id"
+ }
+ }
+ }
+ },
+ "ListJobs": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/{accountId}/vaults/{vaultName}/jobs"
+ },
+ "input": {
+ "type": "structure",
+ "members": {
+ "accountId": {
+ "location": "uri",
+ "locationName": "accountId"
+ },
+ "vaultName": {
+ "location": "uri",
+ "locationName": "vaultName"
+ },
+ "limit": {
+ "location": "querystring",
+ "locationName": "limit"
+ },
+ "marker": {
+ "location": "querystring",
+ "locationName": "marker"
+ },
+ "statuscode": {
+ "location": "querystring",
+ "locationName": "statuscode"
+ },
+ "completed": {
+ "location": "querystring",
+ "locationName": "completed"
+ }
+ },
+ "required": [
+ "accountId",
+ "vaultName"
+ ]
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "JobList": {
+ "type": "list",
+ "member": {
+ "shape": "Si"
+ }
+ },
+ "Marker": {}
+ }
+ }
+ },
+ "ListMultipartUploads": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/{accountId}/vaults/{vaultName}/multipart-uploads"
+ },
+ "input": {
+ "type": "structure",
+ "members": {
+ "accountId": {
+ "location": "uri",
+ "locationName": "accountId"
+ },
+ "vaultName": {
+ "location": "uri",
+ "locationName": "vaultName"
+ },
+ "marker": {
+ "location": "querystring",
+ "locationName": "marker"
+ },
+ "limit": {
+ "location": "querystring",
+ "locationName": "limit"
+ }
+ },
+ "required": [
+ "accountId",
+ "vaultName"
+ ]
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "UploadsList": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "MultipartUploadId": {},
+ "VaultARN": {},
+ "ArchiveDescription": {},
+ "PartSizeInBytes": {
+ "type": "long"
+ },
+ "CreationDate": {}
+ }
+ }
+ },
+ "Marker": {}
+ }
+ }
+ },
+ "ListParts": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/{accountId}/vaults/{vaultName}/multipart-uploads/{uploadId}"
+ },
+ "input": {
+ "type": "structure",
+ "members": {
+ "accountId": {
+ "location": "uri",
+ "locationName": "accountId"
+ },
+ "vaultName": {
+ "location": "uri",
+ "locationName": "vaultName"
+ },
+ "uploadId": {
+ "location": "uri",
+ "locationName": "uploadId"
+ },
+ "marker": {
+ "location": "querystring",
+ "locationName": "marker"
+ },
+ "limit": {
+ "location": "querystring",
+ "locationName": "limit"
+ }
+ },
+ "required": [
+ "accountId",
+ "vaultName",
+ "uploadId"
+ ]
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "MultipartUploadId": {},
+ "VaultARN": {},
+ "ArchiveDescription": {},
+ "PartSizeInBytes": {
+ "type": "long"
+ },
+ "CreationDate": {},
+ "Parts": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "RangeInBytes": {},
+ "SHA256TreeHash": {}
+ }
+ }
+ },
+ "Marker": {}
+ }
+ }
+ },
+ "ListTagsForVault": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/{accountId}/vaults/{vaultName}/tags"
+ },
+ "input": {
+ "type": "structure",
+ "members": {
+ "accountId": {
+ "location": "uri",
+ "locationName": "accountId"
+ },
+ "vaultName": {
+ "location": "uri",
+ "locationName": "vaultName"
+ }
+ },
+ "required": [
+ "accountId",
+ "vaultName"
+ ]
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Tags": {
+ "shape": "S5"
+ }
+ }
+ }
+ },
+ "ListVaults": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/{accountId}/vaults"
+ },
+ "input": {
+ "type": "structure",
+ "members": {
+ "accountId": {
+ "location": "uri",
+ "locationName": "accountId"
+ },
+ "marker": {
+ "location": "querystring",
+ "locationName": "marker"
+ },
+ "limit": {
+ "location": "querystring",
+ "locationName": "limit"
+ }
+ },
+ "required": [
+ "accountId"
+ ]
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "VaultList": {
+ "type": "list",
+ "member": {
+ "shape": "Sq"
+ }
+ },
+ "Marker": {}
+ }
+ }
+ },
+ "RemoveTagsFromVault": {
+ "http": {
+ "requestUri": "/{accountId}/vaults/{vaultName}/tags?operation=remove",
+ "responseCode": 204
+ },
+ "input": {
+ "type": "structure",
+ "members": {
+ "accountId": {
+ "location": "uri",
+ "locationName": "accountId"
+ },
+ "vaultName": {
+ "location": "uri",
+ "locationName": "vaultName"
+ },
+ "TagKeys": {
+ "type": "list",
+ "member": {}
+ }
+ },
+ "required": [
+ "accountId",
+ "vaultName"
+ ]
+ }
+ },
+ "SetDataRetrievalPolicy": {
+ "http": {
+ "method": "PUT",
+ "requestUri": "/{accountId}/policies/data-retrieval",
+ "responseCode": 204
+ },
+ "input": {
+ "type": "structure",
+ "members": {
+ "accountId": {
+ "location": "uri",
+ "locationName": "accountId"
+ },
+ "Policy": {
+ "shape": "Su"
+ }
+ },
+ "required": [
+ "accountId"
+ ]
+ }
+ },
+ "SetVaultAccessPolicy": {
+ "http": {
+ "method": "PUT",
+ "requestUri": "/{accountId}/vaults/{vaultName}/access-policy",
+ "responseCode": 204
+ },
+ "input": {
+ "type": "structure",
+ "members": {
+ "accountId": {
+ "location": "uri",
+ "locationName": "accountId"
+ },
+ "vaultName": {
+ "location": "uri",
+ "locationName": "vaultName"
+ },
+ "policy": {
+ "shape": "S14"
+ }
+ },
+ "required": [
+ "accountId",
+ "vaultName"
+ ],
+ "payload": "policy"
+ }
+ },
+ "SetVaultNotifications": {
+ "http": {
+ "method": "PUT",
+ "requestUri": "/{accountId}/vaults/{vaultName}/notification-configuration",
+ "responseCode": 204
+ },
+ "input": {
+ "type": "structure",
+ "members": {
+ "accountId": {
+ "location": "uri",
+ "locationName": "accountId"
+ },
+ "vaultName": {
+ "location": "uri",
+ "locationName": "vaultName"
+ },
+ "vaultNotificationConfig": {
+ "shape": "S19"
+ }
+ },
+ "required": [
+ "accountId",
+ "vaultName"
+ ],
+ "payload": "vaultNotificationConfig"
+ }
+ },
+ "UploadArchive": {
+ "http": {
+ "requestUri": "/{accountId}/vaults/{vaultName}/archives",
+ "responseCode": 201
+ },
+ "input": {
+ "type": "structure",
+ "members": {
+ "vaultName": {
+ "location": "uri",
+ "locationName": "vaultName"
+ },
+ "accountId": {
+ "location": "uri",
+ "locationName": "accountId"
+ },
+ "archiveDescription": {
+ "location": "header",
+ "locationName": "x-amz-archive-description"
+ },
+ "checksum": {
+ "location": "header",
+ "locationName": "x-amz-sha256-tree-hash"
+ },
+ "body": {
+ "shape": "S10"
+ }
+ },
+ "required": [
+ "vaultName",
+ "accountId"
+ ],
+ "payload": "body"
+ },
+ "output": {
+ "shape": "S9"
+ }
+ },
+ "UploadMultipartPart": {
+ "http": {
+ "method": "PUT",
+ "requestUri": "/{accountId}/vaults/{vaultName}/multipart-uploads/{uploadId}",
+ "responseCode": 204
+ },
+ "input": {
+ "type": "structure",
+ "members": {
+ "accountId": {
+ "location": "uri",
+ "locationName": "accountId"
+ },
+ "vaultName": {
+ "location": "uri",
+ "locationName": "vaultName"
+ },
+ "uploadId": {
+ "location": "uri",
+ "locationName": "uploadId"
+ },
+ "checksum": {
+ "location": "header",
+ "locationName": "x-amz-sha256-tree-hash"
+ },
+ "range": {
+ "location": "header",
+ "locationName": "Content-Range"
+ },
+ "body": {
+ "shape": "S10"
+ }
+ },
+ "required": [
+ "accountId",
+ "vaultName",
+ "uploadId"
+ ],
+ "payload": "body"
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "checksum": {
+ "location": "header",
+ "locationName": "x-amz-sha256-tree-hash"
+ }
+ }
+ }
+ }
+ },
+ "shapes": {
+ "S5": {
+ "type": "map",
+ "key": {},
+ "value": {}
+ },
+ "S9": {
+ "type": "structure",
+ "members": {
+ "location": {
+ "location": "header",
+ "locationName": "Location"
+ },
+ "checksum": {
+ "location": "header",
+ "locationName": "x-amz-sha256-tree-hash"
+ },
+ "archiveId": {
+ "location": "header",
+ "locationName": "x-amz-archive-id"
+ }
+ }
+ },
+ "Si": {
+ "type": "structure",
+ "members": {
+ "JobId": {},
+ "JobDescription": {},
+ "Action": {},
+ "ArchiveId": {},
+ "VaultARN": {},
+ "CreationDate": {},
+ "Completed": {
+ "type": "boolean"
+ },
+ "StatusCode": {},
+ "StatusMessage": {},
+ "ArchiveSizeInBytes": {
+ "type": "long"
+ },
+ "InventorySizeInBytes": {
+ "type": "long"
+ },
+ "SNSTopic": {},
+ "CompletionDate": {},
+ "SHA256TreeHash": {},
+ "ArchiveSHA256TreeHash": {},
+ "RetrievalByteRange": {},
+ "InventoryRetrievalParameters": {
+ "type": "structure",
+ "members": {
+ "Format": {},
+ "StartDate": {},
+ "EndDate": {},
+ "Limit": {},
+ "Marker": {}
+ }
+ }
+ }
+ },
+ "Sq": {
+ "type": "structure",
+ "members": {
+ "VaultARN": {},
+ "VaultName": {},
+ "CreationDate": {},
+ "LastInventoryDate": {},
+ "NumberOfArchives": {
+ "type": "long"
+ },
+ "SizeInBytes": {
+ "type": "long"
+ }
+ }
+ },
+ "Su": {
+ "type": "structure",
+ "members": {
+ "Rules": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "Strategy": {},
+ "BytesPerHour": {
+ "type": "long"
+ }
+ }
+ }
+ }
+ }
+ },
+ "S10": {
+ "type": "blob",
+ "streaming": true
+ },
+ "S14": {
+ "type": "structure",
+ "members": {
+ "Policy": {}
+ }
+ },
+ "S19": {
+ "type": "structure",
+ "members": {
+ "SNSTopic": {},
+ "Events": {
+ "type": "list",
+ "member": {}
+ }
+ }
+ }
+ },
+ "examples": {}
+}
\ No newline at end of file
diff --git a/node_modules/aws-sdk/apis/glacier-2012-06-01.paginators.json b/node_modules/aws-sdk/apis/glacier-2012-06-01.paginators.json
new file mode 100644
index 0000000000000000000000000000000000000000..69691437ebbfb829146809240251c6be10085f12
--- /dev/null
+++ b/node_modules/aws-sdk/apis/glacier-2012-06-01.paginators.json
@@ -0,0 +1,28 @@
+{
+ "pagination": {
+ "ListJobs": {
+ "input_token": "marker",
+ "output_token": "Marker",
+ "limit_key": "limit",
+ "result_key": "JobList"
+ },
+ "ListMultipartUploads": {
+ "input_token": "marker",
+ "output_token": "Marker",
+ "limit_key": "limit",
+ "result_key": "UploadsList"
+ },
+ "ListParts": {
+ "input_token": "marker",
+ "output_token": "Marker",
+ "limit_key": "limit",
+ "result_key": "Parts"
+ },
+ "ListVaults": {
+ "input_token": "marker",
+ "output_token": "Marker",
+ "limit_key": "limit",
+ "result_key": "VaultList"
+ }
+ }
+}
diff --git a/node_modules/aws-sdk/apis/glacier-2012-06-01.waiters.json b/node_modules/aws-sdk/apis/glacier-2012-06-01.waiters.json
new file mode 100644
index 0000000000000000000000000000000000000000..170c2c76d145fd64ccff25a54581eb452c9a6348
--- /dev/null
+++ b/node_modules/aws-sdk/apis/glacier-2012-06-01.waiters.json
@@ -0,0 +1,23 @@
+{
+ "waiters": {
+ "__default__": {
+ "interval": 3,
+ "max_attempts": 15
+ },
+ "__VaultState": {
+ "operation": "DescribeVault"
+ },
+ "VaultExists": {
+ "extends": "__VaultState",
+ "ignore_errors": [
+ "ResourceNotFoundException"
+ ],
+ "success_type": "output"
+ },
+ "VaultNotExists": {
+ "extends": "__VaultState",
+ "success_type": "error",
+ "success_value": "ResourceNotFoundException"
+ }
+ }
+}
diff --git a/node_modules/aws-sdk/apis/iam-2010-05-08.min.json b/node_modules/aws-sdk/apis/iam-2010-05-08.min.json
new file mode 100644
index 0000000000000000000000000000000000000000..36e74c3b52270a3e335da50e2477ec9bac72818b
--- /dev/null
+++ b/node_modules/aws-sdk/apis/iam-2010-05-08.min.json
@@ -0,0 +1,2936 @@
+{
+ "version": "2.0",
+ "metadata": {
+ "apiVersion": "2010-05-08",
+ "endpointPrefix": "iam",
+ "globalEndpoint": "iam.amazonaws.com",
+ "protocol": "query",
+ "serviceAbbreviation": "IAM",
+ "serviceFullName": "AWS Identity and Access Management",
+ "signatureVersion": "v4",
+ "xmlNamespace": "https://iam.amazonaws.com/doc/2010-05-08/"
+ },
+ "operations": {
+ "AddClientIDToOpenIDConnectProvider": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "OpenIDConnectProviderArn",
+ "ClientID"
+ ],
+ "members": {
+ "OpenIDConnectProviderArn": {},
+ "ClientID": {}
+ }
+ }
+ },
+ "AddRoleToInstanceProfile": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "InstanceProfileName",
+ "RoleName"
+ ],
+ "members": {
+ "InstanceProfileName": {},
+ "RoleName": {}
+ }
+ }
+ },
+ "AddUserToGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "GroupName",
+ "UserName"
+ ],
+ "members": {
+ "GroupName": {},
+ "UserName": {}
+ }
+ }
+ },
+ "AttachGroupPolicy": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "GroupName",
+ "PolicyArn"
+ ],
+ "members": {
+ "GroupName": {},
+ "PolicyArn": {}
+ }
+ }
+ },
+ "AttachRolePolicy": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "RoleName",
+ "PolicyArn"
+ ],
+ "members": {
+ "RoleName": {},
+ "PolicyArn": {}
+ }
+ }
+ },
+ "AttachUserPolicy": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "UserName",
+ "PolicyArn"
+ ],
+ "members": {
+ "UserName": {},
+ "PolicyArn": {}
+ }
+ }
+ },
+ "ChangePassword": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "OldPassword",
+ "NewPassword"
+ ],
+ "members": {
+ "OldPassword": {
+ "shape": "Sf"
+ },
+ "NewPassword": {
+ "shape": "Sf"
+ }
+ }
+ }
+ },
+ "CreateAccessKey": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "UserName": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "CreateAccessKeyResult",
+ "type": "structure",
+ "required": [
+ "AccessKey"
+ ],
+ "members": {
+ "AccessKey": {
+ "type": "structure",
+ "required": [
+ "UserName",
+ "AccessKeyId",
+ "Status",
+ "SecretAccessKey"
+ ],
+ "members": {
+ "UserName": {},
+ "AccessKeyId": {},
+ "Status": {},
+ "SecretAccessKey": {
+ "type": "string",
+ "sensitive": true
+ },
+ "CreateDate": {
+ "type": "timestamp"
+ }
+ }
+ }
+ }
+ }
+ },
+ "CreateAccountAlias": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "AccountAlias"
+ ],
+ "members": {
+ "AccountAlias": {}
+ }
+ }
+ },
+ "CreateGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "GroupName"
+ ],
+ "members": {
+ "Path": {},
+ "GroupName": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "CreateGroupResult",
+ "type": "structure",
+ "required": [
+ "Group"
+ ],
+ "members": {
+ "Group": {
+ "shape": "Ss"
+ }
+ }
+ }
+ },
+ "CreateInstanceProfile": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "InstanceProfileName"
+ ],
+ "members": {
+ "InstanceProfileName": {},
+ "Path": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "CreateInstanceProfileResult",
+ "type": "structure",
+ "required": [
+ "InstanceProfile"
+ ],
+ "members": {
+ "InstanceProfile": {
+ "shape": "Sw"
+ }
+ }
+ }
+ },
+ "CreateLoginProfile": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "UserName",
+ "Password"
+ ],
+ "members": {
+ "UserName": {},
+ "Password": {
+ "shape": "Sf"
+ },
+ "PasswordResetRequired": {
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "CreateLoginProfileResult",
+ "type": "structure",
+ "required": [
+ "LoginProfile"
+ ],
+ "members": {
+ "LoginProfile": {
+ "shape": "S13"
+ }
+ }
+ }
+ },
+ "CreateOpenIDConnectProvider": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Url",
+ "ThumbprintList"
+ ],
+ "members": {
+ "Url": {},
+ "ClientIDList": {
+ "shape": "S16"
+ },
+ "ThumbprintList": {
+ "shape": "S17"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "CreateOpenIDConnectProviderResult",
+ "type": "structure",
+ "members": {
+ "OpenIDConnectProviderArn": {}
+ }
+ }
+ },
+ "CreatePolicy": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "PolicyName",
+ "PolicyDocument"
+ ],
+ "members": {
+ "PolicyName": {},
+ "Path": {},
+ "PolicyDocument": {},
+ "Description": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "CreatePolicyResult",
+ "type": "structure",
+ "members": {
+ "Policy": {
+ "shape": "S1f"
+ }
+ }
+ }
+ },
+ "CreatePolicyVersion": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "PolicyArn",
+ "PolicyDocument"
+ ],
+ "members": {
+ "PolicyArn": {},
+ "PolicyDocument": {},
+ "SetAsDefault": {
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "CreatePolicyVersionResult",
+ "type": "structure",
+ "members": {
+ "PolicyVersion": {
+ "shape": "S1k"
+ }
+ }
+ }
+ },
+ "CreateRole": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "RoleName",
+ "AssumeRolePolicyDocument"
+ ],
+ "members": {
+ "Path": {},
+ "RoleName": {},
+ "AssumeRolePolicyDocument": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "CreateRoleResult",
+ "type": "structure",
+ "required": [
+ "Role"
+ ],
+ "members": {
+ "Role": {
+ "shape": "Sy"
+ }
+ }
+ }
+ },
+ "CreateSAMLProvider": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "SAMLMetadataDocument",
+ "Name"
+ ],
+ "members": {
+ "SAMLMetadataDocument": {},
+ "Name": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "CreateSAMLProviderResult",
+ "type": "structure",
+ "members": {
+ "SAMLProviderArn": {}
+ }
+ }
+ },
+ "CreateUser": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "UserName"
+ ],
+ "members": {
+ "Path": {},
+ "UserName": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "CreateUserResult",
+ "type": "structure",
+ "members": {
+ "User": {
+ "shape": "S1t"
+ }
+ }
+ }
+ },
+ "CreateVirtualMFADevice": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "VirtualMFADeviceName"
+ ],
+ "members": {
+ "Path": {},
+ "VirtualMFADeviceName": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "CreateVirtualMFADeviceResult",
+ "type": "structure",
+ "required": [
+ "VirtualMFADevice"
+ ],
+ "members": {
+ "VirtualMFADevice": {
+ "shape": "S1x"
+ }
+ }
+ }
+ },
+ "DeactivateMFADevice": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "UserName",
+ "SerialNumber"
+ ],
+ "members": {
+ "UserName": {},
+ "SerialNumber": {}
+ }
+ }
+ },
+ "DeleteAccessKey": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "AccessKeyId"
+ ],
+ "members": {
+ "UserName": {},
+ "AccessKeyId": {}
+ }
+ }
+ },
+ "DeleteAccountAlias": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "AccountAlias"
+ ],
+ "members": {
+ "AccountAlias": {}
+ }
+ }
+ },
+ "DeleteAccountPasswordPolicy": {},
+ "DeleteGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "GroupName"
+ ],
+ "members": {
+ "GroupName": {}
+ }
+ }
+ },
+ "DeleteGroupPolicy": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "GroupName",
+ "PolicyName"
+ ],
+ "members": {
+ "GroupName": {},
+ "PolicyName": {}
+ }
+ }
+ },
+ "DeleteInstanceProfile": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "InstanceProfileName"
+ ],
+ "members": {
+ "InstanceProfileName": {}
+ }
+ }
+ },
+ "DeleteLoginProfile": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "UserName"
+ ],
+ "members": {
+ "UserName": {}
+ }
+ }
+ },
+ "DeleteOpenIDConnectProvider": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "OpenIDConnectProviderArn"
+ ],
+ "members": {
+ "OpenIDConnectProviderArn": {}
+ }
+ }
+ },
+ "DeletePolicy": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "PolicyArn"
+ ],
+ "members": {
+ "PolicyArn": {}
+ }
+ }
+ },
+ "DeletePolicyVersion": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "PolicyArn",
+ "VersionId"
+ ],
+ "members": {
+ "PolicyArn": {},
+ "VersionId": {}
+ }
+ }
+ },
+ "DeleteRole": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "RoleName"
+ ],
+ "members": {
+ "RoleName": {}
+ }
+ }
+ },
+ "DeleteRolePolicy": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "RoleName",
+ "PolicyName"
+ ],
+ "members": {
+ "RoleName": {},
+ "PolicyName": {}
+ }
+ }
+ },
+ "DeleteSAMLProvider": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "SAMLProviderArn"
+ ],
+ "members": {
+ "SAMLProviderArn": {}
+ }
+ }
+ },
+ "DeleteSSHPublicKey": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "UserName",
+ "SSHPublicKeyId"
+ ],
+ "members": {
+ "UserName": {},
+ "SSHPublicKeyId": {}
+ }
+ }
+ },
+ "DeleteServerCertificate": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ServerCertificateName"
+ ],
+ "members": {
+ "ServerCertificateName": {}
+ }
+ }
+ },
+ "DeleteSigningCertificate": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "CertificateId"
+ ],
+ "members": {
+ "UserName": {},
+ "CertificateId": {}
+ }
+ }
+ },
+ "DeleteUser": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "UserName"
+ ],
+ "members": {
+ "UserName": {}
+ }
+ }
+ },
+ "DeleteUserPolicy": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "UserName",
+ "PolicyName"
+ ],
+ "members": {
+ "UserName": {},
+ "PolicyName": {}
+ }
+ }
+ },
+ "DeleteVirtualMFADevice": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "SerialNumber"
+ ],
+ "members": {
+ "SerialNumber": {}
+ }
+ }
+ },
+ "DetachGroupPolicy": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "GroupName",
+ "PolicyArn"
+ ],
+ "members": {
+ "GroupName": {},
+ "PolicyArn": {}
+ }
+ }
+ },
+ "DetachRolePolicy": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "RoleName",
+ "PolicyArn"
+ ],
+ "members": {
+ "RoleName": {},
+ "PolicyArn": {}
+ }
+ }
+ },
+ "DetachUserPolicy": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "UserName",
+ "PolicyArn"
+ ],
+ "members": {
+ "UserName": {},
+ "PolicyArn": {}
+ }
+ }
+ },
+ "EnableMFADevice": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "UserName",
+ "SerialNumber",
+ "AuthenticationCode1",
+ "AuthenticationCode2"
+ ],
+ "members": {
+ "UserName": {},
+ "SerialNumber": {},
+ "AuthenticationCode1": {},
+ "AuthenticationCode2": {}
+ }
+ }
+ },
+ "GenerateCredentialReport": {
+ "output": {
+ "resultWrapper": "GenerateCredentialReportResult",
+ "type": "structure",
+ "members": {
+ "State": {},
+ "Description": {}
+ }
+ }
+ },
+ "GetAccessKeyLastUsed": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "AccessKeyId"
+ ],
+ "members": {
+ "AccessKeyId": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "GetAccessKeyLastUsedResult",
+ "type": "structure",
+ "members": {
+ "UserName": {},
+ "AccessKeyLastUsed": {
+ "type": "structure",
+ "required": [
+ "LastUsedDate",
+ "ServiceName",
+ "Region"
+ ],
+ "members": {
+ "LastUsedDate": {
+ "type": "timestamp"
+ },
+ "ServiceName": {},
+ "Region": {}
+ }
+ }
+ }
+ }
+ },
+ "GetAccountAuthorizationDetails": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "Filter": {
+ "type": "list",
+ "member": {}
+ },
+ "MaxItems": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "GetAccountAuthorizationDetailsResult",
+ "type": "structure",
+ "members": {
+ "UserDetailList": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "Path": {},
+ "UserName": {},
+ "UserId": {},
+ "Arn": {},
+ "CreateDate": {
+ "type": "timestamp"
+ },
+ "UserPolicyList": {
+ "shape": "S36"
+ },
+ "GroupList": {
+ "type": "list",
+ "member": {}
+ },
+ "AttachedManagedPolicies": {
+ "shape": "S39"
+ }
+ }
+ }
+ },
+ "GroupDetailList": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "Path": {},
+ "GroupName": {},
+ "GroupId": {},
+ "Arn": {},
+ "CreateDate": {
+ "type": "timestamp"
+ },
+ "GroupPolicyList": {
+ "shape": "S36"
+ },
+ "AttachedManagedPolicies": {
+ "shape": "S39"
+ }
+ }
+ }
+ },
+ "RoleDetailList": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "Path": {},
+ "RoleName": {},
+ "RoleId": {},
+ "Arn": {},
+ "CreateDate": {
+ "type": "timestamp"
+ },
+ "AssumeRolePolicyDocument": {},
+ "InstanceProfileList": {
+ "shape": "S3f"
+ },
+ "RolePolicyList": {
+ "shape": "S36"
+ },
+ "AttachedManagedPolicies": {
+ "shape": "S39"
+ }
+ }
+ }
+ },
+ "Policies": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "PolicyName": {},
+ "PolicyId": {},
+ "Arn": {},
+ "Path": {},
+ "DefaultVersionId": {},
+ "AttachmentCount": {
+ "type": "integer"
+ },
+ "IsAttachable": {
+ "type": "boolean"
+ },
+ "Description": {},
+ "CreateDate": {
+ "type": "timestamp"
+ },
+ "UpdateDate": {
+ "type": "timestamp"
+ },
+ "PolicyVersionList": {
+ "shape": "S3i"
+ }
+ }
+ }
+ },
+ "IsTruncated": {
+ "type": "boolean"
+ },
+ "Marker": {}
+ }
+ }
+ },
+ "GetAccountPasswordPolicy": {
+ "output": {
+ "resultWrapper": "GetAccountPasswordPolicyResult",
+ "type": "structure",
+ "required": [
+ "PasswordPolicy"
+ ],
+ "members": {
+ "PasswordPolicy": {
+ "type": "structure",
+ "members": {
+ "MinimumPasswordLength": {
+ "type": "integer"
+ },
+ "RequireSymbols": {
+ "type": "boolean"
+ },
+ "RequireNumbers": {
+ "type": "boolean"
+ },
+ "RequireUppercaseCharacters": {
+ "type": "boolean"
+ },
+ "RequireLowercaseCharacters": {
+ "type": "boolean"
+ },
+ "AllowUsersToChangePassword": {
+ "type": "boolean"
+ },
+ "ExpirePasswords": {
+ "type": "boolean"
+ },
+ "MaxPasswordAge": {
+ "type": "integer"
+ },
+ "PasswordReusePrevention": {
+ "type": "integer"
+ },
+ "HardExpiry": {
+ "type": "boolean"
+ }
+ }
+ }
+ }
+ }
+ },
+ "GetAccountSummary": {
+ "output": {
+ "resultWrapper": "GetAccountSummaryResult",
+ "type": "structure",
+ "members": {
+ "SummaryMap": {
+ "type": "map",
+ "key": {},
+ "value": {
+ "type": "integer"
+ }
+ }
+ }
+ }
+ },
+ "GetContextKeysForCustomPolicy": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "PolicyInputList"
+ ],
+ "members": {
+ "PolicyInputList": {
+ "shape": "S3u"
+ }
+ }
+ },
+ "output": {
+ "shape": "S3v",
+ "resultWrapper": "GetContextKeysForCustomPolicyResult"
+ }
+ },
+ "GetContextKeysForPrincipalPolicy": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "PolicySourceArn"
+ ],
+ "members": {
+ "PolicySourceArn": {},
+ "PolicyInputList": {
+ "shape": "S3u"
+ }
+ }
+ },
+ "output": {
+ "shape": "S3v",
+ "resultWrapper": "GetContextKeysForPrincipalPolicyResult"
+ }
+ },
+ "GetCredentialReport": {
+ "output": {
+ "resultWrapper": "GetCredentialReportResult",
+ "type": "structure",
+ "members": {
+ "Content": {
+ "type": "blob"
+ },
+ "ReportFormat": {},
+ "GeneratedTime": {
+ "type": "timestamp"
+ }
+ }
+ }
+ },
+ "GetGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "GroupName"
+ ],
+ "members": {
+ "GroupName": {},
+ "Marker": {},
+ "MaxItems": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "GetGroupResult",
+ "type": "structure",
+ "required": [
+ "Group",
+ "Users"
+ ],
+ "members": {
+ "Group": {
+ "shape": "Ss"
+ },
+ "Users": {
+ "shape": "S44"
+ },
+ "IsTruncated": {
+ "type": "boolean"
+ },
+ "Marker": {}
+ }
+ }
+ },
+ "GetGroupPolicy": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "GroupName",
+ "PolicyName"
+ ],
+ "members": {
+ "GroupName": {},
+ "PolicyName": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "GetGroupPolicyResult",
+ "type": "structure",
+ "required": [
+ "GroupName",
+ "PolicyName",
+ "PolicyDocument"
+ ],
+ "members": {
+ "GroupName": {},
+ "PolicyName": {},
+ "PolicyDocument": {}
+ }
+ }
+ },
+ "GetInstanceProfile": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "InstanceProfileName"
+ ],
+ "members": {
+ "InstanceProfileName": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "GetInstanceProfileResult",
+ "type": "structure",
+ "required": [
+ "InstanceProfile"
+ ],
+ "members": {
+ "InstanceProfile": {
+ "shape": "Sw"
+ }
+ }
+ }
+ },
+ "GetLoginProfile": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "UserName"
+ ],
+ "members": {
+ "UserName": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "GetLoginProfileResult",
+ "type": "structure",
+ "required": [
+ "LoginProfile"
+ ],
+ "members": {
+ "LoginProfile": {
+ "shape": "S13"
+ }
+ }
+ }
+ },
+ "GetOpenIDConnectProvider": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "OpenIDConnectProviderArn"
+ ],
+ "members": {
+ "OpenIDConnectProviderArn": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "GetOpenIDConnectProviderResult",
+ "type": "structure",
+ "members": {
+ "Url": {},
+ "ClientIDList": {
+ "shape": "S16"
+ },
+ "ThumbprintList": {
+ "shape": "S17"
+ },
+ "CreateDate": {
+ "type": "timestamp"
+ }
+ }
+ }
+ },
+ "GetPolicy": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "PolicyArn"
+ ],
+ "members": {
+ "PolicyArn": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "GetPolicyResult",
+ "type": "structure",
+ "members": {
+ "Policy": {
+ "shape": "S1f"
+ }
+ }
+ }
+ },
+ "GetPolicyVersion": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "PolicyArn",
+ "VersionId"
+ ],
+ "members": {
+ "PolicyArn": {},
+ "VersionId": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "GetPolicyVersionResult",
+ "type": "structure",
+ "members": {
+ "PolicyVersion": {
+ "shape": "S1k"
+ }
+ }
+ }
+ },
+ "GetRole": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "RoleName"
+ ],
+ "members": {
+ "RoleName": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "GetRoleResult",
+ "type": "structure",
+ "required": [
+ "Role"
+ ],
+ "members": {
+ "Role": {
+ "shape": "Sy"
+ }
+ }
+ }
+ },
+ "GetRolePolicy": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "RoleName",
+ "PolicyName"
+ ],
+ "members": {
+ "RoleName": {},
+ "PolicyName": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "GetRolePolicyResult",
+ "type": "structure",
+ "required": [
+ "RoleName",
+ "PolicyName",
+ "PolicyDocument"
+ ],
+ "members": {
+ "RoleName": {},
+ "PolicyName": {},
+ "PolicyDocument": {}
+ }
+ }
+ },
+ "GetSAMLProvider": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "SAMLProviderArn"
+ ],
+ "members": {
+ "SAMLProviderArn": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "GetSAMLProviderResult",
+ "type": "structure",
+ "members": {
+ "SAMLMetadataDocument": {},
+ "CreateDate": {
+ "type": "timestamp"
+ },
+ "ValidUntil": {
+ "type": "timestamp"
+ }
+ }
+ }
+ },
+ "GetSSHPublicKey": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "UserName",
+ "SSHPublicKeyId",
+ "Encoding"
+ ],
+ "members": {
+ "UserName": {},
+ "SSHPublicKeyId": {},
+ "Encoding": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "GetSSHPublicKeyResult",
+ "type": "structure",
+ "members": {
+ "SSHPublicKey": {
+ "shape": "S4q"
+ }
+ }
+ }
+ },
+ "GetServerCertificate": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ServerCertificateName"
+ ],
+ "members": {
+ "ServerCertificateName": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "GetServerCertificateResult",
+ "type": "structure",
+ "required": [
+ "ServerCertificate"
+ ],
+ "members": {
+ "ServerCertificate": {
+ "type": "structure",
+ "required": [
+ "ServerCertificateMetadata",
+ "CertificateBody"
+ ],
+ "members": {
+ "ServerCertificateMetadata": {
+ "shape": "S4w"
+ },
+ "CertificateBody": {},
+ "CertificateChain": {}
+ }
+ }
+ }
+ }
+ },
+ "GetUser": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "UserName": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "GetUserResult",
+ "type": "structure",
+ "required": [
+ "User"
+ ],
+ "members": {
+ "User": {
+ "shape": "S1t"
+ }
+ }
+ }
+ },
+ "GetUserPolicy": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "UserName",
+ "PolicyName"
+ ],
+ "members": {
+ "UserName": {},
+ "PolicyName": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "GetUserPolicyResult",
+ "type": "structure",
+ "required": [
+ "UserName",
+ "PolicyName",
+ "PolicyDocument"
+ ],
+ "members": {
+ "UserName": {},
+ "PolicyName": {},
+ "PolicyDocument": {}
+ }
+ }
+ },
+ "ListAccessKeys": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "UserName": {},
+ "Marker": {},
+ "MaxItems": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "ListAccessKeysResult",
+ "type": "structure",
+ "required": [
+ "AccessKeyMetadata"
+ ],
+ "members": {
+ "AccessKeyMetadata": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "UserName": {},
+ "AccessKeyId": {},
+ "Status": {},
+ "CreateDate": {
+ "type": "timestamp"
+ }
+ }
+ }
+ },
+ "IsTruncated": {
+ "type": "boolean"
+ },
+ "Marker": {}
+ }
+ }
+ },
+ "ListAccountAliases": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "Marker": {},
+ "MaxItems": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "ListAccountAliasesResult",
+ "type": "structure",
+ "required": [
+ "AccountAliases"
+ ],
+ "members": {
+ "AccountAliases": {
+ "type": "list",
+ "member": {}
+ },
+ "IsTruncated": {
+ "type": "boolean"
+ },
+ "Marker": {}
+ }
+ }
+ },
+ "ListAttachedGroupPolicies": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "GroupName"
+ ],
+ "members": {
+ "GroupName": {},
+ "PathPrefix": {},
+ "Marker": {},
+ "MaxItems": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "ListAttachedGroupPoliciesResult",
+ "type": "structure",
+ "members": {
+ "AttachedPolicies": {
+ "shape": "S39"
+ },
+ "IsTruncated": {
+ "type": "boolean"
+ },
+ "Marker": {}
+ }
+ }
+ },
+ "ListAttachedRolePolicies": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "RoleName"
+ ],
+ "members": {
+ "RoleName": {},
+ "PathPrefix": {},
+ "Marker": {},
+ "MaxItems": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "ListAttachedRolePoliciesResult",
+ "type": "structure",
+ "members": {
+ "AttachedPolicies": {
+ "shape": "S39"
+ },
+ "IsTruncated": {
+ "type": "boolean"
+ },
+ "Marker": {}
+ }
+ }
+ },
+ "ListAttachedUserPolicies": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "UserName"
+ ],
+ "members": {
+ "UserName": {},
+ "PathPrefix": {},
+ "Marker": {},
+ "MaxItems": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "ListAttachedUserPoliciesResult",
+ "type": "structure",
+ "members": {
+ "AttachedPolicies": {
+ "shape": "S39"
+ },
+ "IsTruncated": {
+ "type": "boolean"
+ },
+ "Marker": {}
+ }
+ }
+ },
+ "ListEntitiesForPolicy": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "PolicyArn"
+ ],
+ "members": {
+ "PolicyArn": {},
+ "EntityFilter": {},
+ "PathPrefix": {},
+ "Marker": {},
+ "MaxItems": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "ListEntitiesForPolicyResult",
+ "type": "structure",
+ "members": {
+ "PolicyGroups": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "GroupName": {},
+ "GroupId": {}
+ }
+ }
+ },
+ "PolicyUsers": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "UserName": {},
+ "UserId": {}
+ }
+ }
+ },
+ "PolicyRoles": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "RoleName": {},
+ "RoleId": {}
+ }
+ }
+ },
+ "IsTruncated": {
+ "type": "boolean"
+ },
+ "Marker": {}
+ }
+ }
+ },
+ "ListGroupPolicies": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "GroupName"
+ ],
+ "members": {
+ "GroupName": {},
+ "Marker": {},
+ "MaxItems": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "ListGroupPoliciesResult",
+ "type": "structure",
+ "required": [
+ "PolicyNames"
+ ],
+ "members": {
+ "PolicyNames": {
+ "shape": "S5q"
+ },
+ "IsTruncated": {
+ "type": "boolean"
+ },
+ "Marker": {}
+ }
+ }
+ },
+ "ListGroups": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "PathPrefix": {},
+ "Marker": {},
+ "MaxItems": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "ListGroupsResult",
+ "type": "structure",
+ "required": [
+ "Groups"
+ ],
+ "members": {
+ "Groups": {
+ "shape": "S5u"
+ },
+ "IsTruncated": {
+ "type": "boolean"
+ },
+ "Marker": {}
+ }
+ }
+ },
+ "ListGroupsForUser": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "UserName"
+ ],
+ "members": {
+ "UserName": {},
+ "Marker": {},
+ "MaxItems": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "ListGroupsForUserResult",
+ "type": "structure",
+ "required": [
+ "Groups"
+ ],
+ "members": {
+ "Groups": {
+ "shape": "S5u"
+ },
+ "IsTruncated": {
+ "type": "boolean"
+ },
+ "Marker": {}
+ }
+ }
+ },
+ "ListInstanceProfiles": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "PathPrefix": {},
+ "Marker": {},
+ "MaxItems": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "ListInstanceProfilesResult",
+ "type": "structure",
+ "required": [
+ "InstanceProfiles"
+ ],
+ "members": {
+ "InstanceProfiles": {
+ "shape": "S3f"
+ },
+ "IsTruncated": {
+ "type": "boolean"
+ },
+ "Marker": {}
+ }
+ }
+ },
+ "ListInstanceProfilesForRole": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "RoleName"
+ ],
+ "members": {
+ "RoleName": {},
+ "Marker": {},
+ "MaxItems": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "ListInstanceProfilesForRoleResult",
+ "type": "structure",
+ "required": [
+ "InstanceProfiles"
+ ],
+ "members": {
+ "InstanceProfiles": {
+ "shape": "S3f"
+ },
+ "IsTruncated": {
+ "type": "boolean"
+ },
+ "Marker": {}
+ }
+ }
+ },
+ "ListMFADevices": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "UserName": {},
+ "Marker": {},
+ "MaxItems": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "ListMFADevicesResult",
+ "type": "structure",
+ "required": [
+ "MFADevices"
+ ],
+ "members": {
+ "MFADevices": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "UserName",
+ "SerialNumber",
+ "EnableDate"
+ ],
+ "members": {
+ "UserName": {},
+ "SerialNumber": {},
+ "EnableDate": {
+ "type": "timestamp"
+ }
+ }
+ }
+ },
+ "IsTruncated": {
+ "type": "boolean"
+ },
+ "Marker": {}
+ }
+ }
+ },
+ "ListOpenIDConnectProviders": {
+ "input": {
+ "type": "structure",
+ "members": {}
+ },
+ "output": {
+ "resultWrapper": "ListOpenIDConnectProvidersResult",
+ "type": "structure",
+ "members": {
+ "OpenIDConnectProviderList": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "Arn": {}
+ }
+ }
+ }
+ }
+ }
+ },
+ "ListPolicies": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "Scope": {},
+ "OnlyAttached": {
+ "type": "boolean"
+ },
+ "PathPrefix": {},
+ "Marker": {},
+ "MaxItems": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "ListPoliciesResult",
+ "type": "structure",
+ "members": {
+ "Policies": {
+ "type": "list",
+ "member": {
+ "shape": "S1f"
+ }
+ },
+ "IsTruncated": {
+ "type": "boolean"
+ },
+ "Marker": {}
+ }
+ }
+ },
+ "ListPolicyVersions": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "PolicyArn"
+ ],
+ "members": {
+ "PolicyArn": {},
+ "Marker": {},
+ "MaxItems": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "ListPolicyVersionsResult",
+ "type": "structure",
+ "members": {
+ "Versions": {
+ "shape": "S3i"
+ },
+ "IsTruncated": {
+ "type": "boolean"
+ },
+ "Marker": {}
+ }
+ }
+ },
+ "ListRolePolicies": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "RoleName"
+ ],
+ "members": {
+ "RoleName": {},
+ "Marker": {},
+ "MaxItems": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "ListRolePoliciesResult",
+ "type": "structure",
+ "required": [
+ "PolicyNames"
+ ],
+ "members": {
+ "PolicyNames": {
+ "shape": "S5q"
+ },
+ "IsTruncated": {
+ "type": "boolean"
+ },
+ "Marker": {}
+ }
+ }
+ },
+ "ListRoles": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "PathPrefix": {},
+ "Marker": {},
+ "MaxItems": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "ListRolesResult",
+ "type": "structure",
+ "required": [
+ "Roles"
+ ],
+ "members": {
+ "Roles": {
+ "shape": "Sx"
+ },
+ "IsTruncated": {
+ "type": "boolean"
+ },
+ "Marker": {}
+ }
+ }
+ },
+ "ListSAMLProviders": {
+ "input": {
+ "type": "structure",
+ "members": {}
+ },
+ "output": {
+ "resultWrapper": "ListSAMLProvidersResult",
+ "type": "structure",
+ "members": {
+ "SAMLProviderList": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "Arn": {},
+ "ValidUntil": {
+ "type": "timestamp"
+ },
+ "CreateDate": {
+ "type": "timestamp"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "ListSSHPublicKeys": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "UserName": {},
+ "Marker": {},
+ "MaxItems": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "ListSSHPublicKeysResult",
+ "type": "structure",
+ "members": {
+ "SSHPublicKeys": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "UserName",
+ "SSHPublicKeyId",
+ "Status",
+ "UploadDate"
+ ],
+ "members": {
+ "UserName": {},
+ "SSHPublicKeyId": {},
+ "Status": {},
+ "UploadDate": {
+ "type": "timestamp"
+ }
+ }
+ }
+ },
+ "IsTruncated": {
+ "type": "boolean"
+ },
+ "Marker": {}
+ }
+ }
+ },
+ "ListServerCertificates": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "PathPrefix": {},
+ "Marker": {},
+ "MaxItems": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "ListServerCertificatesResult",
+ "type": "structure",
+ "required": [
+ "ServerCertificateMetadataList"
+ ],
+ "members": {
+ "ServerCertificateMetadataList": {
+ "type": "list",
+ "member": {
+ "shape": "S4w"
+ }
+ },
+ "IsTruncated": {
+ "type": "boolean"
+ },
+ "Marker": {}
+ }
+ }
+ },
+ "ListSigningCertificates": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "UserName": {},
+ "Marker": {},
+ "MaxItems": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "ListSigningCertificatesResult",
+ "type": "structure",
+ "required": [
+ "Certificates"
+ ],
+ "members": {
+ "Certificates": {
+ "type": "list",
+ "member": {
+ "shape": "S6x"
+ }
+ },
+ "IsTruncated": {
+ "type": "boolean"
+ },
+ "Marker": {}
+ }
+ }
+ },
+ "ListUserPolicies": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "UserName"
+ ],
+ "members": {
+ "UserName": {},
+ "Marker": {},
+ "MaxItems": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "ListUserPoliciesResult",
+ "type": "structure",
+ "required": [
+ "PolicyNames"
+ ],
+ "members": {
+ "PolicyNames": {
+ "shape": "S5q"
+ },
+ "IsTruncated": {
+ "type": "boolean"
+ },
+ "Marker": {}
+ }
+ }
+ },
+ "ListUsers": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "PathPrefix": {},
+ "Marker": {},
+ "MaxItems": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "ListUsersResult",
+ "type": "structure",
+ "required": [
+ "Users"
+ ],
+ "members": {
+ "Users": {
+ "shape": "S44"
+ },
+ "IsTruncated": {
+ "type": "boolean"
+ },
+ "Marker": {}
+ }
+ }
+ },
+ "ListVirtualMFADevices": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "AssignmentStatus": {},
+ "Marker": {},
+ "MaxItems": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "ListVirtualMFADevicesResult",
+ "type": "structure",
+ "required": [
+ "VirtualMFADevices"
+ ],
+ "members": {
+ "VirtualMFADevices": {
+ "type": "list",
+ "member": {
+ "shape": "S1x"
+ }
+ },
+ "IsTruncated": {
+ "type": "boolean"
+ },
+ "Marker": {}
+ }
+ }
+ },
+ "PutGroupPolicy": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "GroupName",
+ "PolicyName",
+ "PolicyDocument"
+ ],
+ "members": {
+ "GroupName": {},
+ "PolicyName": {},
+ "PolicyDocument": {}
+ }
+ }
+ },
+ "PutRolePolicy": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "RoleName",
+ "PolicyName",
+ "PolicyDocument"
+ ],
+ "members": {
+ "RoleName": {},
+ "PolicyName": {},
+ "PolicyDocument": {}
+ }
+ }
+ },
+ "PutUserPolicy": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "UserName",
+ "PolicyName",
+ "PolicyDocument"
+ ],
+ "members": {
+ "UserName": {},
+ "PolicyName": {},
+ "PolicyDocument": {}
+ }
+ }
+ },
+ "RemoveClientIDFromOpenIDConnectProvider": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "OpenIDConnectProviderArn",
+ "ClientID"
+ ],
+ "members": {
+ "OpenIDConnectProviderArn": {},
+ "ClientID": {}
+ }
+ }
+ },
+ "RemoveRoleFromInstanceProfile": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "InstanceProfileName",
+ "RoleName"
+ ],
+ "members": {
+ "InstanceProfileName": {},
+ "RoleName": {}
+ }
+ }
+ },
+ "RemoveUserFromGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "GroupName",
+ "UserName"
+ ],
+ "members": {
+ "GroupName": {},
+ "UserName": {}
+ }
+ }
+ },
+ "ResyncMFADevice": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "UserName",
+ "SerialNumber",
+ "AuthenticationCode1",
+ "AuthenticationCode2"
+ ],
+ "members": {
+ "UserName": {},
+ "SerialNumber": {},
+ "AuthenticationCode1": {},
+ "AuthenticationCode2": {}
+ }
+ }
+ },
+ "SetDefaultPolicyVersion": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "PolicyArn",
+ "VersionId"
+ ],
+ "members": {
+ "PolicyArn": {},
+ "VersionId": {}
+ }
+ }
+ },
+ "SimulateCustomPolicy": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "PolicyInputList",
+ "ActionNames"
+ ],
+ "members": {
+ "PolicyInputList": {
+ "shape": "S3u"
+ },
+ "ActionNames": {
+ "shape": "S7f"
+ },
+ "ResourceArns": {
+ "shape": "S7h"
+ },
+ "ResourcePolicy": {},
+ "ResourceOwner": {},
+ "CallerArn": {},
+ "ContextEntries": {
+ "shape": "S7j"
+ },
+ "ResourceHandlingOption": {},
+ "MaxItems": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "shape": "S7p",
+ "resultWrapper": "SimulateCustomPolicyResult"
+ }
+ },
+ "SimulatePrincipalPolicy": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "PolicySourceArn",
+ "ActionNames"
+ ],
+ "members": {
+ "PolicySourceArn": {},
+ "PolicyInputList": {
+ "shape": "S3u"
+ },
+ "ActionNames": {
+ "shape": "S7f"
+ },
+ "ResourceArns": {
+ "shape": "S7h"
+ },
+ "ResourcePolicy": {},
+ "ResourceOwner": {},
+ "CallerArn": {},
+ "ContextEntries": {
+ "shape": "S7j"
+ },
+ "ResourceHandlingOption": {},
+ "MaxItems": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "shape": "S7p",
+ "resultWrapper": "SimulatePrincipalPolicyResult"
+ }
+ },
+ "UpdateAccessKey": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "AccessKeyId",
+ "Status"
+ ],
+ "members": {
+ "UserName": {},
+ "AccessKeyId": {},
+ "Status": {}
+ }
+ }
+ },
+ "UpdateAccountPasswordPolicy": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "MinimumPasswordLength": {
+ "type": "integer"
+ },
+ "RequireSymbols": {
+ "type": "boolean"
+ },
+ "RequireNumbers": {
+ "type": "boolean"
+ },
+ "RequireUppercaseCharacters": {
+ "type": "boolean"
+ },
+ "RequireLowercaseCharacters": {
+ "type": "boolean"
+ },
+ "AllowUsersToChangePassword": {
+ "type": "boolean"
+ },
+ "MaxPasswordAge": {
+ "type": "integer"
+ },
+ "PasswordReusePrevention": {
+ "type": "integer"
+ },
+ "HardExpiry": {
+ "type": "boolean"
+ }
+ }
+ }
+ },
+ "UpdateAssumeRolePolicy": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "RoleName",
+ "PolicyDocument"
+ ],
+ "members": {
+ "RoleName": {},
+ "PolicyDocument": {}
+ }
+ }
+ },
+ "UpdateGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "GroupName"
+ ],
+ "members": {
+ "GroupName": {},
+ "NewPath": {},
+ "NewGroupName": {}
+ }
+ }
+ },
+ "UpdateLoginProfile": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "UserName"
+ ],
+ "members": {
+ "UserName": {},
+ "Password": {
+ "shape": "Sf"
+ },
+ "PasswordResetRequired": {
+ "type": "boolean"
+ }
+ }
+ }
+ },
+ "UpdateOpenIDConnectProviderThumbprint": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "OpenIDConnectProviderArn",
+ "ThumbprintList"
+ ],
+ "members": {
+ "OpenIDConnectProviderArn": {},
+ "ThumbprintList": {
+ "shape": "S17"
+ }
+ }
+ }
+ },
+ "UpdateSAMLProvider": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "SAMLMetadataDocument",
+ "SAMLProviderArn"
+ ],
+ "members": {
+ "SAMLMetadataDocument": {},
+ "SAMLProviderArn": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "UpdateSAMLProviderResult",
+ "type": "structure",
+ "members": {
+ "SAMLProviderArn": {}
+ }
+ }
+ },
+ "UpdateSSHPublicKey": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "UserName",
+ "SSHPublicKeyId",
+ "Status"
+ ],
+ "members": {
+ "UserName": {},
+ "SSHPublicKeyId": {},
+ "Status": {}
+ }
+ }
+ },
+ "UpdateServerCertificate": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ServerCertificateName"
+ ],
+ "members": {
+ "ServerCertificateName": {},
+ "NewPath": {},
+ "NewServerCertificateName": {}
+ }
+ }
+ },
+ "UpdateSigningCertificate": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "CertificateId",
+ "Status"
+ ],
+ "members": {
+ "UserName": {},
+ "CertificateId": {},
+ "Status": {}
+ }
+ }
+ },
+ "UpdateUser": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "UserName"
+ ],
+ "members": {
+ "UserName": {},
+ "NewPath": {},
+ "NewUserName": {}
+ }
+ }
+ },
+ "UploadSSHPublicKey": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "UserName",
+ "SSHPublicKeyBody"
+ ],
+ "members": {
+ "UserName": {},
+ "SSHPublicKeyBody": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "UploadSSHPublicKeyResult",
+ "type": "structure",
+ "members": {
+ "SSHPublicKey": {
+ "shape": "S4q"
+ }
+ }
+ }
+ },
+ "UploadServerCertificate": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ServerCertificateName",
+ "CertificateBody",
+ "PrivateKey"
+ ],
+ "members": {
+ "Path": {},
+ "ServerCertificateName": {},
+ "CertificateBody": {},
+ "PrivateKey": {
+ "type": "string",
+ "sensitive": true
+ },
+ "CertificateChain": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "UploadServerCertificateResult",
+ "type": "structure",
+ "members": {
+ "ServerCertificateMetadata": {
+ "shape": "S4w"
+ }
+ }
+ }
+ },
+ "UploadSigningCertificate": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "CertificateBody"
+ ],
+ "members": {
+ "UserName": {},
+ "CertificateBody": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "UploadSigningCertificateResult",
+ "type": "structure",
+ "required": [
+ "Certificate"
+ ],
+ "members": {
+ "Certificate": {
+ "shape": "S6x"
+ }
+ }
+ }
+ }
+ },
+ "shapes": {
+ "Sf": {
+ "type": "string",
+ "sensitive": true
+ },
+ "Ss": {
+ "type": "structure",
+ "required": [
+ "Path",
+ "GroupName",
+ "GroupId",
+ "Arn",
+ "CreateDate"
+ ],
+ "members": {
+ "Path": {},
+ "GroupName": {},
+ "GroupId": {},
+ "Arn": {},
+ "CreateDate": {
+ "type": "timestamp"
+ }
+ }
+ },
+ "Sw": {
+ "type": "structure",
+ "required": [
+ "Path",
+ "InstanceProfileName",
+ "InstanceProfileId",
+ "Arn",
+ "CreateDate",
+ "Roles"
+ ],
+ "members": {
+ "Path": {},
+ "InstanceProfileName": {},
+ "InstanceProfileId": {},
+ "Arn": {},
+ "CreateDate": {
+ "type": "timestamp"
+ },
+ "Roles": {
+ "shape": "Sx"
+ }
+ }
+ },
+ "Sx": {
+ "type": "list",
+ "member": {
+ "shape": "Sy"
+ }
+ },
+ "Sy": {
+ "type": "structure",
+ "required": [
+ "Path",
+ "RoleName",
+ "RoleId",
+ "Arn",
+ "CreateDate"
+ ],
+ "members": {
+ "Path": {},
+ "RoleName": {},
+ "RoleId": {},
+ "Arn": {},
+ "CreateDate": {
+ "type": "timestamp"
+ },
+ "AssumeRolePolicyDocument": {}
+ }
+ },
+ "S13": {
+ "type": "structure",
+ "required": [
+ "UserName",
+ "CreateDate"
+ ],
+ "members": {
+ "UserName": {},
+ "CreateDate": {
+ "type": "timestamp"
+ },
+ "PasswordResetRequired": {
+ "type": "boolean"
+ }
+ }
+ },
+ "S16": {
+ "type": "list",
+ "member": {}
+ },
+ "S17": {
+ "type": "list",
+ "member": {}
+ },
+ "S1f": {
+ "type": "structure",
+ "members": {
+ "PolicyName": {},
+ "PolicyId": {},
+ "Arn": {},
+ "Path": {},
+ "DefaultVersionId": {},
+ "AttachmentCount": {
+ "type": "integer"
+ },
+ "IsAttachable": {
+ "type": "boolean"
+ },
+ "Description": {},
+ "CreateDate": {
+ "type": "timestamp"
+ },
+ "UpdateDate": {
+ "type": "timestamp"
+ }
+ }
+ },
+ "S1k": {
+ "type": "structure",
+ "members": {
+ "Document": {},
+ "VersionId": {},
+ "IsDefaultVersion": {
+ "type": "boolean"
+ },
+ "CreateDate": {
+ "type": "timestamp"
+ }
+ }
+ },
+ "S1t": {
+ "type": "structure",
+ "required": [
+ "Path",
+ "UserName",
+ "UserId",
+ "Arn",
+ "CreateDate"
+ ],
+ "members": {
+ "Path": {},
+ "UserName": {},
+ "UserId": {},
+ "Arn": {},
+ "CreateDate": {
+ "type": "timestamp"
+ },
+ "PasswordLastUsed": {
+ "type": "timestamp"
+ }
+ }
+ },
+ "S1x": {
+ "type": "structure",
+ "required": [
+ "SerialNumber"
+ ],
+ "members": {
+ "SerialNumber": {},
+ "Base32StringSeed": {
+ "shape": "S1z"
+ },
+ "QRCodePNG": {
+ "shape": "S1z"
+ },
+ "User": {
+ "shape": "S1t"
+ },
+ "EnableDate": {
+ "type": "timestamp"
+ }
+ }
+ },
+ "S1z": {
+ "type": "blob",
+ "sensitive": true
+ },
+ "S36": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "PolicyName": {},
+ "PolicyDocument": {}
+ }
+ }
+ },
+ "S39": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "PolicyName": {},
+ "PolicyArn": {}
+ }
+ }
+ },
+ "S3f": {
+ "type": "list",
+ "member": {
+ "shape": "Sw"
+ }
+ },
+ "S3i": {
+ "type": "list",
+ "member": {
+ "shape": "S1k"
+ }
+ },
+ "S3u": {
+ "type": "list",
+ "member": {}
+ },
+ "S3v": {
+ "type": "structure",
+ "members": {
+ "ContextKeyNames": {
+ "shape": "S3w"
+ }
+ }
+ },
+ "S3w": {
+ "type": "list",
+ "member": {}
+ },
+ "S44": {
+ "type": "list",
+ "member": {
+ "shape": "S1t"
+ }
+ },
+ "S4q": {
+ "type": "structure",
+ "required": [
+ "UserName",
+ "SSHPublicKeyId",
+ "Fingerprint",
+ "SSHPublicKeyBody",
+ "Status"
+ ],
+ "members": {
+ "UserName": {},
+ "SSHPublicKeyId": {},
+ "Fingerprint": {},
+ "SSHPublicKeyBody": {},
+ "Status": {},
+ "UploadDate": {
+ "type": "timestamp"
+ }
+ }
+ },
+ "S4w": {
+ "type": "structure",
+ "required": [
+ "Path",
+ "ServerCertificateName",
+ "ServerCertificateId",
+ "Arn"
+ ],
+ "members": {
+ "Path": {},
+ "ServerCertificateName": {},
+ "ServerCertificateId": {},
+ "Arn": {},
+ "UploadDate": {
+ "type": "timestamp"
+ },
+ "Expiration": {
+ "type": "timestamp"
+ }
+ }
+ },
+ "S5q": {
+ "type": "list",
+ "member": {}
+ },
+ "S5u": {
+ "type": "list",
+ "member": {
+ "shape": "Ss"
+ }
+ },
+ "S6x": {
+ "type": "structure",
+ "required": [
+ "UserName",
+ "CertificateId",
+ "CertificateBody",
+ "Status"
+ ],
+ "members": {
+ "UserName": {},
+ "CertificateId": {},
+ "CertificateBody": {},
+ "Status": {},
+ "UploadDate": {
+ "type": "timestamp"
+ }
+ }
+ },
+ "S7f": {
+ "type": "list",
+ "member": {}
+ },
+ "S7h": {
+ "type": "list",
+ "member": {}
+ },
+ "S7j": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "ContextKeyName": {},
+ "ContextKeyValues": {
+ "type": "list",
+ "member": {}
+ },
+ "ContextKeyType": {}
+ }
+ }
+ },
+ "S7p": {
+ "type": "structure",
+ "members": {
+ "EvaluationResults": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "EvalActionName",
+ "EvalDecision"
+ ],
+ "members": {
+ "EvalActionName": {},
+ "EvalResourceName": {},
+ "EvalDecision": {},
+ "MatchedStatements": {
+ "shape": "S7t"
+ },
+ "MissingContextValues": {
+ "shape": "S3w"
+ },
+ "EvalDecisionDetails": {
+ "shape": "S80"
+ },
+ "ResourceSpecificResults": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "EvalResourceName",
+ "EvalResourceDecision"
+ ],
+ "members": {
+ "EvalResourceName": {},
+ "EvalResourceDecision": {},
+ "MatchedStatements": {
+ "shape": "S7t"
+ },
+ "MissingContextValues": {
+ "shape": "S3w"
+ },
+ "EvalDecisionDetails": {
+ "shape": "S80"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "IsTruncated": {
+ "type": "boolean"
+ },
+ "Marker": {}
+ }
+ },
+ "S7t": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "SourcePolicyId": {},
+ "SourcePolicyType": {},
+ "StartPosition": {
+ "shape": "S7x"
+ },
+ "EndPosition": {
+ "shape": "S7x"
+ }
+ }
+ }
+ },
+ "S7x": {
+ "type": "structure",
+ "members": {
+ "Line": {
+ "type": "integer"
+ },
+ "Column": {
+ "type": "integer"
+ }
+ }
+ },
+ "S80": {
+ "type": "map",
+ "key": {},
+ "value": {}
+ }
+ }
+}
\ No newline at end of file
diff --git a/node_modules/aws-sdk/apis/iam-2010-05-08.paginators.json b/node_modules/aws-sdk/apis/iam-2010-05-08.paginators.json
new file mode 100644
index 0000000000000000000000000000000000000000..dba6d1ecbc9128fd5e96cd1245e680e48e0fc210
--- /dev/null
+++ b/node_modules/aws-sdk/apis/iam-2010-05-08.paginators.json
@@ -0,0 +1,171 @@
+{
+ "pagination": {
+ "GetGroup": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "more_results": "IsTruncated",
+ "limit_key": "MaxItems",
+ "result_key": "Users"
+ },
+ "ListAccessKeys": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "more_results": "IsTruncated",
+ "limit_key": "MaxItems",
+ "result_key": "AccessKeyMetadata"
+ },
+ "ListAccountAliases": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "more_results": "IsTruncated",
+ "limit_key": "MaxItems",
+ "result_key": "AccountAliases"
+ },
+ "ListAttachedGroupPolicies": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "more_results": "IsTruncated",
+ "limit_key": "MaxItems",
+ "result_key": "AttachedPolicies"
+ },
+ "ListAttachedRolePolicies": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "more_results": "IsTruncated",
+ "limit_key": "MaxItems",
+ "result_key": "AttachedPolicies"
+ },
+ "ListAttachedUserPolicies": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "more_results": "IsTruncated",
+ "limit_key": "MaxItems",
+ "result_key": "AttachedPolicies"
+ },
+ "ListEntitiesForPolicy": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "more_results": "IsTruncated",
+ "limit_key": "MaxItems",
+ "result_key": [
+ "PolicyGroups",
+ "PolicyUsers",
+ "PolicyRoles"
+ ]
+ },
+ "ListGroupPolicies": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "more_results": "IsTruncated",
+ "limit_key": "MaxItems",
+ "result_key": "PolicyNames"
+ },
+ "ListGroups": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "more_results": "IsTruncated",
+ "limit_key": "MaxItems",
+ "result_key": "Groups"
+ },
+ "ListGroupsForUser": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "more_results": "IsTruncated",
+ "limit_key": "MaxItems",
+ "result_key": "Groups"
+ },
+ "ListInstanceProfiles": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "more_results": "IsTruncated",
+ "limit_key": "MaxItems",
+ "result_key": "InstanceProfiles"
+ },
+ "ListInstanceProfilesForRole": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "more_results": "IsTruncated",
+ "limit_key": "MaxItems",
+ "result_key": "InstanceProfiles"
+ },
+ "ListMFADevices": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "more_results": "IsTruncated",
+ "limit_key": "MaxItems",
+ "result_key": "MFADevices"
+ },
+ "ListPolicies": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "more_results": "IsTruncated",
+ "limit_key": "MaxItems",
+ "result_key": "Policies"
+ },
+ "ListPolicyVersions": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "more_results": "IsTruncated",
+ "limit_key": "MaxItems",
+ "result_key": "Versions"
+ },
+ "ListRolePolicies": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "more_results": "IsTruncated",
+ "limit_key": "MaxItems",
+ "result_key": "PolicyNames"
+ },
+ "ListRoles": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "more_results": "IsTruncated",
+ "limit_key": "MaxItems",
+ "result_key": "Roles"
+ },
+ "ListSAMLProviders": {
+ "result_key": "SAMLProviderList"
+ },
+ "ListServerCertificates": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "more_results": "IsTruncated",
+ "limit_key": "MaxItems",
+ "result_key": "ServerCertificateMetadataList"
+ },
+ "ListSigningCertificates": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "more_results": "IsTruncated",
+ "limit_key": "MaxItems",
+ "result_key": "Certificates"
+ },
+ "ListUserPolicies": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "more_results": "IsTruncated",
+ "limit_key": "MaxItems",
+ "result_key": "PolicyNames"
+ },
+ "ListUsers": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "more_results": "IsTruncated",
+ "limit_key": "MaxItems",
+ "result_key": "Users"
+ },
+ "ListVirtualMFADevices": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "more_results": "IsTruncated",
+ "limit_key": "MaxItems",
+ "result_key": "VirtualMFADevices"
+ },
+ "GetAccountAuthorizationDetails": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "more_results": "IsTruncated",
+ "limit_key": "MaxItems"
+ }
+ }
+}
diff --git a/node_modules/aws-sdk/apis/importexport-2010-06-01.min.json b/node_modules/aws-sdk/apis/importexport-2010-06-01.min.json
new file mode 100644
index 0000000000000000000000000000000000000000..429d4e61ceb642e1c685b4b2a6d15952a7d383e9
--- /dev/null
+++ b/node_modules/aws-sdk/apis/importexport-2010-06-01.min.json
@@ -0,0 +1,242 @@
+{
+ "version": "2.0",
+ "metadata": {
+ "apiVersion": "2010-06-01",
+ "endpointPrefix": "importexport",
+ "globalEndpoint": "importexport.amazonaws.com",
+ "serviceFullName": "AWS Import/Export",
+ "signatureVersion": "v2",
+ "xmlNamespace": "http://importexport.amazonaws.com/doc/2010-06-01/",
+ "protocol": "query"
+ },
+ "operations": {
+ "CancelJob": {
+ "http": {
+ "requestUri": "/?Operation=CancelJob"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "JobId"
+ ],
+ "members": {
+ "JobId": {},
+ "APIVersion": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "CancelJobResult",
+ "type": "structure",
+ "members": {
+ "Success": {
+ "type": "boolean"
+ }
+ }
+ }
+ },
+ "CreateJob": {
+ "http": {
+ "requestUri": "/?Operation=CreateJob"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "JobType",
+ "Manifest",
+ "ValidateOnly"
+ ],
+ "members": {
+ "JobType": {},
+ "Manifest": {},
+ "ManifestAddendum": {},
+ "ValidateOnly": {
+ "type": "boolean"
+ },
+ "APIVersion": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "CreateJobResult",
+ "type": "structure",
+ "members": {
+ "JobId": {},
+ "JobType": {},
+ "Signature": {},
+ "SignatureFileContents": {},
+ "WarningMessage": {},
+ "ArtifactList": {
+ "shape": "Sf"
+ }
+ }
+ }
+ },
+ "GetShippingLabel": {
+ "http": {
+ "requestUri": "/?Operation=GetShippingLabel"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "jobIds"
+ ],
+ "members": {
+ "jobIds": {
+ "type": "list",
+ "member": {}
+ },
+ "name": {},
+ "company": {},
+ "phoneNumber": {},
+ "country": {},
+ "stateOrProvince": {},
+ "city": {},
+ "postalCode": {},
+ "street1": {},
+ "street2": {},
+ "street3": {},
+ "APIVersion": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "GetShippingLabelResult",
+ "type": "structure",
+ "members": {
+ "ShippingLabelURL": {},
+ "Warning": {}
+ }
+ }
+ },
+ "GetStatus": {
+ "http": {
+ "requestUri": "/?Operation=GetStatus"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "JobId"
+ ],
+ "members": {
+ "JobId": {},
+ "APIVersion": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "GetStatusResult",
+ "type": "structure",
+ "members": {
+ "JobId": {},
+ "JobType": {},
+ "LocationCode": {},
+ "LocationMessage": {},
+ "ProgressCode": {},
+ "ProgressMessage": {},
+ "Carrier": {},
+ "TrackingNumber": {},
+ "LogBucket": {},
+ "LogKey": {},
+ "ErrorCount": {
+ "type": "integer"
+ },
+ "Signature": {},
+ "SignatureFileContents": {},
+ "CurrentManifest": {},
+ "CreationDate": {
+ "type": "timestamp"
+ },
+ "ArtifactList": {
+ "shape": "Sf"
+ }
+ }
+ }
+ },
+ "ListJobs": {
+ "http": {
+ "requestUri": "/?Operation=ListJobs"
+ },
+ "input": {
+ "type": "structure",
+ "members": {
+ "MaxJobs": {
+ "type": "integer"
+ },
+ "Marker": {},
+ "APIVersion": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "ListJobsResult",
+ "type": "structure",
+ "members": {
+ "Jobs": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "JobId": {},
+ "CreationDate": {
+ "type": "timestamp"
+ },
+ "IsCanceled": {
+ "type": "boolean"
+ },
+ "JobType": {}
+ }
+ }
+ },
+ "IsTruncated": {
+ "type": "boolean"
+ }
+ }
+ }
+ },
+ "UpdateJob": {
+ "http": {
+ "requestUri": "/?Operation=UpdateJob"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "JobId",
+ "Manifest",
+ "JobType",
+ "ValidateOnly"
+ ],
+ "members": {
+ "JobId": {},
+ "Manifest": {},
+ "JobType": {},
+ "ValidateOnly": {
+ "type": "boolean"
+ },
+ "APIVersion": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "UpdateJobResult",
+ "type": "structure",
+ "members": {
+ "Success": {
+ "type": "boolean"
+ },
+ "WarningMessage": {},
+ "ArtifactList": {
+ "shape": "Sf"
+ }
+ }
+ }
+ }
+ },
+ "shapes": {
+ "Sf": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "Description": {},
+ "URL": {}
+ }
+ }
+ }
+ },
+ "examples": {}
+}
\ No newline at end of file
diff --git a/node_modules/aws-sdk/apis/importexport-2010-06-01.paginators.json b/node_modules/aws-sdk/apis/importexport-2010-06-01.paginators.json
new file mode 100644
index 0000000000000000000000000000000000000000..702385ea6f75964ebc5c7c48aa0b439d38827fcc
--- /dev/null
+++ b/node_modules/aws-sdk/apis/importexport-2010-06-01.paginators.json
@@ -0,0 +1,11 @@
+{
+ "pagination": {
+ "ListJobs": {
+ "input_token": "Marker",
+ "output_token": "Jobs[-1].JobId",
+ "more_results": "IsTruncated",
+ "limit_key": "MaxJobs",
+ "result_key": "Jobs"
+ }
+ }
+}
diff --git a/node_modules/aws-sdk/apis/inspector-2016-02-16.min.json b/node_modules/aws-sdk/apis/inspector-2016-02-16.min.json
new file mode 100644
index 0000000000000000000000000000000000000000..f7ca893aac96e49901ee8ddba30539337cab12f1
--- /dev/null
+++ b/node_modules/aws-sdk/apis/inspector-2016-02-16.min.json
@@ -0,0 +1,1248 @@
+{
+ "version": "2.0",
+ "metadata": {
+ "apiVersion": "2016-02-16",
+ "endpointPrefix": "inspector",
+ "jsonVersion": "1.1",
+ "protocol": "json",
+ "serviceFullName": "Amazon Inspector",
+ "signatureVersion": "v4",
+ "targetPrefix": "InspectorService"
+ },
+ "operations": {
+ "AddAttributesToFindings": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "findingArns",
+ "attributes"
+ ],
+ "members": {
+ "findingArns": {
+ "shape": "S2"
+ },
+ "attributes": {
+ "shape": "S4"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "failedItems"
+ ],
+ "members": {
+ "failedItems": {
+ "shape": "S9"
+ }
+ }
+ }
+ },
+ "CreateAssessmentTarget": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "assessmentTargetName",
+ "resourceGroupArn"
+ ],
+ "members": {
+ "assessmentTargetName": {},
+ "resourceGroupArn": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "assessmentTargetArn"
+ ],
+ "members": {
+ "assessmentTargetArn": {}
+ }
+ }
+ },
+ "CreateAssessmentTemplate": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "assessmentTargetArn",
+ "assessmentTemplateName",
+ "durationInSeconds",
+ "rulesPackageArns"
+ ],
+ "members": {
+ "assessmentTargetArn": {},
+ "assessmentTemplateName": {},
+ "durationInSeconds": {
+ "type": "integer"
+ },
+ "rulesPackageArns": {
+ "shape": "Sj"
+ },
+ "userAttributesForFindings": {
+ "shape": "S4"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "assessmentTemplateArn"
+ ],
+ "members": {
+ "assessmentTemplateArn": {}
+ }
+ }
+ },
+ "CreateResourceGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "resourceGroupTags"
+ ],
+ "members": {
+ "resourceGroupTags": {
+ "shape": "Sm"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "resourceGroupArn"
+ ],
+ "members": {
+ "resourceGroupArn": {}
+ }
+ }
+ },
+ "DeleteAssessmentRun": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "assessmentRunArn"
+ ],
+ "members": {
+ "assessmentRunArn": {}
+ }
+ }
+ },
+ "DeleteAssessmentTarget": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "assessmentTargetArn"
+ ],
+ "members": {
+ "assessmentTargetArn": {}
+ }
+ }
+ },
+ "DeleteAssessmentTemplate": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "assessmentTemplateArn"
+ ],
+ "members": {
+ "assessmentTemplateArn": {}
+ }
+ }
+ },
+ "DescribeAssessmentRuns": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "assessmentRunArns"
+ ],
+ "members": {
+ "assessmentRunArns": {
+ "shape": "Sv"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "assessmentRuns",
+ "failedItems"
+ ],
+ "members": {
+ "assessmentRuns": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "arn",
+ "name",
+ "assessmentTemplateArn",
+ "state",
+ "durationInSeconds",
+ "rulesPackageArns",
+ "userAttributesForFindings",
+ "createdAt",
+ "stateChangedAt",
+ "dataCollected",
+ "stateChanges",
+ "notifications"
+ ],
+ "members": {
+ "arn": {},
+ "name": {},
+ "assessmentTemplateArn": {},
+ "state": {},
+ "durationInSeconds": {
+ "type": "integer"
+ },
+ "rulesPackageArns": {
+ "type": "list",
+ "member": {}
+ },
+ "userAttributesForFindings": {
+ "shape": "S4"
+ },
+ "createdAt": {
+ "type": "timestamp"
+ },
+ "startedAt": {
+ "type": "timestamp"
+ },
+ "completedAt": {
+ "type": "timestamp"
+ },
+ "stateChangedAt": {
+ "type": "timestamp"
+ },
+ "dataCollected": {
+ "type": "boolean"
+ },
+ "stateChanges": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "stateChangedAt",
+ "state"
+ ],
+ "members": {
+ "stateChangedAt": {
+ "type": "timestamp"
+ },
+ "state": {}
+ }
+ }
+ },
+ "notifications": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "date",
+ "event",
+ "error"
+ ],
+ "members": {
+ "date": {
+ "type": "timestamp"
+ },
+ "event": {},
+ "message": {},
+ "error": {
+ "type": "boolean"
+ },
+ "snsTopicArn": {},
+ "snsPublishStatusCode": {}
+ }
+ }
+ }
+ }
+ }
+ },
+ "failedItems": {
+ "shape": "S9"
+ }
+ }
+ }
+ },
+ "DescribeAssessmentTargets": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "assessmentTargetArns"
+ ],
+ "members": {
+ "assessmentTargetArns": {
+ "shape": "Sv"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "assessmentTargets",
+ "failedItems"
+ ],
+ "members": {
+ "assessmentTargets": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "arn",
+ "name",
+ "resourceGroupArn",
+ "createdAt",
+ "updatedAt"
+ ],
+ "members": {
+ "arn": {},
+ "name": {},
+ "resourceGroupArn": {},
+ "createdAt": {
+ "type": "timestamp"
+ },
+ "updatedAt": {
+ "type": "timestamp"
+ }
+ }
+ }
+ },
+ "failedItems": {
+ "shape": "S9"
+ }
+ }
+ }
+ },
+ "DescribeAssessmentTemplates": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "assessmentTemplateArns"
+ ],
+ "members": {
+ "assessmentTemplateArns": {
+ "shape": "Sv"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "assessmentTemplates",
+ "failedItems"
+ ],
+ "members": {
+ "assessmentTemplates": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "arn",
+ "name",
+ "assessmentTargetArn",
+ "durationInSeconds",
+ "rulesPackageArns",
+ "userAttributesForFindings",
+ "createdAt"
+ ],
+ "members": {
+ "arn": {},
+ "name": {},
+ "assessmentTargetArn": {},
+ "durationInSeconds": {
+ "type": "integer"
+ },
+ "rulesPackageArns": {
+ "shape": "Sj"
+ },
+ "userAttributesForFindings": {
+ "shape": "S4"
+ },
+ "createdAt": {
+ "type": "timestamp"
+ }
+ }
+ }
+ },
+ "failedItems": {
+ "shape": "S9"
+ }
+ }
+ }
+ },
+ "DescribeCrossAccountAccessRole": {
+ "output": {
+ "type": "structure",
+ "required": [
+ "roleArn",
+ "valid",
+ "registeredAt"
+ ],
+ "members": {
+ "roleArn": {},
+ "valid": {
+ "type": "boolean"
+ },
+ "registeredAt": {
+ "type": "timestamp"
+ }
+ }
+ }
+ },
+ "DescribeFindings": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "findingArns"
+ ],
+ "members": {
+ "findingArns": {
+ "shape": "Sv"
+ },
+ "locale": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "findings",
+ "failedItems"
+ ],
+ "members": {
+ "findings": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "arn",
+ "attributes",
+ "userAttributes",
+ "createdAt",
+ "updatedAt"
+ ],
+ "members": {
+ "arn": {},
+ "schemaVersion": {
+ "type": "integer"
+ },
+ "service": {},
+ "serviceAttributes": {
+ "type": "structure",
+ "required": [
+ "schemaVersion"
+ ],
+ "members": {
+ "schemaVersion": {
+ "type": "integer"
+ },
+ "assessmentRunArn": {},
+ "rulesPackageArn": {}
+ }
+ },
+ "assetType": {},
+ "assetAttributes": {
+ "type": "structure",
+ "required": [
+ "schemaVersion"
+ ],
+ "members": {
+ "schemaVersion": {
+ "type": "integer"
+ },
+ "agentId": {},
+ "autoScalingGroup": {},
+ "amiId": {},
+ "hostname": {},
+ "ipv4Addresses": {
+ "type": "list",
+ "member": {}
+ }
+ }
+ },
+ "id": {},
+ "title": {},
+ "description": {},
+ "recommendation": {},
+ "severity": {},
+ "numericSeverity": {
+ "type": "double"
+ },
+ "confidence": {
+ "type": "integer"
+ },
+ "indicatorOfCompromise": {
+ "type": "boolean"
+ },
+ "attributes": {
+ "shape": "S24"
+ },
+ "userAttributes": {
+ "shape": "S4"
+ },
+ "createdAt": {
+ "type": "timestamp"
+ },
+ "updatedAt": {
+ "type": "timestamp"
+ }
+ }
+ }
+ },
+ "failedItems": {
+ "shape": "S9"
+ }
+ }
+ }
+ },
+ "DescribeResourceGroups": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "resourceGroupArns"
+ ],
+ "members": {
+ "resourceGroupArns": {
+ "shape": "Sv"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "resourceGroups",
+ "failedItems"
+ ],
+ "members": {
+ "resourceGroups": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "arn",
+ "tags",
+ "createdAt"
+ ],
+ "members": {
+ "arn": {},
+ "tags": {
+ "shape": "Sm"
+ },
+ "createdAt": {
+ "type": "timestamp"
+ }
+ }
+ }
+ },
+ "failedItems": {
+ "shape": "S9"
+ }
+ }
+ }
+ },
+ "DescribeRulesPackages": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "rulesPackageArns"
+ ],
+ "members": {
+ "rulesPackageArns": {
+ "shape": "Sv"
+ },
+ "locale": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "rulesPackages",
+ "failedItems"
+ ],
+ "members": {
+ "rulesPackages": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "arn",
+ "name",
+ "version",
+ "provider"
+ ],
+ "members": {
+ "arn": {},
+ "name": {},
+ "version": {},
+ "provider": {},
+ "description": {}
+ }
+ }
+ },
+ "failedItems": {
+ "shape": "S9"
+ }
+ }
+ }
+ },
+ "GetTelemetryMetadata": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "assessmentRunArn"
+ ],
+ "members": {
+ "assessmentRunArn": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "telemetryMetadata"
+ ],
+ "members": {
+ "telemetryMetadata": {
+ "shape": "S2i"
+ }
+ }
+ }
+ },
+ "ListAssessmentRunAgents": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "assessmentRunArn"
+ ],
+ "members": {
+ "assessmentRunArn": {},
+ "filter": {
+ "type": "structure",
+ "required": [
+ "agentHealths",
+ "agentHealthCodes"
+ ],
+ "members": {
+ "agentHealths": {
+ "type": "list",
+ "member": {}
+ },
+ "agentHealthCodes": {
+ "type": "list",
+ "member": {}
+ }
+ }
+ },
+ "nextToken": {},
+ "maxResults": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "assessmentRunAgents"
+ ],
+ "members": {
+ "assessmentRunAgents": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "agentId",
+ "assessmentRunArn",
+ "agentHealth",
+ "agentHealthCode",
+ "telemetryMetadata"
+ ],
+ "members": {
+ "agentId": {},
+ "assessmentRunArn": {},
+ "agentHealth": {},
+ "agentHealthCode": {},
+ "agentHealthDetails": {},
+ "autoScalingGroup": {},
+ "telemetryMetadata": {
+ "shape": "S2i"
+ }
+ }
+ }
+ },
+ "nextToken": {}
+ }
+ }
+ },
+ "ListAssessmentRuns": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "assessmentTemplateArns": {
+ "shape": "S2y"
+ },
+ "filter": {
+ "type": "structure",
+ "members": {
+ "namePattern": {},
+ "states": {
+ "type": "list",
+ "member": {}
+ },
+ "durationRange": {
+ "shape": "S32"
+ },
+ "rulesPackageArns": {
+ "shape": "S33"
+ },
+ "startTimeRange": {
+ "shape": "S34"
+ },
+ "completionTimeRange": {
+ "shape": "S34"
+ },
+ "stateChangeTimeRange": {
+ "shape": "S34"
+ }
+ }
+ },
+ "nextToken": {},
+ "maxResults": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "assessmentRunArns"
+ ],
+ "members": {
+ "assessmentRunArns": {
+ "shape": "S36"
+ },
+ "nextToken": {}
+ }
+ }
+ },
+ "ListAssessmentTargets": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "filter": {
+ "type": "structure",
+ "members": {
+ "assessmentTargetNamePattern": {}
+ }
+ },
+ "nextToken": {},
+ "maxResults": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "assessmentTargetArns"
+ ],
+ "members": {
+ "assessmentTargetArns": {
+ "shape": "S36"
+ },
+ "nextToken": {}
+ }
+ }
+ },
+ "ListAssessmentTemplates": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "assessmentTargetArns": {
+ "shape": "S2y"
+ },
+ "filter": {
+ "type": "structure",
+ "members": {
+ "namePattern": {},
+ "durationRange": {
+ "shape": "S32"
+ },
+ "rulesPackageArns": {
+ "shape": "S33"
+ }
+ }
+ },
+ "nextToken": {},
+ "maxResults": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "assessmentTemplateArns"
+ ],
+ "members": {
+ "assessmentTemplateArns": {
+ "shape": "S36"
+ },
+ "nextToken": {}
+ }
+ }
+ },
+ "ListEventSubscriptions": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "resourceArn": {},
+ "nextToken": {},
+ "maxResults": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "subscriptions"
+ ],
+ "members": {
+ "subscriptions": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "resourceArn",
+ "topicArn",
+ "eventSubscriptions"
+ ],
+ "members": {
+ "resourceArn": {},
+ "topicArn": {},
+ "eventSubscriptions": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "event",
+ "subscribedAt"
+ ],
+ "members": {
+ "event": {},
+ "subscribedAt": {
+ "type": "timestamp"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "nextToken": {}
+ }
+ }
+ },
+ "ListFindings": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "assessmentRunArns": {
+ "shape": "S2y"
+ },
+ "filter": {
+ "type": "structure",
+ "members": {
+ "agentIds": {
+ "type": "list",
+ "member": {}
+ },
+ "autoScalingGroups": {
+ "type": "list",
+ "member": {}
+ },
+ "ruleNames": {
+ "type": "list",
+ "member": {}
+ },
+ "severities": {
+ "type": "list",
+ "member": {}
+ },
+ "rulesPackageArns": {
+ "shape": "S33"
+ },
+ "attributes": {
+ "shape": "S24"
+ },
+ "userAttributes": {
+ "shape": "S24"
+ },
+ "creationTimeRange": {
+ "shape": "S34"
+ }
+ }
+ },
+ "nextToken": {},
+ "maxResults": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "findingArns"
+ ],
+ "members": {
+ "findingArns": {
+ "shape": "S36"
+ },
+ "nextToken": {}
+ }
+ }
+ },
+ "ListRulesPackages": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "nextToken": {},
+ "maxResults": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "rulesPackageArns"
+ ],
+ "members": {
+ "rulesPackageArns": {
+ "shape": "S36"
+ },
+ "nextToken": {}
+ }
+ }
+ },
+ "ListTagsForResource": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "resourceArn"
+ ],
+ "members": {
+ "resourceArn": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "tags"
+ ],
+ "members": {
+ "tags": {
+ "shape": "S3w"
+ }
+ }
+ }
+ },
+ "PreviewAgents": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "previewAgentsArn"
+ ],
+ "members": {
+ "previewAgentsArn": {},
+ "nextToken": {},
+ "maxResults": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "agentPreviews"
+ ],
+ "members": {
+ "agentPreviews": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "agentId"
+ ],
+ "members": {
+ "agentId": {},
+ "autoScalingGroup": {}
+ }
+ }
+ },
+ "nextToken": {}
+ }
+ }
+ },
+ "RegisterCrossAccountAccessRole": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "roleArn"
+ ],
+ "members": {
+ "roleArn": {}
+ }
+ }
+ },
+ "RemoveAttributesFromFindings": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "findingArns",
+ "attributeKeys"
+ ],
+ "members": {
+ "findingArns": {
+ "shape": "S2"
+ },
+ "attributeKeys": {
+ "type": "list",
+ "member": {}
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "failedItems"
+ ],
+ "members": {
+ "failedItems": {
+ "shape": "S9"
+ }
+ }
+ }
+ },
+ "SetTagsForResource": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "resourceArn"
+ ],
+ "members": {
+ "resourceArn": {},
+ "tags": {
+ "shape": "S3w"
+ }
+ }
+ }
+ },
+ "StartAssessmentRun": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "assessmentTemplateArn"
+ ],
+ "members": {
+ "assessmentTemplateArn": {},
+ "assessmentRunName": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "assessmentRunArn"
+ ],
+ "members": {
+ "assessmentRunArn": {}
+ }
+ }
+ },
+ "StopAssessmentRun": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "assessmentRunArn"
+ ],
+ "members": {
+ "assessmentRunArn": {}
+ }
+ }
+ },
+ "SubscribeToEvent": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "resourceArn",
+ "event",
+ "topicArn"
+ ],
+ "members": {
+ "resourceArn": {},
+ "event": {},
+ "topicArn": {}
+ }
+ }
+ },
+ "UnsubscribeFromEvent": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "resourceArn",
+ "event",
+ "topicArn"
+ ],
+ "members": {
+ "resourceArn": {},
+ "event": {},
+ "topicArn": {}
+ }
+ }
+ },
+ "UpdateAssessmentTarget": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "assessmentTargetArn",
+ "assessmentTargetName",
+ "resourceGroupArn"
+ ],
+ "members": {
+ "assessmentTargetArn": {},
+ "assessmentTargetName": {},
+ "resourceGroupArn": {}
+ }
+ }
+ }
+ },
+ "shapes": {
+ "S2": {
+ "type": "list",
+ "member": {}
+ },
+ "S4": {
+ "type": "list",
+ "member": {
+ "shape": "S5"
+ }
+ },
+ "S5": {
+ "type": "structure",
+ "required": [
+ "key"
+ ],
+ "members": {
+ "key": {},
+ "value": {}
+ }
+ },
+ "S9": {
+ "type": "map",
+ "key": {},
+ "value": {
+ "type": "structure",
+ "required": [
+ "failureCode",
+ "retryable"
+ ],
+ "members": {
+ "failureCode": {},
+ "retryable": {
+ "type": "boolean"
+ }
+ }
+ }
+ },
+ "Sj": {
+ "type": "list",
+ "member": {}
+ },
+ "Sm": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "key"
+ ],
+ "members": {
+ "key": {},
+ "value": {}
+ }
+ }
+ },
+ "Sv": {
+ "type": "list",
+ "member": {}
+ },
+ "S24": {
+ "type": "list",
+ "member": {
+ "shape": "S5"
+ }
+ },
+ "S2i": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "messageType",
+ "count"
+ ],
+ "members": {
+ "messageType": {},
+ "count": {
+ "type": "long"
+ },
+ "dataSize": {
+ "type": "long"
+ }
+ }
+ }
+ },
+ "S2y": {
+ "type": "list",
+ "member": {}
+ },
+ "S32": {
+ "type": "structure",
+ "members": {
+ "minSeconds": {
+ "type": "integer"
+ },
+ "maxSeconds": {
+ "type": "integer"
+ }
+ }
+ },
+ "S33": {
+ "type": "list",
+ "member": {}
+ },
+ "S34": {
+ "type": "structure",
+ "members": {
+ "beginDate": {
+ "type": "timestamp"
+ },
+ "endDate": {
+ "type": "timestamp"
+ }
+ }
+ },
+ "S36": {
+ "type": "list",
+ "member": {}
+ },
+ "S3w": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "key"
+ ],
+ "members": {
+ "key": {},
+ "value": {}
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/node_modules/aws-sdk/apis/iot-2015-05-28.min.json b/node_modules/aws-sdk/apis/iot-2015-05-28.min.json
new file mode 100644
index 0000000000000000000000000000000000000000..e26dc166dc4d50cb06701b403c8444d999aa0597
--- /dev/null
+++ b/node_modules/aws-sdk/apis/iot-2015-05-28.min.json
@@ -0,0 +1,1351 @@
+{
+ "version": "2.0",
+ "metadata": {
+ "apiVersion": "2015-05-28",
+ "endpointPrefix": "iot",
+ "serviceFullName": "AWS IoT",
+ "signatureVersion": "v4",
+ "signingName": "execute-api",
+ "protocol": "rest-json"
+ },
+ "operations": {
+ "AcceptCertificateTransfer": {
+ "http": {
+ "method": "PATCH",
+ "requestUri": "/accept-certificate-transfer/{certificateId}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "certificateId"
+ ],
+ "members": {
+ "certificateId": {
+ "location": "uri",
+ "locationName": "certificateId"
+ },
+ "setAsActive": {
+ "location": "querystring",
+ "locationName": "setAsActive",
+ "type": "boolean"
+ }
+ }
+ }
+ },
+ "AttachPrincipalPolicy": {
+ "http": {
+ "method": "PUT",
+ "requestUri": "/principal-policies/{policyName}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "policyName",
+ "principal"
+ ],
+ "members": {
+ "policyName": {
+ "location": "uri",
+ "locationName": "policyName"
+ },
+ "principal": {
+ "location": "header",
+ "locationName": "x-amzn-iot-principal"
+ }
+ }
+ }
+ },
+ "AttachThingPrincipal": {
+ "http": {
+ "method": "PUT",
+ "requestUri": "/things/{thingName}/principals"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "thingName",
+ "principal"
+ ],
+ "members": {
+ "thingName": {
+ "location": "uri",
+ "locationName": "thingName"
+ },
+ "principal": {
+ "location": "header",
+ "locationName": "x-amzn-principal"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {}
+ }
+ },
+ "CancelCertificateTransfer": {
+ "http": {
+ "method": "PATCH",
+ "requestUri": "/cancel-certificate-transfer/{certificateId}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "certificateId"
+ ],
+ "members": {
+ "certificateId": {
+ "location": "uri",
+ "locationName": "certificateId"
+ }
+ }
+ }
+ },
+ "CreateCertificateFromCsr": {
+ "http": {
+ "requestUri": "/certificates"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "certificateSigningRequest"
+ ],
+ "members": {
+ "certificateSigningRequest": {},
+ "setAsActive": {
+ "location": "querystring",
+ "locationName": "setAsActive",
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "certificateArn": {},
+ "certificateId": {},
+ "certificatePem": {}
+ }
+ }
+ },
+ "CreateKeysAndCertificate": {
+ "http": {
+ "requestUri": "/keys-and-certificate"
+ },
+ "input": {
+ "type": "structure",
+ "members": {
+ "setAsActive": {
+ "location": "querystring",
+ "locationName": "setAsActive",
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "certificateArn": {},
+ "certificateId": {},
+ "certificatePem": {},
+ "keyPair": {
+ "type": "structure",
+ "members": {
+ "PublicKey": {},
+ "PrivateKey": {
+ "type": "string",
+ "sensitive": true
+ }
+ }
+ }
+ }
+ }
+ },
+ "CreatePolicy": {
+ "http": {
+ "requestUri": "/policies/{policyName}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "policyName",
+ "policyDocument"
+ ],
+ "members": {
+ "policyName": {
+ "location": "uri",
+ "locationName": "policyName"
+ },
+ "policyDocument": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "policyName": {},
+ "policyArn": {},
+ "policyDocument": {},
+ "policyVersionId": {}
+ }
+ }
+ },
+ "CreatePolicyVersion": {
+ "http": {
+ "requestUri": "/policies/{policyName}/version"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "policyName",
+ "policyDocument"
+ ],
+ "members": {
+ "policyName": {
+ "location": "uri",
+ "locationName": "policyName"
+ },
+ "policyDocument": {},
+ "setAsDefault": {
+ "location": "querystring",
+ "locationName": "setAsDefault",
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "policyArn": {},
+ "policyDocument": {},
+ "policyVersionId": {},
+ "isDefaultVersion": {
+ "type": "boolean"
+ }
+ }
+ }
+ },
+ "CreateThing": {
+ "http": {
+ "requestUri": "/things/{thingName}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "thingName"
+ ],
+ "members": {
+ "thingName": {
+ "location": "uri",
+ "locationName": "thingName"
+ },
+ "attributePayload": {
+ "shape": "Sv"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "thingName": {},
+ "thingArn": {}
+ }
+ }
+ },
+ "CreateTopicRule": {
+ "http": {
+ "requestUri": "/rules/{ruleName}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "ruleName",
+ "topicRulePayload"
+ ],
+ "members": {
+ "ruleName": {
+ "location": "uri",
+ "locationName": "ruleName"
+ },
+ "topicRulePayload": {
+ "shape": "S13"
+ }
+ },
+ "payload": "topicRulePayload"
+ }
+ },
+ "DeleteCertificate": {
+ "http": {
+ "method": "DELETE",
+ "requestUri": "/certificates/{certificateId}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "certificateId"
+ ],
+ "members": {
+ "certificateId": {
+ "location": "uri",
+ "locationName": "certificateId"
+ }
+ }
+ }
+ },
+ "DeletePolicy": {
+ "http": {
+ "method": "DELETE",
+ "requestUri": "/policies/{policyName}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "policyName"
+ ],
+ "members": {
+ "policyName": {
+ "location": "uri",
+ "locationName": "policyName"
+ }
+ }
+ }
+ },
+ "DeletePolicyVersion": {
+ "http": {
+ "method": "DELETE",
+ "requestUri": "/policies/{policyName}/version/{policyVersionId}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "policyName",
+ "policyVersionId"
+ ],
+ "members": {
+ "policyName": {
+ "location": "uri",
+ "locationName": "policyName"
+ },
+ "policyVersionId": {
+ "location": "uri",
+ "locationName": "policyVersionId"
+ }
+ }
+ }
+ },
+ "DeleteThing": {
+ "http": {
+ "method": "DELETE",
+ "requestUri": "/things/{thingName}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "thingName"
+ ],
+ "members": {
+ "thingName": {
+ "location": "uri",
+ "locationName": "thingName"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {}
+ }
+ },
+ "DeleteTopicRule": {
+ "http": {
+ "method": "DELETE",
+ "requestUri": "/rules/{ruleName}"
+ },
+ "input": {
+ "type": "structure",
+ "members": {
+ "ruleName": {
+ "location": "uri",
+ "locationName": "ruleName"
+ }
+ },
+ "required": [
+ "ruleName"
+ ]
+ }
+ },
+ "DescribeCertificate": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/certificates/{certificateId}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "certificateId"
+ ],
+ "members": {
+ "certificateId": {
+ "location": "uri",
+ "locationName": "certificateId"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "certificateDescription": {
+ "type": "structure",
+ "members": {
+ "certificateArn": {},
+ "certificateId": {},
+ "status": {},
+ "certificatePem": {},
+ "ownedBy": {},
+ "creationDate": {
+ "type": "timestamp"
+ },
+ "lastModifiedDate": {
+ "type": "timestamp"
+ }
+ }
+ }
+ }
+ }
+ },
+ "DescribeEndpoint": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/endpoint"
+ },
+ "input": {
+ "type": "structure",
+ "members": {}
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "endpointAddress": {}
+ }
+ }
+ },
+ "DescribeThing": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/things/{thingName}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "thingName"
+ ],
+ "members": {
+ "thingName": {
+ "location": "uri",
+ "locationName": "thingName"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "defaultClientId": {},
+ "thingName": {},
+ "attributes": {
+ "shape": "Sw"
+ }
+ }
+ }
+ },
+ "DetachPrincipalPolicy": {
+ "http": {
+ "method": "DELETE",
+ "requestUri": "/principal-policies/{policyName}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "policyName",
+ "principal"
+ ],
+ "members": {
+ "policyName": {
+ "location": "uri",
+ "locationName": "policyName"
+ },
+ "principal": {
+ "location": "header",
+ "locationName": "x-amzn-iot-principal"
+ }
+ }
+ }
+ },
+ "DetachThingPrincipal": {
+ "http": {
+ "method": "DELETE",
+ "requestUri": "/things/{thingName}/principals"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "thingName",
+ "principal"
+ ],
+ "members": {
+ "thingName": {
+ "location": "uri",
+ "locationName": "thingName"
+ },
+ "principal": {
+ "location": "header",
+ "locationName": "x-amzn-principal"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {}
+ }
+ },
+ "DisableTopicRule": {
+ "http": {
+ "requestUri": "/rules/{ruleName}/disable"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "ruleName"
+ ],
+ "members": {
+ "ruleName": {
+ "location": "uri",
+ "locationName": "ruleName"
+ }
+ }
+ }
+ },
+ "EnableTopicRule": {
+ "http": {
+ "requestUri": "/rules/{ruleName}/enable"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "ruleName"
+ ],
+ "members": {
+ "ruleName": {
+ "location": "uri",
+ "locationName": "ruleName"
+ }
+ }
+ }
+ },
+ "GetLoggingOptions": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/loggingOptions"
+ },
+ "input": {
+ "type": "structure",
+ "members": {}
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "roleArn": {},
+ "logLevel": {}
+ }
+ }
+ },
+ "GetPolicy": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/policies/{policyName}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "policyName"
+ ],
+ "members": {
+ "policyName": {
+ "location": "uri",
+ "locationName": "policyName"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "policyName": {},
+ "policyArn": {},
+ "policyDocument": {},
+ "defaultVersionId": {}
+ }
+ }
+ },
+ "GetPolicyVersion": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/policies/{policyName}/version/{policyVersionId}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "policyName",
+ "policyVersionId"
+ ],
+ "members": {
+ "policyName": {
+ "location": "uri",
+ "locationName": "policyName"
+ },
+ "policyVersionId": {
+ "location": "uri",
+ "locationName": "policyVersionId"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "policyArn": {},
+ "policyName": {},
+ "policyDocument": {},
+ "policyVersionId": {},
+ "isDefaultVersion": {
+ "type": "boolean"
+ }
+ }
+ }
+ },
+ "GetTopicRule": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/rules/{ruleName}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "ruleName"
+ ],
+ "members": {
+ "ruleName": {
+ "location": "uri",
+ "locationName": "ruleName"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "ruleArn": {},
+ "rule": {
+ "type": "structure",
+ "members": {
+ "ruleName": {},
+ "sql": {},
+ "description": {},
+ "createdAt": {
+ "type": "timestamp"
+ },
+ "actions": {
+ "shape": "S16"
+ },
+ "ruleDisabled": {
+ "type": "boolean"
+ }
+ }
+ }
+ }
+ }
+ },
+ "ListCertificates": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/certificates"
+ },
+ "input": {
+ "type": "structure",
+ "members": {
+ "pageSize": {
+ "location": "querystring",
+ "locationName": "pageSize",
+ "type": "integer"
+ },
+ "marker": {
+ "location": "querystring",
+ "locationName": "marker"
+ },
+ "ascendingOrder": {
+ "location": "querystring",
+ "locationName": "isAscendingOrder",
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "certificates": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "certificateArn": {},
+ "certificateId": {},
+ "status": {},
+ "creationDate": {
+ "type": "timestamp"
+ }
+ }
+ }
+ },
+ "nextMarker": {}
+ }
+ }
+ },
+ "ListPolicies": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/policies"
+ },
+ "input": {
+ "type": "structure",
+ "members": {
+ "marker": {
+ "location": "querystring",
+ "locationName": "marker"
+ },
+ "pageSize": {
+ "location": "querystring",
+ "locationName": "pageSize",
+ "type": "integer"
+ },
+ "ascendingOrder": {
+ "location": "querystring",
+ "locationName": "isAscendingOrder",
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "policies": {
+ "shape": "S3l"
+ },
+ "nextMarker": {}
+ }
+ }
+ },
+ "ListPolicyVersions": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/policies/{policyName}/version"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "policyName"
+ ],
+ "members": {
+ "policyName": {
+ "location": "uri",
+ "locationName": "policyName"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "policyVersions": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "versionId": {},
+ "isDefaultVersion": {
+ "type": "boolean"
+ },
+ "createDate": {
+ "type": "timestamp"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "ListPrincipalPolicies": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/principal-policies"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "principal"
+ ],
+ "members": {
+ "principal": {
+ "location": "header",
+ "locationName": "x-amzn-iot-principal"
+ },
+ "marker": {
+ "location": "querystring",
+ "locationName": "marker"
+ },
+ "pageSize": {
+ "location": "querystring",
+ "locationName": "pageSize",
+ "type": "integer"
+ },
+ "ascendingOrder": {
+ "location": "querystring",
+ "locationName": "isAscendingOrder",
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "policies": {
+ "shape": "S3l"
+ },
+ "nextMarker": {}
+ }
+ }
+ },
+ "ListPrincipalThings": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/principals/things"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "principal"
+ ],
+ "members": {
+ "nextToken": {
+ "location": "querystring",
+ "locationName": "nextToken"
+ },
+ "maxResults": {
+ "location": "querystring",
+ "locationName": "maxResults",
+ "type": "integer"
+ },
+ "principal": {
+ "location": "header",
+ "locationName": "x-amzn-principal"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "things": {
+ "type": "list",
+ "member": {}
+ },
+ "nextToken": {}
+ }
+ }
+ },
+ "ListThingPrincipals": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/things/{thingName}/principals"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "thingName"
+ ],
+ "members": {
+ "thingName": {
+ "location": "uri",
+ "locationName": "thingName"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "principals": {
+ "type": "list",
+ "member": {}
+ }
+ }
+ }
+ },
+ "ListThings": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/things"
+ },
+ "input": {
+ "type": "structure",
+ "members": {
+ "nextToken": {
+ "location": "querystring",
+ "locationName": "nextToken"
+ },
+ "maxResults": {
+ "location": "querystring",
+ "locationName": "maxResults",
+ "type": "integer"
+ },
+ "attributeName": {
+ "location": "querystring",
+ "locationName": "attributeName"
+ },
+ "attributeValue": {
+ "location": "querystring",
+ "locationName": "attributeValue"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "things": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "thingName": {},
+ "attributes": {
+ "shape": "Sw"
+ }
+ }
+ }
+ },
+ "nextToken": {}
+ }
+ }
+ },
+ "ListTopicRules": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/rules"
+ },
+ "input": {
+ "type": "structure",
+ "members": {
+ "topic": {
+ "location": "querystring",
+ "locationName": "topic"
+ },
+ "maxResults": {
+ "location": "querystring",
+ "locationName": "maxResults",
+ "type": "integer"
+ },
+ "nextToken": {
+ "location": "querystring",
+ "locationName": "nextToken"
+ },
+ "ruleDisabled": {
+ "location": "querystring",
+ "locationName": "ruleDisabled",
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "rules": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "ruleArn": {},
+ "ruleName": {},
+ "topicPattern": {},
+ "createdAt": {
+ "type": "timestamp"
+ },
+ "ruleDisabled": {
+ "type": "boolean"
+ }
+ }
+ }
+ },
+ "nextToken": {}
+ }
+ }
+ },
+ "RejectCertificateTransfer": {
+ "http": {
+ "method": "PATCH",
+ "requestUri": "/reject-certificate-transfer/{certificateId}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "certificateId"
+ ],
+ "members": {
+ "certificateId": {
+ "location": "uri",
+ "locationName": "certificateId"
+ }
+ }
+ }
+ },
+ "ReplaceTopicRule": {
+ "http": {
+ "method": "PATCH",
+ "requestUri": "/rules/{ruleName}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "ruleName",
+ "topicRulePayload"
+ ],
+ "members": {
+ "ruleName": {
+ "location": "uri",
+ "locationName": "ruleName"
+ },
+ "topicRulePayload": {
+ "shape": "S13"
+ }
+ },
+ "payload": "topicRulePayload"
+ }
+ },
+ "SetDefaultPolicyVersion": {
+ "http": {
+ "method": "PATCH",
+ "requestUri": "/policies/{policyName}/version/{policyVersionId}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "policyName",
+ "policyVersionId"
+ ],
+ "members": {
+ "policyName": {
+ "location": "uri",
+ "locationName": "policyName"
+ },
+ "policyVersionId": {
+ "location": "uri",
+ "locationName": "policyVersionId"
+ }
+ }
+ }
+ },
+ "SetLoggingOptions": {
+ "http": {
+ "requestUri": "/loggingOptions"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "loggingOptionsPayload"
+ ],
+ "members": {
+ "loggingOptionsPayload": {
+ "type": "structure",
+ "required": [
+ "roleArn"
+ ],
+ "members": {
+ "roleArn": {},
+ "logLevel": {}
+ }
+ }
+ },
+ "payload": "loggingOptionsPayload"
+ }
+ },
+ "TransferCertificate": {
+ "http": {
+ "method": "PATCH",
+ "requestUri": "/transfer-certificate/{certificateId}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "certificateId",
+ "targetAwsAccount"
+ ],
+ "members": {
+ "certificateId": {
+ "location": "uri",
+ "locationName": "certificateId"
+ },
+ "targetAwsAccount": {
+ "location": "querystring",
+ "locationName": "targetAwsAccount"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "transferredCertificateArn": {}
+ }
+ }
+ },
+ "UpdateCertificate": {
+ "http": {
+ "method": "PUT",
+ "requestUri": "/certificates/{certificateId}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "certificateId",
+ "newStatus"
+ ],
+ "members": {
+ "certificateId": {
+ "location": "uri",
+ "locationName": "certificateId"
+ },
+ "newStatus": {
+ "location": "querystring",
+ "locationName": "newStatus"
+ }
+ }
+ }
+ },
+ "UpdateThing": {
+ "http": {
+ "method": "PATCH",
+ "requestUri": "/things/{thingName}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "thingName",
+ "attributePayload"
+ ],
+ "members": {
+ "thingName": {
+ "location": "uri",
+ "locationName": "thingName"
+ },
+ "attributePayload": {
+ "shape": "Sv"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {}
+ }
+ }
+ },
+ "shapes": {
+ "Sv": {
+ "type": "structure",
+ "members": {
+ "attributes": {
+ "shape": "Sw"
+ }
+ }
+ },
+ "Sw": {
+ "type": "map",
+ "key": {},
+ "value": {}
+ },
+ "S13": {
+ "type": "structure",
+ "required": [
+ "sql",
+ "actions"
+ ],
+ "members": {
+ "sql": {},
+ "description": {},
+ "actions": {
+ "shape": "S16"
+ },
+ "ruleDisabled": {
+ "type": "boolean"
+ }
+ }
+ },
+ "S16": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "dynamoDB": {
+ "type": "structure",
+ "required": [
+ "tableName",
+ "roleArn",
+ "hashKeyField",
+ "hashKeyValue",
+ "rangeKeyField",
+ "rangeKeyValue"
+ ],
+ "members": {
+ "tableName": {},
+ "roleArn": {},
+ "hashKeyField": {},
+ "hashKeyValue": {},
+ "rangeKeyField": {},
+ "rangeKeyValue": {},
+ "payloadField": {}
+ }
+ },
+ "lambda": {
+ "type": "structure",
+ "required": [
+ "functionArn"
+ ],
+ "members": {
+ "functionArn": {}
+ }
+ },
+ "sns": {
+ "type": "structure",
+ "required": [
+ "targetArn",
+ "roleArn"
+ ],
+ "members": {
+ "targetArn": {},
+ "roleArn": {},
+ "messageFormat": {}
+ }
+ },
+ "sqs": {
+ "type": "structure",
+ "required": [
+ "roleArn",
+ "queueUrl"
+ ],
+ "members": {
+ "roleArn": {},
+ "queueUrl": {},
+ "useBase64": {
+ "type": "boolean"
+ }
+ }
+ },
+ "kinesis": {
+ "type": "structure",
+ "required": [
+ "roleArn",
+ "streamName"
+ ],
+ "members": {
+ "roleArn": {},
+ "streamName": {},
+ "partitionKey": {}
+ }
+ },
+ "republish": {
+ "type": "structure",
+ "required": [
+ "roleArn",
+ "topic"
+ ],
+ "members": {
+ "roleArn": {},
+ "topic": {}
+ }
+ },
+ "s3": {
+ "type": "structure",
+ "required": [
+ "roleArn",
+ "bucketName",
+ "key"
+ ],
+ "members": {
+ "roleArn": {},
+ "bucketName": {},
+ "key": {}
+ }
+ },
+ "firehose": {
+ "type": "structure",
+ "required": [
+ "roleArn",
+ "deliveryStreamName"
+ ],
+ "members": {
+ "roleArn": {},
+ "deliveryStreamName": {}
+ }
+ },
+ "cloudwatchMetric": {
+ "type": "structure",
+ "required": [
+ "roleArn",
+ "metricNamespace",
+ "metricName",
+ "metricValue",
+ "metricUnit"
+ ],
+ "members": {
+ "roleArn": {},
+ "metricNamespace": {},
+ "metricName": {},
+ "metricValue": {},
+ "metricUnit": {},
+ "metricTimestamp": {}
+ }
+ },
+ "cloudwatchAlarm": {
+ "type": "structure",
+ "required": [
+ "roleArn",
+ "alarmName",
+ "stateReason",
+ "stateValue"
+ ],
+ "members": {
+ "roleArn": {},
+ "alarmName": {},
+ "stateReason": {},
+ "stateValue": {}
+ }
+ },
+ "elasticsearch": {
+ "type": "structure",
+ "required": [
+ "roleArn",
+ "endpoint",
+ "index",
+ "type",
+ "id"
+ ],
+ "members": {
+ "roleArn": {},
+ "endpoint": {},
+ "index": {},
+ "type": {},
+ "id": {}
+ }
+ }
+ }
+ }
+ },
+ "S3l": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "policyName": {},
+ "policyArn": {}
+ }
+ }
+ }
+ },
+ "examples": {}
+}
\ No newline at end of file
diff --git a/node_modules/aws-sdk/apis/iot-data-2015-05-28.min.json b/node_modules/aws-sdk/apis/iot-data-2015-05-28.min.json
new file mode 100644
index 0000000000000000000000000000000000000000..da22373ba99730dae09d5c65cee9829a7a2b9895
--- /dev/null
+++ b/node_modules/aws-sdk/apis/iot-data-2015-05-28.min.json
@@ -0,0 +1,128 @@
+{
+ "version": "2.0",
+ "metadata": {
+ "apiVersion": "2015-05-28",
+ "endpointPrefix": "data.iot",
+ "protocol": "rest-json",
+ "serviceFullName": "AWS IoT Data Plane",
+ "signatureVersion": "v4",
+ "signingName": "iotdata"
+ },
+ "operations": {
+ "DeleteThingShadow": {
+ "http": {
+ "method": "DELETE",
+ "requestUri": "/things/{thingName}/shadow"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "thingName"
+ ],
+ "members": {
+ "thingName": {
+ "location": "uri",
+ "locationName": "thingName"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "payload"
+ ],
+ "members": {
+ "payload": {
+ "type": "blob"
+ }
+ },
+ "payload": "payload"
+ }
+ },
+ "GetThingShadow": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/things/{thingName}/shadow"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "thingName"
+ ],
+ "members": {
+ "thingName": {
+ "location": "uri",
+ "locationName": "thingName"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "payload": {
+ "type": "blob"
+ }
+ },
+ "payload": "payload"
+ }
+ },
+ "Publish": {
+ "http": {
+ "requestUri": "/topics/{topic}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "topic"
+ ],
+ "members": {
+ "topic": {
+ "location": "uri",
+ "locationName": "topic"
+ },
+ "qos": {
+ "location": "querystring",
+ "locationName": "qos",
+ "type": "integer"
+ },
+ "payload": {
+ "type": "blob"
+ }
+ },
+ "payload": "payload"
+ }
+ },
+ "UpdateThingShadow": {
+ "http": {
+ "requestUri": "/things/{thingName}/shadow"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "thingName",
+ "payload"
+ ],
+ "members": {
+ "thingName": {
+ "location": "uri",
+ "locationName": "thingName"
+ },
+ "payload": {
+ "type": "blob"
+ }
+ },
+ "payload": "payload"
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "payload": {
+ "type": "blob"
+ }
+ },
+ "payload": "payload"
+ }
+ }
+ },
+ "shapes": {}
+}
\ No newline at end of file
diff --git a/node_modules/aws-sdk/apis/kinesis-2013-12-02.min.json b/node_modules/aws-sdk/apis/kinesis-2013-12-02.min.json
new file mode 100644
index 0000000000000000000000000000000000000000..29a5cc82ad3013b90b334c2669f5db0a9926258a
--- /dev/null
+++ b/node_modules/aws-sdk/apis/kinesis-2013-12-02.min.json
@@ -0,0 +1,436 @@
+{
+ "version": "2.0",
+ "metadata": {
+ "apiVersion": "2013-12-02",
+ "endpointPrefix": "kinesis",
+ "jsonVersion": "1.1",
+ "serviceAbbreviation": "Kinesis",
+ "serviceFullName": "Amazon Kinesis",
+ "signatureVersion": "v4",
+ "targetPrefix": "Kinesis_20131202",
+ "protocol": "json"
+ },
+ "operations": {
+ "AddTagsToStream": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "StreamName",
+ "Tags"
+ ],
+ "members": {
+ "StreamName": {},
+ "Tags": {
+ "type": "map",
+ "key": {},
+ "value": {}
+ }
+ }
+ }
+ },
+ "CreateStream": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "StreamName",
+ "ShardCount"
+ ],
+ "members": {
+ "StreamName": {},
+ "ShardCount": {
+ "type": "integer"
+ }
+ }
+ }
+ },
+ "DecreaseStreamRetentionPeriod": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "StreamName",
+ "RetentionPeriodHours"
+ ],
+ "members": {
+ "StreamName": {},
+ "RetentionPeriodHours": {
+ "type": "integer"
+ }
+ }
+ }
+ },
+ "DeleteStream": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "StreamName"
+ ],
+ "members": {
+ "StreamName": {}
+ }
+ }
+ },
+ "DescribeStream": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "StreamName"
+ ],
+ "members": {
+ "StreamName": {},
+ "Limit": {
+ "type": "integer"
+ },
+ "ExclusiveStartShardId": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "StreamDescription"
+ ],
+ "members": {
+ "StreamDescription": {
+ "type": "structure",
+ "required": [
+ "StreamName",
+ "StreamARN",
+ "StreamStatus",
+ "Shards",
+ "HasMoreShards",
+ "RetentionPeriodHours"
+ ],
+ "members": {
+ "StreamName": {},
+ "StreamARN": {},
+ "StreamStatus": {},
+ "Shards": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "ShardId",
+ "HashKeyRange",
+ "SequenceNumberRange"
+ ],
+ "members": {
+ "ShardId": {},
+ "ParentShardId": {},
+ "AdjacentParentShardId": {},
+ "HashKeyRange": {
+ "type": "structure",
+ "required": [
+ "StartingHashKey",
+ "EndingHashKey"
+ ],
+ "members": {
+ "StartingHashKey": {},
+ "EndingHashKey": {}
+ }
+ },
+ "SequenceNumberRange": {
+ "type": "structure",
+ "required": [
+ "StartingSequenceNumber"
+ ],
+ "members": {
+ "StartingSequenceNumber": {},
+ "EndingSequenceNumber": {}
+ }
+ }
+ }
+ }
+ },
+ "HasMoreShards": {
+ "type": "boolean"
+ },
+ "RetentionPeriodHours": {
+ "type": "integer"
+ }
+ }
+ }
+ }
+ }
+ },
+ "GetRecords": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ShardIterator"
+ ],
+ "members": {
+ "ShardIterator": {},
+ "Limit": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "Records"
+ ],
+ "members": {
+ "Records": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "SequenceNumber",
+ "Data",
+ "PartitionKey"
+ ],
+ "members": {
+ "SequenceNumber": {},
+ "ApproximateArrivalTimestamp": {
+ "type": "timestamp"
+ },
+ "Data": {
+ "type": "blob"
+ },
+ "PartitionKey": {}
+ }
+ }
+ },
+ "NextShardIterator": {},
+ "MillisBehindLatest": {
+ "type": "long"
+ }
+ }
+ }
+ },
+ "GetShardIterator": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "StreamName",
+ "ShardId",
+ "ShardIteratorType"
+ ],
+ "members": {
+ "StreamName": {},
+ "ShardId": {},
+ "ShardIteratorType": {},
+ "StartingSequenceNumber": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "ShardIterator": {}
+ }
+ }
+ },
+ "IncreaseStreamRetentionPeriod": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "StreamName",
+ "RetentionPeriodHours"
+ ],
+ "members": {
+ "StreamName": {},
+ "RetentionPeriodHours": {
+ "type": "integer"
+ }
+ }
+ }
+ },
+ "ListStreams": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "Limit": {
+ "type": "integer"
+ },
+ "ExclusiveStartStreamName": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "StreamNames",
+ "HasMoreStreams"
+ ],
+ "members": {
+ "StreamNames": {
+ "type": "list",
+ "member": {}
+ },
+ "HasMoreStreams": {
+ "type": "boolean"
+ }
+ }
+ }
+ },
+ "ListTagsForStream": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "StreamName"
+ ],
+ "members": {
+ "StreamName": {},
+ "ExclusiveStartTagKey": {},
+ "Limit": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "Tags",
+ "HasMoreTags"
+ ],
+ "members": {
+ "Tags": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "Key"
+ ],
+ "members": {
+ "Key": {},
+ "Value": {}
+ }
+ }
+ },
+ "HasMoreTags": {
+ "type": "boolean"
+ }
+ }
+ }
+ },
+ "MergeShards": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "StreamName",
+ "ShardToMerge",
+ "AdjacentShardToMerge"
+ ],
+ "members": {
+ "StreamName": {},
+ "ShardToMerge": {},
+ "AdjacentShardToMerge": {}
+ }
+ }
+ },
+ "PutRecord": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "StreamName",
+ "Data",
+ "PartitionKey"
+ ],
+ "members": {
+ "StreamName": {},
+ "Data": {
+ "type": "blob"
+ },
+ "PartitionKey": {},
+ "ExplicitHashKey": {},
+ "SequenceNumberForOrdering": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "ShardId",
+ "SequenceNumber"
+ ],
+ "members": {
+ "ShardId": {},
+ "SequenceNumber": {}
+ }
+ }
+ },
+ "PutRecords": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Records",
+ "StreamName"
+ ],
+ "members": {
+ "Records": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "Data",
+ "PartitionKey"
+ ],
+ "members": {
+ "Data": {
+ "type": "blob"
+ },
+ "ExplicitHashKey": {},
+ "PartitionKey": {}
+ }
+ }
+ },
+ "StreamName": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "Records"
+ ],
+ "members": {
+ "FailedRecordCount": {
+ "type": "integer"
+ },
+ "Records": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "SequenceNumber": {},
+ "ShardId": {},
+ "ErrorCode": {},
+ "ErrorMessage": {}
+ }
+ }
+ }
+ }
+ }
+ },
+ "RemoveTagsFromStream": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "StreamName",
+ "TagKeys"
+ ],
+ "members": {
+ "StreamName": {},
+ "TagKeys": {
+ "type": "list",
+ "member": {}
+ }
+ }
+ }
+ },
+ "SplitShard": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "StreamName",
+ "ShardToSplit",
+ "NewStartingHashKey"
+ ],
+ "members": {
+ "StreamName": {},
+ "ShardToSplit": {},
+ "NewStartingHashKey": {}
+ }
+ }
+ }
+ },
+ "shapes": {},
+ "examples": {}
+}
\ No newline at end of file
diff --git a/node_modules/aws-sdk/apis/kinesis-2013-12-02.paginators.json b/node_modules/aws-sdk/apis/kinesis-2013-12-02.paginators.json
new file mode 100644
index 0000000000000000000000000000000000000000..007f563b4a89a46d4944aaca0c665481e1914e1c
--- /dev/null
+++ b/node_modules/aws-sdk/apis/kinesis-2013-12-02.paginators.json
@@ -0,0 +1,18 @@
+{
+ "pagination": {
+ "DescribeStream": {
+ "input_token": "ExclusiveStartShardId",
+ "limit_key": "Limit",
+ "more_results": "StreamDescription.HasMoreShards",
+ "output_token": "StreamDescription.Shards[-1].ShardId",
+ "result_key": "StreamDescription.Shards"
+ },
+ "ListStreams": {
+ "input_token": "ExclusiveStartStreamName",
+ "limit_key": "Limit",
+ "more_results": "HasMoreStreams",
+ "output_token": "StreamNames[-1]",
+ "result_key": "StreamNames"
+ }
+ }
+}
diff --git a/node_modules/aws-sdk/apis/kms-2014-11-01.min.json b/node_modules/aws-sdk/apis/kms-2014-11-01.min.json
new file mode 100644
index 0000000000000000000000000000000000000000..83c622d13767ac944cf3e8086b0a54cc0adb5312
--- /dev/null
+++ b/node_modules/aws-sdk/apis/kms-2014-11-01.min.json
@@ -0,0 +1,680 @@
+{
+ "version": "2.0",
+ "metadata": {
+ "apiVersion": "2014-11-01",
+ "endpointPrefix": "kms",
+ "jsonVersion": "1.1",
+ "serviceAbbreviation": "KMS",
+ "serviceFullName": "AWS Key Management Service",
+ "signatureVersion": "v4",
+ "targetPrefix": "TrentService",
+ "protocol": "json"
+ },
+ "operations": {
+ "CancelKeyDeletion": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "KeyId"
+ ],
+ "members": {
+ "KeyId": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "KeyId": {}
+ }
+ }
+ },
+ "CreateAlias": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "AliasName",
+ "TargetKeyId"
+ ],
+ "members": {
+ "AliasName": {},
+ "TargetKeyId": {}
+ }
+ }
+ },
+ "CreateGrant": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "KeyId",
+ "GranteePrincipal"
+ ],
+ "members": {
+ "KeyId": {},
+ "GranteePrincipal": {},
+ "RetiringPrincipal": {},
+ "Operations": {
+ "shape": "S8"
+ },
+ "Constraints": {
+ "shape": "Sa"
+ },
+ "GrantTokens": {
+ "shape": "Se"
+ },
+ "Name": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "GrantToken": {},
+ "GrantId": {}
+ }
+ }
+ },
+ "CreateKey": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "Policy": {},
+ "Description": {},
+ "KeyUsage": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "KeyMetadata": {
+ "shape": "So"
+ }
+ }
+ }
+ },
+ "Decrypt": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "CiphertextBlob"
+ ],
+ "members": {
+ "CiphertextBlob": {
+ "type": "blob"
+ },
+ "EncryptionContext": {
+ "shape": "Sb"
+ },
+ "GrantTokens": {
+ "shape": "Se"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "KeyId": {},
+ "Plaintext": {
+ "shape": "Sx"
+ }
+ }
+ }
+ },
+ "DeleteAlias": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "AliasName"
+ ],
+ "members": {
+ "AliasName": {}
+ }
+ }
+ },
+ "DescribeKey": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "KeyId"
+ ],
+ "members": {
+ "KeyId": {},
+ "GrantTokens": {
+ "shape": "Se"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "KeyMetadata": {
+ "shape": "So"
+ }
+ }
+ }
+ },
+ "DisableKey": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "KeyId"
+ ],
+ "members": {
+ "KeyId": {}
+ }
+ }
+ },
+ "DisableKeyRotation": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "KeyId"
+ ],
+ "members": {
+ "KeyId": {}
+ }
+ }
+ },
+ "EnableKey": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "KeyId"
+ ],
+ "members": {
+ "KeyId": {}
+ }
+ }
+ },
+ "EnableKeyRotation": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "KeyId"
+ ],
+ "members": {
+ "KeyId": {}
+ }
+ }
+ },
+ "Encrypt": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "KeyId",
+ "Plaintext"
+ ],
+ "members": {
+ "KeyId": {},
+ "Plaintext": {
+ "shape": "Sx"
+ },
+ "EncryptionContext": {
+ "shape": "Sb"
+ },
+ "GrantTokens": {
+ "shape": "Se"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "CiphertextBlob": {
+ "type": "blob"
+ },
+ "KeyId": {}
+ }
+ }
+ },
+ "GenerateDataKey": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "KeyId"
+ ],
+ "members": {
+ "KeyId": {},
+ "EncryptionContext": {
+ "shape": "Sb"
+ },
+ "NumberOfBytes": {
+ "type": "integer"
+ },
+ "KeySpec": {},
+ "GrantTokens": {
+ "shape": "Se"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "CiphertextBlob": {
+ "type": "blob"
+ },
+ "Plaintext": {
+ "shape": "Sx"
+ },
+ "KeyId": {}
+ }
+ }
+ },
+ "GenerateDataKeyWithoutPlaintext": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "KeyId"
+ ],
+ "members": {
+ "KeyId": {},
+ "EncryptionContext": {
+ "shape": "Sb"
+ },
+ "KeySpec": {},
+ "NumberOfBytes": {
+ "type": "integer"
+ },
+ "GrantTokens": {
+ "shape": "Se"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "CiphertextBlob": {
+ "type": "blob"
+ },
+ "KeyId": {}
+ }
+ }
+ },
+ "GenerateRandom": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "NumberOfBytes": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Plaintext": {
+ "shape": "Sx"
+ }
+ }
+ }
+ },
+ "GetKeyPolicy": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "KeyId",
+ "PolicyName"
+ ],
+ "members": {
+ "KeyId": {},
+ "PolicyName": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Policy": {}
+ }
+ }
+ },
+ "GetKeyRotationStatus": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "KeyId"
+ ],
+ "members": {
+ "KeyId": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "KeyRotationEnabled": {
+ "type": "boolean"
+ }
+ }
+ }
+ },
+ "ListAliases": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "Limit": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Aliases": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "AliasName": {},
+ "AliasArn": {},
+ "TargetKeyId": {}
+ }
+ }
+ },
+ "NextMarker": {},
+ "Truncated": {
+ "type": "boolean"
+ }
+ }
+ }
+ },
+ "ListGrants": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "KeyId"
+ ],
+ "members": {
+ "Limit": {
+ "type": "integer"
+ },
+ "Marker": {},
+ "KeyId": {}
+ }
+ },
+ "output": {
+ "shape": "S1r"
+ }
+ },
+ "ListKeyPolicies": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "KeyId"
+ ],
+ "members": {
+ "KeyId": {},
+ "Limit": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "PolicyNames": {
+ "type": "list",
+ "member": {}
+ },
+ "NextMarker": {},
+ "Truncated": {
+ "type": "boolean"
+ }
+ }
+ }
+ },
+ "ListKeys": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "Limit": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Keys": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "KeyId": {},
+ "KeyArn": {}
+ }
+ }
+ },
+ "NextMarker": {},
+ "Truncated": {
+ "type": "boolean"
+ }
+ }
+ }
+ },
+ "ListRetirableGrants": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "RetiringPrincipal"
+ ],
+ "members": {
+ "Limit": {
+ "type": "integer"
+ },
+ "Marker": {},
+ "RetiringPrincipal": {}
+ }
+ },
+ "output": {
+ "shape": "S1r"
+ }
+ },
+ "PutKeyPolicy": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "KeyId",
+ "PolicyName",
+ "Policy"
+ ],
+ "members": {
+ "KeyId": {},
+ "PolicyName": {},
+ "Policy": {}
+ }
+ }
+ },
+ "ReEncrypt": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "CiphertextBlob",
+ "DestinationKeyId"
+ ],
+ "members": {
+ "CiphertextBlob": {
+ "type": "blob"
+ },
+ "SourceEncryptionContext": {
+ "shape": "Sb"
+ },
+ "DestinationKeyId": {},
+ "DestinationEncryptionContext": {
+ "shape": "Sb"
+ },
+ "GrantTokens": {
+ "shape": "Se"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "CiphertextBlob": {
+ "type": "blob"
+ },
+ "SourceKeyId": {},
+ "KeyId": {}
+ }
+ }
+ },
+ "RetireGrant": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "GrantToken": {},
+ "KeyId": {},
+ "GrantId": {}
+ }
+ }
+ },
+ "RevokeGrant": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "KeyId",
+ "GrantId"
+ ],
+ "members": {
+ "KeyId": {},
+ "GrantId": {}
+ }
+ }
+ },
+ "ScheduleKeyDeletion": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "KeyId"
+ ],
+ "members": {
+ "KeyId": {},
+ "PendingWindowInDays": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "KeyId": {},
+ "DeletionDate": {
+ "type": "timestamp"
+ }
+ }
+ }
+ },
+ "UpdateAlias": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "AliasName",
+ "TargetKeyId"
+ ],
+ "members": {
+ "AliasName": {},
+ "TargetKeyId": {}
+ }
+ }
+ },
+ "UpdateKeyDescription": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "KeyId",
+ "Description"
+ ],
+ "members": {
+ "KeyId": {},
+ "Description": {}
+ }
+ }
+ }
+ },
+ "shapes": {
+ "S8": {
+ "type": "list",
+ "member": {}
+ },
+ "Sa": {
+ "type": "structure",
+ "members": {
+ "EncryptionContextSubset": {
+ "shape": "Sb"
+ },
+ "EncryptionContextEquals": {
+ "shape": "Sb"
+ }
+ }
+ },
+ "Sb": {
+ "type": "map",
+ "key": {},
+ "value": {}
+ },
+ "Se": {
+ "type": "list",
+ "member": {}
+ },
+ "So": {
+ "type": "structure",
+ "required": [
+ "KeyId"
+ ],
+ "members": {
+ "AWSAccountId": {},
+ "KeyId": {},
+ "Arn": {},
+ "CreationDate": {
+ "type": "timestamp"
+ },
+ "Enabled": {
+ "type": "boolean"
+ },
+ "Description": {},
+ "KeyUsage": {},
+ "KeyState": {},
+ "DeletionDate": {
+ "type": "timestamp"
+ }
+ }
+ },
+ "Sx": {
+ "type": "blob",
+ "sensitive": true
+ },
+ "S1r": {
+ "type": "structure",
+ "members": {
+ "Grants": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "KeyId": {},
+ "GrantId": {},
+ "Name": {},
+ "CreationDate": {
+ "type": "timestamp"
+ },
+ "GranteePrincipal": {},
+ "RetiringPrincipal": {},
+ "IssuingAccount": {},
+ "Operations": {
+ "shape": "S8"
+ },
+ "Constraints": {
+ "shape": "Sa"
+ }
+ }
+ }
+ },
+ "NextMarker": {},
+ "Truncated": {
+ "type": "boolean"
+ }
+ }
+ }
+ },
+ "examples": {}
+}
\ No newline at end of file
diff --git a/node_modules/aws-sdk/apis/kms-2014-11-01.paginators.json b/node_modules/aws-sdk/apis/kms-2014-11-01.paginators.json
new file mode 100644
index 0000000000000000000000000000000000000000..522d171f9fd529f7f64237a7f70fa6d78bdd2cf0
--- /dev/null
+++ b/node_modules/aws-sdk/apis/kms-2014-11-01.paginators.json
@@ -0,0 +1,32 @@
+{
+ "pagination": {
+ "ListAliases": {
+ "limit_key": "Limit",
+ "input_token": "Marker",
+ "output_token": "NextMarker",
+ "more_results": "Truncated",
+ "result_key": "Aliases"
+ },
+ "ListGrants": {
+ "limit_key": "Limit",
+ "input_token": "Marker",
+ "output_token": "NextMarker",
+ "more_results": "Truncated",
+ "result_key": "Grants"
+ },
+ "ListKeyPolicies": {
+ "limit_key": "Limit",
+ "input_token": "Marker",
+ "output_token": "NextMarker",
+ "more_results": "Truncated",
+ "result_key": "PolicyNames"
+ },
+ "ListKeys": {
+ "limit_key": "Limit",
+ "input_token": "Marker",
+ "output_token": "NextMarker",
+ "more_results": "Truncated",
+ "result_key": "Keys"
+ }
+ }
+}
diff --git a/node_modules/aws-sdk/apis/lambda-2014-11-11.min.json b/node_modules/aws-sdk/apis/lambda-2014-11-11.min.json
new file mode 100644
index 0000000000000000000000000000000000000000..fc006a8be8c49df01cbca27379a10b9341546992
--- /dev/null
+++ b/node_modules/aws-sdk/apis/lambda-2014-11-11.min.json
@@ -0,0 +1,423 @@
+{
+ "metadata": {
+ "apiVersion": "2014-11-11",
+ "endpointPrefix": "lambda",
+ "serviceFullName": "AWS Lambda",
+ "signatureVersion": "v4",
+ "protocol": "rest-json"
+ },
+ "operations": {
+ "AddEventSource": {
+ "http": {
+ "requestUri": "/2014-11-13/event-source-mappings/"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "EventSource",
+ "FunctionName",
+ "Role"
+ ],
+ "members": {
+ "EventSource": {},
+ "FunctionName": {},
+ "Role": {},
+ "BatchSize": {
+ "type": "integer"
+ },
+ "Parameters": {
+ "shape": "S6"
+ }
+ }
+ },
+ "output": {
+ "shape": "S7"
+ }
+ },
+ "DeleteFunction": {
+ "http": {
+ "method": "DELETE",
+ "requestUri": "/2014-11-13/functions/{FunctionName}",
+ "responseCode": 204
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "FunctionName"
+ ],
+ "members": {
+ "FunctionName": {
+ "location": "uri",
+ "locationName": "FunctionName"
+ }
+ }
+ }
+ },
+ "GetEventSource": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/2014-11-13/event-source-mappings/{UUID}",
+ "responseCode": 200
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "UUID"
+ ],
+ "members": {
+ "UUID": {
+ "location": "uri",
+ "locationName": "UUID"
+ }
+ }
+ },
+ "output": {
+ "shape": "S7"
+ }
+ },
+ "GetFunction": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/2014-11-13/functions/{FunctionName}",
+ "responseCode": 200
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "FunctionName"
+ ],
+ "members": {
+ "FunctionName": {
+ "location": "uri",
+ "locationName": "FunctionName"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Configuration": {
+ "shape": "Se"
+ },
+ "Code": {
+ "type": "structure",
+ "members": {
+ "RepositoryType": {},
+ "Location": {}
+ }
+ }
+ }
+ }
+ },
+ "GetFunctionConfiguration": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/2014-11-13/functions/{FunctionName}/configuration",
+ "responseCode": 200
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "FunctionName"
+ ],
+ "members": {
+ "FunctionName": {
+ "location": "uri",
+ "locationName": "FunctionName"
+ }
+ }
+ },
+ "output": {
+ "shape": "Se"
+ }
+ },
+ "InvokeAsync": {
+ "http": {
+ "requestUri": "/2014-11-13/functions/{FunctionName}/invoke-async/",
+ "responseCode": 202
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "FunctionName",
+ "InvokeArgs"
+ ],
+ "members": {
+ "FunctionName": {
+ "location": "uri",
+ "locationName": "FunctionName"
+ },
+ "InvokeArgs": {
+ "shape": "Sq"
+ }
+ },
+ "payload": "InvokeArgs"
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Status": {
+ "location": "statusCode",
+ "type": "integer"
+ }
+ }
+ }
+ },
+ "ListEventSources": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/2014-11-13/event-source-mappings/",
+ "responseCode": 200
+ },
+ "input": {
+ "type": "structure",
+ "members": {
+ "EventSourceArn": {
+ "location": "querystring",
+ "locationName": "EventSource"
+ },
+ "FunctionName": {
+ "location": "querystring",
+ "locationName": "FunctionName"
+ },
+ "Marker": {
+ "location": "querystring",
+ "locationName": "Marker"
+ },
+ "MaxItems": {
+ "location": "querystring",
+ "locationName": "MaxItems",
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "NextMarker": {},
+ "EventSources": {
+ "type": "list",
+ "member": {
+ "shape": "S7"
+ }
+ }
+ }
+ }
+ },
+ "ListFunctions": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/2014-11-13/functions/",
+ "responseCode": 200
+ },
+ "input": {
+ "type": "structure",
+ "members": {
+ "Marker": {
+ "location": "querystring",
+ "locationName": "Marker"
+ },
+ "MaxItems": {
+ "location": "querystring",
+ "locationName": "MaxItems",
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "NextMarker": {},
+ "Functions": {
+ "type": "list",
+ "member": {
+ "shape": "Se"
+ }
+ }
+ }
+ }
+ },
+ "RemoveEventSource": {
+ "http": {
+ "method": "DELETE",
+ "requestUri": "/2014-11-13/event-source-mappings/{UUID}",
+ "responseCode": 204
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "UUID"
+ ],
+ "members": {
+ "UUID": {
+ "location": "uri",
+ "locationName": "UUID"
+ }
+ }
+ }
+ },
+ "UpdateFunctionConfiguration": {
+ "http": {
+ "method": "PUT",
+ "requestUri": "/2014-11-13/functions/{FunctionName}/configuration",
+ "responseCode": 200
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "FunctionName"
+ ],
+ "members": {
+ "FunctionName": {
+ "location": "uri",
+ "locationName": "FunctionName"
+ },
+ "Role": {
+ "location": "querystring",
+ "locationName": "Role"
+ },
+ "Handler": {
+ "location": "querystring",
+ "locationName": "Handler"
+ },
+ "Description": {
+ "location": "querystring",
+ "locationName": "Description"
+ },
+ "Timeout": {
+ "location": "querystring",
+ "locationName": "Timeout",
+ "type": "integer"
+ },
+ "MemorySize": {
+ "location": "querystring",
+ "locationName": "MemorySize",
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "shape": "Se"
+ }
+ },
+ "UploadFunction": {
+ "http": {
+ "method": "PUT",
+ "requestUri": "/2014-11-13/functions/{FunctionName}",
+ "responseCode": 201
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "FunctionName",
+ "FunctionZip",
+ "Runtime",
+ "Role",
+ "Handler",
+ "Mode"
+ ],
+ "members": {
+ "FunctionName": {
+ "location": "uri",
+ "locationName": "FunctionName"
+ },
+ "FunctionZip": {
+ "shape": "Sq"
+ },
+ "Runtime": {
+ "location": "querystring",
+ "locationName": "Runtime"
+ },
+ "Role": {
+ "location": "querystring",
+ "locationName": "Role"
+ },
+ "Handler": {
+ "location": "querystring",
+ "locationName": "Handler"
+ },
+ "Mode": {
+ "location": "querystring",
+ "locationName": "Mode"
+ },
+ "Description": {
+ "location": "querystring",
+ "locationName": "Description"
+ },
+ "Timeout": {
+ "location": "querystring",
+ "locationName": "Timeout",
+ "type": "integer"
+ },
+ "MemorySize": {
+ "location": "querystring",
+ "locationName": "MemorySize",
+ "type": "integer"
+ }
+ },
+ "payload": "FunctionZip"
+ },
+ "output": {
+ "shape": "Se"
+ }
+ }
+ },
+ "shapes": {
+ "S6": {
+ "type": "map",
+ "key": {},
+ "value": {}
+ },
+ "S7": {
+ "type": "structure",
+ "members": {
+ "UUID": {},
+ "BatchSize": {
+ "type": "integer"
+ },
+ "EventSource": {},
+ "FunctionName": {},
+ "Parameters": {
+ "shape": "S6"
+ },
+ "Role": {},
+ "LastModified": {
+ "type": "timestamp"
+ },
+ "IsActive": {
+ "type": "boolean"
+ },
+ "Status": {}
+ }
+ },
+ "Se": {
+ "type": "structure",
+ "members": {
+ "FunctionName": {},
+ "FunctionARN": {},
+ "ConfigurationId": {},
+ "Runtime": {},
+ "Role": {},
+ "Handler": {},
+ "Mode": {},
+ "CodeSize": {
+ "type": "long"
+ },
+ "Description": {},
+ "Timeout": {
+ "type": "integer"
+ },
+ "MemorySize": {
+ "type": "integer"
+ },
+ "LastModified": {
+ "type": "timestamp"
+ }
+ }
+ },
+ "Sq": {
+ "type": "blob",
+ "streaming": true
+ }
+ }
+}
\ No newline at end of file
diff --git a/node_modules/aws-sdk/apis/lambda-2014-11-11.paginators.json b/node_modules/aws-sdk/apis/lambda-2014-11-11.paginators.json
new file mode 100644
index 0000000000000000000000000000000000000000..deaf07d385a655693ece277d8c2c2b649b5a538d
--- /dev/null
+++ b/node_modules/aws-sdk/apis/lambda-2014-11-11.paginators.json
@@ -0,0 +1,16 @@
+{
+ "pagination": {
+ "ListEventSources": {
+ "input_token": "Marker",
+ "output_token": "NextMarker",
+ "limit_key": "MaxItems",
+ "result_key": "EventSources"
+ },
+ "ListFunctions": {
+ "input_token": "Marker",
+ "output_token": "NextMarker",
+ "limit_key": "MaxItems",
+ "result_key": "Functions"
+ }
+ }
+}
diff --git a/node_modules/aws-sdk/apis/lambda-2015-03-31.min.json b/node_modules/aws-sdk/apis/lambda-2015-03-31.min.json
new file mode 100644
index 0000000000000000000000000000000000000000..e05849d216fed4bb9e382709c30778b61ac70780
--- /dev/null
+++ b/node_modules/aws-sdk/apis/lambda-2015-03-31.min.json
@@ -0,0 +1,870 @@
+{
+ "version": "2.0",
+ "metadata": {
+ "apiVersion": "2015-03-31",
+ "endpointPrefix": "lambda",
+ "protocol": "rest-json",
+ "serviceFullName": "AWS Lambda",
+ "signatureVersion": "v4"
+ },
+ "operations": {
+ "AddPermission": {
+ "http": {
+ "requestUri": "/2015-03-31/functions/{FunctionName}/policy",
+ "responseCode": 201
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "FunctionName",
+ "StatementId",
+ "Action",
+ "Principal"
+ ],
+ "members": {
+ "FunctionName": {
+ "location": "uri",
+ "locationName": "FunctionName"
+ },
+ "StatementId": {},
+ "Action": {},
+ "Principal": {},
+ "SourceArn": {},
+ "SourceAccount": {},
+ "Qualifier": {
+ "location": "querystring",
+ "locationName": "Qualifier"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Statement": {}
+ }
+ }
+ },
+ "CreateAlias": {
+ "http": {
+ "requestUri": "/2015-03-31/functions/{FunctionName}/aliases",
+ "responseCode": 201
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "FunctionName",
+ "Name",
+ "FunctionVersion"
+ ],
+ "members": {
+ "FunctionName": {
+ "location": "uri",
+ "locationName": "FunctionName"
+ },
+ "Name": {},
+ "FunctionVersion": {},
+ "Description": {}
+ }
+ },
+ "output": {
+ "shape": "Sf"
+ }
+ },
+ "CreateEventSourceMapping": {
+ "http": {
+ "requestUri": "/2015-03-31/event-source-mappings/",
+ "responseCode": 202
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "EventSourceArn",
+ "FunctionName",
+ "StartingPosition"
+ ],
+ "members": {
+ "EventSourceArn": {},
+ "FunctionName": {},
+ "Enabled": {
+ "type": "boolean"
+ },
+ "BatchSize": {
+ "type": "integer"
+ },
+ "StartingPosition": {}
+ }
+ },
+ "output": {
+ "shape": "Sl"
+ }
+ },
+ "CreateFunction": {
+ "http": {
+ "requestUri": "/2015-03-31/functions",
+ "responseCode": 201
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "FunctionName",
+ "Runtime",
+ "Role",
+ "Handler",
+ "Code"
+ ],
+ "members": {
+ "FunctionName": {},
+ "Runtime": {},
+ "Role": {},
+ "Handler": {},
+ "Code": {
+ "type": "structure",
+ "members": {
+ "ZipFile": {
+ "type": "blob"
+ },
+ "S3Bucket": {},
+ "S3Key": {},
+ "S3ObjectVersion": {}
+ }
+ },
+ "Description": {},
+ "Timeout": {
+ "type": "integer"
+ },
+ "MemorySize": {
+ "type": "integer"
+ },
+ "Publish": {
+ "type": "boolean"
+ },
+ "VpcConfig": {
+ "shape": "Sz"
+ }
+ }
+ },
+ "output": {
+ "shape": "S14"
+ }
+ },
+ "DeleteAlias": {
+ "http": {
+ "method": "DELETE",
+ "requestUri": "/2015-03-31/functions/{FunctionName}/aliases/{Name}",
+ "responseCode": 204
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "FunctionName",
+ "Name"
+ ],
+ "members": {
+ "FunctionName": {
+ "location": "uri",
+ "locationName": "FunctionName"
+ },
+ "Name": {
+ "location": "uri",
+ "locationName": "Name"
+ }
+ }
+ }
+ },
+ "DeleteEventSourceMapping": {
+ "http": {
+ "method": "DELETE",
+ "requestUri": "/2015-03-31/event-source-mappings/{UUID}",
+ "responseCode": 202
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "UUID"
+ ],
+ "members": {
+ "UUID": {
+ "location": "uri",
+ "locationName": "UUID"
+ }
+ }
+ },
+ "output": {
+ "shape": "Sl"
+ }
+ },
+ "DeleteFunction": {
+ "http": {
+ "method": "DELETE",
+ "requestUri": "/2015-03-31/functions/{FunctionName}",
+ "responseCode": 204
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "FunctionName"
+ ],
+ "members": {
+ "FunctionName": {
+ "location": "uri",
+ "locationName": "FunctionName"
+ },
+ "Qualifier": {
+ "location": "querystring",
+ "locationName": "Qualifier"
+ }
+ }
+ }
+ },
+ "GetAlias": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/2015-03-31/functions/{FunctionName}/aliases/{Name}",
+ "responseCode": 200
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "FunctionName",
+ "Name"
+ ],
+ "members": {
+ "FunctionName": {
+ "location": "uri",
+ "locationName": "FunctionName"
+ },
+ "Name": {
+ "location": "uri",
+ "locationName": "Name"
+ }
+ }
+ },
+ "output": {
+ "shape": "Sf"
+ }
+ },
+ "GetEventSourceMapping": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/2015-03-31/event-source-mappings/{UUID}",
+ "responseCode": 200
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "UUID"
+ ],
+ "members": {
+ "UUID": {
+ "location": "uri",
+ "locationName": "UUID"
+ }
+ }
+ },
+ "output": {
+ "shape": "Sl"
+ }
+ },
+ "GetFunction": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/2015-03-31/functions/{FunctionName}",
+ "responseCode": 200
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "FunctionName"
+ ],
+ "members": {
+ "FunctionName": {
+ "location": "uri",
+ "locationName": "FunctionName"
+ },
+ "Qualifier": {
+ "location": "querystring",
+ "locationName": "Qualifier"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Configuration": {
+ "shape": "S14"
+ },
+ "Code": {
+ "type": "structure",
+ "members": {
+ "RepositoryType": {},
+ "Location": {}
+ }
+ }
+ }
+ }
+ },
+ "GetFunctionConfiguration": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/2015-03-31/functions/{FunctionName}/configuration",
+ "responseCode": 200
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "FunctionName"
+ ],
+ "members": {
+ "FunctionName": {
+ "location": "uri",
+ "locationName": "FunctionName"
+ },
+ "Qualifier": {
+ "location": "querystring",
+ "locationName": "Qualifier"
+ }
+ }
+ },
+ "output": {
+ "shape": "S14"
+ }
+ },
+ "GetPolicy": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/2015-03-31/functions/{FunctionName}/policy",
+ "responseCode": 200
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "FunctionName"
+ ],
+ "members": {
+ "FunctionName": {
+ "location": "uri",
+ "locationName": "FunctionName"
+ },
+ "Qualifier": {
+ "location": "querystring",
+ "locationName": "Qualifier"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Policy": {}
+ }
+ }
+ },
+ "Invoke": {
+ "http": {
+ "requestUri": "/2015-03-31/functions/{FunctionName}/invocations"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "FunctionName"
+ ],
+ "members": {
+ "FunctionName": {
+ "location": "uri",
+ "locationName": "FunctionName"
+ },
+ "InvocationType": {
+ "location": "header",
+ "locationName": "X-Amz-Invocation-Type"
+ },
+ "LogType": {
+ "location": "header",
+ "locationName": "X-Amz-Log-Type"
+ },
+ "ClientContext": {
+ "location": "header",
+ "locationName": "X-Amz-Client-Context"
+ },
+ "Payload": {
+ "type": "blob"
+ },
+ "Qualifier": {
+ "location": "querystring",
+ "locationName": "Qualifier"
+ }
+ },
+ "payload": "Payload"
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "StatusCode": {
+ "location": "statusCode",
+ "type": "integer"
+ },
+ "FunctionError": {
+ "location": "header",
+ "locationName": "X-Amz-Function-Error"
+ },
+ "LogResult": {
+ "location": "header",
+ "locationName": "X-Amz-Log-Result"
+ },
+ "Payload": {
+ "type": "blob"
+ }
+ },
+ "payload": "Payload"
+ }
+ },
+ "InvokeAsync": {
+ "http": {
+ "requestUri": "/2014-11-13/functions/{FunctionName}/invoke-async/",
+ "responseCode": 202
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "FunctionName",
+ "InvokeArgs"
+ ],
+ "members": {
+ "FunctionName": {
+ "location": "uri",
+ "locationName": "FunctionName"
+ },
+ "InvokeArgs": {
+ "type": "blob",
+ "streaming": true
+ }
+ },
+ "deprecated": true,
+ "payload": "InvokeArgs"
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Status": {
+ "location": "statusCode",
+ "type": "integer"
+ }
+ },
+ "deprecated": true
+ },
+ "deprecated": true
+ },
+ "ListAliases": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/2015-03-31/functions/{FunctionName}/aliases",
+ "responseCode": 200
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "FunctionName"
+ ],
+ "members": {
+ "FunctionName": {
+ "location": "uri",
+ "locationName": "FunctionName"
+ },
+ "FunctionVersion": {
+ "location": "querystring",
+ "locationName": "FunctionVersion"
+ },
+ "Marker": {
+ "location": "querystring",
+ "locationName": "Marker"
+ },
+ "MaxItems": {
+ "location": "querystring",
+ "locationName": "MaxItems",
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "NextMarker": {},
+ "Aliases": {
+ "type": "list",
+ "member": {
+ "shape": "Sf"
+ }
+ }
+ }
+ }
+ },
+ "ListEventSourceMappings": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/2015-03-31/event-source-mappings/",
+ "responseCode": 200
+ },
+ "input": {
+ "type": "structure",
+ "members": {
+ "EventSourceArn": {
+ "location": "querystring",
+ "locationName": "EventSourceArn"
+ },
+ "FunctionName": {
+ "location": "querystring",
+ "locationName": "FunctionName"
+ },
+ "Marker": {
+ "location": "querystring",
+ "locationName": "Marker"
+ },
+ "MaxItems": {
+ "location": "querystring",
+ "locationName": "MaxItems",
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "NextMarker": {},
+ "EventSourceMappings": {
+ "type": "list",
+ "member": {
+ "shape": "Sl"
+ }
+ }
+ }
+ }
+ },
+ "ListFunctions": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/2015-03-31/functions/",
+ "responseCode": 200
+ },
+ "input": {
+ "type": "structure",
+ "members": {
+ "Marker": {
+ "location": "querystring",
+ "locationName": "Marker"
+ },
+ "MaxItems": {
+ "location": "querystring",
+ "locationName": "MaxItems",
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "NextMarker": {},
+ "Functions": {
+ "shape": "S22"
+ }
+ }
+ }
+ },
+ "ListVersionsByFunction": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/2015-03-31/functions/{FunctionName}/versions",
+ "responseCode": 200
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "FunctionName"
+ ],
+ "members": {
+ "FunctionName": {
+ "location": "uri",
+ "locationName": "FunctionName"
+ },
+ "Marker": {
+ "location": "querystring",
+ "locationName": "Marker"
+ },
+ "MaxItems": {
+ "location": "querystring",
+ "locationName": "MaxItems",
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "NextMarker": {},
+ "Versions": {
+ "shape": "S22"
+ }
+ }
+ }
+ },
+ "PublishVersion": {
+ "http": {
+ "requestUri": "/2015-03-31/functions/{FunctionName}/versions",
+ "responseCode": 201
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "FunctionName"
+ ],
+ "members": {
+ "FunctionName": {
+ "location": "uri",
+ "locationName": "FunctionName"
+ },
+ "CodeSha256": {},
+ "Description": {}
+ }
+ },
+ "output": {
+ "shape": "S14"
+ }
+ },
+ "RemovePermission": {
+ "http": {
+ "method": "DELETE",
+ "requestUri": "/2015-03-31/functions/{FunctionName}/policy/{StatementId}",
+ "responseCode": 204
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "FunctionName",
+ "StatementId"
+ ],
+ "members": {
+ "FunctionName": {
+ "location": "uri",
+ "locationName": "FunctionName"
+ },
+ "StatementId": {
+ "location": "uri",
+ "locationName": "StatementId"
+ },
+ "Qualifier": {
+ "location": "querystring",
+ "locationName": "Qualifier"
+ }
+ }
+ }
+ },
+ "UpdateAlias": {
+ "http": {
+ "method": "PUT",
+ "requestUri": "/2015-03-31/functions/{FunctionName}/aliases/{Name}",
+ "responseCode": 200
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "FunctionName",
+ "Name"
+ ],
+ "members": {
+ "FunctionName": {
+ "location": "uri",
+ "locationName": "FunctionName"
+ },
+ "Name": {
+ "location": "uri",
+ "locationName": "Name"
+ },
+ "FunctionVersion": {},
+ "Description": {}
+ }
+ },
+ "output": {
+ "shape": "Sf"
+ }
+ },
+ "UpdateEventSourceMapping": {
+ "http": {
+ "method": "PUT",
+ "requestUri": "/2015-03-31/event-source-mappings/{UUID}",
+ "responseCode": 202
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "UUID"
+ ],
+ "members": {
+ "UUID": {
+ "location": "uri",
+ "locationName": "UUID"
+ },
+ "FunctionName": {},
+ "Enabled": {
+ "type": "boolean"
+ },
+ "BatchSize": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "shape": "Sl"
+ }
+ },
+ "UpdateFunctionCode": {
+ "http": {
+ "method": "PUT",
+ "requestUri": "/2015-03-31/functions/{FunctionName}/code",
+ "responseCode": 200
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "FunctionName"
+ ],
+ "members": {
+ "FunctionName": {
+ "location": "uri",
+ "locationName": "FunctionName"
+ },
+ "ZipFile": {
+ "type": "blob"
+ },
+ "S3Bucket": {},
+ "S3Key": {},
+ "S3ObjectVersion": {},
+ "Publish": {
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "shape": "S14"
+ }
+ },
+ "UpdateFunctionConfiguration": {
+ "http": {
+ "method": "PUT",
+ "requestUri": "/2015-03-31/functions/{FunctionName}/configuration",
+ "responseCode": 200
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "FunctionName"
+ ],
+ "members": {
+ "FunctionName": {
+ "location": "uri",
+ "locationName": "FunctionName"
+ },
+ "Role": {},
+ "Handler": {},
+ "Description": {},
+ "Timeout": {
+ "type": "integer"
+ },
+ "MemorySize": {
+ "type": "integer"
+ },
+ "VpcConfig": {
+ "shape": "Sz"
+ }
+ }
+ },
+ "output": {
+ "shape": "S14"
+ }
+ }
+ },
+ "shapes": {
+ "Sf": {
+ "type": "structure",
+ "members": {
+ "AliasArn": {},
+ "Name": {},
+ "FunctionVersion": {},
+ "Description": {}
+ }
+ },
+ "Sl": {
+ "type": "structure",
+ "members": {
+ "UUID": {},
+ "BatchSize": {
+ "type": "integer"
+ },
+ "EventSourceArn": {},
+ "FunctionArn": {},
+ "LastModified": {
+ "type": "timestamp"
+ },
+ "LastProcessingResult": {},
+ "State": {},
+ "StateTransitionReason": {}
+ }
+ },
+ "Sz": {
+ "type": "structure",
+ "members": {
+ "SubnetIds": {
+ "shape": "S10"
+ },
+ "SecurityGroupIds": {
+ "shape": "S12"
+ }
+ }
+ },
+ "S10": {
+ "type": "list",
+ "member": {}
+ },
+ "S12": {
+ "type": "list",
+ "member": {}
+ },
+ "S14": {
+ "type": "structure",
+ "members": {
+ "FunctionName": {},
+ "FunctionArn": {},
+ "Runtime": {},
+ "Role": {},
+ "Handler": {},
+ "CodeSize": {
+ "type": "long"
+ },
+ "Description": {},
+ "Timeout": {
+ "type": "integer"
+ },
+ "MemorySize": {
+ "type": "integer"
+ },
+ "LastModified": {},
+ "CodeSha256": {},
+ "Version": {},
+ "VpcConfig": {
+ "type": "structure",
+ "members": {
+ "SubnetIds": {
+ "shape": "S10"
+ },
+ "SecurityGroupIds": {
+ "shape": "S12"
+ },
+ "VpcId": {}
+ }
+ }
+ }
+ },
+ "S22": {
+ "type": "list",
+ "member": {
+ "shape": "S14"
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/node_modules/aws-sdk/apis/lambda-2015-03-31.paginators.json b/node_modules/aws-sdk/apis/lambda-2015-03-31.paginators.json
new file mode 100644
index 0000000000000000000000000000000000000000..da00fb78f05cdb61104a3c166444847302f29328
--- /dev/null
+++ b/node_modules/aws-sdk/apis/lambda-2015-03-31.paginators.json
@@ -0,0 +1,16 @@
+{
+ "pagination": {
+ "ListEventSourceMappings": {
+ "input_token": "Marker",
+ "output_token": "NextMarker",
+ "limit_key": "MaxItems",
+ "result_key": "EventSourceMappings"
+ },
+ "ListFunctions": {
+ "input_token": "Marker",
+ "output_token": "NextMarker",
+ "limit_key": "MaxItems",
+ "result_key": "Functions"
+ }
+ }
+}
diff --git a/node_modules/aws-sdk/apis/logs-2014-03-28.min.json b/node_modules/aws-sdk/apis/logs-2014-03-28.min.json
new file mode 100644
index 0000000000000000000000000000000000000000..74e8a7f7a831540e7fb5ece337332001ec841588
--- /dev/null
+++ b/node_modules/aws-sdk/apis/logs-2014-03-28.min.json
@@ -0,0 +1,719 @@
+{
+ "version": "2.0",
+ "metadata": {
+ "apiVersion": "2014-03-28",
+ "endpointPrefix": "logs",
+ "jsonVersion": "1.1",
+ "protocol": "json",
+ "serviceFullName": "Amazon CloudWatch Logs",
+ "signatureVersion": "v4",
+ "targetPrefix": "Logs_20140328"
+ },
+ "operations": {
+ "CancelExportTask": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "taskId"
+ ],
+ "members": {
+ "taskId": {}
+ }
+ }
+ },
+ "CreateExportTask": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "logGroupName",
+ "from",
+ "to",
+ "destination"
+ ],
+ "members": {
+ "taskName": {},
+ "logGroupName": {},
+ "logStreamNamePrefix": {},
+ "from": {
+ "type": "long"
+ },
+ "to": {
+ "type": "long"
+ },
+ "destination": {},
+ "destinationPrefix": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "taskId": {}
+ }
+ }
+ },
+ "CreateLogGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "logGroupName"
+ ],
+ "members": {
+ "logGroupName": {}
+ }
+ }
+ },
+ "CreateLogStream": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "logGroupName",
+ "logStreamName"
+ ],
+ "members": {
+ "logGroupName": {},
+ "logStreamName": {}
+ }
+ }
+ },
+ "DeleteDestination": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "destinationName"
+ ],
+ "members": {
+ "destinationName": {}
+ }
+ }
+ },
+ "DeleteLogGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "logGroupName"
+ ],
+ "members": {
+ "logGroupName": {}
+ }
+ }
+ },
+ "DeleteLogStream": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "logGroupName",
+ "logStreamName"
+ ],
+ "members": {
+ "logGroupName": {},
+ "logStreamName": {}
+ }
+ }
+ },
+ "DeleteMetricFilter": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "logGroupName",
+ "filterName"
+ ],
+ "members": {
+ "logGroupName": {},
+ "filterName": {}
+ }
+ }
+ },
+ "DeleteRetentionPolicy": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "logGroupName"
+ ],
+ "members": {
+ "logGroupName": {}
+ }
+ }
+ },
+ "DeleteSubscriptionFilter": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "logGroupName",
+ "filterName"
+ ],
+ "members": {
+ "logGroupName": {},
+ "filterName": {}
+ }
+ }
+ },
+ "DescribeDestinations": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DestinationNamePrefix": {},
+ "nextToken": {},
+ "limit": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "destinations": {
+ "type": "list",
+ "member": {
+ "shape": "Sq"
+ }
+ },
+ "nextToken": {}
+ }
+ }
+ },
+ "DescribeExportTasks": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "taskId": {},
+ "statusCode": {},
+ "nextToken": {},
+ "limit": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "exportTasks": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "taskId": {},
+ "taskName": {},
+ "logGroupName": {},
+ "from": {
+ "type": "long"
+ },
+ "to": {
+ "type": "long"
+ },
+ "destination": {},
+ "destinationPrefix": {},
+ "status": {
+ "type": "structure",
+ "members": {
+ "code": {},
+ "message": {}
+ }
+ },
+ "executionInfo": {
+ "type": "structure",
+ "members": {
+ "creationTime": {
+ "type": "long"
+ },
+ "completionTime": {
+ "type": "long"
+ }
+ }
+ }
+ }
+ }
+ },
+ "nextToken": {}
+ }
+ }
+ },
+ "DescribeLogGroups": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "logGroupNamePrefix": {},
+ "nextToken": {},
+ "limit": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "logGroups": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "logGroupName": {},
+ "creationTime": {
+ "type": "long"
+ },
+ "retentionInDays": {
+ "type": "integer"
+ },
+ "metricFilterCount": {
+ "type": "integer"
+ },
+ "arn": {},
+ "storedBytes": {
+ "type": "long"
+ }
+ }
+ }
+ },
+ "nextToken": {}
+ }
+ }
+ },
+ "DescribeLogStreams": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "logGroupName"
+ ],
+ "members": {
+ "logGroupName": {},
+ "logStreamNamePrefix": {},
+ "orderBy": {},
+ "descending": {
+ "type": "boolean"
+ },
+ "nextToken": {},
+ "limit": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "logStreams": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "logStreamName": {},
+ "creationTime": {
+ "type": "long"
+ },
+ "firstEventTimestamp": {
+ "type": "long"
+ },
+ "lastEventTimestamp": {
+ "type": "long"
+ },
+ "lastIngestionTime": {
+ "type": "long"
+ },
+ "uploadSequenceToken": {},
+ "arn": {},
+ "storedBytes": {
+ "type": "long"
+ }
+ }
+ }
+ },
+ "nextToken": {}
+ }
+ }
+ },
+ "DescribeMetricFilters": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "logGroupName"
+ ],
+ "members": {
+ "logGroupName": {},
+ "filterNamePrefix": {},
+ "nextToken": {},
+ "limit": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "metricFilters": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "filterName": {},
+ "filterPattern": {},
+ "metricTransformations": {
+ "shape": "S1m"
+ },
+ "creationTime": {
+ "type": "long"
+ }
+ }
+ }
+ },
+ "nextToken": {}
+ }
+ }
+ },
+ "DescribeSubscriptionFilters": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "logGroupName"
+ ],
+ "members": {
+ "logGroupName": {},
+ "filterNamePrefix": {},
+ "nextToken": {},
+ "limit": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "subscriptionFilters": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "filterName": {},
+ "logGroupName": {},
+ "filterPattern": {},
+ "destinationArn": {},
+ "roleArn": {},
+ "creationTime": {
+ "type": "long"
+ }
+ }
+ }
+ },
+ "nextToken": {}
+ }
+ }
+ },
+ "FilterLogEvents": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "logGroupName"
+ ],
+ "members": {
+ "logGroupName": {},
+ "logStreamNames": {
+ "type": "list",
+ "member": {}
+ },
+ "startTime": {
+ "type": "long"
+ },
+ "endTime": {
+ "type": "long"
+ },
+ "filterPattern": {},
+ "nextToken": {},
+ "limit": {
+ "type": "integer"
+ },
+ "interleaved": {
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "events": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "logStreamName": {},
+ "timestamp": {
+ "type": "long"
+ },
+ "message": {},
+ "ingestionTime": {
+ "type": "long"
+ },
+ "eventId": {}
+ }
+ }
+ },
+ "searchedLogStreams": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "logStreamName": {},
+ "searchedCompletely": {
+ "type": "boolean"
+ }
+ }
+ }
+ },
+ "nextToken": {}
+ }
+ }
+ },
+ "GetLogEvents": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "logGroupName",
+ "logStreamName"
+ ],
+ "members": {
+ "logGroupName": {},
+ "logStreamName": {},
+ "startTime": {
+ "type": "long"
+ },
+ "endTime": {
+ "type": "long"
+ },
+ "nextToken": {},
+ "limit": {
+ "type": "integer"
+ },
+ "startFromHead": {
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "events": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "timestamp": {
+ "type": "long"
+ },
+ "message": {},
+ "ingestionTime": {
+ "type": "long"
+ }
+ }
+ }
+ },
+ "nextForwardToken": {},
+ "nextBackwardToken": {}
+ }
+ }
+ },
+ "PutDestination": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "destinationName",
+ "targetArn",
+ "roleArn"
+ ],
+ "members": {
+ "destinationName": {},
+ "targetArn": {},
+ "roleArn": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "destination": {
+ "shape": "Sq"
+ }
+ }
+ }
+ },
+ "PutDestinationPolicy": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "destinationName",
+ "accessPolicy"
+ ],
+ "members": {
+ "destinationName": {},
+ "accessPolicy": {}
+ }
+ }
+ },
+ "PutLogEvents": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "logGroupName",
+ "logStreamName",
+ "logEvents"
+ ],
+ "members": {
+ "logGroupName": {},
+ "logStreamName": {},
+ "logEvents": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "timestamp",
+ "message"
+ ],
+ "members": {
+ "timestamp": {
+ "type": "long"
+ },
+ "message": {}
+ }
+ }
+ },
+ "sequenceToken": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "nextSequenceToken": {},
+ "rejectedLogEventsInfo": {
+ "type": "structure",
+ "members": {
+ "tooNewLogEventStartIndex": {
+ "type": "integer"
+ },
+ "tooOldLogEventEndIndex": {
+ "type": "integer"
+ },
+ "expiredLogEventEndIndex": {
+ "type": "integer"
+ }
+ }
+ }
+ }
+ }
+ },
+ "PutMetricFilter": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "logGroupName",
+ "filterName",
+ "filterPattern",
+ "metricTransformations"
+ ],
+ "members": {
+ "logGroupName": {},
+ "filterName": {},
+ "filterPattern": {},
+ "metricTransformations": {
+ "shape": "S1m"
+ }
+ }
+ }
+ },
+ "PutRetentionPolicy": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "logGroupName",
+ "retentionInDays"
+ ],
+ "members": {
+ "logGroupName": {},
+ "retentionInDays": {
+ "type": "integer"
+ }
+ }
+ }
+ },
+ "PutSubscriptionFilter": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "logGroupName",
+ "filterName",
+ "filterPattern",
+ "destinationArn"
+ ],
+ "members": {
+ "logGroupName": {},
+ "filterName": {},
+ "filterPattern": {},
+ "destinationArn": {},
+ "roleArn": {}
+ }
+ }
+ },
+ "TestMetricFilter": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "filterPattern",
+ "logEventMessages"
+ ],
+ "members": {
+ "filterPattern": {},
+ "logEventMessages": {
+ "type": "list",
+ "member": {}
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "matches": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "eventNumber": {
+ "type": "long"
+ },
+ "eventMessage": {},
+ "extractedValues": {
+ "type": "map",
+ "key": {},
+ "value": {}
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "shapes": {
+ "Sq": {
+ "type": "structure",
+ "members": {
+ "destinationName": {},
+ "targetArn": {},
+ "roleArn": {},
+ "accessPolicy": {},
+ "arn": {},
+ "creationTime": {
+ "type": "long"
+ }
+ }
+ },
+ "S1m": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "metricName",
+ "metricNamespace",
+ "metricValue"
+ ],
+ "members": {
+ "metricName": {},
+ "metricNamespace": {},
+ "metricValue": {}
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/node_modules/aws-sdk/apis/logs-2014-03-28.paginators.json b/node_modules/aws-sdk/apis/logs-2014-03-28.paginators.json
new file mode 100644
index 0000000000000000000000000000000000000000..f68932415d8d20765579cc45016bbf8e8c0609e2
--- /dev/null
+++ b/node_modules/aws-sdk/apis/logs-2014-03-28.paginators.json
@@ -0,0 +1,49 @@
+{
+ "pagination": {
+ "DescribeDestinations": {
+ "input_token": "nextToken",
+ "output_token": "nextToken",
+ "limit_key": "limit",
+ "result_key": "destinations"
+ },
+ "DescribeLogGroups": {
+ "input_token": "nextToken",
+ "output_token": "nextToken",
+ "limit_key": "limit",
+ "result_key": "logGroups"
+ },
+ "DescribeLogStreams": {
+ "input_token": "nextToken",
+ "output_token": "nextToken",
+ "limit_key": "limit",
+ "result_key": "logStreams"
+ },
+ "DescribeMetricFilters": {
+ "input_token": "nextToken",
+ "output_token": "nextToken",
+ "limit_key": "limit",
+ "result_key": "metricFilters"
+ },
+ "DescribeSubscriptionFilters": {
+ "input_token": "nextToken",
+ "output_token": "nextToken",
+ "limit_key": "limit",
+ "result_key": "subscriptionFilters"
+ },
+ "FilterLogEvents": {
+ "input_token": "nextToken",
+ "output_token": "nextToken",
+ "limit_key": "limit",
+ "result_key": [
+ "events",
+ "searchedLogStreams"
+ ]
+ },
+ "GetLogEvents": {
+ "input_token": "nextToken",
+ "output_token": "nextForwardToken",
+ "limit_key": "limit",
+ "result_key": "events"
+ }
+ }
+}
diff --git a/node_modules/aws-sdk/apis/machinelearning-2014-12-12.min.json b/node_modules/aws-sdk/apis/machinelearning-2014-12-12.min.json
new file mode 100644
index 0000000000000000000000000000000000000000..ced67cd83d500eb02d8ec4e56afc09ad04b0c54f
--- /dev/null
+++ b/node_modules/aws-sdk/apis/machinelearning-2014-12-12.min.json
@@ -0,0 +1,941 @@
+{
+ "version": "2.0",
+ "metadata": {
+ "apiVersion": "2014-12-12",
+ "endpointPrefix": "machinelearning",
+ "jsonVersion": "1.1",
+ "serviceFullName": "Amazon Machine Learning",
+ "signatureVersion": "v4",
+ "targetPrefix": "AmazonML_20141212",
+ "protocol": "json"
+ },
+ "operations": {
+ "CreateBatchPrediction": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "BatchPredictionId",
+ "MLModelId",
+ "BatchPredictionDataSourceId",
+ "OutputUri"
+ ],
+ "members": {
+ "BatchPredictionId": {},
+ "BatchPredictionName": {},
+ "MLModelId": {},
+ "BatchPredictionDataSourceId": {},
+ "OutputUri": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "BatchPredictionId": {}
+ }
+ }
+ },
+ "CreateDataSourceFromRDS": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DataSourceId",
+ "RDSData",
+ "RoleARN"
+ ],
+ "members": {
+ "DataSourceId": {},
+ "DataSourceName": {},
+ "RDSData": {
+ "type": "structure",
+ "required": [
+ "DatabaseInformation",
+ "SelectSqlQuery",
+ "DatabaseCredentials",
+ "S3StagingLocation",
+ "ResourceRole",
+ "ServiceRole",
+ "SubnetId",
+ "SecurityGroupIds"
+ ],
+ "members": {
+ "DatabaseInformation": {
+ "shape": "S8"
+ },
+ "SelectSqlQuery": {},
+ "DatabaseCredentials": {
+ "type": "structure",
+ "required": [
+ "Username",
+ "Password"
+ ],
+ "members": {
+ "Username": {},
+ "Password": {}
+ }
+ },
+ "S3StagingLocation": {},
+ "DataRearrangement": {},
+ "DataSchema": {},
+ "DataSchemaUri": {},
+ "ResourceRole": {},
+ "ServiceRole": {},
+ "SubnetId": {},
+ "SecurityGroupIds": {
+ "type": "list",
+ "member": {}
+ }
+ }
+ },
+ "RoleARN": {},
+ "ComputeStatistics": {
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "DataSourceId": {}
+ }
+ }
+ },
+ "CreateDataSourceFromRedshift": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DataSourceId",
+ "DataSpec",
+ "RoleARN"
+ ],
+ "members": {
+ "DataSourceId": {},
+ "DataSourceName": {},
+ "DataSpec": {
+ "type": "structure",
+ "required": [
+ "DatabaseInformation",
+ "SelectSqlQuery",
+ "DatabaseCredentials",
+ "S3StagingLocation"
+ ],
+ "members": {
+ "DatabaseInformation": {
+ "shape": "Sr"
+ },
+ "SelectSqlQuery": {},
+ "DatabaseCredentials": {
+ "type": "structure",
+ "required": [
+ "Username",
+ "Password"
+ ],
+ "members": {
+ "Username": {},
+ "Password": {}
+ }
+ },
+ "S3StagingLocation": {},
+ "DataRearrangement": {},
+ "DataSchema": {},
+ "DataSchemaUri": {}
+ }
+ },
+ "RoleARN": {},
+ "ComputeStatistics": {
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "DataSourceId": {}
+ }
+ }
+ },
+ "CreateDataSourceFromS3": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DataSourceId",
+ "DataSpec"
+ ],
+ "members": {
+ "DataSourceId": {},
+ "DataSourceName": {},
+ "DataSpec": {
+ "type": "structure",
+ "required": [
+ "DataLocationS3"
+ ],
+ "members": {
+ "DataLocationS3": {},
+ "DataRearrangement": {},
+ "DataSchema": {},
+ "DataSchemaLocationS3": {}
+ }
+ },
+ "ComputeStatistics": {
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "DataSourceId": {}
+ }
+ }
+ },
+ "CreateEvaluation": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "EvaluationId",
+ "MLModelId",
+ "EvaluationDataSourceId"
+ ],
+ "members": {
+ "EvaluationId": {},
+ "EvaluationName": {},
+ "MLModelId": {},
+ "EvaluationDataSourceId": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "EvaluationId": {}
+ }
+ }
+ },
+ "CreateMLModel": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "MLModelId",
+ "MLModelType",
+ "TrainingDataSourceId"
+ ],
+ "members": {
+ "MLModelId": {},
+ "MLModelName": {},
+ "MLModelType": {},
+ "Parameters": {
+ "shape": "S16"
+ },
+ "TrainingDataSourceId": {},
+ "Recipe": {},
+ "RecipeUri": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "MLModelId": {}
+ }
+ }
+ },
+ "CreateRealtimeEndpoint": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "MLModelId"
+ ],
+ "members": {
+ "MLModelId": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "MLModelId": {},
+ "RealtimeEndpointInfo": {
+ "shape": "S1c"
+ }
+ }
+ }
+ },
+ "DeleteBatchPrediction": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "BatchPredictionId"
+ ],
+ "members": {
+ "BatchPredictionId": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "BatchPredictionId": {}
+ }
+ }
+ },
+ "DeleteDataSource": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DataSourceId"
+ ],
+ "members": {
+ "DataSourceId": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "DataSourceId": {}
+ }
+ }
+ },
+ "DeleteEvaluation": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "EvaluationId"
+ ],
+ "members": {
+ "EvaluationId": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "EvaluationId": {}
+ }
+ }
+ },
+ "DeleteMLModel": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "MLModelId"
+ ],
+ "members": {
+ "MLModelId": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "MLModelId": {}
+ }
+ }
+ },
+ "DeleteRealtimeEndpoint": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "MLModelId"
+ ],
+ "members": {
+ "MLModelId": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "MLModelId": {},
+ "RealtimeEndpointInfo": {
+ "shape": "S1c"
+ }
+ }
+ }
+ },
+ "DescribeBatchPredictions": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "FilterVariable": {},
+ "EQ": {},
+ "GT": {},
+ "LT": {},
+ "GE": {},
+ "LE": {},
+ "NE": {},
+ "Prefix": {},
+ "SortOrder": {},
+ "NextToken": {},
+ "Limit": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Results": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "BatchPredictionId": {},
+ "MLModelId": {},
+ "BatchPredictionDataSourceId": {},
+ "InputDataLocationS3": {},
+ "CreatedByIamUser": {},
+ "CreatedAt": {
+ "type": "timestamp"
+ },
+ "LastUpdatedAt": {
+ "type": "timestamp"
+ },
+ "Name": {},
+ "Status": {},
+ "OutputUri": {},
+ "Message": {}
+ }
+ }
+ },
+ "NextToken": {}
+ }
+ }
+ },
+ "DescribeDataSources": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "FilterVariable": {},
+ "EQ": {},
+ "GT": {},
+ "LT": {},
+ "GE": {},
+ "LE": {},
+ "NE": {},
+ "Prefix": {},
+ "SortOrder": {},
+ "NextToken": {},
+ "Limit": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Results": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "DataSourceId": {},
+ "DataLocationS3": {},
+ "DataRearrangement": {},
+ "CreatedByIamUser": {},
+ "CreatedAt": {
+ "type": "timestamp"
+ },
+ "LastUpdatedAt": {
+ "type": "timestamp"
+ },
+ "DataSizeInBytes": {
+ "type": "long"
+ },
+ "NumberOfFiles": {
+ "type": "long"
+ },
+ "Name": {},
+ "Status": {},
+ "Message": {},
+ "RedshiftMetadata": {
+ "shape": "S28"
+ },
+ "RDSMetadata": {
+ "shape": "S29"
+ },
+ "RoleARN": {},
+ "ComputeStatistics": {
+ "type": "boolean"
+ }
+ }
+ }
+ },
+ "NextToken": {}
+ }
+ }
+ },
+ "DescribeEvaluations": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "FilterVariable": {},
+ "EQ": {},
+ "GT": {},
+ "LT": {},
+ "GE": {},
+ "LE": {},
+ "NE": {},
+ "Prefix": {},
+ "SortOrder": {},
+ "NextToken": {},
+ "Limit": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Results": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "EvaluationId": {},
+ "MLModelId": {},
+ "EvaluationDataSourceId": {},
+ "InputDataLocationS3": {},
+ "CreatedByIamUser": {},
+ "CreatedAt": {
+ "type": "timestamp"
+ },
+ "LastUpdatedAt": {
+ "type": "timestamp"
+ },
+ "Name": {},
+ "Status": {},
+ "PerformanceMetrics": {
+ "shape": "S2g"
+ },
+ "Message": {}
+ }
+ }
+ },
+ "NextToken": {}
+ }
+ }
+ },
+ "DescribeMLModels": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "FilterVariable": {},
+ "EQ": {},
+ "GT": {},
+ "LT": {},
+ "GE": {},
+ "LE": {},
+ "NE": {},
+ "Prefix": {},
+ "SortOrder": {},
+ "NextToken": {},
+ "Limit": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Results": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "MLModelId": {},
+ "TrainingDataSourceId": {},
+ "CreatedByIamUser": {},
+ "CreatedAt": {
+ "type": "timestamp"
+ },
+ "LastUpdatedAt": {
+ "type": "timestamp"
+ },
+ "Name": {},
+ "Status": {},
+ "SizeInBytes": {
+ "type": "long"
+ },
+ "EndpointInfo": {
+ "shape": "S1c"
+ },
+ "TrainingParameters": {
+ "shape": "S16"
+ },
+ "InputDataLocationS3": {},
+ "Algorithm": {},
+ "MLModelType": {},
+ "ScoreThreshold": {
+ "type": "float"
+ },
+ "ScoreThresholdLastUpdatedAt": {
+ "type": "timestamp"
+ },
+ "Message": {}
+ }
+ }
+ },
+ "NextToken": {}
+ }
+ }
+ },
+ "GetBatchPrediction": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "BatchPredictionId"
+ ],
+ "members": {
+ "BatchPredictionId": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "BatchPredictionId": {},
+ "MLModelId": {},
+ "BatchPredictionDataSourceId": {},
+ "InputDataLocationS3": {},
+ "CreatedByIamUser": {},
+ "CreatedAt": {
+ "type": "timestamp"
+ },
+ "LastUpdatedAt": {
+ "type": "timestamp"
+ },
+ "Name": {},
+ "Status": {},
+ "OutputUri": {},
+ "LogUri": {},
+ "Message": {}
+ }
+ }
+ },
+ "GetDataSource": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DataSourceId"
+ ],
+ "members": {
+ "DataSourceId": {},
+ "Verbose": {
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "DataSourceId": {},
+ "DataLocationS3": {},
+ "DataRearrangement": {},
+ "CreatedByIamUser": {},
+ "CreatedAt": {
+ "type": "timestamp"
+ },
+ "LastUpdatedAt": {
+ "type": "timestamp"
+ },
+ "DataSizeInBytes": {
+ "type": "long"
+ },
+ "NumberOfFiles": {
+ "type": "long"
+ },
+ "Name": {},
+ "Status": {},
+ "LogUri": {},
+ "Message": {},
+ "RedshiftMetadata": {
+ "shape": "S28"
+ },
+ "RDSMetadata": {
+ "shape": "S29"
+ },
+ "RoleARN": {},
+ "ComputeStatistics": {
+ "type": "boolean"
+ },
+ "DataSourceSchema": {}
+ }
+ }
+ },
+ "GetEvaluation": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "EvaluationId"
+ ],
+ "members": {
+ "EvaluationId": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "EvaluationId": {},
+ "MLModelId": {},
+ "EvaluationDataSourceId": {},
+ "InputDataLocationS3": {},
+ "CreatedByIamUser": {},
+ "CreatedAt": {
+ "type": "timestamp"
+ },
+ "LastUpdatedAt": {
+ "type": "timestamp"
+ },
+ "Name": {},
+ "Status": {},
+ "PerformanceMetrics": {
+ "shape": "S2g"
+ },
+ "LogUri": {},
+ "Message": {}
+ }
+ }
+ },
+ "GetMLModel": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "MLModelId"
+ ],
+ "members": {
+ "MLModelId": {},
+ "Verbose": {
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "MLModelId": {},
+ "TrainingDataSourceId": {},
+ "CreatedByIamUser": {},
+ "CreatedAt": {
+ "type": "timestamp"
+ },
+ "LastUpdatedAt": {
+ "type": "timestamp"
+ },
+ "Name": {},
+ "Status": {},
+ "SizeInBytes": {
+ "type": "long"
+ },
+ "EndpointInfo": {
+ "shape": "S1c"
+ },
+ "TrainingParameters": {
+ "shape": "S16"
+ },
+ "InputDataLocationS3": {},
+ "MLModelType": {},
+ "ScoreThreshold": {
+ "type": "float"
+ },
+ "ScoreThresholdLastUpdatedAt": {
+ "type": "timestamp"
+ },
+ "LogUri": {},
+ "Message": {},
+ "Recipe": {},
+ "Schema": {}
+ }
+ }
+ },
+ "Predict": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "MLModelId",
+ "Record",
+ "PredictEndpoint"
+ ],
+ "members": {
+ "MLModelId": {},
+ "Record": {
+ "type": "map",
+ "key": {},
+ "value": {}
+ },
+ "PredictEndpoint": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Prediction": {
+ "type": "structure",
+ "members": {
+ "predictedLabel": {},
+ "predictedValue": {
+ "type": "float"
+ },
+ "predictedScores": {
+ "type": "map",
+ "key": {},
+ "value": {
+ "type": "float"
+ }
+ },
+ "details": {
+ "type": "map",
+ "key": {},
+ "value": {}
+ }
+ }
+ }
+ }
+ }
+ },
+ "UpdateBatchPrediction": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "BatchPredictionId",
+ "BatchPredictionName"
+ ],
+ "members": {
+ "BatchPredictionId": {},
+ "BatchPredictionName": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "BatchPredictionId": {}
+ }
+ }
+ },
+ "UpdateDataSource": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DataSourceId",
+ "DataSourceName"
+ ],
+ "members": {
+ "DataSourceId": {},
+ "DataSourceName": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "DataSourceId": {}
+ }
+ }
+ },
+ "UpdateEvaluation": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "EvaluationId",
+ "EvaluationName"
+ ],
+ "members": {
+ "EvaluationId": {},
+ "EvaluationName": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "EvaluationId": {}
+ }
+ }
+ },
+ "UpdateMLModel": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "MLModelId"
+ ],
+ "members": {
+ "MLModelId": {},
+ "MLModelName": {},
+ "ScoreThreshold": {
+ "type": "float"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "MLModelId": {}
+ }
+ }
+ }
+ },
+ "shapes": {
+ "S8": {
+ "type": "structure",
+ "required": [
+ "InstanceIdentifier",
+ "DatabaseName"
+ ],
+ "members": {
+ "InstanceIdentifier": {},
+ "DatabaseName": {}
+ }
+ },
+ "Sr": {
+ "type": "structure",
+ "required": [
+ "DatabaseName",
+ "ClusterIdentifier"
+ ],
+ "members": {
+ "DatabaseName": {},
+ "ClusterIdentifier": {}
+ }
+ },
+ "S16": {
+ "type": "map",
+ "key": {},
+ "value": {}
+ },
+ "S1c": {
+ "type": "structure",
+ "members": {
+ "PeakRequestsPerSecond": {
+ "type": "integer"
+ },
+ "CreatedAt": {
+ "type": "timestamp"
+ },
+ "EndpointUrl": {},
+ "EndpointStatus": {}
+ }
+ },
+ "S28": {
+ "type": "structure",
+ "members": {
+ "RedshiftDatabase": {
+ "shape": "Sr"
+ },
+ "DatabaseUserName": {},
+ "SelectSqlQuery": {}
+ }
+ },
+ "S29": {
+ "type": "structure",
+ "members": {
+ "Database": {
+ "shape": "S8"
+ },
+ "DatabaseUserName": {},
+ "SelectSqlQuery": {},
+ "ResourceRole": {},
+ "ServiceRole": {},
+ "DataPipelineId": {}
+ }
+ },
+ "S2g": {
+ "type": "structure",
+ "members": {
+ "Properties": {
+ "type": "map",
+ "key": {},
+ "value": {}
+ }
+ }
+ }
+ },
+ "examples": {}
+}
\ No newline at end of file
diff --git a/node_modules/aws-sdk/apis/machinelearning-2014-12-12.paginators.json b/node_modules/aws-sdk/apis/machinelearning-2014-12-12.paginators.json
new file mode 100644
index 0000000000000000000000000000000000000000..c13ce65af5b20c79bbefd4f848ec0609ed395ff4
--- /dev/null
+++ b/node_modules/aws-sdk/apis/machinelearning-2014-12-12.paginators.json
@@ -0,0 +1,28 @@
+{
+ "pagination": {
+ "DescribeBatchPredictions": {
+ "limit_key": "Limit",
+ "output_token": "NextToken",
+ "input_token": "NextToken",
+ "result_key": "Results"
+ },
+ "DescribeDataSources": {
+ "limit_key": "Limit",
+ "output_token": "NextToken",
+ "input_token": "NextToken",
+ "result_key": "Results"
+ },
+ "DescribeEvaluations": {
+ "limit_key": "Limit",
+ "output_token": "NextToken",
+ "input_token": "NextToken",
+ "result_key": "Results"
+ },
+ "DescribeMLModels": {
+ "limit_key": "Limit",
+ "output_token": "NextToken",
+ "input_token": "NextToken",
+ "result_key": "Results"
+ }
+ }
+}
diff --git a/node_modules/aws-sdk/apis/marketplacecommerceanalytics-2015-07-01.min.json b/node_modules/aws-sdk/apis/marketplacecommerceanalytics-2015-07-01.min.json
new file mode 100644
index 0000000000000000000000000000000000000000..f670c29a00e01b8e06a396df507d9e6327162d9f
--- /dev/null
+++ b/node_modules/aws-sdk/apis/marketplacecommerceanalytics-2015-07-01.min.json
@@ -0,0 +1,49 @@
+{
+ "version": "2.0",
+ "metadata": {
+ "apiVersion": "2015-07-01",
+ "endpointPrefix": "marketplacecommerceanalytics",
+ "jsonVersion": "1.1",
+ "protocol": "json",
+ "serviceFullName": "AWS Marketplace Commerce Analytics",
+ "signatureVersion": "v4",
+ "signingName": "marketplacecommerceanalytics",
+ "targetPrefix": "MarketplaceCommerceAnalytics20150701"
+ },
+ "operations": {
+ "GenerateDataSet": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "dataSetType",
+ "dataSetPublicationDate",
+ "roleNameArn",
+ "destinationS3BucketName",
+ "snsTopicArn"
+ ],
+ "members": {
+ "dataSetType": {},
+ "dataSetPublicationDate": {
+ "type": "timestamp"
+ },
+ "roleNameArn": {},
+ "destinationS3BucketName": {},
+ "destinationS3Prefix": {},
+ "snsTopicArn": {},
+ "customerDefinedValues": {
+ "type": "map",
+ "key": {},
+ "value": {}
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "dataSetRequestId": {}
+ }
+ }
+ }
+ },
+ "shapes": {}
+}
\ No newline at end of file
diff --git a/node_modules/aws-sdk/apis/metadata.json b/node_modules/aws-sdk/apis/metadata.json
new file mode 100644
index 0000000000000000000000000000000000000000..a2a3ee624f6d1c8268a3db2dd2b2f5671e6ac663
--- /dev/null
+++ b/node_modules/aws-sdk/apis/metadata.json
@@ -0,0 +1,224 @@
+{
+ "acm": {
+ "name": "ACM"
+ },
+ "apigateway": {
+ "name": "APIGateway"
+ },
+ "autoscaling": {
+ "name": "AutoScaling"
+ },
+ "cloudformation": {
+ "name": "CloudFormation"
+ },
+ "cloudfront": {
+ "name": "CloudFront",
+ "versions": ["2013-05-12*", "2013-11-11*", "2014-05-31*", "2014-10-21*", "2014-11-06*", "2015-04-17*", "2015-07-27*", "2015-09-17*", "2016-01-13*"]
+ },
+ "cloudhsm": {
+ "name": "CloudHSM"
+ },
+ "cloudsearch": {
+ "name": "CloudSearch"
+ },
+ "cloudsearchdomain": {
+ "name": "CloudSearchDomain"
+ },
+ "cloudtrail": {
+ "name": "CloudTrail"
+ },
+ "cloudwatch": {
+ "prefix": "monitoring",
+ "name": "CloudWatch"
+ },
+ "cloudwatchevents": {
+ "prefix": "events",
+ "name": "CloudWatchEvents",
+ "versions": ["2014-02-03*"]
+ },
+ "cloudwatchlogs": {
+ "prefix": "logs",
+ "name": "CloudWatchLogs"
+ },
+ "codecommit": {
+ "name": "CodeCommit"
+ },
+ "codedeploy": {
+ "name": "CodeDeploy"
+ },
+ "codepipeline": {
+ "name": "CodePipeline"
+ },
+ "cognitoidentity": {
+ "prefix": "cognito-identity",
+ "name": "CognitoIdentity"
+ },
+ "cognitosync": {
+ "prefix": "cognito-sync",
+ "name": "CognitoSync"
+ },
+ "configservice": {
+ "prefix": "config",
+ "name": "ConfigService"
+ },
+ "datapipeline": {
+ "name": "DataPipeline"
+ },
+ "devicefarm": {
+ "name": "DeviceFarm"
+ },
+ "directconnect": {
+ "name": "DirectConnect"
+ },
+ "directoryservice": {
+ "prefix": "ds",
+ "name": "DirectoryService"
+ },
+ "dms": {
+ "name": "DMS"
+ },
+ "dynamodb": {
+ "name": "DynamoDB"
+ },
+ "dynamodbstreams": {
+ "prefix": "streams.dynamodb",
+ "name": "DynamoDBStreams"
+ },
+ "ec2": {
+ "name": "EC2",
+ "versions": ["2013-06-15*", "2013-10-15*", "2014-02-01*", "2014-05-01*", "2014-06-15*", "2014-09-01*", "2014-10-01*", "2015-03-01*", "2015-04-15*"]
+ },
+ "ecr": {
+ "name": "ECR"
+ },
+ "ecs": {
+ "name": "ECS"
+ },
+ "efs": {
+ "prefix": "elasticfilesystem",
+ "name": "EFS"
+ },
+ "elasticache": {
+ "name": "ElastiCache",
+ "versions": ["2012-11-15*", "2014-03-24*", "2014-07-15*", "2014-09-30*"]
+ },
+ "elasticbeanstalk": {
+ "name": "ElasticBeanstalk"
+ },
+ "elb": {
+ "prefix": "elasticloadbalancing",
+ "name": "ELB"
+ },
+ "emr": {
+ "prefix": "elasticmapreduce",
+ "name": "EMR"
+ },
+ "es": {
+ "name": "ES"
+ },
+ "elastictranscoder": {
+ "name": "ElasticTranscoder"
+ },
+ "firehose": {
+ "name": "Firehose"
+ },
+ "gamelift": {
+ "name": "GameLift"
+ },
+ "glacier": {
+ "name": "Glacier"
+ },
+ "iam": {
+ "name": "IAM"
+ },
+ "importexport": {
+ "name": "ImportExport"
+ },
+ "inspector": {
+ "name": "Inspector",
+ "versions": ["2015-08-18*"]
+ },
+ "iot": {
+ "name": "Iot"
+ },
+ "iotdata": {
+ "prefix": "iot-data",
+ "name": "IotData"
+ },
+ "kinesis": {
+ "name": "Kinesis"
+ },
+ "kms": {
+ "name": "KMS"
+ },
+ "lambda": {
+ "name": "Lambda"
+ },
+ "machinelearning": {
+ "name": "MachineLearning"
+ },
+ "marketplacecommerceanalytics": {
+ "name": "MarketplaceCommerceAnalytics"
+ },
+ "marketplacemetering": {
+ "prefix": "meteringmarketplace",
+ "name": "MarketplaceMetering"
+ },
+ "mobileanalytics": {
+ "name": "MobileAnalytics"
+ },
+ "opsworks": {
+ "name": "OpsWorks"
+ },
+ "rds": {
+ "name": "RDS",
+ "versions": ["2014-09-01*"]
+ },
+ "redshift": {
+ "name": "Redshift"
+ },
+ "route53": {
+ "name": "Route53"
+ },
+ "route53domains": {
+ "name": "Route53Domains"
+ },
+ "s3": {
+ "name": "S3"
+ },
+ "ses": {
+ "prefix": "email",
+ "name": "SES"
+ },
+ "simpledb": {
+ "prefix": "sdb",
+ "name": "SimpleDB"
+ },
+ "sns": {
+ "name": "SNS"
+ },
+ "sqs": {
+ "name": "SQS"
+ },
+ "ssm": {
+ "name": "SSM"
+ },
+ "storagegateway": {
+ "name": "StorageGateway"
+ },
+ "sts": {
+ "name": "STS"
+ },
+ "support": {
+ "name": "Support"
+ },
+ "swf": {
+ "name": "SWF"
+ },
+ "waf": {
+ "name": "WAF"
+ },
+ "workspaces": {
+ "name": "WorkSpaces"
+ }
+}
diff --git a/node_modules/aws-sdk/apis/meteringmarketplace-2016-01-14.min.json b/node_modules/aws-sdk/apis/meteringmarketplace-2016-01-14.min.json
new file mode 100644
index 0000000000000000000000000000000000000000..ed7d5bd3959befe495d54fa2b5eb5655d59db0cb
--- /dev/null
+++ b/node_modules/aws-sdk/apis/meteringmarketplace-2016-01-14.min.json
@@ -0,0 +1,47 @@
+{
+ "version": "2.0",
+ "metadata": {
+ "apiVersion": "2016-01-14",
+ "endpointPrefix": "metering.marketplace",
+ "jsonVersion": "1.1",
+ "protocol": "json",
+ "serviceFullName": "AWSMarketplace Metering",
+ "signatureVersion": "v4",
+ "signingName": "aws-marketplace",
+ "targetPrefix": "AWSMPMeteringService"
+ },
+ "operations": {
+ "MeterUsage": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ProductCode",
+ "Timestamp",
+ "UsageDimension",
+ "UsageQuantity",
+ "DryRun"
+ ],
+ "members": {
+ "ProductCode": {},
+ "Timestamp": {
+ "type": "timestamp"
+ },
+ "UsageDimension": {},
+ "UsageQuantity": {
+ "type": "integer"
+ },
+ "DryRun": {
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "MeteringRecordId": {}
+ }
+ }
+ }
+ },
+ "shapes": {}
+}
\ No newline at end of file
diff --git a/node_modules/aws-sdk/apis/mobileanalytics-2014-06-05.min.json b/node_modules/aws-sdk/apis/mobileanalytics-2014-06-05.min.json
new file mode 100644
index 0000000000000000000000000000000000000000..a327cb121241af65d04e6085be60d4e75e3a47f8
--- /dev/null
+++ b/node_modules/aws-sdk/apis/mobileanalytics-2014-06-05.min.json
@@ -0,0 +1,74 @@
+{
+ "version": "2.0",
+ "metadata": {
+ "apiVersion": "2014-06-05",
+ "endpointPrefix": "mobileanalytics",
+ "serviceFullName": "Amazon Mobile Analytics",
+ "signatureVersion": "v4",
+ "protocol": "rest-json"
+ },
+ "operations": {
+ "PutEvents": {
+ "http": {
+ "requestUri": "/2014-06-05/events",
+ "responseCode": 202
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "events",
+ "clientContext"
+ ],
+ "members": {
+ "events": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "eventType",
+ "timestamp"
+ ],
+ "members": {
+ "eventType": {},
+ "timestamp": {},
+ "session": {
+ "type": "structure",
+ "members": {
+ "id": {},
+ "duration": {
+ "type": "long"
+ },
+ "startTimestamp": {},
+ "stopTimestamp": {}
+ }
+ },
+ "version": {},
+ "attributes": {
+ "type": "map",
+ "key": {},
+ "value": {}
+ },
+ "metrics": {
+ "type": "map",
+ "key": {},
+ "value": {
+ "type": "double"
+ }
+ }
+ }
+ }
+ },
+ "clientContext": {
+ "location": "header",
+ "locationName": "x-amz-Client-Context"
+ },
+ "clientContextEncoding": {
+ "location": "header",
+ "locationName": "x-amz-Client-Context-Encoding"
+ }
+ }
+ }
+ }
+ },
+ "shapes": {}
+}
\ No newline at end of file
diff --git a/node_modules/aws-sdk/apis/monitoring-2010-08-01.min.json b/node_modules/aws-sdk/apis/monitoring-2010-08-01.min.json
new file mode 100644
index 0000000000000000000000000000000000000000..d4696fa21ead74d6532c03c85f33d60e908943ef
--- /dev/null
+++ b/node_modules/aws-sdk/apis/monitoring-2010-08-01.min.json
@@ -0,0 +1,501 @@
+{
+ "version": "2.0",
+ "metadata": {
+ "apiVersion": "2010-08-01",
+ "endpointPrefix": "monitoring",
+ "protocol": "query",
+ "serviceAbbreviation": "CloudWatch",
+ "serviceFullName": "Amazon CloudWatch",
+ "signatureVersion": "v4",
+ "xmlNamespace": "http://monitoring.amazonaws.com/doc/2010-08-01/"
+ },
+ "operations": {
+ "DeleteAlarms": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "AlarmNames"
+ ],
+ "members": {
+ "AlarmNames": {
+ "shape": "S2"
+ }
+ }
+ }
+ },
+ "DescribeAlarmHistory": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "AlarmName": {},
+ "HistoryItemType": {},
+ "StartDate": {
+ "type": "timestamp"
+ },
+ "EndDate": {
+ "type": "timestamp"
+ },
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "NextToken": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeAlarmHistoryResult",
+ "type": "structure",
+ "members": {
+ "AlarmHistoryItems": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "AlarmName": {},
+ "Timestamp": {
+ "type": "timestamp"
+ },
+ "HistoryItemType": {},
+ "HistorySummary": {},
+ "HistoryData": {}
+ }
+ }
+ },
+ "NextToken": {}
+ }
+ }
+ },
+ "DescribeAlarms": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "AlarmNames": {
+ "shape": "S2"
+ },
+ "AlarmNamePrefix": {},
+ "StateValue": {},
+ "ActionPrefix": {},
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "NextToken": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeAlarmsResult",
+ "type": "structure",
+ "members": {
+ "MetricAlarms": {
+ "shape": "Sj"
+ },
+ "NextToken": {}
+ }
+ }
+ },
+ "DescribeAlarmsForMetric": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "MetricName",
+ "Namespace"
+ ],
+ "members": {
+ "MetricName": {},
+ "Namespace": {},
+ "Statistic": {},
+ "Dimensions": {
+ "shape": "Sv"
+ },
+ "Period": {
+ "type": "integer"
+ },
+ "Unit": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeAlarmsForMetricResult",
+ "type": "structure",
+ "members": {
+ "MetricAlarms": {
+ "shape": "Sj"
+ }
+ }
+ }
+ },
+ "DisableAlarmActions": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "AlarmNames"
+ ],
+ "members": {
+ "AlarmNames": {
+ "shape": "S2"
+ }
+ }
+ }
+ },
+ "EnableAlarmActions": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "AlarmNames"
+ ],
+ "members": {
+ "AlarmNames": {
+ "shape": "S2"
+ }
+ }
+ }
+ },
+ "GetMetricStatistics": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Namespace",
+ "MetricName",
+ "StartTime",
+ "EndTime",
+ "Period",
+ "Statistics"
+ ],
+ "members": {
+ "Namespace": {},
+ "MetricName": {},
+ "Dimensions": {
+ "shape": "Sv"
+ },
+ "StartTime": {
+ "type": "timestamp"
+ },
+ "EndTime": {
+ "type": "timestamp"
+ },
+ "Period": {
+ "type": "integer"
+ },
+ "Statistics": {
+ "type": "list",
+ "member": {}
+ },
+ "Unit": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "GetMetricStatisticsResult",
+ "type": "structure",
+ "members": {
+ "Label": {},
+ "Datapoints": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "Timestamp": {
+ "type": "timestamp"
+ },
+ "SampleCount": {
+ "type": "double"
+ },
+ "Average": {
+ "type": "double"
+ },
+ "Sum": {
+ "type": "double"
+ },
+ "Minimum": {
+ "type": "double"
+ },
+ "Maximum": {
+ "type": "double"
+ },
+ "Unit": {}
+ },
+ "xmlOrder": [
+ "Timestamp",
+ "SampleCount",
+ "Average",
+ "Sum",
+ "Minimum",
+ "Maximum",
+ "Unit"
+ ]
+ }
+ }
+ }
+ }
+ },
+ "ListMetrics": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "Namespace": {},
+ "MetricName": {},
+ "Dimensions": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "Name"
+ ],
+ "members": {
+ "Name": {},
+ "Value": {}
+ }
+ }
+ },
+ "NextToken": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "ListMetricsResult",
+ "type": "structure",
+ "members": {
+ "Metrics": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "Namespace": {},
+ "MetricName": {},
+ "Dimensions": {
+ "shape": "Sv"
+ }
+ },
+ "xmlOrder": [
+ "Namespace",
+ "MetricName",
+ "Dimensions"
+ ]
+ }
+ },
+ "NextToken": {}
+ },
+ "xmlOrder": [
+ "Metrics",
+ "NextToken"
+ ]
+ }
+ },
+ "PutMetricAlarm": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "AlarmName",
+ "MetricName",
+ "Namespace",
+ "Statistic",
+ "Period",
+ "EvaluationPeriods",
+ "Threshold",
+ "ComparisonOperator"
+ ],
+ "members": {
+ "AlarmName": {},
+ "AlarmDescription": {},
+ "ActionsEnabled": {
+ "type": "boolean"
+ },
+ "OKActions": {
+ "shape": "So"
+ },
+ "AlarmActions": {
+ "shape": "So"
+ },
+ "InsufficientDataActions": {
+ "shape": "So"
+ },
+ "MetricName": {},
+ "Namespace": {},
+ "Statistic": {},
+ "Dimensions": {
+ "shape": "Sv"
+ },
+ "Period": {
+ "type": "integer"
+ },
+ "Unit": {},
+ "EvaluationPeriods": {
+ "type": "integer"
+ },
+ "Threshold": {
+ "type": "double"
+ },
+ "ComparisonOperator": {}
+ }
+ }
+ },
+ "PutMetricData": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Namespace",
+ "MetricData"
+ ],
+ "members": {
+ "Namespace": {},
+ "MetricData": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "MetricName"
+ ],
+ "members": {
+ "MetricName": {},
+ "Dimensions": {
+ "shape": "Sv"
+ },
+ "Timestamp": {
+ "type": "timestamp"
+ },
+ "Value": {
+ "type": "double"
+ },
+ "StatisticValues": {
+ "type": "structure",
+ "required": [
+ "SampleCount",
+ "Sum",
+ "Minimum",
+ "Maximum"
+ ],
+ "members": {
+ "SampleCount": {
+ "type": "double"
+ },
+ "Sum": {
+ "type": "double"
+ },
+ "Minimum": {
+ "type": "double"
+ },
+ "Maximum": {
+ "type": "double"
+ }
+ }
+ },
+ "Unit": {}
+ }
+ }
+ }
+ }
+ }
+ },
+ "SetAlarmState": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "AlarmName",
+ "StateValue",
+ "StateReason"
+ ],
+ "members": {
+ "AlarmName": {},
+ "StateValue": {},
+ "StateReason": {},
+ "StateReasonData": {}
+ }
+ }
+ }
+ },
+ "shapes": {
+ "S2": {
+ "type": "list",
+ "member": {}
+ },
+ "Sj": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "AlarmName": {},
+ "AlarmArn": {},
+ "AlarmDescription": {},
+ "AlarmConfigurationUpdatedTimestamp": {
+ "type": "timestamp"
+ },
+ "ActionsEnabled": {
+ "type": "boolean"
+ },
+ "OKActions": {
+ "shape": "So"
+ },
+ "AlarmActions": {
+ "shape": "So"
+ },
+ "InsufficientDataActions": {
+ "shape": "So"
+ },
+ "StateValue": {},
+ "StateReason": {},
+ "StateReasonData": {},
+ "StateUpdatedTimestamp": {
+ "type": "timestamp"
+ },
+ "MetricName": {},
+ "Namespace": {},
+ "Statistic": {},
+ "Dimensions": {
+ "shape": "Sv"
+ },
+ "Period": {
+ "type": "integer"
+ },
+ "Unit": {},
+ "EvaluationPeriods": {
+ "type": "integer"
+ },
+ "Threshold": {
+ "type": "double"
+ },
+ "ComparisonOperator": {}
+ },
+ "xmlOrder": [
+ "AlarmName",
+ "AlarmArn",
+ "AlarmDescription",
+ "AlarmConfigurationUpdatedTimestamp",
+ "ActionsEnabled",
+ "OKActions",
+ "AlarmActions",
+ "InsufficientDataActions",
+ "StateValue",
+ "StateReason",
+ "StateReasonData",
+ "StateUpdatedTimestamp",
+ "MetricName",
+ "Namespace",
+ "Statistic",
+ "Dimensions",
+ "Period",
+ "Unit",
+ "EvaluationPeriods",
+ "Threshold",
+ "ComparisonOperator"
+ ]
+ }
+ },
+ "So": {
+ "type": "list",
+ "member": {}
+ },
+ "Sv": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "Name",
+ "Value"
+ ],
+ "members": {
+ "Name": {},
+ "Value": {}
+ },
+ "xmlOrder": [
+ "Name",
+ "Value"
+ ]
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/node_modules/aws-sdk/apis/monitoring-2010-08-01.paginators.json b/node_modules/aws-sdk/apis/monitoring-2010-08-01.paginators.json
new file mode 100644
index 0000000000000000000000000000000000000000..7bee28c28f04e49d7a3de958d5db82f8a0ab9dbf
--- /dev/null
+++ b/node_modules/aws-sdk/apis/monitoring-2010-08-01.paginators.json
@@ -0,0 +1,24 @@
+{
+ "pagination": {
+ "DescribeAlarmHistory": {
+ "input_token": "NextToken",
+ "output_token": "NextToken",
+ "limit_key": "MaxRecords",
+ "result_key": "AlarmHistoryItems"
+ },
+ "DescribeAlarms": {
+ "input_token": "NextToken",
+ "output_token": "NextToken",
+ "limit_key": "MaxRecords",
+ "result_key": "MetricAlarms"
+ },
+ "DescribeAlarmsForMetric": {
+ "result_key": "MetricAlarms"
+ },
+ "ListMetrics": {
+ "input_token": "NextToken",
+ "output_token": "NextToken",
+ "result_key": "Metrics"
+ }
+ }
+}
diff --git a/node_modules/aws-sdk/apis/opsworks-2013-02-18.min.json b/node_modules/aws-sdk/apis/opsworks-2013-02-18.min.json
new file mode 100644
index 0000000000000000000000000000000000000000..7bd98c74b2b183f14926162ade05fc72b7946c41
--- /dev/null
+++ b/node_modules/aws-sdk/apis/opsworks-2013-02-18.min.json
@@ -0,0 +1,2136 @@
+{
+ "version": "2.0",
+ "metadata": {
+ "apiVersion": "2013-02-18",
+ "endpointPrefix": "opsworks",
+ "jsonVersion": "1.1",
+ "protocol": "json",
+ "serviceFullName": "AWS OpsWorks",
+ "signatureVersion": "v4",
+ "targetPrefix": "OpsWorks_20130218"
+ },
+ "operations": {
+ "AssignInstance": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "InstanceId",
+ "LayerIds"
+ ],
+ "members": {
+ "InstanceId": {},
+ "LayerIds": {
+ "shape": "S3"
+ }
+ }
+ }
+ },
+ "AssignVolume": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "VolumeId"
+ ],
+ "members": {
+ "VolumeId": {},
+ "InstanceId": {}
+ }
+ }
+ },
+ "AssociateElasticIp": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ElasticIp"
+ ],
+ "members": {
+ "ElasticIp": {},
+ "InstanceId": {}
+ }
+ }
+ },
+ "AttachElasticLoadBalancer": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ElasticLoadBalancerName",
+ "LayerId"
+ ],
+ "members": {
+ "ElasticLoadBalancerName": {},
+ "LayerId": {}
+ }
+ }
+ },
+ "CloneStack": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "SourceStackId",
+ "ServiceRoleArn"
+ ],
+ "members": {
+ "SourceStackId": {},
+ "Name": {},
+ "Region": {},
+ "VpcId": {},
+ "Attributes": {
+ "shape": "S8"
+ },
+ "ServiceRoleArn": {},
+ "DefaultInstanceProfileArn": {},
+ "DefaultOs": {},
+ "HostnameTheme": {},
+ "DefaultAvailabilityZone": {},
+ "DefaultSubnetId": {},
+ "CustomJson": {},
+ "ConfigurationManager": {
+ "shape": "Sa"
+ },
+ "ChefConfiguration": {
+ "shape": "Sb"
+ },
+ "UseCustomCookbooks": {
+ "type": "boolean"
+ },
+ "UseOpsworksSecurityGroups": {
+ "type": "boolean"
+ },
+ "CustomCookbooksSource": {
+ "shape": "Sd"
+ },
+ "DefaultSshKeyName": {},
+ "ClonePermissions": {
+ "type": "boolean"
+ },
+ "CloneAppIds": {
+ "shape": "S3"
+ },
+ "DefaultRootDeviceType": {},
+ "AgentVersion": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "StackId": {}
+ }
+ }
+ },
+ "CreateApp": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "StackId",
+ "Name",
+ "Type"
+ ],
+ "members": {
+ "StackId": {},
+ "Shortname": {},
+ "Name": {},
+ "Description": {},
+ "DataSources": {
+ "shape": "Si"
+ },
+ "Type": {},
+ "AppSource": {
+ "shape": "Sd"
+ },
+ "Domains": {
+ "shape": "S3"
+ },
+ "EnableSsl": {
+ "type": "boolean"
+ },
+ "SslConfiguration": {
+ "shape": "Sl"
+ },
+ "Attributes": {
+ "shape": "Sm"
+ },
+ "Environment": {
+ "shape": "So"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "AppId": {}
+ }
+ }
+ },
+ "CreateDeployment": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "StackId",
+ "Command"
+ ],
+ "members": {
+ "StackId": {},
+ "AppId": {},
+ "InstanceIds": {
+ "shape": "S3"
+ },
+ "Command": {
+ "shape": "Ss"
+ },
+ "Comment": {},
+ "CustomJson": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "DeploymentId": {}
+ }
+ }
+ },
+ "CreateInstance": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "StackId",
+ "LayerIds",
+ "InstanceType"
+ ],
+ "members": {
+ "StackId": {},
+ "LayerIds": {
+ "shape": "S3"
+ },
+ "InstanceType": {},
+ "AutoScalingType": {},
+ "Hostname": {},
+ "Os": {},
+ "AmiId": {},
+ "SshKeyName": {},
+ "AvailabilityZone": {},
+ "VirtualizationType": {},
+ "SubnetId": {},
+ "Architecture": {},
+ "RootDeviceType": {},
+ "BlockDeviceMappings": {
+ "shape": "Sz"
+ },
+ "InstallUpdatesOnBoot": {
+ "type": "boolean"
+ },
+ "EbsOptimized": {
+ "type": "boolean"
+ },
+ "AgentVersion": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "InstanceId": {}
+ }
+ }
+ },
+ "CreateLayer": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "StackId",
+ "Type",
+ "Name",
+ "Shortname"
+ ],
+ "members": {
+ "StackId": {},
+ "Type": {},
+ "Name": {},
+ "Shortname": {},
+ "Attributes": {
+ "shape": "S17"
+ },
+ "CustomInstanceProfileArn": {},
+ "CustomJson": {},
+ "CustomSecurityGroupIds": {
+ "shape": "S3"
+ },
+ "Packages": {
+ "shape": "S3"
+ },
+ "VolumeConfigurations": {
+ "shape": "S19"
+ },
+ "EnableAutoHealing": {
+ "type": "boolean"
+ },
+ "AutoAssignElasticIps": {
+ "type": "boolean"
+ },
+ "AutoAssignPublicIps": {
+ "type": "boolean"
+ },
+ "CustomRecipes": {
+ "shape": "S1b"
+ },
+ "InstallUpdatesOnBoot": {
+ "type": "boolean"
+ },
+ "UseEbsOptimizedInstances": {
+ "type": "boolean"
+ },
+ "LifecycleEventConfiguration": {
+ "shape": "S1c"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "LayerId": {}
+ }
+ }
+ },
+ "CreateStack": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Name",
+ "Region",
+ "ServiceRoleArn",
+ "DefaultInstanceProfileArn"
+ ],
+ "members": {
+ "Name": {},
+ "Region": {},
+ "VpcId": {},
+ "Attributes": {
+ "shape": "S8"
+ },
+ "ServiceRoleArn": {},
+ "DefaultInstanceProfileArn": {},
+ "DefaultOs": {},
+ "HostnameTheme": {},
+ "DefaultAvailabilityZone": {},
+ "DefaultSubnetId": {},
+ "CustomJson": {},
+ "ConfigurationManager": {
+ "shape": "Sa"
+ },
+ "ChefConfiguration": {
+ "shape": "Sb"
+ },
+ "UseCustomCookbooks": {
+ "type": "boolean"
+ },
+ "UseOpsworksSecurityGroups": {
+ "type": "boolean"
+ },
+ "CustomCookbooksSource": {
+ "shape": "Sd"
+ },
+ "DefaultSshKeyName": {},
+ "DefaultRootDeviceType": {},
+ "AgentVersion": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "StackId": {}
+ }
+ }
+ },
+ "CreateUserProfile": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "IamUserArn"
+ ],
+ "members": {
+ "IamUserArn": {},
+ "SshUsername": {},
+ "SshPublicKey": {},
+ "AllowSelfManagement": {
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "IamUserArn": {}
+ }
+ }
+ },
+ "DeleteApp": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "AppId"
+ ],
+ "members": {
+ "AppId": {}
+ }
+ }
+ },
+ "DeleteInstance": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "InstanceId"
+ ],
+ "members": {
+ "InstanceId": {},
+ "DeleteElasticIp": {
+ "type": "boolean"
+ },
+ "DeleteVolumes": {
+ "type": "boolean"
+ }
+ }
+ }
+ },
+ "DeleteLayer": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "LayerId"
+ ],
+ "members": {
+ "LayerId": {}
+ }
+ }
+ },
+ "DeleteStack": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "StackId"
+ ],
+ "members": {
+ "StackId": {}
+ }
+ }
+ },
+ "DeleteUserProfile": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "IamUserArn"
+ ],
+ "members": {
+ "IamUserArn": {}
+ }
+ }
+ },
+ "DeregisterEcsCluster": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "EcsClusterArn"
+ ],
+ "members": {
+ "EcsClusterArn": {}
+ }
+ }
+ },
+ "DeregisterElasticIp": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ElasticIp"
+ ],
+ "members": {
+ "ElasticIp": {}
+ }
+ }
+ },
+ "DeregisterInstance": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "InstanceId"
+ ],
+ "members": {
+ "InstanceId": {}
+ }
+ }
+ },
+ "DeregisterRdsDbInstance": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "RdsDbInstanceArn"
+ ],
+ "members": {
+ "RdsDbInstanceArn": {}
+ }
+ }
+ },
+ "DeregisterVolume": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "VolumeId"
+ ],
+ "members": {
+ "VolumeId": {}
+ }
+ }
+ },
+ "DescribeAgentVersions": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "StackId": {},
+ "ConfigurationManager": {
+ "shape": "Sa"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "AgentVersions": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "Version": {},
+ "ConfigurationManager": {
+ "shape": "Sa"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "DescribeApps": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "StackId": {},
+ "AppIds": {
+ "shape": "S3"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Apps": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "AppId": {},
+ "StackId": {},
+ "Shortname": {},
+ "Name": {},
+ "Description": {},
+ "DataSources": {
+ "shape": "Si"
+ },
+ "Type": {},
+ "AppSource": {
+ "shape": "Sd"
+ },
+ "Domains": {
+ "shape": "S3"
+ },
+ "EnableSsl": {
+ "type": "boolean"
+ },
+ "SslConfiguration": {
+ "shape": "Sl"
+ },
+ "Attributes": {
+ "shape": "Sm"
+ },
+ "CreatedAt": {},
+ "Environment": {
+ "shape": "So"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "DescribeCommands": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DeploymentId": {},
+ "InstanceId": {},
+ "CommandIds": {
+ "shape": "S3"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Commands": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "CommandId": {},
+ "InstanceId": {},
+ "DeploymentId": {},
+ "CreatedAt": {},
+ "AcknowledgedAt": {},
+ "CompletedAt": {},
+ "Status": {},
+ "ExitCode": {
+ "type": "integer"
+ },
+ "LogUrl": {},
+ "Type": {}
+ }
+ }
+ }
+ }
+ }
+ },
+ "DescribeDeployments": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "StackId": {},
+ "AppId": {},
+ "DeploymentIds": {
+ "shape": "S3"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Deployments": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "DeploymentId": {},
+ "StackId": {},
+ "AppId": {},
+ "CreatedAt": {},
+ "CompletedAt": {},
+ "Duration": {
+ "type": "integer"
+ },
+ "IamUserArn": {},
+ "Comment": {},
+ "Command": {
+ "shape": "Ss"
+ },
+ "Status": {},
+ "CustomJson": {},
+ "InstanceIds": {
+ "shape": "S3"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "DescribeEcsClusters": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "EcsClusterArns": {
+ "shape": "S3"
+ },
+ "StackId": {},
+ "NextToken": {},
+ "MaxResults": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "EcsClusters": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "EcsClusterArn": {},
+ "EcsClusterName": {},
+ "StackId": {},
+ "RegisteredAt": {}
+ }
+ }
+ },
+ "NextToken": {}
+ }
+ }
+ },
+ "DescribeElasticIps": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "InstanceId": {},
+ "StackId": {},
+ "Ips": {
+ "shape": "S3"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "ElasticIps": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "Ip": {},
+ "Name": {},
+ "Domain": {},
+ "Region": {},
+ "InstanceId": {}
+ }
+ }
+ }
+ }
+ }
+ },
+ "DescribeElasticLoadBalancers": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "StackId": {},
+ "LayerIds": {
+ "shape": "S3"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "ElasticLoadBalancers": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "ElasticLoadBalancerName": {},
+ "Region": {},
+ "DnsName": {},
+ "StackId": {},
+ "LayerId": {},
+ "VpcId": {},
+ "AvailabilityZones": {
+ "shape": "S3"
+ },
+ "SubnetIds": {
+ "shape": "S3"
+ },
+ "Ec2InstanceIds": {
+ "shape": "S3"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "DescribeInstances": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "StackId": {},
+ "LayerId": {},
+ "InstanceIds": {
+ "shape": "S3"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Instances": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "AgentVersion": {},
+ "AmiId": {},
+ "Architecture": {},
+ "AutoScalingType": {},
+ "AvailabilityZone": {},
+ "BlockDeviceMappings": {
+ "shape": "Sz"
+ },
+ "CreatedAt": {},
+ "EbsOptimized": {
+ "type": "boolean"
+ },
+ "Ec2InstanceId": {},
+ "EcsClusterArn": {},
+ "EcsContainerInstanceArn": {},
+ "ElasticIp": {},
+ "Hostname": {},
+ "InfrastructureClass": {},
+ "InstallUpdatesOnBoot": {
+ "type": "boolean"
+ },
+ "InstanceId": {},
+ "InstanceProfileArn": {},
+ "InstanceType": {},
+ "LastServiceErrorId": {},
+ "LayerIds": {
+ "shape": "S3"
+ },
+ "Os": {},
+ "Platform": {},
+ "PrivateDns": {},
+ "PrivateIp": {},
+ "PublicDns": {},
+ "PublicIp": {},
+ "RegisteredBy": {},
+ "ReportedAgentVersion": {},
+ "ReportedOs": {
+ "type": "structure",
+ "members": {
+ "Family": {},
+ "Name": {},
+ "Version": {}
+ }
+ },
+ "RootDeviceType": {},
+ "RootDeviceVolumeId": {},
+ "SecurityGroupIds": {
+ "shape": "S3"
+ },
+ "SshHostDsaKeyFingerprint": {},
+ "SshHostRsaKeyFingerprint": {},
+ "SshKeyName": {},
+ "StackId": {},
+ "Status": {},
+ "SubnetId": {},
+ "VirtualizationType": {}
+ }
+ }
+ }
+ }
+ }
+ },
+ "DescribeLayers": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "StackId": {},
+ "LayerIds": {
+ "shape": "S3"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Layers": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "StackId": {},
+ "LayerId": {},
+ "Type": {},
+ "Name": {},
+ "Shortname": {},
+ "Attributes": {
+ "shape": "S17"
+ },
+ "CustomInstanceProfileArn": {},
+ "CustomJson": {},
+ "CustomSecurityGroupIds": {
+ "shape": "S3"
+ },
+ "DefaultSecurityGroupNames": {
+ "shape": "S3"
+ },
+ "Packages": {
+ "shape": "S3"
+ },
+ "VolumeConfigurations": {
+ "shape": "S19"
+ },
+ "EnableAutoHealing": {
+ "type": "boolean"
+ },
+ "AutoAssignElasticIps": {
+ "type": "boolean"
+ },
+ "AutoAssignPublicIps": {
+ "type": "boolean"
+ },
+ "DefaultRecipes": {
+ "shape": "S1b"
+ },
+ "CustomRecipes": {
+ "shape": "S1b"
+ },
+ "CreatedAt": {},
+ "InstallUpdatesOnBoot": {
+ "type": "boolean"
+ },
+ "UseEbsOptimizedInstances": {
+ "type": "boolean"
+ },
+ "LifecycleEventConfiguration": {
+ "shape": "S1c"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "DescribeLoadBasedAutoScaling": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "LayerIds"
+ ],
+ "members": {
+ "LayerIds": {
+ "shape": "S3"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "LoadBasedAutoScalingConfigurations": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "LayerId": {},
+ "Enable": {
+ "type": "boolean"
+ },
+ "UpScaling": {
+ "shape": "S30"
+ },
+ "DownScaling": {
+ "shape": "S30"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "DescribeMyUserProfile": {
+ "output": {
+ "type": "structure",
+ "members": {
+ "UserProfile": {
+ "type": "structure",
+ "members": {
+ "IamUserArn": {},
+ "Name": {},
+ "SshUsername": {},
+ "SshPublicKey": {}
+ }
+ }
+ }
+ }
+ },
+ "DescribePermissions": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "IamUserArn": {},
+ "StackId": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Permissions": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "StackId": {},
+ "IamUserArn": {},
+ "AllowSsh": {
+ "type": "boolean"
+ },
+ "AllowSudo": {
+ "type": "boolean"
+ },
+ "Level": {}
+ }
+ }
+ }
+ }
+ }
+ },
+ "DescribeRaidArrays": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "InstanceId": {},
+ "StackId": {},
+ "RaidArrayIds": {
+ "shape": "S3"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "RaidArrays": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "RaidArrayId": {},
+ "InstanceId": {},
+ "Name": {},
+ "RaidLevel": {
+ "type": "integer"
+ },
+ "NumberOfDisks": {
+ "type": "integer"
+ },
+ "Size": {
+ "type": "integer"
+ },
+ "Device": {},
+ "MountPoint": {},
+ "AvailabilityZone": {},
+ "CreatedAt": {},
+ "StackId": {},
+ "VolumeType": {},
+ "Iops": {
+ "type": "integer"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "DescribeRdsDbInstances": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "StackId"
+ ],
+ "members": {
+ "StackId": {},
+ "RdsDbInstanceArns": {
+ "shape": "S3"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "RdsDbInstances": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "RdsDbInstanceArn": {},
+ "DbInstanceIdentifier": {},
+ "DbUser": {},
+ "DbPassword": {},
+ "Region": {},
+ "Address": {},
+ "Engine": {},
+ "StackId": {},
+ "MissingOnRds": {
+ "type": "boolean"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "DescribeServiceErrors": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "StackId": {},
+ "InstanceId": {},
+ "ServiceErrorIds": {
+ "shape": "S3"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "ServiceErrors": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "ServiceErrorId": {},
+ "StackId": {},
+ "InstanceId": {},
+ "Type": {},
+ "Message": {},
+ "CreatedAt": {}
+ }
+ }
+ }
+ }
+ }
+ },
+ "DescribeStackProvisioningParameters": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "StackId"
+ ],
+ "members": {
+ "StackId": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "AgentInstallerUrl": {},
+ "Parameters": {
+ "type": "map",
+ "key": {},
+ "value": {}
+ }
+ }
+ }
+ },
+ "DescribeStackSummary": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "StackId"
+ ],
+ "members": {
+ "StackId": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "StackSummary": {
+ "type": "structure",
+ "members": {
+ "StackId": {},
+ "Name": {},
+ "Arn": {},
+ "LayersCount": {
+ "type": "integer"
+ },
+ "AppsCount": {
+ "type": "integer"
+ },
+ "InstancesCount": {
+ "type": "structure",
+ "members": {
+ "Assigning": {
+ "type": "integer"
+ },
+ "Booting": {
+ "type": "integer"
+ },
+ "ConnectionLost": {
+ "type": "integer"
+ },
+ "Deregistering": {
+ "type": "integer"
+ },
+ "Online": {
+ "type": "integer"
+ },
+ "Pending": {
+ "type": "integer"
+ },
+ "Rebooting": {
+ "type": "integer"
+ },
+ "Registered": {
+ "type": "integer"
+ },
+ "Registering": {
+ "type": "integer"
+ },
+ "Requested": {
+ "type": "integer"
+ },
+ "RunningSetup": {
+ "type": "integer"
+ },
+ "SetupFailed": {
+ "type": "integer"
+ },
+ "ShuttingDown": {
+ "type": "integer"
+ },
+ "StartFailed": {
+ "type": "integer"
+ },
+ "Stopped": {
+ "type": "integer"
+ },
+ "Stopping": {
+ "type": "integer"
+ },
+ "Terminated": {
+ "type": "integer"
+ },
+ "Terminating": {
+ "type": "integer"
+ },
+ "Unassigning": {
+ "type": "integer"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "DescribeStacks": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "StackIds": {
+ "shape": "S3"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Stacks": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "StackId": {},
+ "Name": {},
+ "Arn": {},
+ "Region": {},
+ "VpcId": {},
+ "Attributes": {
+ "shape": "S8"
+ },
+ "ServiceRoleArn": {},
+ "DefaultInstanceProfileArn": {},
+ "DefaultOs": {},
+ "HostnameTheme": {},
+ "DefaultAvailabilityZone": {},
+ "DefaultSubnetId": {},
+ "CustomJson": {},
+ "ConfigurationManager": {
+ "shape": "Sa"
+ },
+ "ChefConfiguration": {
+ "shape": "Sb"
+ },
+ "UseCustomCookbooks": {
+ "type": "boolean"
+ },
+ "UseOpsworksSecurityGroups": {
+ "type": "boolean"
+ },
+ "CustomCookbooksSource": {
+ "shape": "Sd"
+ },
+ "DefaultSshKeyName": {},
+ "CreatedAt": {},
+ "DefaultRootDeviceType": {},
+ "AgentVersion": {}
+ }
+ }
+ }
+ }
+ }
+ },
+ "DescribeTimeBasedAutoScaling": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "InstanceIds"
+ ],
+ "members": {
+ "InstanceIds": {
+ "shape": "S3"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "TimeBasedAutoScalingConfigurations": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "InstanceId": {},
+ "AutoScalingSchedule": {
+ "shape": "S40"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "DescribeUserProfiles": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "IamUserArns": {
+ "shape": "S3"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "UserProfiles": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "IamUserArn": {},
+ "Name": {},
+ "SshUsername": {},
+ "SshPublicKey": {},
+ "AllowSelfManagement": {
+ "type": "boolean"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "DescribeVolumes": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "InstanceId": {},
+ "StackId": {},
+ "RaidArrayId": {},
+ "VolumeIds": {
+ "shape": "S3"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Volumes": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "VolumeId": {},
+ "Ec2VolumeId": {},
+ "Name": {},
+ "RaidArrayId": {},
+ "InstanceId": {},
+ "Status": {},
+ "Size": {
+ "type": "integer"
+ },
+ "Device": {},
+ "MountPoint": {},
+ "Region": {},
+ "AvailabilityZone": {},
+ "VolumeType": {},
+ "Iops": {
+ "type": "integer"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "DetachElasticLoadBalancer": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ElasticLoadBalancerName",
+ "LayerId"
+ ],
+ "members": {
+ "ElasticLoadBalancerName": {},
+ "LayerId": {}
+ }
+ }
+ },
+ "DisassociateElasticIp": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ElasticIp"
+ ],
+ "members": {
+ "ElasticIp": {}
+ }
+ }
+ },
+ "GetHostnameSuggestion": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "LayerId"
+ ],
+ "members": {
+ "LayerId": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "LayerId": {},
+ "Hostname": {}
+ }
+ }
+ },
+ "GrantAccess": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "InstanceId"
+ ],
+ "members": {
+ "InstanceId": {},
+ "ValidForInMinutes": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "TemporaryCredential": {
+ "type": "structure",
+ "members": {
+ "Username": {},
+ "Password": {},
+ "ValidForInMinutes": {
+ "type": "integer"
+ },
+ "InstanceId": {}
+ }
+ }
+ }
+ }
+ },
+ "RebootInstance": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "InstanceId"
+ ],
+ "members": {
+ "InstanceId": {}
+ }
+ }
+ },
+ "RegisterEcsCluster": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "EcsClusterArn",
+ "StackId"
+ ],
+ "members": {
+ "EcsClusterArn": {},
+ "StackId": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "EcsClusterArn": {}
+ }
+ }
+ },
+ "RegisterElasticIp": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ElasticIp",
+ "StackId"
+ ],
+ "members": {
+ "ElasticIp": {},
+ "StackId": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "ElasticIp": {}
+ }
+ }
+ },
+ "RegisterInstance": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "StackId"
+ ],
+ "members": {
+ "StackId": {},
+ "Hostname": {},
+ "PublicIp": {},
+ "PrivateIp": {},
+ "RsaPublicKey": {},
+ "RsaPublicKeyFingerprint": {},
+ "InstanceIdentity": {
+ "type": "structure",
+ "members": {
+ "Document": {},
+ "Signature": {}
+ }
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "InstanceId": {}
+ }
+ }
+ },
+ "RegisterRdsDbInstance": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "StackId",
+ "RdsDbInstanceArn",
+ "DbUser",
+ "DbPassword"
+ ],
+ "members": {
+ "StackId": {},
+ "RdsDbInstanceArn": {},
+ "DbUser": {},
+ "DbPassword": {}
+ }
+ }
+ },
+ "RegisterVolume": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "StackId"
+ ],
+ "members": {
+ "Ec2VolumeId": {},
+ "StackId": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "VolumeId": {}
+ }
+ }
+ },
+ "SetLoadBasedAutoScaling": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "LayerId"
+ ],
+ "members": {
+ "LayerId": {},
+ "Enable": {
+ "type": "boolean"
+ },
+ "UpScaling": {
+ "shape": "S30"
+ },
+ "DownScaling": {
+ "shape": "S30"
+ }
+ }
+ }
+ },
+ "SetPermission": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "StackId",
+ "IamUserArn"
+ ],
+ "members": {
+ "StackId": {},
+ "IamUserArn": {},
+ "AllowSsh": {
+ "type": "boolean"
+ },
+ "AllowSudo": {
+ "type": "boolean"
+ },
+ "Level": {}
+ }
+ }
+ },
+ "SetTimeBasedAutoScaling": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "InstanceId"
+ ],
+ "members": {
+ "InstanceId": {},
+ "AutoScalingSchedule": {
+ "shape": "S40"
+ }
+ }
+ }
+ },
+ "StartInstance": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "InstanceId"
+ ],
+ "members": {
+ "InstanceId": {}
+ }
+ }
+ },
+ "StartStack": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "StackId"
+ ],
+ "members": {
+ "StackId": {}
+ }
+ }
+ },
+ "StopInstance": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "InstanceId"
+ ],
+ "members": {
+ "InstanceId": {}
+ }
+ }
+ },
+ "StopStack": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "StackId"
+ ],
+ "members": {
+ "StackId": {}
+ }
+ }
+ },
+ "UnassignInstance": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "InstanceId"
+ ],
+ "members": {
+ "InstanceId": {}
+ }
+ }
+ },
+ "UnassignVolume": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "VolumeId"
+ ],
+ "members": {
+ "VolumeId": {}
+ }
+ }
+ },
+ "UpdateApp": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "AppId"
+ ],
+ "members": {
+ "AppId": {},
+ "Name": {},
+ "Description": {},
+ "DataSources": {
+ "shape": "Si"
+ },
+ "Type": {},
+ "AppSource": {
+ "shape": "Sd"
+ },
+ "Domains": {
+ "shape": "S3"
+ },
+ "EnableSsl": {
+ "type": "boolean"
+ },
+ "SslConfiguration": {
+ "shape": "Sl"
+ },
+ "Attributes": {
+ "shape": "Sm"
+ },
+ "Environment": {
+ "shape": "So"
+ }
+ }
+ }
+ },
+ "UpdateElasticIp": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ElasticIp"
+ ],
+ "members": {
+ "ElasticIp": {},
+ "Name": {}
+ }
+ }
+ },
+ "UpdateInstance": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "InstanceId"
+ ],
+ "members": {
+ "InstanceId": {},
+ "LayerIds": {
+ "shape": "S3"
+ },
+ "InstanceType": {},
+ "AutoScalingType": {},
+ "Hostname": {},
+ "Os": {},
+ "AmiId": {},
+ "SshKeyName": {},
+ "Architecture": {},
+ "InstallUpdatesOnBoot": {
+ "type": "boolean"
+ },
+ "EbsOptimized": {
+ "type": "boolean"
+ },
+ "AgentVersion": {}
+ }
+ }
+ },
+ "UpdateLayer": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "LayerId"
+ ],
+ "members": {
+ "LayerId": {},
+ "Name": {},
+ "Shortname": {},
+ "Attributes": {
+ "shape": "S17"
+ },
+ "CustomInstanceProfileArn": {},
+ "CustomJson": {},
+ "CustomSecurityGroupIds": {
+ "shape": "S3"
+ },
+ "Packages": {
+ "shape": "S3"
+ },
+ "VolumeConfigurations": {
+ "shape": "S19"
+ },
+ "EnableAutoHealing": {
+ "type": "boolean"
+ },
+ "AutoAssignElasticIps": {
+ "type": "boolean"
+ },
+ "AutoAssignPublicIps": {
+ "type": "boolean"
+ },
+ "CustomRecipes": {
+ "shape": "S1b"
+ },
+ "InstallUpdatesOnBoot": {
+ "type": "boolean"
+ },
+ "UseEbsOptimizedInstances": {
+ "type": "boolean"
+ },
+ "LifecycleEventConfiguration": {
+ "shape": "S1c"
+ }
+ }
+ }
+ },
+ "UpdateMyUserProfile": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "SshPublicKey": {}
+ }
+ }
+ },
+ "UpdateRdsDbInstance": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "RdsDbInstanceArn"
+ ],
+ "members": {
+ "RdsDbInstanceArn": {},
+ "DbUser": {},
+ "DbPassword": {}
+ }
+ }
+ },
+ "UpdateStack": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "StackId"
+ ],
+ "members": {
+ "StackId": {},
+ "Name": {},
+ "Attributes": {
+ "shape": "S8"
+ },
+ "ServiceRoleArn": {},
+ "DefaultInstanceProfileArn": {},
+ "DefaultOs": {},
+ "HostnameTheme": {},
+ "DefaultAvailabilityZone": {},
+ "DefaultSubnetId": {},
+ "CustomJson": {},
+ "ConfigurationManager": {
+ "shape": "Sa"
+ },
+ "ChefConfiguration": {
+ "shape": "Sb"
+ },
+ "UseCustomCookbooks": {
+ "type": "boolean"
+ },
+ "CustomCookbooksSource": {
+ "shape": "Sd"
+ },
+ "DefaultSshKeyName": {},
+ "DefaultRootDeviceType": {},
+ "UseOpsworksSecurityGroups": {
+ "type": "boolean"
+ },
+ "AgentVersion": {}
+ }
+ }
+ },
+ "UpdateUserProfile": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "IamUserArn"
+ ],
+ "members": {
+ "IamUserArn": {},
+ "SshUsername": {},
+ "SshPublicKey": {},
+ "AllowSelfManagement": {
+ "type": "boolean"
+ }
+ }
+ }
+ },
+ "UpdateVolume": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "VolumeId"
+ ],
+ "members": {
+ "VolumeId": {},
+ "Name": {},
+ "MountPoint": {}
+ }
+ }
+ }
+ },
+ "shapes": {
+ "S3": {
+ "type": "list",
+ "member": {}
+ },
+ "S8": {
+ "type": "map",
+ "key": {},
+ "value": {}
+ },
+ "Sa": {
+ "type": "structure",
+ "members": {
+ "Name": {},
+ "Version": {}
+ }
+ },
+ "Sb": {
+ "type": "structure",
+ "members": {
+ "ManageBerkshelf": {
+ "type": "boolean"
+ },
+ "BerkshelfVersion": {}
+ }
+ },
+ "Sd": {
+ "type": "structure",
+ "members": {
+ "Type": {},
+ "Url": {},
+ "Username": {},
+ "Password": {},
+ "SshKey": {},
+ "Revision": {}
+ }
+ },
+ "Si": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "Type": {},
+ "Arn": {},
+ "DatabaseName": {}
+ }
+ }
+ },
+ "Sl": {
+ "type": "structure",
+ "required": [
+ "Certificate",
+ "PrivateKey"
+ ],
+ "members": {
+ "Certificate": {},
+ "PrivateKey": {},
+ "Chain": {}
+ }
+ },
+ "Sm": {
+ "type": "map",
+ "key": {},
+ "value": {}
+ },
+ "So": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "Key",
+ "Value"
+ ],
+ "members": {
+ "Key": {},
+ "Value": {},
+ "Secure": {
+ "type": "boolean"
+ }
+ }
+ }
+ },
+ "Ss": {
+ "type": "structure",
+ "required": [
+ "Name"
+ ],
+ "members": {
+ "Name": {},
+ "Args": {
+ "type": "map",
+ "key": {},
+ "value": {
+ "shape": "S3"
+ }
+ }
+ }
+ },
+ "Sz": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "DeviceName": {},
+ "NoDevice": {},
+ "VirtualName": {},
+ "Ebs": {
+ "type": "structure",
+ "members": {
+ "SnapshotId": {},
+ "Iops": {
+ "type": "integer"
+ },
+ "VolumeSize": {
+ "type": "integer"
+ },
+ "VolumeType": {},
+ "DeleteOnTermination": {
+ "type": "boolean"
+ }
+ }
+ }
+ }
+ }
+ },
+ "S17": {
+ "type": "map",
+ "key": {},
+ "value": {}
+ },
+ "S19": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "MountPoint",
+ "NumberOfDisks",
+ "Size"
+ ],
+ "members": {
+ "MountPoint": {},
+ "RaidLevel": {
+ "type": "integer"
+ },
+ "NumberOfDisks": {
+ "type": "integer"
+ },
+ "Size": {
+ "type": "integer"
+ },
+ "VolumeType": {},
+ "Iops": {
+ "type": "integer"
+ }
+ }
+ }
+ },
+ "S1b": {
+ "type": "structure",
+ "members": {
+ "Setup": {
+ "shape": "S3"
+ },
+ "Configure": {
+ "shape": "S3"
+ },
+ "Deploy": {
+ "shape": "S3"
+ },
+ "Undeploy": {
+ "shape": "S3"
+ },
+ "Shutdown": {
+ "shape": "S3"
+ }
+ }
+ },
+ "S1c": {
+ "type": "structure",
+ "members": {
+ "Shutdown": {
+ "type": "structure",
+ "members": {
+ "ExecutionTimeout": {
+ "type": "integer"
+ },
+ "DelayUntilElbConnectionsDrained": {
+ "type": "boolean"
+ }
+ }
+ }
+ }
+ },
+ "S30": {
+ "type": "structure",
+ "members": {
+ "InstanceCount": {
+ "type": "integer"
+ },
+ "ThresholdsWaitTime": {
+ "type": "integer"
+ },
+ "IgnoreMetricsTime": {
+ "type": "integer"
+ },
+ "CpuThreshold": {
+ "type": "double"
+ },
+ "MemoryThreshold": {
+ "type": "double"
+ },
+ "LoadThreshold": {
+ "type": "double"
+ },
+ "Alarms": {
+ "shape": "S3"
+ }
+ }
+ },
+ "S40": {
+ "type": "structure",
+ "members": {
+ "Monday": {
+ "shape": "S41"
+ },
+ "Tuesday": {
+ "shape": "S41"
+ },
+ "Wednesday": {
+ "shape": "S41"
+ },
+ "Thursday": {
+ "shape": "S41"
+ },
+ "Friday": {
+ "shape": "S41"
+ },
+ "Saturday": {
+ "shape": "S41"
+ },
+ "Sunday": {
+ "shape": "S41"
+ }
+ }
+ },
+ "S41": {
+ "type": "map",
+ "key": {},
+ "value": {}
+ }
+ }
+}
\ No newline at end of file
diff --git a/node_modules/aws-sdk/apis/opsworks-2013-02-18.paginators.json b/node_modules/aws-sdk/apis/opsworks-2013-02-18.paginators.json
new file mode 100644
index 0000000000000000000000000000000000000000..3825e7db03412a706352e5038fe03f762cd8c50a
--- /dev/null
+++ b/node_modules/aws-sdk/apis/opsworks-2013-02-18.paginators.json
@@ -0,0 +1,55 @@
+{
+ "pagination": {
+ "DescribeApps": {
+ "result_key": "Apps"
+ },
+ "DescribeCommands": {
+ "result_key": "Commands"
+ },
+ "DescribeDeployments": {
+ "result_key": "Deployments"
+ },
+ "DescribeEcsClusters": {
+ "input_token": "NextToken",
+ "output_token": "NextToken",
+ "limit_key": "MaxResults",
+ "result_key": "EcsClusters"
+ },
+ "DescribeElasticIps": {
+ "result_key": "ElasticIps"
+ },
+ "DescribeElasticLoadBalancers": {
+ "result_key": "ElasticLoadBalancers"
+ },
+ "DescribeInstances": {
+ "result_key": "Instances"
+ },
+ "DescribeLayers": {
+ "result_key": "Layers"
+ },
+ "DescribeLoadBasedAutoScaling": {
+ "result_key": "LoadBasedAutoScalingConfigurations"
+ },
+ "DescribePermissions": {
+ "result_key": "Permissions"
+ },
+ "DescribeRaidArrays": {
+ "result_key": "RaidArrays"
+ },
+ "DescribeServiceErrors": {
+ "result_key": "ServiceErrors"
+ },
+ "DescribeStacks": {
+ "result_key": "Stacks"
+ },
+ "DescribeTimeBasedAutoScaling": {
+ "result_key": "TimeBasedAutoScalingConfigurations"
+ },
+ "DescribeUserProfiles": {
+ "result_key": "UserProfiles"
+ },
+ "DescribeVolumes": {
+ "result_key": "Volumes"
+ }
+ }
+}
diff --git a/node_modules/aws-sdk/apis/rds-2013-01-10.min.json b/node_modules/aws-sdk/apis/rds-2013-01-10.min.json
new file mode 100644
index 0000000000000000000000000000000000000000..7de129fce691539a4d5420659187b344d25bb1ca
--- /dev/null
+++ b/node_modules/aws-sdk/apis/rds-2013-01-10.min.json
@@ -0,0 +1,1895 @@
+{
+ "version": "2.0",
+ "metadata": {
+ "apiVersion": "2013-01-10",
+ "endpointPrefix": "rds",
+ "protocol": "query",
+ "serviceAbbreviation": "Amazon RDS",
+ "serviceFullName": "Amazon Relational Database Service",
+ "signatureVersion": "v4",
+ "xmlNamespace": "http://rds.amazonaws.com/doc/2013-01-10/"
+ },
+ "operations": {
+ "AddSourceIdentifierToSubscription": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "SubscriptionName",
+ "SourceIdentifier"
+ ],
+ "members": {
+ "SubscriptionName": {},
+ "SourceIdentifier": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "AddSourceIdentifierToSubscriptionResult",
+ "type": "structure",
+ "members": {
+ "EventSubscription": {
+ "shape": "S4"
+ }
+ }
+ }
+ },
+ "AddTagsToResource": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ResourceName",
+ "Tags"
+ ],
+ "members": {
+ "ResourceName": {},
+ "Tags": {
+ "shape": "S9"
+ }
+ }
+ }
+ },
+ "AuthorizeDBSecurityGroupIngress": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBSecurityGroupName"
+ ],
+ "members": {
+ "DBSecurityGroupName": {},
+ "CIDRIP": {},
+ "EC2SecurityGroupName": {},
+ "EC2SecurityGroupId": {},
+ "EC2SecurityGroupOwnerId": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "AuthorizeDBSecurityGroupIngressResult",
+ "type": "structure",
+ "members": {
+ "DBSecurityGroup": {
+ "shape": "Sd"
+ }
+ }
+ }
+ },
+ "CopyDBSnapshot": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "SourceDBSnapshotIdentifier",
+ "TargetDBSnapshotIdentifier"
+ ],
+ "members": {
+ "SourceDBSnapshotIdentifier": {},
+ "TargetDBSnapshotIdentifier": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "CopyDBSnapshotResult",
+ "type": "structure",
+ "members": {
+ "DBSnapshot": {
+ "shape": "Sk"
+ }
+ }
+ }
+ },
+ "CreateDBInstance": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBInstanceIdentifier",
+ "AllocatedStorage",
+ "DBInstanceClass",
+ "Engine",
+ "MasterUsername",
+ "MasterUserPassword"
+ ],
+ "members": {
+ "DBName": {},
+ "DBInstanceIdentifier": {},
+ "AllocatedStorage": {
+ "type": "integer"
+ },
+ "DBInstanceClass": {},
+ "Engine": {},
+ "MasterUsername": {},
+ "MasterUserPassword": {},
+ "DBSecurityGroups": {
+ "shape": "Sp"
+ },
+ "VpcSecurityGroupIds": {
+ "shape": "Sq"
+ },
+ "AvailabilityZone": {},
+ "DBSubnetGroupName": {},
+ "PreferredMaintenanceWindow": {},
+ "DBParameterGroupName": {},
+ "BackupRetentionPeriod": {
+ "type": "integer"
+ },
+ "PreferredBackupWindow": {},
+ "Port": {
+ "type": "integer"
+ },
+ "MultiAZ": {
+ "type": "boolean"
+ },
+ "EngineVersion": {},
+ "AutoMinorVersionUpgrade": {
+ "type": "boolean"
+ },
+ "LicenseModel": {},
+ "Iops": {
+ "type": "integer"
+ },
+ "OptionGroupName": {},
+ "CharacterSetName": {},
+ "PubliclyAccessible": {
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "CreateDBInstanceResult",
+ "type": "structure",
+ "members": {
+ "DBInstance": {
+ "shape": "St"
+ }
+ }
+ }
+ },
+ "CreateDBInstanceReadReplica": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBInstanceIdentifier",
+ "SourceDBInstanceIdentifier"
+ ],
+ "members": {
+ "DBInstanceIdentifier": {},
+ "SourceDBInstanceIdentifier": {},
+ "DBInstanceClass": {},
+ "AvailabilityZone": {},
+ "Port": {
+ "type": "integer"
+ },
+ "AutoMinorVersionUpgrade": {
+ "type": "boolean"
+ },
+ "Iops": {
+ "type": "integer"
+ },
+ "OptionGroupName": {},
+ "PubliclyAccessible": {
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "CreateDBInstanceReadReplicaResult",
+ "type": "structure",
+ "members": {
+ "DBInstance": {
+ "shape": "St"
+ }
+ }
+ }
+ },
+ "CreateDBParameterGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBParameterGroupName",
+ "DBParameterGroupFamily",
+ "Description"
+ ],
+ "members": {
+ "DBParameterGroupName": {},
+ "DBParameterGroupFamily": {},
+ "Description": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "CreateDBParameterGroupResult",
+ "type": "structure",
+ "members": {
+ "DBParameterGroup": {
+ "shape": "S1c"
+ }
+ }
+ }
+ },
+ "CreateDBSecurityGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBSecurityGroupName",
+ "DBSecurityGroupDescription"
+ ],
+ "members": {
+ "DBSecurityGroupName": {},
+ "DBSecurityGroupDescription": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "CreateDBSecurityGroupResult",
+ "type": "structure",
+ "members": {
+ "DBSecurityGroup": {
+ "shape": "Sd"
+ }
+ }
+ }
+ },
+ "CreateDBSnapshot": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBSnapshotIdentifier",
+ "DBInstanceIdentifier"
+ ],
+ "members": {
+ "DBSnapshotIdentifier": {},
+ "DBInstanceIdentifier": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "CreateDBSnapshotResult",
+ "type": "structure",
+ "members": {
+ "DBSnapshot": {
+ "shape": "Sk"
+ }
+ }
+ }
+ },
+ "CreateDBSubnetGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBSubnetGroupName",
+ "DBSubnetGroupDescription",
+ "SubnetIds"
+ ],
+ "members": {
+ "DBSubnetGroupName": {},
+ "DBSubnetGroupDescription": {},
+ "SubnetIds": {
+ "shape": "S1i"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "CreateDBSubnetGroupResult",
+ "type": "structure",
+ "members": {
+ "DBSubnetGroup": {
+ "shape": "S11"
+ }
+ }
+ }
+ },
+ "CreateEventSubscription": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "SubscriptionName",
+ "SnsTopicArn"
+ ],
+ "members": {
+ "SubscriptionName": {},
+ "SnsTopicArn": {},
+ "SourceType": {},
+ "EventCategories": {
+ "shape": "S6"
+ },
+ "SourceIds": {
+ "shape": "S5"
+ },
+ "Enabled": {
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "CreateEventSubscriptionResult",
+ "type": "structure",
+ "members": {
+ "EventSubscription": {
+ "shape": "S4"
+ }
+ }
+ }
+ },
+ "CreateOptionGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "OptionGroupName",
+ "EngineName",
+ "MajorEngineVersion",
+ "OptionGroupDescription"
+ ],
+ "members": {
+ "OptionGroupName": {},
+ "EngineName": {},
+ "MajorEngineVersion": {},
+ "OptionGroupDescription": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "CreateOptionGroupResult",
+ "type": "structure",
+ "members": {
+ "OptionGroup": {
+ "shape": "S1o"
+ }
+ }
+ }
+ },
+ "DeleteDBInstance": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBInstanceIdentifier"
+ ],
+ "members": {
+ "DBInstanceIdentifier": {},
+ "SkipFinalSnapshot": {
+ "type": "boolean"
+ },
+ "FinalDBSnapshotIdentifier": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DeleteDBInstanceResult",
+ "type": "structure",
+ "members": {
+ "DBInstance": {
+ "shape": "St"
+ }
+ }
+ }
+ },
+ "DeleteDBParameterGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBParameterGroupName"
+ ],
+ "members": {
+ "DBParameterGroupName": {}
+ }
+ }
+ },
+ "DeleteDBSecurityGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBSecurityGroupName"
+ ],
+ "members": {
+ "DBSecurityGroupName": {}
+ }
+ }
+ },
+ "DeleteDBSnapshot": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBSnapshotIdentifier"
+ ],
+ "members": {
+ "DBSnapshotIdentifier": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DeleteDBSnapshotResult",
+ "type": "structure",
+ "members": {
+ "DBSnapshot": {
+ "shape": "Sk"
+ }
+ }
+ }
+ },
+ "DeleteDBSubnetGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBSubnetGroupName"
+ ],
+ "members": {
+ "DBSubnetGroupName": {}
+ }
+ }
+ },
+ "DeleteEventSubscription": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "SubscriptionName"
+ ],
+ "members": {
+ "SubscriptionName": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DeleteEventSubscriptionResult",
+ "type": "structure",
+ "members": {
+ "EventSubscription": {
+ "shape": "S4"
+ }
+ }
+ }
+ },
+ "DeleteOptionGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "OptionGroupName"
+ ],
+ "members": {
+ "OptionGroupName": {}
+ }
+ }
+ },
+ "DescribeDBEngineVersions": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "Engine": {},
+ "EngineVersion": {},
+ "DBParameterGroupFamily": {},
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {},
+ "DefaultOnly": {
+ "type": "boolean"
+ },
+ "ListSupportedCharacterSets": {
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeDBEngineVersionsResult",
+ "type": "structure",
+ "members": {
+ "Marker": {},
+ "DBEngineVersions": {
+ "type": "list",
+ "member": {
+ "locationName": "DBEngineVersion",
+ "type": "structure",
+ "members": {
+ "Engine": {},
+ "EngineVersion": {},
+ "DBParameterGroupFamily": {},
+ "DBEngineDescription": {},
+ "DBEngineVersionDescription": {},
+ "DefaultCharacterSet": {
+ "shape": "S25"
+ },
+ "SupportedCharacterSets": {
+ "type": "list",
+ "member": {
+ "shape": "S25",
+ "locationName": "CharacterSet"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "DescribeDBInstances": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DBInstanceIdentifier": {},
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeDBInstancesResult",
+ "type": "structure",
+ "members": {
+ "Marker": {},
+ "DBInstances": {
+ "type": "list",
+ "member": {
+ "shape": "St",
+ "locationName": "DBInstance"
+ }
+ }
+ }
+ }
+ },
+ "DescribeDBParameterGroups": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DBParameterGroupName": {},
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeDBParameterGroupsResult",
+ "type": "structure",
+ "members": {
+ "Marker": {},
+ "DBParameterGroups": {
+ "type": "list",
+ "member": {
+ "shape": "S1c",
+ "locationName": "DBParameterGroup"
+ }
+ }
+ }
+ }
+ },
+ "DescribeDBParameters": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBParameterGroupName"
+ ],
+ "members": {
+ "DBParameterGroupName": {},
+ "Source": {},
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeDBParametersResult",
+ "type": "structure",
+ "members": {
+ "Parameters": {
+ "shape": "S2f"
+ },
+ "Marker": {}
+ }
+ }
+ },
+ "DescribeDBSecurityGroups": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DBSecurityGroupName": {},
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeDBSecurityGroupsResult",
+ "type": "structure",
+ "members": {
+ "Marker": {},
+ "DBSecurityGroups": {
+ "type": "list",
+ "member": {
+ "shape": "Sd",
+ "locationName": "DBSecurityGroup"
+ }
+ }
+ }
+ }
+ },
+ "DescribeDBSnapshots": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DBInstanceIdentifier": {},
+ "DBSnapshotIdentifier": {},
+ "SnapshotType": {},
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeDBSnapshotsResult",
+ "type": "structure",
+ "members": {
+ "Marker": {},
+ "DBSnapshots": {
+ "type": "list",
+ "member": {
+ "shape": "Sk",
+ "locationName": "DBSnapshot"
+ }
+ }
+ }
+ }
+ },
+ "DescribeDBSubnetGroups": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DBSubnetGroupName": {},
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeDBSubnetGroupsResult",
+ "type": "structure",
+ "members": {
+ "Marker": {},
+ "DBSubnetGroups": {
+ "type": "list",
+ "member": {
+ "shape": "S11",
+ "locationName": "DBSubnetGroup"
+ }
+ }
+ }
+ }
+ },
+ "DescribeEngineDefaultParameters": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBParameterGroupFamily"
+ ],
+ "members": {
+ "DBParameterGroupFamily": {},
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeEngineDefaultParametersResult",
+ "type": "structure",
+ "members": {
+ "EngineDefaults": {
+ "type": "structure",
+ "members": {
+ "DBParameterGroupFamily": {},
+ "Marker": {},
+ "Parameters": {
+ "shape": "S2f"
+ }
+ },
+ "wrapper": true
+ }
+ }
+ }
+ },
+ "DescribeEventCategories": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "SourceType": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeEventCategoriesResult",
+ "type": "structure",
+ "members": {
+ "EventCategoriesMapList": {
+ "type": "list",
+ "member": {
+ "locationName": "EventCategoriesMap",
+ "type": "structure",
+ "members": {
+ "SourceType": {},
+ "EventCategories": {
+ "shape": "S6"
+ }
+ },
+ "wrapper": true
+ }
+ }
+ }
+ }
+ },
+ "DescribeEventSubscriptions": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "SubscriptionName": {},
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeEventSubscriptionsResult",
+ "type": "structure",
+ "members": {
+ "Marker": {},
+ "EventSubscriptionsList": {
+ "type": "list",
+ "member": {
+ "shape": "S4",
+ "locationName": "EventSubscription"
+ }
+ }
+ }
+ }
+ },
+ "DescribeEvents": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "SourceIdentifier": {},
+ "SourceType": {},
+ "StartTime": {
+ "type": "timestamp"
+ },
+ "EndTime": {
+ "type": "timestamp"
+ },
+ "Duration": {
+ "type": "integer"
+ },
+ "EventCategories": {
+ "shape": "S6"
+ },
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeEventsResult",
+ "type": "structure",
+ "members": {
+ "Marker": {},
+ "Events": {
+ "type": "list",
+ "member": {
+ "locationName": "Event",
+ "type": "structure",
+ "members": {
+ "SourceIdentifier": {},
+ "SourceType": {},
+ "Message": {},
+ "EventCategories": {
+ "shape": "S6"
+ },
+ "Date": {
+ "type": "timestamp"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "DescribeOptionGroupOptions": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "EngineName"
+ ],
+ "members": {
+ "EngineName": {},
+ "MajorEngineVersion": {},
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeOptionGroupOptionsResult",
+ "type": "structure",
+ "members": {
+ "OptionGroupOptions": {
+ "type": "list",
+ "member": {
+ "locationName": "OptionGroupOption",
+ "type": "structure",
+ "members": {
+ "Name": {},
+ "Description": {},
+ "EngineName": {},
+ "MajorEngineVersion": {},
+ "MinimumRequiredMinorEngineVersion": {},
+ "PortRequired": {
+ "type": "boolean"
+ },
+ "DefaultPort": {
+ "type": "integer"
+ },
+ "OptionsDependedOn": {
+ "type": "list",
+ "member": {
+ "locationName": "OptionName"
+ }
+ }
+ }
+ }
+ },
+ "Marker": {}
+ }
+ }
+ },
+ "DescribeOptionGroups": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "OptionGroupName": {},
+ "Marker": {},
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "EngineName": {},
+ "MajorEngineVersion": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeOptionGroupsResult",
+ "type": "structure",
+ "members": {
+ "OptionGroupsList": {
+ "type": "list",
+ "member": {
+ "shape": "S1o",
+ "locationName": "OptionGroup"
+ }
+ },
+ "Marker": {}
+ }
+ }
+ },
+ "DescribeOrderableDBInstanceOptions": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Engine"
+ ],
+ "members": {
+ "Engine": {},
+ "EngineVersion": {},
+ "DBInstanceClass": {},
+ "LicenseModel": {},
+ "Vpc": {
+ "type": "boolean"
+ },
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeOrderableDBInstanceOptionsResult",
+ "type": "structure",
+ "members": {
+ "OrderableDBInstanceOptions": {
+ "type": "list",
+ "member": {
+ "locationName": "OrderableDBInstanceOption",
+ "type": "structure",
+ "members": {
+ "Engine": {},
+ "EngineVersion": {},
+ "DBInstanceClass": {},
+ "LicenseModel": {},
+ "AvailabilityZones": {
+ "type": "list",
+ "member": {
+ "shape": "S14",
+ "locationName": "AvailabilityZone"
+ }
+ },
+ "MultiAZCapable": {
+ "type": "boolean"
+ },
+ "ReadReplicaCapable": {
+ "type": "boolean"
+ },
+ "Vpc": {
+ "type": "boolean"
+ }
+ },
+ "wrapper": true
+ }
+ },
+ "Marker": {}
+ }
+ }
+ },
+ "DescribeReservedDBInstances": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "ReservedDBInstanceId": {},
+ "ReservedDBInstancesOfferingId": {},
+ "DBInstanceClass": {},
+ "Duration": {},
+ "ProductDescription": {},
+ "OfferingType": {},
+ "MultiAZ": {
+ "type": "boolean"
+ },
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeReservedDBInstancesResult",
+ "type": "structure",
+ "members": {
+ "Marker": {},
+ "ReservedDBInstances": {
+ "type": "list",
+ "member": {
+ "shape": "S3m",
+ "locationName": "ReservedDBInstance"
+ }
+ }
+ }
+ }
+ },
+ "DescribeReservedDBInstancesOfferings": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "ReservedDBInstancesOfferingId": {},
+ "DBInstanceClass": {},
+ "Duration": {},
+ "ProductDescription": {},
+ "OfferingType": {},
+ "MultiAZ": {
+ "type": "boolean"
+ },
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeReservedDBInstancesOfferingsResult",
+ "type": "structure",
+ "members": {
+ "Marker": {},
+ "ReservedDBInstancesOfferings": {
+ "type": "list",
+ "member": {
+ "locationName": "ReservedDBInstancesOffering",
+ "type": "structure",
+ "members": {
+ "ReservedDBInstancesOfferingId": {},
+ "DBInstanceClass": {},
+ "Duration": {
+ "type": "integer"
+ },
+ "FixedPrice": {
+ "type": "double"
+ },
+ "UsagePrice": {
+ "type": "double"
+ },
+ "CurrencyCode": {},
+ "ProductDescription": {},
+ "OfferingType": {},
+ "MultiAZ": {
+ "type": "boolean"
+ },
+ "RecurringCharges": {
+ "shape": "S3o"
+ }
+ },
+ "wrapper": true
+ }
+ }
+ }
+ }
+ },
+ "ListTagsForResource": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ResourceName"
+ ],
+ "members": {
+ "ResourceName": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "ListTagsForResourceResult",
+ "type": "structure",
+ "members": {
+ "TagList": {
+ "shape": "S9"
+ }
+ }
+ }
+ },
+ "ModifyDBInstance": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBInstanceIdentifier"
+ ],
+ "members": {
+ "DBInstanceIdentifier": {},
+ "AllocatedStorage": {
+ "type": "integer"
+ },
+ "DBInstanceClass": {},
+ "DBSecurityGroups": {
+ "shape": "Sp"
+ },
+ "VpcSecurityGroupIds": {
+ "shape": "Sq"
+ },
+ "ApplyImmediately": {
+ "type": "boolean"
+ },
+ "MasterUserPassword": {},
+ "DBParameterGroupName": {},
+ "BackupRetentionPeriod": {
+ "type": "integer"
+ },
+ "PreferredBackupWindow": {},
+ "PreferredMaintenanceWindow": {},
+ "MultiAZ": {
+ "type": "boolean"
+ },
+ "EngineVersion": {},
+ "AllowMajorVersionUpgrade": {
+ "type": "boolean"
+ },
+ "AutoMinorVersionUpgrade": {
+ "type": "boolean"
+ },
+ "Iops": {
+ "type": "integer"
+ },
+ "OptionGroupName": {},
+ "NewDBInstanceIdentifier": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "ModifyDBInstanceResult",
+ "type": "structure",
+ "members": {
+ "DBInstance": {
+ "shape": "St"
+ }
+ }
+ }
+ },
+ "ModifyDBParameterGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBParameterGroupName",
+ "Parameters"
+ ],
+ "members": {
+ "DBParameterGroupName": {},
+ "Parameters": {
+ "shape": "S2f"
+ }
+ }
+ },
+ "output": {
+ "shape": "S3z",
+ "resultWrapper": "ModifyDBParameterGroupResult"
+ }
+ },
+ "ModifyDBSubnetGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBSubnetGroupName",
+ "SubnetIds"
+ ],
+ "members": {
+ "DBSubnetGroupName": {},
+ "DBSubnetGroupDescription": {},
+ "SubnetIds": {
+ "shape": "S1i"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "ModifyDBSubnetGroupResult",
+ "type": "structure",
+ "members": {
+ "DBSubnetGroup": {
+ "shape": "S11"
+ }
+ }
+ }
+ },
+ "ModifyEventSubscription": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "SubscriptionName"
+ ],
+ "members": {
+ "SubscriptionName": {},
+ "SnsTopicArn": {},
+ "SourceType": {},
+ "EventCategories": {
+ "shape": "S6"
+ },
+ "Enabled": {
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "ModifyEventSubscriptionResult",
+ "type": "structure",
+ "members": {
+ "EventSubscription": {
+ "shape": "S4"
+ }
+ }
+ }
+ },
+ "ModifyOptionGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "OptionGroupName"
+ ],
+ "members": {
+ "OptionGroupName": {},
+ "OptionsToInclude": {
+ "type": "list",
+ "member": {
+ "locationName": "OptionConfiguration",
+ "type": "structure",
+ "required": [
+ "OptionName"
+ ],
+ "members": {
+ "OptionName": {},
+ "Port": {
+ "type": "integer"
+ },
+ "DBSecurityGroupMemberships": {
+ "shape": "Sp"
+ },
+ "VpcSecurityGroupMemberships": {
+ "shape": "Sq"
+ }
+ }
+ }
+ },
+ "OptionsToRemove": {
+ "type": "list",
+ "member": {}
+ },
+ "ApplyImmediately": {
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "ModifyOptionGroupResult",
+ "type": "structure",
+ "members": {
+ "OptionGroup": {
+ "shape": "S1o"
+ }
+ }
+ }
+ },
+ "PromoteReadReplica": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBInstanceIdentifier"
+ ],
+ "members": {
+ "DBInstanceIdentifier": {},
+ "BackupRetentionPeriod": {
+ "type": "integer"
+ },
+ "PreferredBackupWindow": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "PromoteReadReplicaResult",
+ "type": "structure",
+ "members": {
+ "DBInstance": {
+ "shape": "St"
+ }
+ }
+ }
+ },
+ "PurchaseReservedDBInstancesOffering": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ReservedDBInstancesOfferingId"
+ ],
+ "members": {
+ "ReservedDBInstancesOfferingId": {},
+ "ReservedDBInstanceId": {},
+ "DBInstanceCount": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "PurchaseReservedDBInstancesOfferingResult",
+ "type": "structure",
+ "members": {
+ "ReservedDBInstance": {
+ "shape": "S3m"
+ }
+ }
+ }
+ },
+ "RebootDBInstance": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBInstanceIdentifier"
+ ],
+ "members": {
+ "DBInstanceIdentifier": {},
+ "ForceFailover": {
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "RebootDBInstanceResult",
+ "type": "structure",
+ "members": {
+ "DBInstance": {
+ "shape": "St"
+ }
+ }
+ }
+ },
+ "RemoveSourceIdentifierFromSubscription": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "SubscriptionName",
+ "SourceIdentifier"
+ ],
+ "members": {
+ "SubscriptionName": {},
+ "SourceIdentifier": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "RemoveSourceIdentifierFromSubscriptionResult",
+ "type": "structure",
+ "members": {
+ "EventSubscription": {
+ "shape": "S4"
+ }
+ }
+ }
+ },
+ "RemoveTagsFromResource": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ResourceName",
+ "TagKeys"
+ ],
+ "members": {
+ "ResourceName": {},
+ "TagKeys": {
+ "type": "list",
+ "member": {}
+ }
+ }
+ }
+ },
+ "ResetDBParameterGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBParameterGroupName"
+ ],
+ "members": {
+ "DBParameterGroupName": {},
+ "ResetAllParameters": {
+ "type": "boolean"
+ },
+ "Parameters": {
+ "shape": "S2f"
+ }
+ }
+ },
+ "output": {
+ "shape": "S3z",
+ "resultWrapper": "ResetDBParameterGroupResult"
+ }
+ },
+ "RestoreDBInstanceFromDBSnapshot": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBInstanceIdentifier",
+ "DBSnapshotIdentifier"
+ ],
+ "members": {
+ "DBInstanceIdentifier": {},
+ "DBSnapshotIdentifier": {},
+ "DBInstanceClass": {},
+ "Port": {
+ "type": "integer"
+ },
+ "AvailabilityZone": {},
+ "DBSubnetGroupName": {},
+ "MultiAZ": {
+ "type": "boolean"
+ },
+ "PubliclyAccessible": {
+ "type": "boolean"
+ },
+ "AutoMinorVersionUpgrade": {
+ "type": "boolean"
+ },
+ "LicenseModel": {},
+ "DBName": {},
+ "Engine": {},
+ "Iops": {
+ "type": "integer"
+ },
+ "OptionGroupName": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "RestoreDBInstanceFromDBSnapshotResult",
+ "type": "structure",
+ "members": {
+ "DBInstance": {
+ "shape": "St"
+ }
+ }
+ }
+ },
+ "RestoreDBInstanceToPointInTime": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "SourceDBInstanceIdentifier",
+ "TargetDBInstanceIdentifier"
+ ],
+ "members": {
+ "SourceDBInstanceIdentifier": {},
+ "TargetDBInstanceIdentifier": {},
+ "RestoreTime": {
+ "type": "timestamp"
+ },
+ "UseLatestRestorableTime": {
+ "type": "boolean"
+ },
+ "DBInstanceClass": {},
+ "Port": {
+ "type": "integer"
+ },
+ "AvailabilityZone": {},
+ "DBSubnetGroupName": {},
+ "MultiAZ": {
+ "type": "boolean"
+ },
+ "PubliclyAccessible": {
+ "type": "boolean"
+ },
+ "AutoMinorVersionUpgrade": {
+ "type": "boolean"
+ },
+ "LicenseModel": {},
+ "DBName": {},
+ "Engine": {},
+ "Iops": {
+ "type": "integer"
+ },
+ "OptionGroupName": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "RestoreDBInstanceToPointInTimeResult",
+ "type": "structure",
+ "members": {
+ "DBInstance": {
+ "shape": "St"
+ }
+ }
+ }
+ },
+ "RevokeDBSecurityGroupIngress": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBSecurityGroupName"
+ ],
+ "members": {
+ "DBSecurityGroupName": {},
+ "CIDRIP": {},
+ "EC2SecurityGroupName": {},
+ "EC2SecurityGroupId": {},
+ "EC2SecurityGroupOwnerId": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "RevokeDBSecurityGroupIngressResult",
+ "type": "structure",
+ "members": {
+ "DBSecurityGroup": {
+ "shape": "Sd"
+ }
+ }
+ }
+ }
+ },
+ "shapes": {
+ "S4": {
+ "type": "structure",
+ "members": {
+ "Id": {},
+ "CustomerAwsId": {},
+ "CustSubscriptionId": {},
+ "SnsTopicArn": {},
+ "Status": {},
+ "SubscriptionCreationTime": {},
+ "SourceType": {},
+ "SourceIdsList": {
+ "shape": "S5"
+ },
+ "EventCategoriesList": {
+ "shape": "S6"
+ },
+ "Enabled": {
+ "type": "boolean"
+ }
+ },
+ "wrapper": true
+ },
+ "S5": {
+ "type": "list",
+ "member": {
+ "locationName": "SourceId"
+ }
+ },
+ "S6": {
+ "type": "list",
+ "member": {
+ "locationName": "EventCategory"
+ }
+ },
+ "S9": {
+ "type": "list",
+ "member": {
+ "locationName": "Tag",
+ "type": "structure",
+ "members": {
+ "Key": {},
+ "Value": {}
+ }
+ }
+ },
+ "Sd": {
+ "type": "structure",
+ "members": {
+ "OwnerId": {},
+ "DBSecurityGroupName": {},
+ "DBSecurityGroupDescription": {},
+ "VpcId": {},
+ "EC2SecurityGroups": {
+ "type": "list",
+ "member": {
+ "locationName": "EC2SecurityGroup",
+ "type": "structure",
+ "members": {
+ "Status": {},
+ "EC2SecurityGroupName": {},
+ "EC2SecurityGroupId": {},
+ "EC2SecurityGroupOwnerId": {}
+ }
+ }
+ },
+ "IPRanges": {
+ "type": "list",
+ "member": {
+ "locationName": "IPRange",
+ "type": "structure",
+ "members": {
+ "Status": {},
+ "CIDRIP": {}
+ }
+ }
+ }
+ },
+ "wrapper": true
+ },
+ "Sk": {
+ "type": "structure",
+ "members": {
+ "DBSnapshotIdentifier": {},
+ "DBInstanceIdentifier": {},
+ "SnapshotCreateTime": {
+ "type": "timestamp"
+ },
+ "Engine": {},
+ "AllocatedStorage": {
+ "type": "integer"
+ },
+ "Status": {},
+ "Port": {
+ "type": "integer"
+ },
+ "AvailabilityZone": {},
+ "VpcId": {},
+ "InstanceCreateTime": {
+ "type": "timestamp"
+ },
+ "MasterUsername": {},
+ "EngineVersion": {},
+ "LicenseModel": {},
+ "SnapshotType": {},
+ "Iops": {
+ "type": "integer"
+ }
+ },
+ "wrapper": true
+ },
+ "Sp": {
+ "type": "list",
+ "member": {
+ "locationName": "DBSecurityGroupName"
+ }
+ },
+ "Sq": {
+ "type": "list",
+ "member": {
+ "locationName": "VpcSecurityGroupId"
+ }
+ },
+ "St": {
+ "type": "structure",
+ "members": {
+ "DBInstanceIdentifier": {},
+ "DBInstanceClass": {},
+ "Engine": {},
+ "DBInstanceStatus": {},
+ "MasterUsername": {},
+ "DBName": {},
+ "Endpoint": {
+ "type": "structure",
+ "members": {
+ "Address": {},
+ "Port": {
+ "type": "integer"
+ }
+ }
+ },
+ "AllocatedStorage": {
+ "type": "integer"
+ },
+ "InstanceCreateTime": {
+ "type": "timestamp"
+ },
+ "PreferredBackupWindow": {},
+ "BackupRetentionPeriod": {
+ "type": "integer"
+ },
+ "DBSecurityGroups": {
+ "shape": "Sv"
+ },
+ "VpcSecurityGroups": {
+ "shape": "Sx"
+ },
+ "DBParameterGroups": {
+ "type": "list",
+ "member": {
+ "locationName": "DBParameterGroup",
+ "type": "structure",
+ "members": {
+ "DBParameterGroupName": {},
+ "ParameterApplyStatus": {}
+ }
+ }
+ },
+ "AvailabilityZone": {},
+ "DBSubnetGroup": {
+ "shape": "S11"
+ },
+ "PreferredMaintenanceWindow": {},
+ "PendingModifiedValues": {
+ "type": "structure",
+ "members": {
+ "DBInstanceClass": {},
+ "AllocatedStorage": {
+ "type": "integer"
+ },
+ "MasterUserPassword": {},
+ "Port": {
+ "type": "integer"
+ },
+ "BackupRetentionPeriod": {
+ "type": "integer"
+ },
+ "MultiAZ": {
+ "type": "boolean"
+ },
+ "EngineVersion": {},
+ "Iops": {
+ "type": "integer"
+ },
+ "DBInstanceIdentifier": {}
+ }
+ },
+ "LatestRestorableTime": {
+ "type": "timestamp"
+ },
+ "MultiAZ": {
+ "type": "boolean"
+ },
+ "EngineVersion": {},
+ "AutoMinorVersionUpgrade": {
+ "type": "boolean"
+ },
+ "ReadReplicaSourceDBInstanceIdentifier": {},
+ "ReadReplicaDBInstanceIdentifiers": {
+ "type": "list",
+ "member": {
+ "locationName": "ReadReplicaDBInstanceIdentifier"
+ }
+ },
+ "LicenseModel": {},
+ "Iops": {
+ "type": "integer"
+ },
+ "OptionGroupMembership": {
+ "type": "structure",
+ "members": {
+ "OptionGroupName": {},
+ "Status": {}
+ }
+ },
+ "CharacterSetName": {},
+ "SecondaryAvailabilityZone": {},
+ "PubliclyAccessible": {
+ "type": "boolean"
+ }
+ },
+ "wrapper": true
+ },
+ "Sv": {
+ "type": "list",
+ "member": {
+ "locationName": "DBSecurityGroup",
+ "type": "structure",
+ "members": {
+ "DBSecurityGroupName": {},
+ "Status": {}
+ }
+ }
+ },
+ "Sx": {
+ "type": "list",
+ "member": {
+ "locationName": "VpcSecurityGroupMembership",
+ "type": "structure",
+ "members": {
+ "VpcSecurityGroupId": {},
+ "Status": {}
+ }
+ }
+ },
+ "S11": {
+ "type": "structure",
+ "members": {
+ "DBSubnetGroupName": {},
+ "DBSubnetGroupDescription": {},
+ "VpcId": {},
+ "SubnetGroupStatus": {},
+ "Subnets": {
+ "type": "list",
+ "member": {
+ "locationName": "Subnet",
+ "type": "structure",
+ "members": {
+ "SubnetIdentifier": {},
+ "SubnetAvailabilityZone": {
+ "shape": "S14"
+ },
+ "SubnetStatus": {}
+ }
+ }
+ }
+ },
+ "wrapper": true
+ },
+ "S14": {
+ "type": "structure",
+ "members": {
+ "Name": {},
+ "ProvisionedIopsCapable": {
+ "type": "boolean"
+ }
+ },
+ "wrapper": true
+ },
+ "S1c": {
+ "type": "structure",
+ "members": {
+ "DBParameterGroupName": {},
+ "DBParameterGroupFamily": {},
+ "Description": {}
+ },
+ "wrapper": true
+ },
+ "S1i": {
+ "type": "list",
+ "member": {
+ "locationName": "SubnetIdentifier"
+ }
+ },
+ "S1o": {
+ "type": "structure",
+ "members": {
+ "OptionGroupName": {},
+ "OptionGroupDescription": {},
+ "EngineName": {},
+ "MajorEngineVersion": {},
+ "Options": {
+ "type": "list",
+ "member": {
+ "locationName": "Option",
+ "type": "structure",
+ "members": {
+ "OptionName": {},
+ "OptionDescription": {},
+ "Port": {
+ "type": "integer"
+ },
+ "DBSecurityGroupMemberships": {
+ "shape": "Sv"
+ },
+ "VpcSecurityGroupMemberships": {
+ "shape": "Sx"
+ }
+ }
+ }
+ },
+ "AllowsVpcAndNonVpcInstanceMemberships": {
+ "type": "boolean"
+ },
+ "VpcId": {}
+ },
+ "wrapper": true
+ },
+ "S25": {
+ "type": "structure",
+ "members": {
+ "CharacterSetName": {},
+ "CharacterSetDescription": {}
+ }
+ },
+ "S2f": {
+ "type": "list",
+ "member": {
+ "locationName": "Parameter",
+ "type": "structure",
+ "members": {
+ "ParameterName": {},
+ "ParameterValue": {},
+ "Description": {},
+ "Source": {},
+ "ApplyType": {},
+ "DataType": {},
+ "AllowedValues": {},
+ "IsModifiable": {
+ "type": "boolean"
+ },
+ "MinimumEngineVersion": {},
+ "ApplyMethod": {}
+ }
+ }
+ },
+ "S3m": {
+ "type": "structure",
+ "members": {
+ "ReservedDBInstanceId": {},
+ "ReservedDBInstancesOfferingId": {},
+ "DBInstanceClass": {},
+ "StartTime": {
+ "type": "timestamp"
+ },
+ "Duration": {
+ "type": "integer"
+ },
+ "FixedPrice": {
+ "type": "double"
+ },
+ "UsagePrice": {
+ "type": "double"
+ },
+ "CurrencyCode": {},
+ "DBInstanceCount": {
+ "type": "integer"
+ },
+ "ProductDescription": {},
+ "OfferingType": {},
+ "MultiAZ": {
+ "type": "boolean"
+ },
+ "State": {},
+ "RecurringCharges": {
+ "shape": "S3o"
+ }
+ },
+ "wrapper": true
+ },
+ "S3o": {
+ "type": "list",
+ "member": {
+ "locationName": "RecurringCharge",
+ "type": "structure",
+ "members": {
+ "RecurringChargeAmount": {
+ "type": "double"
+ },
+ "RecurringChargeFrequency": {}
+ },
+ "wrapper": true
+ }
+ },
+ "S3z": {
+ "type": "structure",
+ "members": {
+ "DBParameterGroupName": {}
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/node_modules/aws-sdk/apis/rds-2013-01-10.paginators.json b/node_modules/aws-sdk/apis/rds-2013-01-10.paginators.json
new file mode 100644
index 0000000000000000000000000000000000000000..e70d762e00f61b2a5cfe3728597b61750e26fd28
--- /dev/null
+++ b/node_modules/aws-sdk/apis/rds-2013-01-10.paginators.json
@@ -0,0 +1,97 @@
+{
+ "pagination": {
+ "DescribeDBEngineVersions": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "DBEngineVersions"
+ },
+ "DescribeDBInstances": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "DBInstances"
+ },
+ "DescribeDBParameterGroups": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "DBParameterGroups"
+ },
+ "DescribeDBParameters": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "Parameters"
+ },
+ "DescribeDBSecurityGroups": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "DBSecurityGroups"
+ },
+ "DescribeDBSnapshots": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "DBSnapshots"
+ },
+ "DescribeDBSubnetGroups": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "DBSubnetGroups"
+ },
+ "DescribeEngineDefaultParameters": {
+ "input_token": "Marker",
+ "output_token": "EngineDefaults.Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "EngineDefaults.Parameters"
+ },
+ "DescribeEventSubscriptions": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "EventSubscriptionsList"
+ },
+ "DescribeEvents": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "Events"
+ },
+ "DescribeOptionGroupOptions": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "OptionGroupOptions"
+ },
+ "DescribeOptionGroups": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "OptionGroupsList"
+ },
+ "DescribeOrderableDBInstanceOptions": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "OrderableDBInstanceOptions"
+ },
+ "DescribeReservedDBInstances": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "ReservedDBInstances"
+ },
+ "DescribeReservedDBInstancesOfferings": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "ReservedDBInstancesOfferings"
+ },
+ "ListTagsForResource": {
+ "result_key": "TagList"
+ }
+ }
+}
diff --git a/node_modules/aws-sdk/apis/rds-2013-02-12.min.json b/node_modules/aws-sdk/apis/rds-2013-02-12.min.json
new file mode 100644
index 0000000000000000000000000000000000000000..c4d59207dd1a62512ee11b2c68cff41fe8421274
--- /dev/null
+++ b/node_modules/aws-sdk/apis/rds-2013-02-12.min.json
@@ -0,0 +1,2027 @@
+{
+ "version": "2.0",
+ "metadata": {
+ "apiVersion": "2013-02-12",
+ "endpointPrefix": "rds",
+ "protocol": "query",
+ "serviceAbbreviation": "Amazon RDS",
+ "serviceFullName": "Amazon Relational Database Service",
+ "signatureVersion": "v4",
+ "xmlNamespace": "http://rds.amazonaws.com/doc/2013-02-12/"
+ },
+ "operations": {
+ "AddSourceIdentifierToSubscription": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "SubscriptionName",
+ "SourceIdentifier"
+ ],
+ "members": {
+ "SubscriptionName": {},
+ "SourceIdentifier": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "AddSourceIdentifierToSubscriptionResult",
+ "type": "structure",
+ "members": {
+ "EventSubscription": {
+ "shape": "S4"
+ }
+ }
+ }
+ },
+ "AddTagsToResource": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ResourceName",
+ "Tags"
+ ],
+ "members": {
+ "ResourceName": {},
+ "Tags": {
+ "shape": "S9"
+ }
+ }
+ }
+ },
+ "AuthorizeDBSecurityGroupIngress": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBSecurityGroupName"
+ ],
+ "members": {
+ "DBSecurityGroupName": {},
+ "CIDRIP": {},
+ "EC2SecurityGroupName": {},
+ "EC2SecurityGroupId": {},
+ "EC2SecurityGroupOwnerId": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "AuthorizeDBSecurityGroupIngressResult",
+ "type": "structure",
+ "members": {
+ "DBSecurityGroup": {
+ "shape": "Sd"
+ }
+ }
+ }
+ },
+ "CopyDBSnapshot": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "SourceDBSnapshotIdentifier",
+ "TargetDBSnapshotIdentifier"
+ ],
+ "members": {
+ "SourceDBSnapshotIdentifier": {},
+ "TargetDBSnapshotIdentifier": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "CopyDBSnapshotResult",
+ "type": "structure",
+ "members": {
+ "DBSnapshot": {
+ "shape": "Sk"
+ }
+ }
+ }
+ },
+ "CreateDBInstance": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBInstanceIdentifier",
+ "AllocatedStorage",
+ "DBInstanceClass",
+ "Engine",
+ "MasterUsername",
+ "MasterUserPassword"
+ ],
+ "members": {
+ "DBName": {},
+ "DBInstanceIdentifier": {},
+ "AllocatedStorage": {
+ "type": "integer"
+ },
+ "DBInstanceClass": {},
+ "Engine": {},
+ "MasterUsername": {},
+ "MasterUserPassword": {},
+ "DBSecurityGroups": {
+ "shape": "Sp"
+ },
+ "VpcSecurityGroupIds": {
+ "shape": "Sq"
+ },
+ "AvailabilityZone": {},
+ "DBSubnetGroupName": {},
+ "PreferredMaintenanceWindow": {},
+ "DBParameterGroupName": {},
+ "BackupRetentionPeriod": {
+ "type": "integer"
+ },
+ "PreferredBackupWindow": {},
+ "Port": {
+ "type": "integer"
+ },
+ "MultiAZ": {
+ "type": "boolean"
+ },
+ "EngineVersion": {},
+ "AutoMinorVersionUpgrade": {
+ "type": "boolean"
+ },
+ "LicenseModel": {},
+ "Iops": {
+ "type": "integer"
+ },
+ "OptionGroupName": {},
+ "CharacterSetName": {},
+ "PubliclyAccessible": {
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "CreateDBInstanceResult",
+ "type": "structure",
+ "members": {
+ "DBInstance": {
+ "shape": "St"
+ }
+ }
+ }
+ },
+ "CreateDBInstanceReadReplica": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBInstanceIdentifier",
+ "SourceDBInstanceIdentifier"
+ ],
+ "members": {
+ "DBInstanceIdentifier": {},
+ "SourceDBInstanceIdentifier": {},
+ "DBInstanceClass": {},
+ "AvailabilityZone": {},
+ "Port": {
+ "type": "integer"
+ },
+ "AutoMinorVersionUpgrade": {
+ "type": "boolean"
+ },
+ "Iops": {
+ "type": "integer"
+ },
+ "OptionGroupName": {},
+ "PubliclyAccessible": {
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "CreateDBInstanceReadReplicaResult",
+ "type": "structure",
+ "members": {
+ "DBInstance": {
+ "shape": "St"
+ }
+ }
+ }
+ },
+ "CreateDBParameterGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBParameterGroupName",
+ "DBParameterGroupFamily",
+ "Description"
+ ],
+ "members": {
+ "DBParameterGroupName": {},
+ "DBParameterGroupFamily": {},
+ "Description": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "CreateDBParameterGroupResult",
+ "type": "structure",
+ "members": {
+ "DBParameterGroup": {
+ "shape": "S1d"
+ }
+ }
+ }
+ },
+ "CreateDBSecurityGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBSecurityGroupName",
+ "DBSecurityGroupDescription"
+ ],
+ "members": {
+ "DBSecurityGroupName": {},
+ "DBSecurityGroupDescription": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "CreateDBSecurityGroupResult",
+ "type": "structure",
+ "members": {
+ "DBSecurityGroup": {
+ "shape": "Sd"
+ }
+ }
+ }
+ },
+ "CreateDBSnapshot": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBSnapshotIdentifier",
+ "DBInstanceIdentifier"
+ ],
+ "members": {
+ "DBSnapshotIdentifier": {},
+ "DBInstanceIdentifier": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "CreateDBSnapshotResult",
+ "type": "structure",
+ "members": {
+ "DBSnapshot": {
+ "shape": "Sk"
+ }
+ }
+ }
+ },
+ "CreateDBSubnetGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBSubnetGroupName",
+ "DBSubnetGroupDescription",
+ "SubnetIds"
+ ],
+ "members": {
+ "DBSubnetGroupName": {},
+ "DBSubnetGroupDescription": {},
+ "SubnetIds": {
+ "shape": "S1j"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "CreateDBSubnetGroupResult",
+ "type": "structure",
+ "members": {
+ "DBSubnetGroup": {
+ "shape": "S11"
+ }
+ }
+ }
+ },
+ "CreateEventSubscription": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "SubscriptionName",
+ "SnsTopicArn"
+ ],
+ "members": {
+ "SubscriptionName": {},
+ "SnsTopicArn": {},
+ "SourceType": {},
+ "EventCategories": {
+ "shape": "S6"
+ },
+ "SourceIds": {
+ "shape": "S5"
+ },
+ "Enabled": {
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "CreateEventSubscriptionResult",
+ "type": "structure",
+ "members": {
+ "EventSubscription": {
+ "shape": "S4"
+ }
+ }
+ }
+ },
+ "CreateOptionGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "OptionGroupName",
+ "EngineName",
+ "MajorEngineVersion",
+ "OptionGroupDescription"
+ ],
+ "members": {
+ "OptionGroupName": {},
+ "EngineName": {},
+ "MajorEngineVersion": {},
+ "OptionGroupDescription": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "CreateOptionGroupResult",
+ "type": "structure",
+ "members": {
+ "OptionGroup": {
+ "shape": "S1p"
+ }
+ }
+ }
+ },
+ "DeleteDBInstance": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBInstanceIdentifier"
+ ],
+ "members": {
+ "DBInstanceIdentifier": {},
+ "SkipFinalSnapshot": {
+ "type": "boolean"
+ },
+ "FinalDBSnapshotIdentifier": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DeleteDBInstanceResult",
+ "type": "structure",
+ "members": {
+ "DBInstance": {
+ "shape": "St"
+ }
+ }
+ }
+ },
+ "DeleteDBParameterGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBParameterGroupName"
+ ],
+ "members": {
+ "DBParameterGroupName": {}
+ }
+ }
+ },
+ "DeleteDBSecurityGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBSecurityGroupName"
+ ],
+ "members": {
+ "DBSecurityGroupName": {}
+ }
+ }
+ },
+ "DeleteDBSnapshot": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBSnapshotIdentifier"
+ ],
+ "members": {
+ "DBSnapshotIdentifier": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DeleteDBSnapshotResult",
+ "type": "structure",
+ "members": {
+ "DBSnapshot": {
+ "shape": "Sk"
+ }
+ }
+ }
+ },
+ "DeleteDBSubnetGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBSubnetGroupName"
+ ],
+ "members": {
+ "DBSubnetGroupName": {}
+ }
+ }
+ },
+ "DeleteEventSubscription": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "SubscriptionName"
+ ],
+ "members": {
+ "SubscriptionName": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DeleteEventSubscriptionResult",
+ "type": "structure",
+ "members": {
+ "EventSubscription": {
+ "shape": "S4"
+ }
+ }
+ }
+ },
+ "DeleteOptionGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "OptionGroupName"
+ ],
+ "members": {
+ "OptionGroupName": {}
+ }
+ }
+ },
+ "DescribeDBEngineVersions": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "Engine": {},
+ "EngineVersion": {},
+ "DBParameterGroupFamily": {},
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {},
+ "DefaultOnly": {
+ "type": "boolean"
+ },
+ "ListSupportedCharacterSets": {
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeDBEngineVersionsResult",
+ "type": "structure",
+ "members": {
+ "Marker": {},
+ "DBEngineVersions": {
+ "type": "list",
+ "member": {
+ "locationName": "DBEngineVersion",
+ "type": "structure",
+ "members": {
+ "Engine": {},
+ "EngineVersion": {},
+ "DBParameterGroupFamily": {},
+ "DBEngineDescription": {},
+ "DBEngineVersionDescription": {},
+ "DefaultCharacterSet": {
+ "shape": "S28"
+ },
+ "SupportedCharacterSets": {
+ "type": "list",
+ "member": {
+ "shape": "S28",
+ "locationName": "CharacterSet"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "DescribeDBInstances": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DBInstanceIdentifier": {},
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeDBInstancesResult",
+ "type": "structure",
+ "members": {
+ "Marker": {},
+ "DBInstances": {
+ "type": "list",
+ "member": {
+ "shape": "St",
+ "locationName": "DBInstance"
+ }
+ }
+ }
+ }
+ },
+ "DescribeDBLogFiles": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBInstanceIdentifier"
+ ],
+ "members": {
+ "DBInstanceIdentifier": {},
+ "FilenameContains": {},
+ "FileLastWritten": {
+ "type": "long"
+ },
+ "FileSize": {
+ "type": "long"
+ },
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeDBLogFilesResult",
+ "type": "structure",
+ "members": {
+ "DescribeDBLogFiles": {
+ "type": "list",
+ "member": {
+ "locationName": "DescribeDBLogFilesDetails",
+ "type": "structure",
+ "members": {
+ "LogFileName": {},
+ "LastWritten": {
+ "type": "long"
+ },
+ "Size": {
+ "type": "long"
+ }
+ }
+ }
+ },
+ "Marker": {}
+ }
+ }
+ },
+ "DescribeDBParameterGroups": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DBParameterGroupName": {},
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeDBParameterGroupsResult",
+ "type": "structure",
+ "members": {
+ "Marker": {},
+ "DBParameterGroups": {
+ "type": "list",
+ "member": {
+ "shape": "S1d",
+ "locationName": "DBParameterGroup"
+ }
+ }
+ }
+ }
+ },
+ "DescribeDBParameters": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBParameterGroupName"
+ ],
+ "members": {
+ "DBParameterGroupName": {},
+ "Source": {},
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeDBParametersResult",
+ "type": "structure",
+ "members": {
+ "Parameters": {
+ "shape": "S2n"
+ },
+ "Marker": {}
+ }
+ }
+ },
+ "DescribeDBSecurityGroups": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DBSecurityGroupName": {},
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeDBSecurityGroupsResult",
+ "type": "structure",
+ "members": {
+ "Marker": {},
+ "DBSecurityGroups": {
+ "type": "list",
+ "member": {
+ "shape": "Sd",
+ "locationName": "DBSecurityGroup"
+ }
+ }
+ }
+ }
+ },
+ "DescribeDBSnapshots": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DBInstanceIdentifier": {},
+ "DBSnapshotIdentifier": {},
+ "SnapshotType": {},
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeDBSnapshotsResult",
+ "type": "structure",
+ "members": {
+ "Marker": {},
+ "DBSnapshots": {
+ "type": "list",
+ "member": {
+ "shape": "Sk",
+ "locationName": "DBSnapshot"
+ }
+ }
+ }
+ }
+ },
+ "DescribeDBSubnetGroups": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DBSubnetGroupName": {},
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeDBSubnetGroupsResult",
+ "type": "structure",
+ "members": {
+ "Marker": {},
+ "DBSubnetGroups": {
+ "type": "list",
+ "member": {
+ "shape": "S11",
+ "locationName": "DBSubnetGroup"
+ }
+ }
+ }
+ }
+ },
+ "DescribeEngineDefaultParameters": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBParameterGroupFamily"
+ ],
+ "members": {
+ "DBParameterGroupFamily": {},
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeEngineDefaultParametersResult",
+ "type": "structure",
+ "members": {
+ "EngineDefaults": {
+ "type": "structure",
+ "members": {
+ "DBParameterGroupFamily": {},
+ "Marker": {},
+ "Parameters": {
+ "shape": "S2n"
+ }
+ },
+ "wrapper": true
+ }
+ }
+ }
+ },
+ "DescribeEventCategories": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "SourceType": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeEventCategoriesResult",
+ "type": "structure",
+ "members": {
+ "EventCategoriesMapList": {
+ "type": "list",
+ "member": {
+ "locationName": "EventCategoriesMap",
+ "type": "structure",
+ "members": {
+ "SourceType": {},
+ "EventCategories": {
+ "shape": "S6"
+ }
+ },
+ "wrapper": true
+ }
+ }
+ }
+ }
+ },
+ "DescribeEventSubscriptions": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "SubscriptionName": {},
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeEventSubscriptionsResult",
+ "type": "structure",
+ "members": {
+ "Marker": {},
+ "EventSubscriptionsList": {
+ "type": "list",
+ "member": {
+ "shape": "S4",
+ "locationName": "EventSubscription"
+ }
+ }
+ }
+ }
+ },
+ "DescribeEvents": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "SourceIdentifier": {},
+ "SourceType": {},
+ "StartTime": {
+ "type": "timestamp"
+ },
+ "EndTime": {
+ "type": "timestamp"
+ },
+ "Duration": {
+ "type": "integer"
+ },
+ "EventCategories": {
+ "shape": "S6"
+ },
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeEventsResult",
+ "type": "structure",
+ "members": {
+ "Marker": {},
+ "Events": {
+ "type": "list",
+ "member": {
+ "locationName": "Event",
+ "type": "structure",
+ "members": {
+ "SourceIdentifier": {},
+ "SourceType": {},
+ "Message": {},
+ "EventCategories": {
+ "shape": "S6"
+ },
+ "Date": {
+ "type": "timestamp"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "DescribeOptionGroupOptions": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "EngineName"
+ ],
+ "members": {
+ "EngineName": {},
+ "MajorEngineVersion": {},
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeOptionGroupOptionsResult",
+ "type": "structure",
+ "members": {
+ "OptionGroupOptions": {
+ "type": "list",
+ "member": {
+ "locationName": "OptionGroupOption",
+ "type": "structure",
+ "members": {
+ "Name": {},
+ "Description": {},
+ "EngineName": {},
+ "MajorEngineVersion": {},
+ "MinimumRequiredMinorEngineVersion": {},
+ "PortRequired": {
+ "type": "boolean"
+ },
+ "DefaultPort": {
+ "type": "integer"
+ },
+ "OptionsDependedOn": {
+ "type": "list",
+ "member": {
+ "locationName": "OptionName"
+ }
+ },
+ "Persistent": {
+ "type": "boolean"
+ },
+ "OptionGroupOptionSettings": {
+ "type": "list",
+ "member": {
+ "locationName": "OptionGroupOptionSetting",
+ "type": "structure",
+ "members": {
+ "SettingName": {},
+ "SettingDescription": {},
+ "DefaultValue": {},
+ "ApplyType": {},
+ "AllowedValues": {},
+ "IsModifiable": {
+ "type": "boolean"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "Marker": {}
+ }
+ }
+ },
+ "DescribeOptionGroups": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "OptionGroupName": {},
+ "Marker": {},
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "EngineName": {},
+ "MajorEngineVersion": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeOptionGroupsResult",
+ "type": "structure",
+ "members": {
+ "OptionGroupsList": {
+ "type": "list",
+ "member": {
+ "shape": "S1p",
+ "locationName": "OptionGroup"
+ }
+ },
+ "Marker": {}
+ }
+ }
+ },
+ "DescribeOrderableDBInstanceOptions": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Engine"
+ ],
+ "members": {
+ "Engine": {},
+ "EngineVersion": {},
+ "DBInstanceClass": {},
+ "LicenseModel": {},
+ "Vpc": {
+ "type": "boolean"
+ },
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeOrderableDBInstanceOptionsResult",
+ "type": "structure",
+ "members": {
+ "OrderableDBInstanceOptions": {
+ "type": "list",
+ "member": {
+ "locationName": "OrderableDBInstanceOption",
+ "type": "structure",
+ "members": {
+ "Engine": {},
+ "EngineVersion": {},
+ "DBInstanceClass": {},
+ "LicenseModel": {},
+ "AvailabilityZones": {
+ "type": "list",
+ "member": {
+ "shape": "S14",
+ "locationName": "AvailabilityZone"
+ }
+ },
+ "MultiAZCapable": {
+ "type": "boolean"
+ },
+ "ReadReplicaCapable": {
+ "type": "boolean"
+ },
+ "Vpc": {
+ "type": "boolean"
+ }
+ },
+ "wrapper": true
+ }
+ },
+ "Marker": {}
+ }
+ }
+ },
+ "DescribeReservedDBInstances": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "ReservedDBInstanceId": {},
+ "ReservedDBInstancesOfferingId": {},
+ "DBInstanceClass": {},
+ "Duration": {},
+ "ProductDescription": {},
+ "OfferingType": {},
+ "MultiAZ": {
+ "type": "boolean"
+ },
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeReservedDBInstancesResult",
+ "type": "structure",
+ "members": {
+ "Marker": {},
+ "ReservedDBInstances": {
+ "type": "list",
+ "member": {
+ "shape": "S3w",
+ "locationName": "ReservedDBInstance"
+ }
+ }
+ }
+ }
+ },
+ "DescribeReservedDBInstancesOfferings": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "ReservedDBInstancesOfferingId": {},
+ "DBInstanceClass": {},
+ "Duration": {},
+ "ProductDescription": {},
+ "OfferingType": {},
+ "MultiAZ": {
+ "type": "boolean"
+ },
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeReservedDBInstancesOfferingsResult",
+ "type": "structure",
+ "members": {
+ "Marker": {},
+ "ReservedDBInstancesOfferings": {
+ "type": "list",
+ "member": {
+ "locationName": "ReservedDBInstancesOffering",
+ "type": "structure",
+ "members": {
+ "ReservedDBInstancesOfferingId": {},
+ "DBInstanceClass": {},
+ "Duration": {
+ "type": "integer"
+ },
+ "FixedPrice": {
+ "type": "double"
+ },
+ "UsagePrice": {
+ "type": "double"
+ },
+ "CurrencyCode": {},
+ "ProductDescription": {},
+ "OfferingType": {},
+ "MultiAZ": {
+ "type": "boolean"
+ },
+ "RecurringCharges": {
+ "shape": "S3y"
+ }
+ },
+ "wrapper": true
+ }
+ }
+ }
+ }
+ },
+ "DownloadDBLogFilePortion": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBInstanceIdentifier",
+ "LogFileName"
+ ],
+ "members": {
+ "DBInstanceIdentifier": {},
+ "LogFileName": {},
+ "Marker": {},
+ "NumberOfLines": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "DownloadDBLogFilePortionResult",
+ "type": "structure",
+ "members": {
+ "LogFileData": {},
+ "Marker": {},
+ "AdditionalDataPending": {
+ "type": "boolean"
+ }
+ }
+ }
+ },
+ "ListTagsForResource": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ResourceName"
+ ],
+ "members": {
+ "ResourceName": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "ListTagsForResourceResult",
+ "type": "structure",
+ "members": {
+ "TagList": {
+ "shape": "S9"
+ }
+ }
+ }
+ },
+ "ModifyDBInstance": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBInstanceIdentifier"
+ ],
+ "members": {
+ "DBInstanceIdentifier": {},
+ "AllocatedStorage": {
+ "type": "integer"
+ },
+ "DBInstanceClass": {},
+ "DBSecurityGroups": {
+ "shape": "Sp"
+ },
+ "VpcSecurityGroupIds": {
+ "shape": "Sq"
+ },
+ "ApplyImmediately": {
+ "type": "boolean"
+ },
+ "MasterUserPassword": {},
+ "DBParameterGroupName": {},
+ "BackupRetentionPeriod": {
+ "type": "integer"
+ },
+ "PreferredBackupWindow": {},
+ "PreferredMaintenanceWindow": {},
+ "MultiAZ": {
+ "type": "boolean"
+ },
+ "EngineVersion": {},
+ "AllowMajorVersionUpgrade": {
+ "type": "boolean"
+ },
+ "AutoMinorVersionUpgrade": {
+ "type": "boolean"
+ },
+ "Iops": {
+ "type": "integer"
+ },
+ "OptionGroupName": {},
+ "NewDBInstanceIdentifier": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "ModifyDBInstanceResult",
+ "type": "structure",
+ "members": {
+ "DBInstance": {
+ "shape": "St"
+ }
+ }
+ }
+ },
+ "ModifyDBParameterGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBParameterGroupName",
+ "Parameters"
+ ],
+ "members": {
+ "DBParameterGroupName": {},
+ "Parameters": {
+ "shape": "S2n"
+ }
+ }
+ },
+ "output": {
+ "shape": "S4b",
+ "resultWrapper": "ModifyDBParameterGroupResult"
+ }
+ },
+ "ModifyDBSubnetGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBSubnetGroupName",
+ "SubnetIds"
+ ],
+ "members": {
+ "DBSubnetGroupName": {},
+ "DBSubnetGroupDescription": {},
+ "SubnetIds": {
+ "shape": "S1j"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "ModifyDBSubnetGroupResult",
+ "type": "structure",
+ "members": {
+ "DBSubnetGroup": {
+ "shape": "S11"
+ }
+ }
+ }
+ },
+ "ModifyEventSubscription": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "SubscriptionName"
+ ],
+ "members": {
+ "SubscriptionName": {},
+ "SnsTopicArn": {},
+ "SourceType": {},
+ "EventCategories": {
+ "shape": "S6"
+ },
+ "Enabled": {
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "ModifyEventSubscriptionResult",
+ "type": "structure",
+ "members": {
+ "EventSubscription": {
+ "shape": "S4"
+ }
+ }
+ }
+ },
+ "ModifyOptionGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "OptionGroupName"
+ ],
+ "members": {
+ "OptionGroupName": {},
+ "OptionsToInclude": {
+ "type": "list",
+ "member": {
+ "locationName": "OptionConfiguration",
+ "type": "structure",
+ "required": [
+ "OptionName"
+ ],
+ "members": {
+ "OptionName": {},
+ "Port": {
+ "type": "integer"
+ },
+ "DBSecurityGroupMemberships": {
+ "shape": "Sp"
+ },
+ "VpcSecurityGroupMemberships": {
+ "shape": "Sq"
+ },
+ "OptionSettings": {
+ "type": "list",
+ "member": {
+ "shape": "S1t",
+ "locationName": "OptionSetting"
+ }
+ }
+ }
+ }
+ },
+ "OptionsToRemove": {
+ "type": "list",
+ "member": {}
+ },
+ "ApplyImmediately": {
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "ModifyOptionGroupResult",
+ "type": "structure",
+ "members": {
+ "OptionGroup": {
+ "shape": "S1p"
+ }
+ }
+ }
+ },
+ "PromoteReadReplica": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBInstanceIdentifier"
+ ],
+ "members": {
+ "DBInstanceIdentifier": {},
+ "BackupRetentionPeriod": {
+ "type": "integer"
+ },
+ "PreferredBackupWindow": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "PromoteReadReplicaResult",
+ "type": "structure",
+ "members": {
+ "DBInstance": {
+ "shape": "St"
+ }
+ }
+ }
+ },
+ "PurchaseReservedDBInstancesOffering": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ReservedDBInstancesOfferingId"
+ ],
+ "members": {
+ "ReservedDBInstancesOfferingId": {},
+ "ReservedDBInstanceId": {},
+ "DBInstanceCount": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "PurchaseReservedDBInstancesOfferingResult",
+ "type": "structure",
+ "members": {
+ "ReservedDBInstance": {
+ "shape": "S3w"
+ }
+ }
+ }
+ },
+ "RebootDBInstance": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBInstanceIdentifier"
+ ],
+ "members": {
+ "DBInstanceIdentifier": {},
+ "ForceFailover": {
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "RebootDBInstanceResult",
+ "type": "structure",
+ "members": {
+ "DBInstance": {
+ "shape": "St"
+ }
+ }
+ }
+ },
+ "RemoveSourceIdentifierFromSubscription": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "SubscriptionName",
+ "SourceIdentifier"
+ ],
+ "members": {
+ "SubscriptionName": {},
+ "SourceIdentifier": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "RemoveSourceIdentifierFromSubscriptionResult",
+ "type": "structure",
+ "members": {
+ "EventSubscription": {
+ "shape": "S4"
+ }
+ }
+ }
+ },
+ "RemoveTagsFromResource": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ResourceName",
+ "TagKeys"
+ ],
+ "members": {
+ "ResourceName": {},
+ "TagKeys": {
+ "type": "list",
+ "member": {}
+ }
+ }
+ }
+ },
+ "ResetDBParameterGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBParameterGroupName"
+ ],
+ "members": {
+ "DBParameterGroupName": {},
+ "ResetAllParameters": {
+ "type": "boolean"
+ },
+ "Parameters": {
+ "shape": "S2n"
+ }
+ }
+ },
+ "output": {
+ "shape": "S4b",
+ "resultWrapper": "ResetDBParameterGroupResult"
+ }
+ },
+ "RestoreDBInstanceFromDBSnapshot": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBInstanceIdentifier",
+ "DBSnapshotIdentifier"
+ ],
+ "members": {
+ "DBInstanceIdentifier": {},
+ "DBSnapshotIdentifier": {},
+ "DBInstanceClass": {},
+ "Port": {
+ "type": "integer"
+ },
+ "AvailabilityZone": {},
+ "DBSubnetGroupName": {},
+ "MultiAZ": {
+ "type": "boolean"
+ },
+ "PubliclyAccessible": {
+ "type": "boolean"
+ },
+ "AutoMinorVersionUpgrade": {
+ "type": "boolean"
+ },
+ "LicenseModel": {},
+ "DBName": {},
+ "Engine": {},
+ "Iops": {
+ "type": "integer"
+ },
+ "OptionGroupName": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "RestoreDBInstanceFromDBSnapshotResult",
+ "type": "structure",
+ "members": {
+ "DBInstance": {
+ "shape": "St"
+ }
+ }
+ }
+ },
+ "RestoreDBInstanceToPointInTime": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "SourceDBInstanceIdentifier",
+ "TargetDBInstanceIdentifier"
+ ],
+ "members": {
+ "SourceDBInstanceIdentifier": {},
+ "TargetDBInstanceIdentifier": {},
+ "RestoreTime": {
+ "type": "timestamp"
+ },
+ "UseLatestRestorableTime": {
+ "type": "boolean"
+ },
+ "DBInstanceClass": {},
+ "Port": {
+ "type": "integer"
+ },
+ "AvailabilityZone": {},
+ "DBSubnetGroupName": {},
+ "MultiAZ": {
+ "type": "boolean"
+ },
+ "PubliclyAccessible": {
+ "type": "boolean"
+ },
+ "AutoMinorVersionUpgrade": {
+ "type": "boolean"
+ },
+ "LicenseModel": {},
+ "DBName": {},
+ "Engine": {},
+ "Iops": {
+ "type": "integer"
+ },
+ "OptionGroupName": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "RestoreDBInstanceToPointInTimeResult",
+ "type": "structure",
+ "members": {
+ "DBInstance": {
+ "shape": "St"
+ }
+ }
+ }
+ },
+ "RevokeDBSecurityGroupIngress": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBSecurityGroupName"
+ ],
+ "members": {
+ "DBSecurityGroupName": {},
+ "CIDRIP": {},
+ "EC2SecurityGroupName": {},
+ "EC2SecurityGroupId": {},
+ "EC2SecurityGroupOwnerId": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "RevokeDBSecurityGroupIngressResult",
+ "type": "structure",
+ "members": {
+ "DBSecurityGroup": {
+ "shape": "Sd"
+ }
+ }
+ }
+ }
+ },
+ "shapes": {
+ "S4": {
+ "type": "structure",
+ "members": {
+ "CustomerAwsId": {},
+ "CustSubscriptionId": {},
+ "SnsTopicArn": {},
+ "Status": {},
+ "SubscriptionCreationTime": {},
+ "SourceType": {},
+ "SourceIdsList": {
+ "shape": "S5"
+ },
+ "EventCategoriesList": {
+ "shape": "S6"
+ },
+ "Enabled": {
+ "type": "boolean"
+ }
+ },
+ "wrapper": true
+ },
+ "S5": {
+ "type": "list",
+ "member": {
+ "locationName": "SourceId"
+ }
+ },
+ "S6": {
+ "type": "list",
+ "member": {
+ "locationName": "EventCategory"
+ }
+ },
+ "S9": {
+ "type": "list",
+ "member": {
+ "locationName": "Tag",
+ "type": "structure",
+ "members": {
+ "Key": {},
+ "Value": {}
+ }
+ }
+ },
+ "Sd": {
+ "type": "structure",
+ "members": {
+ "OwnerId": {},
+ "DBSecurityGroupName": {},
+ "DBSecurityGroupDescription": {},
+ "VpcId": {},
+ "EC2SecurityGroups": {
+ "type": "list",
+ "member": {
+ "locationName": "EC2SecurityGroup",
+ "type": "structure",
+ "members": {
+ "Status": {},
+ "EC2SecurityGroupName": {},
+ "EC2SecurityGroupId": {},
+ "EC2SecurityGroupOwnerId": {}
+ }
+ }
+ },
+ "IPRanges": {
+ "type": "list",
+ "member": {
+ "locationName": "IPRange",
+ "type": "structure",
+ "members": {
+ "Status": {},
+ "CIDRIP": {}
+ }
+ }
+ }
+ },
+ "wrapper": true
+ },
+ "Sk": {
+ "type": "structure",
+ "members": {
+ "DBSnapshotIdentifier": {},
+ "DBInstanceIdentifier": {},
+ "SnapshotCreateTime": {
+ "type": "timestamp"
+ },
+ "Engine": {},
+ "AllocatedStorage": {
+ "type": "integer"
+ },
+ "Status": {},
+ "Port": {
+ "type": "integer"
+ },
+ "AvailabilityZone": {},
+ "VpcId": {},
+ "InstanceCreateTime": {
+ "type": "timestamp"
+ },
+ "MasterUsername": {},
+ "EngineVersion": {},
+ "LicenseModel": {},
+ "SnapshotType": {},
+ "Iops": {
+ "type": "integer"
+ },
+ "OptionGroupName": {}
+ },
+ "wrapper": true
+ },
+ "Sp": {
+ "type": "list",
+ "member": {
+ "locationName": "DBSecurityGroupName"
+ }
+ },
+ "Sq": {
+ "type": "list",
+ "member": {
+ "locationName": "VpcSecurityGroupId"
+ }
+ },
+ "St": {
+ "type": "structure",
+ "members": {
+ "DBInstanceIdentifier": {},
+ "DBInstanceClass": {},
+ "Engine": {},
+ "DBInstanceStatus": {},
+ "MasterUsername": {},
+ "DBName": {},
+ "Endpoint": {
+ "type": "structure",
+ "members": {
+ "Address": {},
+ "Port": {
+ "type": "integer"
+ }
+ }
+ },
+ "AllocatedStorage": {
+ "type": "integer"
+ },
+ "InstanceCreateTime": {
+ "type": "timestamp"
+ },
+ "PreferredBackupWindow": {},
+ "BackupRetentionPeriod": {
+ "type": "integer"
+ },
+ "DBSecurityGroups": {
+ "shape": "Sv"
+ },
+ "VpcSecurityGroups": {
+ "shape": "Sx"
+ },
+ "DBParameterGroups": {
+ "type": "list",
+ "member": {
+ "locationName": "DBParameterGroup",
+ "type": "structure",
+ "members": {
+ "DBParameterGroupName": {},
+ "ParameterApplyStatus": {}
+ }
+ }
+ },
+ "AvailabilityZone": {},
+ "DBSubnetGroup": {
+ "shape": "S11"
+ },
+ "PreferredMaintenanceWindow": {},
+ "PendingModifiedValues": {
+ "type": "structure",
+ "members": {
+ "DBInstanceClass": {},
+ "AllocatedStorage": {
+ "type": "integer"
+ },
+ "MasterUserPassword": {},
+ "Port": {
+ "type": "integer"
+ },
+ "BackupRetentionPeriod": {
+ "type": "integer"
+ },
+ "MultiAZ": {
+ "type": "boolean"
+ },
+ "EngineVersion": {},
+ "Iops": {
+ "type": "integer"
+ },
+ "DBInstanceIdentifier": {}
+ }
+ },
+ "LatestRestorableTime": {
+ "type": "timestamp"
+ },
+ "MultiAZ": {
+ "type": "boolean"
+ },
+ "EngineVersion": {},
+ "AutoMinorVersionUpgrade": {
+ "type": "boolean"
+ },
+ "ReadReplicaSourceDBInstanceIdentifier": {},
+ "ReadReplicaDBInstanceIdentifiers": {
+ "type": "list",
+ "member": {
+ "locationName": "ReadReplicaDBInstanceIdentifier"
+ }
+ },
+ "LicenseModel": {},
+ "Iops": {
+ "type": "integer"
+ },
+ "OptionGroupMemberships": {
+ "type": "list",
+ "member": {
+ "locationName": "OptionGroupMembership",
+ "type": "structure",
+ "members": {
+ "OptionGroupName": {},
+ "Status": {}
+ }
+ }
+ },
+ "CharacterSetName": {},
+ "SecondaryAvailabilityZone": {},
+ "PubliclyAccessible": {
+ "type": "boolean"
+ }
+ },
+ "wrapper": true
+ },
+ "Sv": {
+ "type": "list",
+ "member": {
+ "locationName": "DBSecurityGroup",
+ "type": "structure",
+ "members": {
+ "DBSecurityGroupName": {},
+ "Status": {}
+ }
+ }
+ },
+ "Sx": {
+ "type": "list",
+ "member": {
+ "locationName": "VpcSecurityGroupMembership",
+ "type": "structure",
+ "members": {
+ "VpcSecurityGroupId": {},
+ "Status": {}
+ }
+ }
+ },
+ "S11": {
+ "type": "structure",
+ "members": {
+ "DBSubnetGroupName": {},
+ "DBSubnetGroupDescription": {},
+ "VpcId": {},
+ "SubnetGroupStatus": {},
+ "Subnets": {
+ "type": "list",
+ "member": {
+ "locationName": "Subnet",
+ "type": "structure",
+ "members": {
+ "SubnetIdentifier": {},
+ "SubnetAvailabilityZone": {
+ "shape": "S14"
+ },
+ "SubnetStatus": {}
+ }
+ }
+ }
+ },
+ "wrapper": true
+ },
+ "S14": {
+ "type": "structure",
+ "members": {
+ "Name": {},
+ "ProvisionedIopsCapable": {
+ "type": "boolean"
+ }
+ },
+ "wrapper": true
+ },
+ "S1d": {
+ "type": "structure",
+ "members": {
+ "DBParameterGroupName": {},
+ "DBParameterGroupFamily": {},
+ "Description": {}
+ },
+ "wrapper": true
+ },
+ "S1j": {
+ "type": "list",
+ "member": {
+ "locationName": "SubnetIdentifier"
+ }
+ },
+ "S1p": {
+ "type": "structure",
+ "members": {
+ "OptionGroupName": {},
+ "OptionGroupDescription": {},
+ "EngineName": {},
+ "MajorEngineVersion": {},
+ "Options": {
+ "type": "list",
+ "member": {
+ "locationName": "Option",
+ "type": "structure",
+ "members": {
+ "OptionName": {},
+ "OptionDescription": {},
+ "Persistent": {
+ "type": "boolean"
+ },
+ "Port": {
+ "type": "integer"
+ },
+ "OptionSettings": {
+ "type": "list",
+ "member": {
+ "shape": "S1t",
+ "locationName": "OptionSetting"
+ }
+ },
+ "DBSecurityGroupMemberships": {
+ "shape": "Sv"
+ },
+ "VpcSecurityGroupMemberships": {
+ "shape": "Sx"
+ }
+ }
+ }
+ },
+ "AllowsVpcAndNonVpcInstanceMemberships": {
+ "type": "boolean"
+ },
+ "VpcId": {}
+ },
+ "wrapper": true
+ },
+ "S1t": {
+ "type": "structure",
+ "members": {
+ "Name": {},
+ "Value": {},
+ "DefaultValue": {},
+ "Description": {},
+ "ApplyType": {},
+ "DataType": {},
+ "AllowedValues": {},
+ "IsModifiable": {
+ "type": "boolean"
+ },
+ "IsCollection": {
+ "type": "boolean"
+ }
+ }
+ },
+ "S28": {
+ "type": "structure",
+ "members": {
+ "CharacterSetName": {},
+ "CharacterSetDescription": {}
+ }
+ },
+ "S2n": {
+ "type": "list",
+ "member": {
+ "locationName": "Parameter",
+ "type": "structure",
+ "members": {
+ "ParameterName": {},
+ "ParameterValue": {},
+ "Description": {},
+ "Source": {},
+ "ApplyType": {},
+ "DataType": {},
+ "AllowedValues": {},
+ "IsModifiable": {
+ "type": "boolean"
+ },
+ "MinimumEngineVersion": {},
+ "ApplyMethod": {}
+ }
+ }
+ },
+ "S3w": {
+ "type": "structure",
+ "members": {
+ "ReservedDBInstanceId": {},
+ "ReservedDBInstancesOfferingId": {},
+ "DBInstanceClass": {},
+ "StartTime": {
+ "type": "timestamp"
+ },
+ "Duration": {
+ "type": "integer"
+ },
+ "FixedPrice": {
+ "type": "double"
+ },
+ "UsagePrice": {
+ "type": "double"
+ },
+ "CurrencyCode": {},
+ "DBInstanceCount": {
+ "type": "integer"
+ },
+ "ProductDescription": {},
+ "OfferingType": {},
+ "MultiAZ": {
+ "type": "boolean"
+ },
+ "State": {},
+ "RecurringCharges": {
+ "shape": "S3y"
+ }
+ },
+ "wrapper": true
+ },
+ "S3y": {
+ "type": "list",
+ "member": {
+ "locationName": "RecurringCharge",
+ "type": "structure",
+ "members": {
+ "RecurringChargeAmount": {
+ "type": "double"
+ },
+ "RecurringChargeFrequency": {}
+ },
+ "wrapper": true
+ }
+ },
+ "S4b": {
+ "type": "structure",
+ "members": {
+ "DBParameterGroupName": {}
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/node_modules/aws-sdk/apis/rds-2013-02-12.paginators.json b/node_modules/aws-sdk/apis/rds-2013-02-12.paginators.json
new file mode 100644
index 0000000000000000000000000000000000000000..662845c12c826bfd35ff18cb2f729b66cc4a2139
--- /dev/null
+++ b/node_modules/aws-sdk/apis/rds-2013-02-12.paginators.json
@@ -0,0 +1,110 @@
+{
+ "pagination": {
+ "DescribeDBEngineVersions": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "DBEngineVersions"
+ },
+ "DescribeDBInstances": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "DBInstances"
+ },
+ "DescribeDBLogFiles": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "DescribeDBLogFiles"
+ },
+ "DescribeDBParameterGroups": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "DBParameterGroups"
+ },
+ "DescribeDBParameters": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "Parameters"
+ },
+ "DescribeDBSecurityGroups": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "DBSecurityGroups"
+ },
+ "DescribeDBSnapshots": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "DBSnapshots"
+ },
+ "DescribeDBSubnetGroups": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "DBSubnetGroups"
+ },
+ "DescribeEngineDefaultParameters": {
+ "input_token": "Marker",
+ "output_token": "EngineDefaults.Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "EngineDefaults.Parameters"
+ },
+ "DescribeEventSubscriptions": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "EventSubscriptionsList"
+ },
+ "DescribeEvents": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "Events"
+ },
+ "DescribeOptionGroupOptions": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "OptionGroupOptions"
+ },
+ "DescribeOptionGroups": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "OptionGroupsList"
+ },
+ "DescribeOrderableDBInstanceOptions": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "OrderableDBInstanceOptions"
+ },
+ "DescribeReservedDBInstances": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "ReservedDBInstances"
+ },
+ "DescribeReservedDBInstancesOfferings": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "ReservedDBInstancesOfferings"
+ },
+ "DownloadDBLogFilePortion": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "limit_key": "NumberOfLines",
+ "more_results": "AdditionalDataPending",
+ "result_key": "LogFileData"
+ },
+ "ListTagsForResource": {
+ "result_key": "TagList"
+ }
+ }
+}
diff --git a/node_modules/aws-sdk/apis/rds-2013-09-09.min.json b/node_modules/aws-sdk/apis/rds-2013-09-09.min.json
new file mode 100644
index 0000000000000000000000000000000000000000..69fec9a6a9972b0a2ff733b8897754b15214c1c5
--- /dev/null
+++ b/node_modules/aws-sdk/apis/rds-2013-09-09.min.json
@@ -0,0 +1,2163 @@
+{
+ "version": "2.0",
+ "metadata": {
+ "apiVersion": "2013-09-09",
+ "endpointPrefix": "rds",
+ "protocol": "query",
+ "serviceAbbreviation": "Amazon RDS",
+ "serviceFullName": "Amazon Relational Database Service",
+ "signatureVersion": "v4",
+ "xmlNamespace": "http://rds.amazonaws.com/doc/2013-09-09/"
+ },
+ "operations": {
+ "AddSourceIdentifierToSubscription": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "SubscriptionName",
+ "SourceIdentifier"
+ ],
+ "members": {
+ "SubscriptionName": {},
+ "SourceIdentifier": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "AddSourceIdentifierToSubscriptionResult",
+ "type": "structure",
+ "members": {
+ "EventSubscription": {
+ "shape": "S4"
+ }
+ }
+ }
+ },
+ "AddTagsToResource": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ResourceName",
+ "Tags"
+ ],
+ "members": {
+ "ResourceName": {},
+ "Tags": {
+ "shape": "S9"
+ }
+ }
+ }
+ },
+ "AuthorizeDBSecurityGroupIngress": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBSecurityGroupName"
+ ],
+ "members": {
+ "DBSecurityGroupName": {},
+ "CIDRIP": {},
+ "EC2SecurityGroupName": {},
+ "EC2SecurityGroupId": {},
+ "EC2SecurityGroupOwnerId": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "AuthorizeDBSecurityGroupIngressResult",
+ "type": "structure",
+ "members": {
+ "DBSecurityGroup": {
+ "shape": "Sd"
+ }
+ }
+ }
+ },
+ "CopyDBSnapshot": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "SourceDBSnapshotIdentifier",
+ "TargetDBSnapshotIdentifier"
+ ],
+ "members": {
+ "SourceDBSnapshotIdentifier": {},
+ "TargetDBSnapshotIdentifier": {},
+ "Tags": {
+ "shape": "S9"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "CopyDBSnapshotResult",
+ "type": "structure",
+ "members": {
+ "DBSnapshot": {
+ "shape": "Sk"
+ }
+ }
+ }
+ },
+ "CreateDBInstance": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBInstanceIdentifier",
+ "AllocatedStorage",
+ "DBInstanceClass",
+ "Engine",
+ "MasterUsername",
+ "MasterUserPassword"
+ ],
+ "members": {
+ "DBName": {},
+ "DBInstanceIdentifier": {},
+ "AllocatedStorage": {
+ "type": "integer"
+ },
+ "DBInstanceClass": {},
+ "Engine": {},
+ "MasterUsername": {},
+ "MasterUserPassword": {},
+ "DBSecurityGroups": {
+ "shape": "Sp"
+ },
+ "VpcSecurityGroupIds": {
+ "shape": "Sq"
+ },
+ "AvailabilityZone": {},
+ "DBSubnetGroupName": {},
+ "PreferredMaintenanceWindow": {},
+ "DBParameterGroupName": {},
+ "BackupRetentionPeriod": {
+ "type": "integer"
+ },
+ "PreferredBackupWindow": {},
+ "Port": {
+ "type": "integer"
+ },
+ "MultiAZ": {
+ "type": "boolean"
+ },
+ "EngineVersion": {},
+ "AutoMinorVersionUpgrade": {
+ "type": "boolean"
+ },
+ "LicenseModel": {},
+ "Iops": {
+ "type": "integer"
+ },
+ "OptionGroupName": {},
+ "CharacterSetName": {},
+ "PubliclyAccessible": {
+ "type": "boolean"
+ },
+ "Tags": {
+ "shape": "S9"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "CreateDBInstanceResult",
+ "type": "structure",
+ "members": {
+ "DBInstance": {
+ "shape": "St"
+ }
+ }
+ }
+ },
+ "CreateDBInstanceReadReplica": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBInstanceIdentifier",
+ "SourceDBInstanceIdentifier"
+ ],
+ "members": {
+ "DBInstanceIdentifier": {},
+ "SourceDBInstanceIdentifier": {},
+ "DBInstanceClass": {},
+ "AvailabilityZone": {},
+ "Port": {
+ "type": "integer"
+ },
+ "AutoMinorVersionUpgrade": {
+ "type": "boolean"
+ },
+ "Iops": {
+ "type": "integer"
+ },
+ "OptionGroupName": {},
+ "PubliclyAccessible": {
+ "type": "boolean"
+ },
+ "Tags": {
+ "shape": "S9"
+ },
+ "DBSubnetGroupName": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "CreateDBInstanceReadReplicaResult",
+ "type": "structure",
+ "members": {
+ "DBInstance": {
+ "shape": "St"
+ }
+ }
+ }
+ },
+ "CreateDBParameterGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBParameterGroupName",
+ "DBParameterGroupFamily",
+ "Description"
+ ],
+ "members": {
+ "DBParameterGroupName": {},
+ "DBParameterGroupFamily": {},
+ "Description": {},
+ "Tags": {
+ "shape": "S9"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "CreateDBParameterGroupResult",
+ "type": "structure",
+ "members": {
+ "DBParameterGroup": {
+ "shape": "S1f"
+ }
+ }
+ }
+ },
+ "CreateDBSecurityGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBSecurityGroupName",
+ "DBSecurityGroupDescription"
+ ],
+ "members": {
+ "DBSecurityGroupName": {},
+ "DBSecurityGroupDescription": {},
+ "Tags": {
+ "shape": "S9"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "CreateDBSecurityGroupResult",
+ "type": "structure",
+ "members": {
+ "DBSecurityGroup": {
+ "shape": "Sd"
+ }
+ }
+ }
+ },
+ "CreateDBSnapshot": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBSnapshotIdentifier",
+ "DBInstanceIdentifier"
+ ],
+ "members": {
+ "DBSnapshotIdentifier": {},
+ "DBInstanceIdentifier": {},
+ "Tags": {
+ "shape": "S9"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "CreateDBSnapshotResult",
+ "type": "structure",
+ "members": {
+ "DBSnapshot": {
+ "shape": "Sk"
+ }
+ }
+ }
+ },
+ "CreateDBSubnetGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBSubnetGroupName",
+ "DBSubnetGroupDescription",
+ "SubnetIds"
+ ],
+ "members": {
+ "DBSubnetGroupName": {},
+ "DBSubnetGroupDescription": {},
+ "SubnetIds": {
+ "shape": "S1l"
+ },
+ "Tags": {
+ "shape": "S9"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "CreateDBSubnetGroupResult",
+ "type": "structure",
+ "members": {
+ "DBSubnetGroup": {
+ "shape": "S11"
+ }
+ }
+ }
+ },
+ "CreateEventSubscription": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "SubscriptionName",
+ "SnsTopicArn"
+ ],
+ "members": {
+ "SubscriptionName": {},
+ "SnsTopicArn": {},
+ "SourceType": {},
+ "EventCategories": {
+ "shape": "S6"
+ },
+ "SourceIds": {
+ "shape": "S5"
+ },
+ "Enabled": {
+ "type": "boolean"
+ },
+ "Tags": {
+ "shape": "S9"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "CreateEventSubscriptionResult",
+ "type": "structure",
+ "members": {
+ "EventSubscription": {
+ "shape": "S4"
+ }
+ }
+ }
+ },
+ "CreateOptionGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "OptionGroupName",
+ "EngineName",
+ "MajorEngineVersion",
+ "OptionGroupDescription"
+ ],
+ "members": {
+ "OptionGroupName": {},
+ "EngineName": {},
+ "MajorEngineVersion": {},
+ "OptionGroupDescription": {},
+ "Tags": {
+ "shape": "S9"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "CreateOptionGroupResult",
+ "type": "structure",
+ "members": {
+ "OptionGroup": {
+ "shape": "S1r"
+ }
+ }
+ }
+ },
+ "DeleteDBInstance": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBInstanceIdentifier"
+ ],
+ "members": {
+ "DBInstanceIdentifier": {},
+ "SkipFinalSnapshot": {
+ "type": "boolean"
+ },
+ "FinalDBSnapshotIdentifier": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DeleteDBInstanceResult",
+ "type": "structure",
+ "members": {
+ "DBInstance": {
+ "shape": "St"
+ }
+ }
+ }
+ },
+ "DeleteDBParameterGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBParameterGroupName"
+ ],
+ "members": {
+ "DBParameterGroupName": {}
+ }
+ }
+ },
+ "DeleteDBSecurityGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBSecurityGroupName"
+ ],
+ "members": {
+ "DBSecurityGroupName": {}
+ }
+ }
+ },
+ "DeleteDBSnapshot": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBSnapshotIdentifier"
+ ],
+ "members": {
+ "DBSnapshotIdentifier": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DeleteDBSnapshotResult",
+ "type": "structure",
+ "members": {
+ "DBSnapshot": {
+ "shape": "Sk"
+ }
+ }
+ }
+ },
+ "DeleteDBSubnetGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBSubnetGroupName"
+ ],
+ "members": {
+ "DBSubnetGroupName": {}
+ }
+ }
+ },
+ "DeleteEventSubscription": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "SubscriptionName"
+ ],
+ "members": {
+ "SubscriptionName": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DeleteEventSubscriptionResult",
+ "type": "structure",
+ "members": {
+ "EventSubscription": {
+ "shape": "S4"
+ }
+ }
+ }
+ },
+ "DeleteOptionGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "OptionGroupName"
+ ],
+ "members": {
+ "OptionGroupName": {}
+ }
+ }
+ },
+ "DescribeDBEngineVersions": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "Engine": {},
+ "EngineVersion": {},
+ "DBParameterGroupFamily": {},
+ "Filters": {
+ "shape": "S27"
+ },
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {},
+ "DefaultOnly": {
+ "type": "boolean"
+ },
+ "ListSupportedCharacterSets": {
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeDBEngineVersionsResult",
+ "type": "structure",
+ "members": {
+ "Marker": {},
+ "DBEngineVersions": {
+ "type": "list",
+ "member": {
+ "locationName": "DBEngineVersion",
+ "type": "structure",
+ "members": {
+ "Engine": {},
+ "EngineVersion": {},
+ "DBParameterGroupFamily": {},
+ "DBEngineDescription": {},
+ "DBEngineVersionDescription": {},
+ "DefaultCharacterSet": {
+ "shape": "S2d"
+ },
+ "SupportedCharacterSets": {
+ "type": "list",
+ "member": {
+ "shape": "S2d",
+ "locationName": "CharacterSet"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "DescribeDBInstances": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DBInstanceIdentifier": {},
+ "Filters": {
+ "shape": "S27"
+ },
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeDBInstancesResult",
+ "type": "structure",
+ "members": {
+ "Marker": {},
+ "DBInstances": {
+ "type": "list",
+ "member": {
+ "shape": "St",
+ "locationName": "DBInstance"
+ }
+ }
+ }
+ }
+ },
+ "DescribeDBLogFiles": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBInstanceIdentifier"
+ ],
+ "members": {
+ "DBInstanceIdentifier": {},
+ "FilenameContains": {},
+ "FileLastWritten": {
+ "type": "long"
+ },
+ "FileSize": {
+ "type": "long"
+ },
+ "Filters": {
+ "shape": "S27"
+ },
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeDBLogFilesResult",
+ "type": "structure",
+ "members": {
+ "DescribeDBLogFiles": {
+ "type": "list",
+ "member": {
+ "locationName": "DescribeDBLogFilesDetails",
+ "type": "structure",
+ "members": {
+ "LogFileName": {},
+ "LastWritten": {
+ "type": "long"
+ },
+ "Size": {
+ "type": "long"
+ }
+ }
+ }
+ },
+ "Marker": {}
+ }
+ }
+ },
+ "DescribeDBParameterGroups": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DBParameterGroupName": {},
+ "Filters": {
+ "shape": "S27"
+ },
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeDBParameterGroupsResult",
+ "type": "structure",
+ "members": {
+ "Marker": {},
+ "DBParameterGroups": {
+ "type": "list",
+ "member": {
+ "shape": "S1f",
+ "locationName": "DBParameterGroup"
+ }
+ }
+ }
+ }
+ },
+ "DescribeDBParameters": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBParameterGroupName"
+ ],
+ "members": {
+ "DBParameterGroupName": {},
+ "Source": {},
+ "Filters": {
+ "shape": "S27"
+ },
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeDBParametersResult",
+ "type": "structure",
+ "members": {
+ "Parameters": {
+ "shape": "S2s"
+ },
+ "Marker": {}
+ }
+ }
+ },
+ "DescribeDBSecurityGroups": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DBSecurityGroupName": {},
+ "Filters": {
+ "shape": "S27"
+ },
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeDBSecurityGroupsResult",
+ "type": "structure",
+ "members": {
+ "Marker": {},
+ "DBSecurityGroups": {
+ "type": "list",
+ "member": {
+ "shape": "Sd",
+ "locationName": "DBSecurityGroup"
+ }
+ }
+ }
+ }
+ },
+ "DescribeDBSnapshots": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DBInstanceIdentifier": {},
+ "DBSnapshotIdentifier": {},
+ "SnapshotType": {},
+ "Filters": {
+ "shape": "S27"
+ },
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeDBSnapshotsResult",
+ "type": "structure",
+ "members": {
+ "Marker": {},
+ "DBSnapshots": {
+ "type": "list",
+ "member": {
+ "shape": "Sk",
+ "locationName": "DBSnapshot"
+ }
+ }
+ }
+ }
+ },
+ "DescribeDBSubnetGroups": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DBSubnetGroupName": {},
+ "Filters": {
+ "shape": "S27"
+ },
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeDBSubnetGroupsResult",
+ "type": "structure",
+ "members": {
+ "Marker": {},
+ "DBSubnetGroups": {
+ "type": "list",
+ "member": {
+ "shape": "S11",
+ "locationName": "DBSubnetGroup"
+ }
+ }
+ }
+ }
+ },
+ "DescribeEngineDefaultParameters": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBParameterGroupFamily"
+ ],
+ "members": {
+ "DBParameterGroupFamily": {},
+ "Filters": {
+ "shape": "S27"
+ },
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeEngineDefaultParametersResult",
+ "type": "structure",
+ "members": {
+ "EngineDefaults": {
+ "type": "structure",
+ "members": {
+ "DBParameterGroupFamily": {},
+ "Marker": {},
+ "Parameters": {
+ "shape": "S2s"
+ }
+ },
+ "wrapper": true
+ }
+ }
+ }
+ },
+ "DescribeEventCategories": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "SourceType": {},
+ "Filters": {
+ "shape": "S27"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeEventCategoriesResult",
+ "type": "structure",
+ "members": {
+ "EventCategoriesMapList": {
+ "type": "list",
+ "member": {
+ "locationName": "EventCategoriesMap",
+ "type": "structure",
+ "members": {
+ "SourceType": {},
+ "EventCategories": {
+ "shape": "S6"
+ }
+ },
+ "wrapper": true
+ }
+ }
+ }
+ }
+ },
+ "DescribeEventSubscriptions": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "SubscriptionName": {},
+ "Filters": {
+ "shape": "S27"
+ },
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeEventSubscriptionsResult",
+ "type": "structure",
+ "members": {
+ "Marker": {},
+ "EventSubscriptionsList": {
+ "type": "list",
+ "member": {
+ "shape": "S4",
+ "locationName": "EventSubscription"
+ }
+ }
+ }
+ }
+ },
+ "DescribeEvents": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "SourceIdentifier": {},
+ "SourceType": {},
+ "StartTime": {
+ "type": "timestamp"
+ },
+ "EndTime": {
+ "type": "timestamp"
+ },
+ "Duration": {
+ "type": "integer"
+ },
+ "EventCategories": {
+ "shape": "S6"
+ },
+ "Filters": {
+ "shape": "S27"
+ },
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeEventsResult",
+ "type": "structure",
+ "members": {
+ "Marker": {},
+ "Events": {
+ "type": "list",
+ "member": {
+ "locationName": "Event",
+ "type": "structure",
+ "members": {
+ "SourceIdentifier": {},
+ "SourceType": {},
+ "Message": {},
+ "EventCategories": {
+ "shape": "S6"
+ },
+ "Date": {
+ "type": "timestamp"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "DescribeOptionGroupOptions": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "EngineName"
+ ],
+ "members": {
+ "EngineName": {},
+ "MajorEngineVersion": {},
+ "Filters": {
+ "shape": "S27"
+ },
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeOptionGroupOptionsResult",
+ "type": "structure",
+ "members": {
+ "OptionGroupOptions": {
+ "type": "list",
+ "member": {
+ "locationName": "OptionGroupOption",
+ "type": "structure",
+ "members": {
+ "Name": {},
+ "Description": {},
+ "EngineName": {},
+ "MajorEngineVersion": {},
+ "MinimumRequiredMinorEngineVersion": {},
+ "PortRequired": {
+ "type": "boolean"
+ },
+ "DefaultPort": {
+ "type": "integer"
+ },
+ "OptionsDependedOn": {
+ "type": "list",
+ "member": {
+ "locationName": "OptionName"
+ }
+ },
+ "Persistent": {
+ "type": "boolean"
+ },
+ "Permanent": {
+ "type": "boolean"
+ },
+ "OptionGroupOptionSettings": {
+ "type": "list",
+ "member": {
+ "locationName": "OptionGroupOptionSetting",
+ "type": "structure",
+ "members": {
+ "SettingName": {},
+ "SettingDescription": {},
+ "DefaultValue": {},
+ "ApplyType": {},
+ "AllowedValues": {},
+ "IsModifiable": {
+ "type": "boolean"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "Marker": {}
+ }
+ }
+ },
+ "DescribeOptionGroups": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "OptionGroupName": {},
+ "Filters": {
+ "shape": "S27"
+ },
+ "Marker": {},
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "EngineName": {},
+ "MajorEngineVersion": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeOptionGroupsResult",
+ "type": "structure",
+ "members": {
+ "OptionGroupsList": {
+ "type": "list",
+ "member": {
+ "shape": "S1r",
+ "locationName": "OptionGroup"
+ }
+ },
+ "Marker": {}
+ }
+ }
+ },
+ "DescribeOrderableDBInstanceOptions": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Engine"
+ ],
+ "members": {
+ "Engine": {},
+ "EngineVersion": {},
+ "DBInstanceClass": {},
+ "LicenseModel": {},
+ "Vpc": {
+ "type": "boolean"
+ },
+ "Filters": {
+ "shape": "S27"
+ },
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeOrderableDBInstanceOptionsResult",
+ "type": "structure",
+ "members": {
+ "OrderableDBInstanceOptions": {
+ "type": "list",
+ "member": {
+ "locationName": "OrderableDBInstanceOption",
+ "type": "structure",
+ "members": {
+ "Engine": {},
+ "EngineVersion": {},
+ "DBInstanceClass": {},
+ "LicenseModel": {},
+ "AvailabilityZones": {
+ "type": "list",
+ "member": {
+ "shape": "S14",
+ "locationName": "AvailabilityZone"
+ }
+ },
+ "MultiAZCapable": {
+ "type": "boolean"
+ },
+ "ReadReplicaCapable": {
+ "type": "boolean"
+ },
+ "Vpc": {
+ "type": "boolean"
+ }
+ },
+ "wrapper": true
+ }
+ },
+ "Marker": {}
+ }
+ }
+ },
+ "DescribeReservedDBInstances": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "ReservedDBInstanceId": {},
+ "ReservedDBInstancesOfferingId": {},
+ "DBInstanceClass": {},
+ "Duration": {},
+ "ProductDescription": {},
+ "OfferingType": {},
+ "MultiAZ": {
+ "type": "boolean"
+ },
+ "Filters": {
+ "shape": "S27"
+ },
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeReservedDBInstancesResult",
+ "type": "structure",
+ "members": {
+ "Marker": {},
+ "ReservedDBInstances": {
+ "type": "list",
+ "member": {
+ "shape": "S41",
+ "locationName": "ReservedDBInstance"
+ }
+ }
+ }
+ }
+ },
+ "DescribeReservedDBInstancesOfferings": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "ReservedDBInstancesOfferingId": {},
+ "DBInstanceClass": {},
+ "Duration": {},
+ "ProductDescription": {},
+ "OfferingType": {},
+ "MultiAZ": {
+ "type": "boolean"
+ },
+ "Filters": {
+ "shape": "S27"
+ },
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeReservedDBInstancesOfferingsResult",
+ "type": "structure",
+ "members": {
+ "Marker": {},
+ "ReservedDBInstancesOfferings": {
+ "type": "list",
+ "member": {
+ "locationName": "ReservedDBInstancesOffering",
+ "type": "structure",
+ "members": {
+ "ReservedDBInstancesOfferingId": {},
+ "DBInstanceClass": {},
+ "Duration": {
+ "type": "integer"
+ },
+ "FixedPrice": {
+ "type": "double"
+ },
+ "UsagePrice": {
+ "type": "double"
+ },
+ "CurrencyCode": {},
+ "ProductDescription": {},
+ "OfferingType": {},
+ "MultiAZ": {
+ "type": "boolean"
+ },
+ "RecurringCharges": {
+ "shape": "S43"
+ }
+ },
+ "wrapper": true
+ }
+ }
+ }
+ }
+ },
+ "DownloadDBLogFilePortion": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBInstanceIdentifier",
+ "LogFileName"
+ ],
+ "members": {
+ "DBInstanceIdentifier": {},
+ "LogFileName": {},
+ "Marker": {},
+ "NumberOfLines": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "DownloadDBLogFilePortionResult",
+ "type": "structure",
+ "members": {
+ "LogFileData": {},
+ "Marker": {},
+ "AdditionalDataPending": {
+ "type": "boolean"
+ }
+ }
+ }
+ },
+ "ListTagsForResource": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ResourceName"
+ ],
+ "members": {
+ "ResourceName": {},
+ "Filters": {
+ "shape": "S27"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "ListTagsForResourceResult",
+ "type": "structure",
+ "members": {
+ "TagList": {
+ "shape": "S9"
+ }
+ }
+ }
+ },
+ "ModifyDBInstance": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBInstanceIdentifier"
+ ],
+ "members": {
+ "DBInstanceIdentifier": {},
+ "AllocatedStorage": {
+ "type": "integer"
+ },
+ "DBInstanceClass": {},
+ "DBSecurityGroups": {
+ "shape": "Sp"
+ },
+ "VpcSecurityGroupIds": {
+ "shape": "Sq"
+ },
+ "ApplyImmediately": {
+ "type": "boolean"
+ },
+ "MasterUserPassword": {},
+ "DBParameterGroupName": {},
+ "BackupRetentionPeriod": {
+ "type": "integer"
+ },
+ "PreferredBackupWindow": {},
+ "PreferredMaintenanceWindow": {},
+ "MultiAZ": {
+ "type": "boolean"
+ },
+ "EngineVersion": {},
+ "AllowMajorVersionUpgrade": {
+ "type": "boolean"
+ },
+ "AutoMinorVersionUpgrade": {
+ "type": "boolean"
+ },
+ "Iops": {
+ "type": "integer"
+ },
+ "OptionGroupName": {},
+ "NewDBInstanceIdentifier": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "ModifyDBInstanceResult",
+ "type": "structure",
+ "members": {
+ "DBInstance": {
+ "shape": "St"
+ }
+ }
+ }
+ },
+ "ModifyDBParameterGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBParameterGroupName",
+ "Parameters"
+ ],
+ "members": {
+ "DBParameterGroupName": {},
+ "Parameters": {
+ "shape": "S2s"
+ }
+ }
+ },
+ "output": {
+ "shape": "S4g",
+ "resultWrapper": "ModifyDBParameterGroupResult"
+ }
+ },
+ "ModifyDBSubnetGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBSubnetGroupName",
+ "SubnetIds"
+ ],
+ "members": {
+ "DBSubnetGroupName": {},
+ "DBSubnetGroupDescription": {},
+ "SubnetIds": {
+ "shape": "S1l"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "ModifyDBSubnetGroupResult",
+ "type": "structure",
+ "members": {
+ "DBSubnetGroup": {
+ "shape": "S11"
+ }
+ }
+ }
+ },
+ "ModifyEventSubscription": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "SubscriptionName"
+ ],
+ "members": {
+ "SubscriptionName": {},
+ "SnsTopicArn": {},
+ "SourceType": {},
+ "EventCategories": {
+ "shape": "S6"
+ },
+ "Enabled": {
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "ModifyEventSubscriptionResult",
+ "type": "structure",
+ "members": {
+ "EventSubscription": {
+ "shape": "S4"
+ }
+ }
+ }
+ },
+ "ModifyOptionGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "OptionGroupName"
+ ],
+ "members": {
+ "OptionGroupName": {},
+ "OptionsToInclude": {
+ "type": "list",
+ "member": {
+ "locationName": "OptionConfiguration",
+ "type": "structure",
+ "required": [
+ "OptionName"
+ ],
+ "members": {
+ "OptionName": {},
+ "Port": {
+ "type": "integer"
+ },
+ "DBSecurityGroupMemberships": {
+ "shape": "Sp"
+ },
+ "VpcSecurityGroupMemberships": {
+ "shape": "Sq"
+ },
+ "OptionSettings": {
+ "type": "list",
+ "member": {
+ "shape": "S1v",
+ "locationName": "OptionSetting"
+ }
+ }
+ }
+ }
+ },
+ "OptionsToRemove": {
+ "type": "list",
+ "member": {}
+ },
+ "ApplyImmediately": {
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "ModifyOptionGroupResult",
+ "type": "structure",
+ "members": {
+ "OptionGroup": {
+ "shape": "S1r"
+ }
+ }
+ }
+ },
+ "PromoteReadReplica": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBInstanceIdentifier"
+ ],
+ "members": {
+ "DBInstanceIdentifier": {},
+ "BackupRetentionPeriod": {
+ "type": "integer"
+ },
+ "PreferredBackupWindow": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "PromoteReadReplicaResult",
+ "type": "structure",
+ "members": {
+ "DBInstance": {
+ "shape": "St"
+ }
+ }
+ }
+ },
+ "PurchaseReservedDBInstancesOffering": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ReservedDBInstancesOfferingId"
+ ],
+ "members": {
+ "ReservedDBInstancesOfferingId": {},
+ "ReservedDBInstanceId": {},
+ "DBInstanceCount": {
+ "type": "integer"
+ },
+ "Tags": {
+ "shape": "S9"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "PurchaseReservedDBInstancesOfferingResult",
+ "type": "structure",
+ "members": {
+ "ReservedDBInstance": {
+ "shape": "S41"
+ }
+ }
+ }
+ },
+ "RebootDBInstance": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBInstanceIdentifier"
+ ],
+ "members": {
+ "DBInstanceIdentifier": {},
+ "ForceFailover": {
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "RebootDBInstanceResult",
+ "type": "structure",
+ "members": {
+ "DBInstance": {
+ "shape": "St"
+ }
+ }
+ }
+ },
+ "RemoveSourceIdentifierFromSubscription": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "SubscriptionName",
+ "SourceIdentifier"
+ ],
+ "members": {
+ "SubscriptionName": {},
+ "SourceIdentifier": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "RemoveSourceIdentifierFromSubscriptionResult",
+ "type": "structure",
+ "members": {
+ "EventSubscription": {
+ "shape": "S4"
+ }
+ }
+ }
+ },
+ "RemoveTagsFromResource": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ResourceName",
+ "TagKeys"
+ ],
+ "members": {
+ "ResourceName": {},
+ "TagKeys": {
+ "type": "list",
+ "member": {}
+ }
+ }
+ }
+ },
+ "ResetDBParameterGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBParameterGroupName"
+ ],
+ "members": {
+ "DBParameterGroupName": {},
+ "ResetAllParameters": {
+ "type": "boolean"
+ },
+ "Parameters": {
+ "shape": "S2s"
+ }
+ }
+ },
+ "output": {
+ "shape": "S4g",
+ "resultWrapper": "ResetDBParameterGroupResult"
+ }
+ },
+ "RestoreDBInstanceFromDBSnapshot": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBInstanceIdentifier",
+ "DBSnapshotIdentifier"
+ ],
+ "members": {
+ "DBInstanceIdentifier": {},
+ "DBSnapshotIdentifier": {},
+ "DBInstanceClass": {},
+ "Port": {
+ "type": "integer"
+ },
+ "AvailabilityZone": {},
+ "DBSubnetGroupName": {},
+ "MultiAZ": {
+ "type": "boolean"
+ },
+ "PubliclyAccessible": {
+ "type": "boolean"
+ },
+ "AutoMinorVersionUpgrade": {
+ "type": "boolean"
+ },
+ "LicenseModel": {},
+ "DBName": {},
+ "Engine": {},
+ "Iops": {
+ "type": "integer"
+ },
+ "OptionGroupName": {},
+ "Tags": {
+ "shape": "S9"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "RestoreDBInstanceFromDBSnapshotResult",
+ "type": "structure",
+ "members": {
+ "DBInstance": {
+ "shape": "St"
+ }
+ }
+ }
+ },
+ "RestoreDBInstanceToPointInTime": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "SourceDBInstanceIdentifier",
+ "TargetDBInstanceIdentifier"
+ ],
+ "members": {
+ "SourceDBInstanceIdentifier": {},
+ "TargetDBInstanceIdentifier": {},
+ "RestoreTime": {
+ "type": "timestamp"
+ },
+ "UseLatestRestorableTime": {
+ "type": "boolean"
+ },
+ "DBInstanceClass": {},
+ "Port": {
+ "type": "integer"
+ },
+ "AvailabilityZone": {},
+ "DBSubnetGroupName": {},
+ "MultiAZ": {
+ "type": "boolean"
+ },
+ "PubliclyAccessible": {
+ "type": "boolean"
+ },
+ "AutoMinorVersionUpgrade": {
+ "type": "boolean"
+ },
+ "LicenseModel": {},
+ "DBName": {},
+ "Engine": {},
+ "Iops": {
+ "type": "integer"
+ },
+ "OptionGroupName": {},
+ "Tags": {
+ "shape": "S9"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "RestoreDBInstanceToPointInTimeResult",
+ "type": "structure",
+ "members": {
+ "DBInstance": {
+ "shape": "St"
+ }
+ }
+ }
+ },
+ "RevokeDBSecurityGroupIngress": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBSecurityGroupName"
+ ],
+ "members": {
+ "DBSecurityGroupName": {},
+ "CIDRIP": {},
+ "EC2SecurityGroupName": {},
+ "EC2SecurityGroupId": {},
+ "EC2SecurityGroupOwnerId": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "RevokeDBSecurityGroupIngressResult",
+ "type": "structure",
+ "members": {
+ "DBSecurityGroup": {
+ "shape": "Sd"
+ }
+ }
+ }
+ }
+ },
+ "shapes": {
+ "S4": {
+ "type": "structure",
+ "members": {
+ "CustomerAwsId": {},
+ "CustSubscriptionId": {},
+ "SnsTopicArn": {},
+ "Status": {},
+ "SubscriptionCreationTime": {},
+ "SourceType": {},
+ "SourceIdsList": {
+ "shape": "S5"
+ },
+ "EventCategoriesList": {
+ "shape": "S6"
+ },
+ "Enabled": {
+ "type": "boolean"
+ }
+ },
+ "wrapper": true
+ },
+ "S5": {
+ "type": "list",
+ "member": {
+ "locationName": "SourceId"
+ }
+ },
+ "S6": {
+ "type": "list",
+ "member": {
+ "locationName": "EventCategory"
+ }
+ },
+ "S9": {
+ "type": "list",
+ "member": {
+ "locationName": "Tag",
+ "type": "structure",
+ "members": {
+ "Key": {},
+ "Value": {}
+ }
+ }
+ },
+ "Sd": {
+ "type": "structure",
+ "members": {
+ "OwnerId": {},
+ "DBSecurityGroupName": {},
+ "DBSecurityGroupDescription": {},
+ "VpcId": {},
+ "EC2SecurityGroups": {
+ "type": "list",
+ "member": {
+ "locationName": "EC2SecurityGroup",
+ "type": "structure",
+ "members": {
+ "Status": {},
+ "EC2SecurityGroupName": {},
+ "EC2SecurityGroupId": {},
+ "EC2SecurityGroupOwnerId": {}
+ }
+ }
+ },
+ "IPRanges": {
+ "type": "list",
+ "member": {
+ "locationName": "IPRange",
+ "type": "structure",
+ "members": {
+ "Status": {},
+ "CIDRIP": {}
+ }
+ }
+ }
+ },
+ "wrapper": true
+ },
+ "Sk": {
+ "type": "structure",
+ "members": {
+ "DBSnapshotIdentifier": {},
+ "DBInstanceIdentifier": {},
+ "SnapshotCreateTime": {
+ "type": "timestamp"
+ },
+ "Engine": {},
+ "AllocatedStorage": {
+ "type": "integer"
+ },
+ "Status": {},
+ "Port": {
+ "type": "integer"
+ },
+ "AvailabilityZone": {},
+ "VpcId": {},
+ "InstanceCreateTime": {
+ "type": "timestamp"
+ },
+ "MasterUsername": {},
+ "EngineVersion": {},
+ "LicenseModel": {},
+ "SnapshotType": {},
+ "Iops": {
+ "type": "integer"
+ },
+ "OptionGroupName": {},
+ "PercentProgress": {
+ "type": "integer"
+ },
+ "SourceRegion": {}
+ },
+ "wrapper": true
+ },
+ "Sp": {
+ "type": "list",
+ "member": {
+ "locationName": "DBSecurityGroupName"
+ }
+ },
+ "Sq": {
+ "type": "list",
+ "member": {
+ "locationName": "VpcSecurityGroupId"
+ }
+ },
+ "St": {
+ "type": "structure",
+ "members": {
+ "DBInstanceIdentifier": {},
+ "DBInstanceClass": {},
+ "Engine": {},
+ "DBInstanceStatus": {},
+ "MasterUsername": {},
+ "DBName": {},
+ "Endpoint": {
+ "type": "structure",
+ "members": {
+ "Address": {},
+ "Port": {
+ "type": "integer"
+ }
+ }
+ },
+ "AllocatedStorage": {
+ "type": "integer"
+ },
+ "InstanceCreateTime": {
+ "type": "timestamp"
+ },
+ "PreferredBackupWindow": {},
+ "BackupRetentionPeriod": {
+ "type": "integer"
+ },
+ "DBSecurityGroups": {
+ "shape": "Sv"
+ },
+ "VpcSecurityGroups": {
+ "shape": "Sx"
+ },
+ "DBParameterGroups": {
+ "type": "list",
+ "member": {
+ "locationName": "DBParameterGroup",
+ "type": "structure",
+ "members": {
+ "DBParameterGroupName": {},
+ "ParameterApplyStatus": {}
+ }
+ }
+ },
+ "AvailabilityZone": {},
+ "DBSubnetGroup": {
+ "shape": "S11"
+ },
+ "PreferredMaintenanceWindow": {},
+ "PendingModifiedValues": {
+ "type": "structure",
+ "members": {
+ "DBInstanceClass": {},
+ "AllocatedStorage": {
+ "type": "integer"
+ },
+ "MasterUserPassword": {},
+ "Port": {
+ "type": "integer"
+ },
+ "BackupRetentionPeriod": {
+ "type": "integer"
+ },
+ "MultiAZ": {
+ "type": "boolean"
+ },
+ "EngineVersion": {},
+ "Iops": {
+ "type": "integer"
+ },
+ "DBInstanceIdentifier": {}
+ }
+ },
+ "LatestRestorableTime": {
+ "type": "timestamp"
+ },
+ "MultiAZ": {
+ "type": "boolean"
+ },
+ "EngineVersion": {},
+ "AutoMinorVersionUpgrade": {
+ "type": "boolean"
+ },
+ "ReadReplicaSourceDBInstanceIdentifier": {},
+ "ReadReplicaDBInstanceIdentifiers": {
+ "type": "list",
+ "member": {
+ "locationName": "ReadReplicaDBInstanceIdentifier"
+ }
+ },
+ "LicenseModel": {},
+ "Iops": {
+ "type": "integer"
+ },
+ "OptionGroupMemberships": {
+ "type": "list",
+ "member": {
+ "locationName": "OptionGroupMembership",
+ "type": "structure",
+ "members": {
+ "OptionGroupName": {},
+ "Status": {}
+ }
+ }
+ },
+ "CharacterSetName": {},
+ "SecondaryAvailabilityZone": {},
+ "PubliclyAccessible": {
+ "type": "boolean"
+ },
+ "StatusInfos": {
+ "type": "list",
+ "member": {
+ "locationName": "DBInstanceStatusInfo",
+ "type": "structure",
+ "members": {
+ "StatusType": {},
+ "Normal": {
+ "type": "boolean"
+ },
+ "Status": {},
+ "Message": {}
+ }
+ }
+ }
+ },
+ "wrapper": true
+ },
+ "Sv": {
+ "type": "list",
+ "member": {
+ "locationName": "DBSecurityGroup",
+ "type": "structure",
+ "members": {
+ "DBSecurityGroupName": {},
+ "Status": {}
+ }
+ }
+ },
+ "Sx": {
+ "type": "list",
+ "member": {
+ "locationName": "VpcSecurityGroupMembership",
+ "type": "structure",
+ "members": {
+ "VpcSecurityGroupId": {},
+ "Status": {}
+ }
+ }
+ },
+ "S11": {
+ "type": "structure",
+ "members": {
+ "DBSubnetGroupName": {},
+ "DBSubnetGroupDescription": {},
+ "VpcId": {},
+ "SubnetGroupStatus": {},
+ "Subnets": {
+ "type": "list",
+ "member": {
+ "locationName": "Subnet",
+ "type": "structure",
+ "members": {
+ "SubnetIdentifier": {},
+ "SubnetAvailabilityZone": {
+ "shape": "S14"
+ },
+ "SubnetStatus": {}
+ }
+ }
+ }
+ },
+ "wrapper": true
+ },
+ "S14": {
+ "type": "structure",
+ "members": {
+ "Name": {},
+ "ProvisionedIopsCapable": {
+ "type": "boolean"
+ }
+ },
+ "wrapper": true
+ },
+ "S1f": {
+ "type": "structure",
+ "members": {
+ "DBParameterGroupName": {},
+ "DBParameterGroupFamily": {},
+ "Description": {}
+ },
+ "wrapper": true
+ },
+ "S1l": {
+ "type": "list",
+ "member": {
+ "locationName": "SubnetIdentifier"
+ }
+ },
+ "S1r": {
+ "type": "structure",
+ "members": {
+ "OptionGroupName": {},
+ "OptionGroupDescription": {},
+ "EngineName": {},
+ "MajorEngineVersion": {},
+ "Options": {
+ "type": "list",
+ "member": {
+ "locationName": "Option",
+ "type": "structure",
+ "members": {
+ "OptionName": {},
+ "OptionDescription": {},
+ "Persistent": {
+ "type": "boolean"
+ },
+ "Permanent": {
+ "type": "boolean"
+ },
+ "Port": {
+ "type": "integer"
+ },
+ "OptionSettings": {
+ "type": "list",
+ "member": {
+ "shape": "S1v",
+ "locationName": "OptionSetting"
+ }
+ },
+ "DBSecurityGroupMemberships": {
+ "shape": "Sv"
+ },
+ "VpcSecurityGroupMemberships": {
+ "shape": "Sx"
+ }
+ }
+ }
+ },
+ "AllowsVpcAndNonVpcInstanceMemberships": {
+ "type": "boolean"
+ },
+ "VpcId": {}
+ },
+ "wrapper": true
+ },
+ "S1v": {
+ "type": "structure",
+ "members": {
+ "Name": {},
+ "Value": {},
+ "DefaultValue": {},
+ "Description": {},
+ "ApplyType": {},
+ "DataType": {},
+ "AllowedValues": {},
+ "IsModifiable": {
+ "type": "boolean"
+ },
+ "IsCollection": {
+ "type": "boolean"
+ }
+ }
+ },
+ "S27": {
+ "type": "list",
+ "member": {
+ "locationName": "Filter",
+ "type": "structure",
+ "required": [
+ "Name",
+ "Values"
+ ],
+ "members": {
+ "Name": {},
+ "Values": {
+ "type": "list",
+ "member": {
+ "locationName": "Value"
+ }
+ }
+ }
+ }
+ },
+ "S2d": {
+ "type": "structure",
+ "members": {
+ "CharacterSetName": {},
+ "CharacterSetDescription": {}
+ }
+ },
+ "S2s": {
+ "type": "list",
+ "member": {
+ "locationName": "Parameter",
+ "type": "structure",
+ "members": {
+ "ParameterName": {},
+ "ParameterValue": {},
+ "Description": {},
+ "Source": {},
+ "ApplyType": {},
+ "DataType": {},
+ "AllowedValues": {},
+ "IsModifiable": {
+ "type": "boolean"
+ },
+ "MinimumEngineVersion": {},
+ "ApplyMethod": {}
+ }
+ }
+ },
+ "S41": {
+ "type": "structure",
+ "members": {
+ "ReservedDBInstanceId": {},
+ "ReservedDBInstancesOfferingId": {},
+ "DBInstanceClass": {},
+ "StartTime": {
+ "type": "timestamp"
+ },
+ "Duration": {
+ "type": "integer"
+ },
+ "FixedPrice": {
+ "type": "double"
+ },
+ "UsagePrice": {
+ "type": "double"
+ },
+ "CurrencyCode": {},
+ "DBInstanceCount": {
+ "type": "integer"
+ },
+ "ProductDescription": {},
+ "OfferingType": {},
+ "MultiAZ": {
+ "type": "boolean"
+ },
+ "State": {},
+ "RecurringCharges": {
+ "shape": "S43"
+ }
+ },
+ "wrapper": true
+ },
+ "S43": {
+ "type": "list",
+ "member": {
+ "locationName": "RecurringCharge",
+ "type": "structure",
+ "members": {
+ "RecurringChargeAmount": {
+ "type": "double"
+ },
+ "RecurringChargeFrequency": {}
+ },
+ "wrapper": true
+ }
+ },
+ "S4g": {
+ "type": "structure",
+ "members": {
+ "DBParameterGroupName": {}
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/node_modules/aws-sdk/apis/rds-2013-09-09.paginators.json b/node_modules/aws-sdk/apis/rds-2013-09-09.paginators.json
new file mode 100644
index 0000000000000000000000000000000000000000..662845c12c826bfd35ff18cb2f729b66cc4a2139
--- /dev/null
+++ b/node_modules/aws-sdk/apis/rds-2013-09-09.paginators.json
@@ -0,0 +1,110 @@
+{
+ "pagination": {
+ "DescribeDBEngineVersions": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "DBEngineVersions"
+ },
+ "DescribeDBInstances": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "DBInstances"
+ },
+ "DescribeDBLogFiles": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "DescribeDBLogFiles"
+ },
+ "DescribeDBParameterGroups": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "DBParameterGroups"
+ },
+ "DescribeDBParameters": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "Parameters"
+ },
+ "DescribeDBSecurityGroups": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "DBSecurityGroups"
+ },
+ "DescribeDBSnapshots": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "DBSnapshots"
+ },
+ "DescribeDBSubnetGroups": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "DBSubnetGroups"
+ },
+ "DescribeEngineDefaultParameters": {
+ "input_token": "Marker",
+ "output_token": "EngineDefaults.Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "EngineDefaults.Parameters"
+ },
+ "DescribeEventSubscriptions": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "EventSubscriptionsList"
+ },
+ "DescribeEvents": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "Events"
+ },
+ "DescribeOptionGroupOptions": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "OptionGroupOptions"
+ },
+ "DescribeOptionGroups": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "OptionGroupsList"
+ },
+ "DescribeOrderableDBInstanceOptions": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "OrderableDBInstanceOptions"
+ },
+ "DescribeReservedDBInstances": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "ReservedDBInstances"
+ },
+ "DescribeReservedDBInstancesOfferings": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "ReservedDBInstancesOfferings"
+ },
+ "DownloadDBLogFilePortion": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "limit_key": "NumberOfLines",
+ "more_results": "AdditionalDataPending",
+ "result_key": "LogFileData"
+ },
+ "ListTagsForResource": {
+ "result_key": "TagList"
+ }
+ }
+}
diff --git a/node_modules/aws-sdk/apis/rds-2013-09-09.waiters.json b/node_modules/aws-sdk/apis/rds-2013-09-09.waiters.json
new file mode 100644
index 0000000000000000000000000000000000000000..643412798a20d2b0e9b307bf5412fc346cdc0e03
--- /dev/null
+++ b/node_modules/aws-sdk/apis/rds-2013-09-09.waiters.json
@@ -0,0 +1,36 @@
+{
+ "waiters": {
+ "__default__": {
+ "interval": 30,
+ "max_attempts": 60
+ },
+ "__DBInstanceState": {
+ "operation": "DescribeDBInstances",
+ "acceptor_path": "DBInstances[].DBInstanceStatus",
+ "acceptor_type": "output"
+ },
+ "DBInstanceAvailable": {
+ "extends": "__DBInstanceState",
+ "success_value": "available",
+ "failure_value": [
+ "deleted",
+ "deleting",
+ "failed",
+ "incompatible-restore",
+ "incompatible-parameters",
+ "incompatible-parameters",
+ "incompatible-restore"
+ ]
+ },
+ "DBInstanceDeleted": {
+ "extends": "__DBInstanceState",
+ "success_value": "deleted",
+ "failure_value": [
+ "creating",
+ "modifying",
+ "rebooting",
+ "resetting-master-credentials"
+ ]
+ }
+ }
+}
diff --git a/node_modules/aws-sdk/apis/rds-2014-10-31.min.json b/node_modules/aws-sdk/apis/rds-2014-10-31.min.json
new file mode 100644
index 0000000000000000000000000000000000000000..b4571f421fe913d1f88b0d18150da17d589bbf39
--- /dev/null
+++ b/node_modules/aws-sdk/apis/rds-2014-10-31.min.json
@@ -0,0 +1,3225 @@
+{
+ "version": "2.0",
+ "metadata": {
+ "apiVersion": "2014-10-31",
+ "endpointPrefix": "rds",
+ "protocol": "query",
+ "serviceAbbreviation": "Amazon RDS",
+ "serviceFullName": "Amazon Relational Database Service",
+ "signatureVersion": "v4",
+ "xmlNamespace": "http://rds.amazonaws.com/doc/2014-10-31/"
+ },
+ "operations": {
+ "AddSourceIdentifierToSubscription": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "SubscriptionName",
+ "SourceIdentifier"
+ ],
+ "members": {
+ "SubscriptionName": {},
+ "SourceIdentifier": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "AddSourceIdentifierToSubscriptionResult",
+ "type": "structure",
+ "members": {
+ "EventSubscription": {
+ "shape": "S4"
+ }
+ }
+ }
+ },
+ "AddTagsToResource": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ResourceName",
+ "Tags"
+ ],
+ "members": {
+ "ResourceName": {},
+ "Tags": {
+ "shape": "S9"
+ }
+ }
+ }
+ },
+ "ApplyPendingMaintenanceAction": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ResourceIdentifier",
+ "ApplyAction",
+ "OptInType"
+ ],
+ "members": {
+ "ResourceIdentifier": {},
+ "ApplyAction": {},
+ "OptInType": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "ApplyPendingMaintenanceActionResult",
+ "type": "structure",
+ "members": {
+ "ResourcePendingMaintenanceActions": {
+ "shape": "Sd"
+ }
+ }
+ }
+ },
+ "AuthorizeDBSecurityGroupIngress": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBSecurityGroupName"
+ ],
+ "members": {
+ "DBSecurityGroupName": {},
+ "CIDRIP": {},
+ "EC2SecurityGroupName": {},
+ "EC2SecurityGroupId": {},
+ "EC2SecurityGroupOwnerId": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "AuthorizeDBSecurityGroupIngressResult",
+ "type": "structure",
+ "members": {
+ "DBSecurityGroup": {
+ "shape": "Sj"
+ }
+ }
+ }
+ },
+ "CopyDBClusterSnapshot": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "SourceDBClusterSnapshotIdentifier",
+ "TargetDBClusterSnapshotIdentifier"
+ ],
+ "members": {
+ "SourceDBClusterSnapshotIdentifier": {},
+ "TargetDBClusterSnapshotIdentifier": {},
+ "Tags": {
+ "shape": "S9"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "CopyDBClusterSnapshotResult",
+ "type": "structure",
+ "members": {
+ "DBClusterSnapshot": {
+ "shape": "Sq"
+ }
+ }
+ }
+ },
+ "CopyDBParameterGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "SourceDBParameterGroupIdentifier",
+ "TargetDBParameterGroupIdentifier",
+ "TargetDBParameterGroupDescription"
+ ],
+ "members": {
+ "SourceDBParameterGroupIdentifier": {},
+ "TargetDBParameterGroupIdentifier": {},
+ "TargetDBParameterGroupDescription": {},
+ "Tags": {
+ "shape": "S9"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "CopyDBParameterGroupResult",
+ "type": "structure",
+ "members": {
+ "DBParameterGroup": {
+ "shape": "Sv"
+ }
+ }
+ }
+ },
+ "CopyDBSnapshot": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "SourceDBSnapshotIdentifier",
+ "TargetDBSnapshotIdentifier"
+ ],
+ "members": {
+ "SourceDBSnapshotIdentifier": {},
+ "TargetDBSnapshotIdentifier": {},
+ "KmsKeyId": {},
+ "Tags": {
+ "shape": "S9"
+ },
+ "CopyTags": {
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "CopyDBSnapshotResult",
+ "type": "structure",
+ "members": {
+ "DBSnapshot": {
+ "shape": "Sz"
+ }
+ }
+ }
+ },
+ "CopyOptionGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "SourceOptionGroupIdentifier",
+ "TargetOptionGroupIdentifier",
+ "TargetOptionGroupDescription"
+ ],
+ "members": {
+ "SourceOptionGroupIdentifier": {},
+ "TargetOptionGroupIdentifier": {},
+ "TargetOptionGroupDescription": {},
+ "Tags": {
+ "shape": "S9"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "CopyOptionGroupResult",
+ "type": "structure",
+ "members": {
+ "OptionGroup": {
+ "shape": "S13"
+ }
+ }
+ }
+ },
+ "CreateDBCluster": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBClusterIdentifier",
+ "Engine",
+ "MasterUsername",
+ "MasterUserPassword"
+ ],
+ "members": {
+ "AvailabilityZones": {
+ "shape": "Sr"
+ },
+ "BackupRetentionPeriod": {
+ "type": "integer"
+ },
+ "CharacterSetName": {},
+ "DatabaseName": {},
+ "DBClusterIdentifier": {},
+ "DBClusterParameterGroupName": {},
+ "VpcSecurityGroupIds": {
+ "shape": "S1d"
+ },
+ "DBSubnetGroupName": {},
+ "Engine": {},
+ "EngineVersion": {},
+ "Port": {
+ "type": "integer"
+ },
+ "MasterUsername": {},
+ "MasterUserPassword": {},
+ "OptionGroupName": {},
+ "PreferredBackupWindow": {},
+ "PreferredMaintenanceWindow": {},
+ "Tags": {
+ "shape": "S9"
+ },
+ "StorageEncrypted": {
+ "type": "boolean"
+ },
+ "KmsKeyId": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "CreateDBClusterResult",
+ "type": "structure",
+ "members": {
+ "DBCluster": {
+ "shape": "S1f"
+ }
+ }
+ }
+ },
+ "CreateDBClusterParameterGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBClusterParameterGroupName",
+ "DBParameterGroupFamily",
+ "Description"
+ ],
+ "members": {
+ "DBClusterParameterGroupName": {},
+ "DBParameterGroupFamily": {},
+ "Description": {},
+ "Tags": {
+ "shape": "S9"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "CreateDBClusterParameterGroupResult",
+ "type": "structure",
+ "members": {
+ "DBClusterParameterGroup": {
+ "shape": "S1m"
+ }
+ }
+ }
+ },
+ "CreateDBClusterSnapshot": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBClusterSnapshotIdentifier",
+ "DBClusterIdentifier"
+ ],
+ "members": {
+ "DBClusterSnapshotIdentifier": {},
+ "DBClusterIdentifier": {},
+ "Tags": {
+ "shape": "S9"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "CreateDBClusterSnapshotResult",
+ "type": "structure",
+ "members": {
+ "DBClusterSnapshot": {
+ "shape": "Sq"
+ }
+ }
+ }
+ },
+ "CreateDBInstance": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBInstanceIdentifier",
+ "DBInstanceClass",
+ "Engine"
+ ],
+ "members": {
+ "DBName": {},
+ "DBInstanceIdentifier": {},
+ "AllocatedStorage": {
+ "type": "integer"
+ },
+ "DBInstanceClass": {},
+ "Engine": {},
+ "MasterUsername": {},
+ "MasterUserPassword": {},
+ "DBSecurityGroups": {
+ "shape": "S1q"
+ },
+ "VpcSecurityGroupIds": {
+ "shape": "S1d"
+ },
+ "AvailabilityZone": {},
+ "DBSubnetGroupName": {},
+ "PreferredMaintenanceWindow": {},
+ "DBParameterGroupName": {},
+ "BackupRetentionPeriod": {
+ "type": "integer"
+ },
+ "PreferredBackupWindow": {},
+ "Port": {
+ "type": "integer"
+ },
+ "MultiAZ": {
+ "type": "boolean"
+ },
+ "EngineVersion": {},
+ "AutoMinorVersionUpgrade": {
+ "type": "boolean"
+ },
+ "LicenseModel": {},
+ "Iops": {
+ "type": "integer"
+ },
+ "OptionGroupName": {},
+ "CharacterSetName": {},
+ "PubliclyAccessible": {
+ "type": "boolean"
+ },
+ "Tags": {
+ "shape": "S9"
+ },
+ "DBClusterIdentifier": {},
+ "StorageType": {},
+ "TdeCredentialArn": {},
+ "TdeCredentialPassword": {},
+ "StorageEncrypted": {
+ "type": "boolean"
+ },
+ "KmsKeyId": {},
+ "Domain": {},
+ "CopyTagsToSnapshot": {
+ "type": "boolean"
+ },
+ "MonitoringInterval": {
+ "type": "integer"
+ },
+ "MonitoringRoleArn": {},
+ "DomainIAMRoleName": {},
+ "PromotionTier": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "CreateDBInstanceResult",
+ "type": "structure",
+ "members": {
+ "DBInstance": {
+ "shape": "S1s"
+ }
+ }
+ }
+ },
+ "CreateDBInstanceReadReplica": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBInstanceIdentifier",
+ "SourceDBInstanceIdentifier"
+ ],
+ "members": {
+ "DBInstanceIdentifier": {},
+ "SourceDBInstanceIdentifier": {},
+ "DBInstanceClass": {},
+ "AvailabilityZone": {},
+ "Port": {
+ "type": "integer"
+ },
+ "AutoMinorVersionUpgrade": {
+ "type": "boolean"
+ },
+ "Iops": {
+ "type": "integer"
+ },
+ "OptionGroupName": {},
+ "PubliclyAccessible": {
+ "type": "boolean"
+ },
+ "Tags": {
+ "shape": "S9"
+ },
+ "DBSubnetGroupName": {},
+ "StorageType": {},
+ "CopyTagsToSnapshot": {
+ "type": "boolean"
+ },
+ "MonitoringInterval": {
+ "type": "integer"
+ },
+ "MonitoringRoleArn": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "CreateDBInstanceReadReplicaResult",
+ "type": "structure",
+ "members": {
+ "DBInstance": {
+ "shape": "S1s"
+ }
+ }
+ }
+ },
+ "CreateDBParameterGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBParameterGroupName",
+ "DBParameterGroupFamily",
+ "Description"
+ ],
+ "members": {
+ "DBParameterGroupName": {},
+ "DBParameterGroupFamily": {},
+ "Description": {},
+ "Tags": {
+ "shape": "S9"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "CreateDBParameterGroupResult",
+ "type": "structure",
+ "members": {
+ "DBParameterGroup": {
+ "shape": "Sv"
+ }
+ }
+ }
+ },
+ "CreateDBSecurityGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBSecurityGroupName",
+ "DBSecurityGroupDescription"
+ ],
+ "members": {
+ "DBSecurityGroupName": {},
+ "DBSecurityGroupDescription": {},
+ "Tags": {
+ "shape": "S9"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "CreateDBSecurityGroupResult",
+ "type": "structure",
+ "members": {
+ "DBSecurityGroup": {
+ "shape": "Sj"
+ }
+ }
+ }
+ },
+ "CreateDBSnapshot": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBSnapshotIdentifier",
+ "DBInstanceIdentifier"
+ ],
+ "members": {
+ "DBSnapshotIdentifier": {},
+ "DBInstanceIdentifier": {},
+ "Tags": {
+ "shape": "S9"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "CreateDBSnapshotResult",
+ "type": "structure",
+ "members": {
+ "DBSnapshot": {
+ "shape": "Sz"
+ }
+ }
+ }
+ },
+ "CreateDBSubnetGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBSubnetGroupName",
+ "DBSubnetGroupDescription",
+ "SubnetIds"
+ ],
+ "members": {
+ "DBSubnetGroupName": {},
+ "DBSubnetGroupDescription": {},
+ "SubnetIds": {
+ "shape": "S2h"
+ },
+ "Tags": {
+ "shape": "S9"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "CreateDBSubnetGroupResult",
+ "type": "structure",
+ "members": {
+ "DBSubnetGroup": {
+ "shape": "S1w"
+ }
+ }
+ }
+ },
+ "CreateEventSubscription": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "SubscriptionName",
+ "SnsTopicArn"
+ ],
+ "members": {
+ "SubscriptionName": {},
+ "SnsTopicArn": {},
+ "SourceType": {},
+ "EventCategories": {
+ "shape": "S6"
+ },
+ "SourceIds": {
+ "shape": "S5"
+ },
+ "Enabled": {
+ "type": "boolean"
+ },
+ "Tags": {
+ "shape": "S9"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "CreateEventSubscriptionResult",
+ "type": "structure",
+ "members": {
+ "EventSubscription": {
+ "shape": "S4"
+ }
+ }
+ }
+ },
+ "CreateOptionGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "OptionGroupName",
+ "EngineName",
+ "MajorEngineVersion",
+ "OptionGroupDescription"
+ ],
+ "members": {
+ "OptionGroupName": {},
+ "EngineName": {},
+ "MajorEngineVersion": {},
+ "OptionGroupDescription": {},
+ "Tags": {
+ "shape": "S9"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "CreateOptionGroupResult",
+ "type": "structure",
+ "members": {
+ "OptionGroup": {
+ "shape": "S13"
+ }
+ }
+ }
+ },
+ "DeleteDBCluster": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBClusterIdentifier"
+ ],
+ "members": {
+ "DBClusterIdentifier": {},
+ "SkipFinalSnapshot": {
+ "type": "boolean"
+ },
+ "FinalDBSnapshotIdentifier": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DeleteDBClusterResult",
+ "type": "structure",
+ "members": {
+ "DBCluster": {
+ "shape": "S1f"
+ }
+ }
+ }
+ },
+ "DeleteDBClusterParameterGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBClusterParameterGroupName"
+ ],
+ "members": {
+ "DBClusterParameterGroupName": {}
+ }
+ }
+ },
+ "DeleteDBClusterSnapshot": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBClusterSnapshotIdentifier"
+ ],
+ "members": {
+ "DBClusterSnapshotIdentifier": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DeleteDBClusterSnapshotResult",
+ "type": "structure",
+ "members": {
+ "DBClusterSnapshot": {
+ "shape": "Sq"
+ }
+ }
+ }
+ },
+ "DeleteDBInstance": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBInstanceIdentifier"
+ ],
+ "members": {
+ "DBInstanceIdentifier": {},
+ "SkipFinalSnapshot": {
+ "type": "boolean"
+ },
+ "FinalDBSnapshotIdentifier": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DeleteDBInstanceResult",
+ "type": "structure",
+ "members": {
+ "DBInstance": {
+ "shape": "S1s"
+ }
+ }
+ }
+ },
+ "DeleteDBParameterGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBParameterGroupName"
+ ],
+ "members": {
+ "DBParameterGroupName": {}
+ }
+ }
+ },
+ "DeleteDBSecurityGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBSecurityGroupName"
+ ],
+ "members": {
+ "DBSecurityGroupName": {}
+ }
+ }
+ },
+ "DeleteDBSnapshot": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBSnapshotIdentifier"
+ ],
+ "members": {
+ "DBSnapshotIdentifier": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DeleteDBSnapshotResult",
+ "type": "structure",
+ "members": {
+ "DBSnapshot": {
+ "shape": "Sz"
+ }
+ }
+ }
+ },
+ "DeleteDBSubnetGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBSubnetGroupName"
+ ],
+ "members": {
+ "DBSubnetGroupName": {}
+ }
+ }
+ },
+ "DeleteEventSubscription": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "SubscriptionName"
+ ],
+ "members": {
+ "SubscriptionName": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DeleteEventSubscriptionResult",
+ "type": "structure",
+ "members": {
+ "EventSubscription": {
+ "shape": "S4"
+ }
+ }
+ }
+ },
+ "DeleteOptionGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "OptionGroupName"
+ ],
+ "members": {
+ "OptionGroupName": {}
+ }
+ }
+ },
+ "DescribeAccountAttributes": {
+ "input": {
+ "type": "structure",
+ "members": {}
+ },
+ "output": {
+ "resultWrapper": "DescribeAccountAttributesResult",
+ "type": "structure",
+ "members": {
+ "AccountQuotas": {
+ "type": "list",
+ "member": {
+ "locationName": "AccountQuota",
+ "type": "structure",
+ "members": {
+ "AccountQuotaName": {},
+ "Used": {
+ "type": "long"
+ },
+ "Max": {
+ "type": "long"
+ }
+ },
+ "wrapper": true
+ }
+ }
+ }
+ }
+ },
+ "DescribeCertificates": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "CertificateIdentifier": {},
+ "Filters": {
+ "shape": "S38"
+ },
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeCertificatesResult",
+ "type": "structure",
+ "members": {
+ "Certificates": {
+ "type": "list",
+ "member": {
+ "locationName": "Certificate",
+ "type": "structure",
+ "members": {
+ "CertificateIdentifier": {},
+ "CertificateType": {},
+ "Thumbprint": {},
+ "ValidFrom": {
+ "type": "timestamp"
+ },
+ "ValidTill": {
+ "type": "timestamp"
+ }
+ },
+ "wrapper": true
+ }
+ },
+ "Marker": {}
+ }
+ }
+ },
+ "DescribeDBClusterParameterGroups": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DBClusterParameterGroupName": {},
+ "Filters": {
+ "shape": "S38"
+ },
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeDBClusterParameterGroupsResult",
+ "type": "structure",
+ "members": {
+ "Marker": {},
+ "DBClusterParameterGroups": {
+ "type": "list",
+ "member": {
+ "shape": "S1m",
+ "locationName": "DBClusterParameterGroup"
+ }
+ }
+ }
+ }
+ },
+ "DescribeDBClusterParameters": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBClusterParameterGroupName"
+ ],
+ "members": {
+ "DBClusterParameterGroupName": {},
+ "Source": {},
+ "Filters": {
+ "shape": "S38"
+ },
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeDBClusterParametersResult",
+ "type": "structure",
+ "members": {
+ "Parameters": {
+ "shape": "S3j"
+ },
+ "Marker": {}
+ }
+ }
+ },
+ "DescribeDBClusterSnapshots": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DBClusterIdentifier": {},
+ "DBClusterSnapshotIdentifier": {},
+ "SnapshotType": {},
+ "Filters": {
+ "shape": "S38"
+ },
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeDBClusterSnapshotsResult",
+ "type": "structure",
+ "members": {
+ "Marker": {},
+ "DBClusterSnapshots": {
+ "type": "list",
+ "member": {
+ "shape": "Sq",
+ "locationName": "DBClusterSnapshot"
+ }
+ }
+ }
+ }
+ },
+ "DescribeDBClusters": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DBClusterIdentifier": {},
+ "Filters": {
+ "shape": "S38"
+ },
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeDBClustersResult",
+ "type": "structure",
+ "members": {
+ "Marker": {},
+ "DBClusters": {
+ "type": "list",
+ "member": {
+ "shape": "S1f",
+ "locationName": "DBCluster"
+ }
+ }
+ }
+ }
+ },
+ "DescribeDBEngineVersions": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "Engine": {},
+ "EngineVersion": {},
+ "DBParameterGroupFamily": {},
+ "Filters": {
+ "shape": "S38"
+ },
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {},
+ "DefaultOnly": {
+ "type": "boolean"
+ },
+ "ListSupportedCharacterSets": {
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeDBEngineVersionsResult",
+ "type": "structure",
+ "members": {
+ "Marker": {},
+ "DBEngineVersions": {
+ "type": "list",
+ "member": {
+ "locationName": "DBEngineVersion",
+ "type": "structure",
+ "members": {
+ "Engine": {},
+ "EngineVersion": {},
+ "DBParameterGroupFamily": {},
+ "DBEngineDescription": {},
+ "DBEngineVersionDescription": {},
+ "DefaultCharacterSet": {
+ "shape": "S3w"
+ },
+ "SupportedCharacterSets": {
+ "type": "list",
+ "member": {
+ "shape": "S3w",
+ "locationName": "CharacterSet"
+ }
+ },
+ "ValidUpgradeTarget": {
+ "type": "list",
+ "member": {
+ "locationName": "UpgradeTarget",
+ "type": "structure",
+ "members": {
+ "Engine": {},
+ "EngineVersion": {},
+ "Description": {},
+ "AutoUpgrade": {
+ "type": "boolean"
+ },
+ "IsMajorVersionUpgrade": {
+ "type": "boolean"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "DescribeDBInstances": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DBInstanceIdentifier": {},
+ "Filters": {
+ "shape": "S38"
+ },
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeDBInstancesResult",
+ "type": "structure",
+ "members": {
+ "Marker": {},
+ "DBInstances": {
+ "type": "list",
+ "member": {
+ "shape": "S1s",
+ "locationName": "DBInstance"
+ }
+ }
+ }
+ }
+ },
+ "DescribeDBLogFiles": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBInstanceIdentifier"
+ ],
+ "members": {
+ "DBInstanceIdentifier": {},
+ "FilenameContains": {},
+ "FileLastWritten": {
+ "type": "long"
+ },
+ "FileSize": {
+ "type": "long"
+ },
+ "Filters": {
+ "shape": "S38"
+ },
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeDBLogFilesResult",
+ "type": "structure",
+ "members": {
+ "DescribeDBLogFiles": {
+ "type": "list",
+ "member": {
+ "locationName": "DescribeDBLogFilesDetails",
+ "type": "structure",
+ "members": {
+ "LogFileName": {},
+ "LastWritten": {
+ "type": "long"
+ },
+ "Size": {
+ "type": "long"
+ }
+ }
+ }
+ },
+ "Marker": {}
+ }
+ }
+ },
+ "DescribeDBParameterGroups": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DBParameterGroupName": {},
+ "Filters": {
+ "shape": "S38"
+ },
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeDBParameterGroupsResult",
+ "type": "structure",
+ "members": {
+ "Marker": {},
+ "DBParameterGroups": {
+ "type": "list",
+ "member": {
+ "shape": "Sv",
+ "locationName": "DBParameterGroup"
+ }
+ }
+ }
+ }
+ },
+ "DescribeDBParameters": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBParameterGroupName"
+ ],
+ "members": {
+ "DBParameterGroupName": {},
+ "Source": {},
+ "Filters": {
+ "shape": "S38"
+ },
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeDBParametersResult",
+ "type": "structure",
+ "members": {
+ "Parameters": {
+ "shape": "S3j"
+ },
+ "Marker": {}
+ }
+ }
+ },
+ "DescribeDBSecurityGroups": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DBSecurityGroupName": {},
+ "Filters": {
+ "shape": "S38"
+ },
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeDBSecurityGroupsResult",
+ "type": "structure",
+ "members": {
+ "Marker": {},
+ "DBSecurityGroups": {
+ "type": "list",
+ "member": {
+ "shape": "Sj",
+ "locationName": "DBSecurityGroup"
+ }
+ }
+ }
+ }
+ },
+ "DescribeDBSnapshotAttributes": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DBSnapshotIdentifier": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeDBSnapshotAttributesResult",
+ "type": "structure",
+ "members": {
+ "DBSnapshotAttributesResult": {
+ "shape": "S4h"
+ }
+ }
+ }
+ },
+ "DescribeDBSnapshots": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DBInstanceIdentifier": {},
+ "DBSnapshotIdentifier": {},
+ "SnapshotType": {},
+ "Filters": {
+ "shape": "S38"
+ },
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {},
+ "IncludeShared": {
+ "type": "boolean"
+ },
+ "IncludePublic": {
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeDBSnapshotsResult",
+ "type": "structure",
+ "members": {
+ "Marker": {},
+ "DBSnapshots": {
+ "type": "list",
+ "member": {
+ "shape": "Sz",
+ "locationName": "DBSnapshot"
+ }
+ }
+ }
+ }
+ },
+ "DescribeDBSubnetGroups": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DBSubnetGroupName": {},
+ "Filters": {
+ "shape": "S38"
+ },
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeDBSubnetGroupsResult",
+ "type": "structure",
+ "members": {
+ "Marker": {},
+ "DBSubnetGroups": {
+ "type": "list",
+ "member": {
+ "shape": "S1w",
+ "locationName": "DBSubnetGroup"
+ }
+ }
+ }
+ }
+ },
+ "DescribeEngineDefaultClusterParameters": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBParameterGroupFamily"
+ ],
+ "members": {
+ "DBParameterGroupFamily": {},
+ "Filters": {
+ "shape": "S38"
+ },
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeEngineDefaultClusterParametersResult",
+ "type": "structure",
+ "members": {
+ "EngineDefaults": {
+ "shape": "S4t"
+ }
+ }
+ }
+ },
+ "DescribeEngineDefaultParameters": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBParameterGroupFamily"
+ ],
+ "members": {
+ "DBParameterGroupFamily": {},
+ "Filters": {
+ "shape": "S38"
+ },
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeEngineDefaultParametersResult",
+ "type": "structure",
+ "members": {
+ "EngineDefaults": {
+ "shape": "S4t"
+ }
+ }
+ }
+ },
+ "DescribeEventCategories": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "SourceType": {},
+ "Filters": {
+ "shape": "S38"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeEventCategoriesResult",
+ "type": "structure",
+ "members": {
+ "EventCategoriesMapList": {
+ "type": "list",
+ "member": {
+ "locationName": "EventCategoriesMap",
+ "type": "structure",
+ "members": {
+ "SourceType": {},
+ "EventCategories": {
+ "shape": "S6"
+ }
+ },
+ "wrapper": true
+ }
+ }
+ }
+ }
+ },
+ "DescribeEventSubscriptions": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "SubscriptionName": {},
+ "Filters": {
+ "shape": "S38"
+ },
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeEventSubscriptionsResult",
+ "type": "structure",
+ "members": {
+ "Marker": {},
+ "EventSubscriptionsList": {
+ "type": "list",
+ "member": {
+ "shape": "S4",
+ "locationName": "EventSubscription"
+ }
+ }
+ }
+ }
+ },
+ "DescribeEvents": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "SourceIdentifier": {},
+ "SourceType": {},
+ "StartTime": {
+ "type": "timestamp"
+ },
+ "EndTime": {
+ "type": "timestamp"
+ },
+ "Duration": {
+ "type": "integer"
+ },
+ "EventCategories": {
+ "shape": "S6"
+ },
+ "Filters": {
+ "shape": "S38"
+ },
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeEventsResult",
+ "type": "structure",
+ "members": {
+ "Marker": {},
+ "Events": {
+ "type": "list",
+ "member": {
+ "locationName": "Event",
+ "type": "structure",
+ "members": {
+ "SourceIdentifier": {},
+ "SourceType": {},
+ "Message": {},
+ "EventCategories": {
+ "shape": "S6"
+ },
+ "Date": {
+ "type": "timestamp"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "DescribeOptionGroupOptions": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "EngineName"
+ ],
+ "members": {
+ "EngineName": {},
+ "MajorEngineVersion": {},
+ "Filters": {
+ "shape": "S38"
+ },
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeOptionGroupOptionsResult",
+ "type": "structure",
+ "members": {
+ "OptionGroupOptions": {
+ "type": "list",
+ "member": {
+ "locationName": "OptionGroupOption",
+ "type": "structure",
+ "members": {
+ "Name": {},
+ "Description": {},
+ "EngineName": {},
+ "MajorEngineVersion": {},
+ "MinimumRequiredMinorEngineVersion": {},
+ "PortRequired": {
+ "type": "boolean"
+ },
+ "DefaultPort": {
+ "type": "integer"
+ },
+ "OptionsDependedOn": {
+ "type": "list",
+ "member": {
+ "locationName": "OptionName"
+ }
+ },
+ "Persistent": {
+ "type": "boolean"
+ },
+ "Permanent": {
+ "type": "boolean"
+ },
+ "OptionGroupOptionSettings": {
+ "type": "list",
+ "member": {
+ "locationName": "OptionGroupOptionSetting",
+ "type": "structure",
+ "members": {
+ "SettingName": {},
+ "SettingDescription": {},
+ "DefaultValue": {},
+ "ApplyType": {},
+ "AllowedValues": {},
+ "IsModifiable": {
+ "type": "boolean"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "Marker": {}
+ }
+ }
+ },
+ "DescribeOptionGroups": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "OptionGroupName": {},
+ "Filters": {
+ "shape": "S38"
+ },
+ "Marker": {},
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "EngineName": {},
+ "MajorEngineVersion": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeOptionGroupsResult",
+ "type": "structure",
+ "members": {
+ "OptionGroupsList": {
+ "type": "list",
+ "member": {
+ "shape": "S13",
+ "locationName": "OptionGroup"
+ }
+ },
+ "Marker": {}
+ }
+ }
+ },
+ "DescribeOrderableDBInstanceOptions": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Engine"
+ ],
+ "members": {
+ "Engine": {},
+ "EngineVersion": {},
+ "DBInstanceClass": {},
+ "LicenseModel": {},
+ "Vpc": {
+ "type": "boolean"
+ },
+ "Filters": {
+ "shape": "S38"
+ },
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeOrderableDBInstanceOptionsResult",
+ "type": "structure",
+ "members": {
+ "OrderableDBInstanceOptions": {
+ "type": "list",
+ "member": {
+ "locationName": "OrderableDBInstanceOption",
+ "type": "structure",
+ "members": {
+ "Engine": {},
+ "EngineVersion": {},
+ "DBInstanceClass": {},
+ "LicenseModel": {},
+ "AvailabilityZones": {
+ "type": "list",
+ "member": {
+ "shape": "S1z",
+ "locationName": "AvailabilityZone"
+ }
+ },
+ "MultiAZCapable": {
+ "type": "boolean"
+ },
+ "ReadReplicaCapable": {
+ "type": "boolean"
+ },
+ "Vpc": {
+ "type": "boolean"
+ },
+ "SupportsStorageEncryption": {
+ "type": "boolean"
+ },
+ "StorageType": {},
+ "SupportsIops": {
+ "type": "boolean"
+ },
+ "SupportsEnhancedMonitoring": {
+ "type": "boolean"
+ }
+ },
+ "wrapper": true
+ }
+ },
+ "Marker": {}
+ }
+ }
+ },
+ "DescribePendingMaintenanceActions": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "ResourceIdentifier": {},
+ "Filters": {
+ "shape": "S38"
+ },
+ "Marker": {},
+ "MaxRecords": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribePendingMaintenanceActionsResult",
+ "type": "structure",
+ "members": {
+ "PendingMaintenanceActions": {
+ "type": "list",
+ "member": {
+ "shape": "Sd",
+ "locationName": "ResourcePendingMaintenanceActions"
+ }
+ },
+ "Marker": {}
+ }
+ }
+ },
+ "DescribeReservedDBInstances": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "ReservedDBInstanceId": {},
+ "ReservedDBInstancesOfferingId": {},
+ "DBInstanceClass": {},
+ "Duration": {},
+ "ProductDescription": {},
+ "OfferingType": {},
+ "MultiAZ": {
+ "type": "boolean"
+ },
+ "Filters": {
+ "shape": "S38"
+ },
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeReservedDBInstancesResult",
+ "type": "structure",
+ "members": {
+ "Marker": {},
+ "ReservedDBInstances": {
+ "type": "list",
+ "member": {
+ "shape": "S5t",
+ "locationName": "ReservedDBInstance"
+ }
+ }
+ }
+ }
+ },
+ "DescribeReservedDBInstancesOfferings": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "ReservedDBInstancesOfferingId": {},
+ "DBInstanceClass": {},
+ "Duration": {},
+ "ProductDescription": {},
+ "OfferingType": {},
+ "MultiAZ": {
+ "type": "boolean"
+ },
+ "Filters": {
+ "shape": "S38"
+ },
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeReservedDBInstancesOfferingsResult",
+ "type": "structure",
+ "members": {
+ "Marker": {},
+ "ReservedDBInstancesOfferings": {
+ "type": "list",
+ "member": {
+ "locationName": "ReservedDBInstancesOffering",
+ "type": "structure",
+ "members": {
+ "ReservedDBInstancesOfferingId": {},
+ "DBInstanceClass": {},
+ "Duration": {
+ "type": "integer"
+ },
+ "FixedPrice": {
+ "type": "double"
+ },
+ "UsagePrice": {
+ "type": "double"
+ },
+ "CurrencyCode": {},
+ "ProductDescription": {},
+ "OfferingType": {},
+ "MultiAZ": {
+ "type": "boolean"
+ },
+ "RecurringCharges": {
+ "shape": "S5v"
+ }
+ },
+ "wrapper": true
+ }
+ }
+ }
+ }
+ },
+ "DownloadDBLogFilePortion": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBInstanceIdentifier",
+ "LogFileName"
+ ],
+ "members": {
+ "DBInstanceIdentifier": {},
+ "LogFileName": {},
+ "Marker": {},
+ "NumberOfLines": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "DownloadDBLogFilePortionResult",
+ "type": "structure",
+ "members": {
+ "LogFileData": {},
+ "Marker": {},
+ "AdditionalDataPending": {
+ "type": "boolean"
+ }
+ }
+ }
+ },
+ "FailoverDBCluster": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DBClusterIdentifier": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "FailoverDBClusterResult",
+ "type": "structure",
+ "members": {
+ "DBCluster": {
+ "shape": "S1f"
+ }
+ }
+ }
+ },
+ "ListTagsForResource": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ResourceName"
+ ],
+ "members": {
+ "ResourceName": {},
+ "Filters": {
+ "shape": "S38"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "ListTagsForResourceResult",
+ "type": "structure",
+ "members": {
+ "TagList": {
+ "shape": "S9"
+ }
+ }
+ }
+ },
+ "ModifyDBCluster": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBClusterIdentifier"
+ ],
+ "members": {
+ "DBClusterIdentifier": {},
+ "NewDBClusterIdentifier": {},
+ "ApplyImmediately": {
+ "type": "boolean"
+ },
+ "BackupRetentionPeriod": {
+ "type": "integer"
+ },
+ "DBClusterParameterGroupName": {},
+ "VpcSecurityGroupIds": {
+ "shape": "S1d"
+ },
+ "Port": {
+ "type": "integer"
+ },
+ "MasterUserPassword": {},
+ "OptionGroupName": {},
+ "PreferredBackupWindow": {},
+ "PreferredMaintenanceWindow": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "ModifyDBClusterResult",
+ "type": "structure",
+ "members": {
+ "DBCluster": {
+ "shape": "S1f"
+ }
+ }
+ }
+ },
+ "ModifyDBClusterParameterGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBClusterParameterGroupName",
+ "Parameters"
+ ],
+ "members": {
+ "DBClusterParameterGroupName": {},
+ "Parameters": {
+ "shape": "S3j"
+ }
+ }
+ },
+ "output": {
+ "shape": "S6a",
+ "resultWrapper": "ModifyDBClusterParameterGroupResult"
+ }
+ },
+ "ModifyDBInstance": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBInstanceIdentifier"
+ ],
+ "members": {
+ "DBInstanceIdentifier": {},
+ "AllocatedStorage": {
+ "type": "integer"
+ },
+ "DBInstanceClass": {},
+ "DBSecurityGroups": {
+ "shape": "S1q"
+ },
+ "VpcSecurityGroupIds": {
+ "shape": "S1d"
+ },
+ "ApplyImmediately": {
+ "type": "boolean"
+ },
+ "MasterUserPassword": {},
+ "DBParameterGroupName": {},
+ "BackupRetentionPeriod": {
+ "type": "integer"
+ },
+ "PreferredBackupWindow": {},
+ "PreferredMaintenanceWindow": {},
+ "MultiAZ": {
+ "type": "boolean"
+ },
+ "EngineVersion": {},
+ "AllowMajorVersionUpgrade": {
+ "type": "boolean"
+ },
+ "AutoMinorVersionUpgrade": {
+ "type": "boolean"
+ },
+ "Iops": {
+ "type": "integer"
+ },
+ "OptionGroupName": {},
+ "NewDBInstanceIdentifier": {},
+ "StorageType": {},
+ "TdeCredentialArn": {},
+ "TdeCredentialPassword": {},
+ "CACertificateIdentifier": {},
+ "Domain": {},
+ "CopyTagsToSnapshot": {
+ "type": "boolean"
+ },
+ "MonitoringInterval": {
+ "type": "integer"
+ },
+ "DBPortNumber": {
+ "type": "integer"
+ },
+ "PubliclyAccessible": {
+ "type": "boolean"
+ },
+ "MonitoringRoleArn": {},
+ "DomainIAMRoleName": {},
+ "PromotionTier": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "ModifyDBInstanceResult",
+ "type": "structure",
+ "members": {
+ "DBInstance": {
+ "shape": "S1s"
+ }
+ }
+ }
+ },
+ "ModifyDBParameterGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBParameterGroupName",
+ "Parameters"
+ ],
+ "members": {
+ "DBParameterGroupName": {},
+ "Parameters": {
+ "shape": "S3j"
+ }
+ }
+ },
+ "output": {
+ "shape": "S6e",
+ "resultWrapper": "ModifyDBParameterGroupResult"
+ }
+ },
+ "ModifyDBSnapshotAttribute": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBSnapshotIdentifier"
+ ],
+ "members": {
+ "DBSnapshotIdentifier": {},
+ "AttributeName": {},
+ "ValuesToAdd": {
+ "shape": "S4k"
+ },
+ "ValuesToRemove": {
+ "shape": "S4k"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "ModifyDBSnapshotAttributeResult",
+ "type": "structure",
+ "members": {
+ "DBSnapshotAttributesResult": {
+ "shape": "S4h"
+ }
+ }
+ }
+ },
+ "ModifyDBSubnetGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBSubnetGroupName",
+ "SubnetIds"
+ ],
+ "members": {
+ "DBSubnetGroupName": {},
+ "DBSubnetGroupDescription": {},
+ "SubnetIds": {
+ "shape": "S2h"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "ModifyDBSubnetGroupResult",
+ "type": "structure",
+ "members": {
+ "DBSubnetGroup": {
+ "shape": "S1w"
+ }
+ }
+ }
+ },
+ "ModifyEventSubscription": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "SubscriptionName"
+ ],
+ "members": {
+ "SubscriptionName": {},
+ "SnsTopicArn": {},
+ "SourceType": {},
+ "EventCategories": {
+ "shape": "S6"
+ },
+ "Enabled": {
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "ModifyEventSubscriptionResult",
+ "type": "structure",
+ "members": {
+ "EventSubscription": {
+ "shape": "S4"
+ }
+ }
+ }
+ },
+ "ModifyOptionGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "OptionGroupName"
+ ],
+ "members": {
+ "OptionGroupName": {},
+ "OptionsToInclude": {
+ "type": "list",
+ "member": {
+ "locationName": "OptionConfiguration",
+ "type": "structure",
+ "required": [
+ "OptionName"
+ ],
+ "members": {
+ "OptionName": {},
+ "Port": {
+ "type": "integer"
+ },
+ "DBSecurityGroupMemberships": {
+ "shape": "S1q"
+ },
+ "VpcSecurityGroupMemberships": {
+ "shape": "S1d"
+ },
+ "OptionSettings": {
+ "type": "list",
+ "member": {
+ "shape": "S17",
+ "locationName": "OptionSetting"
+ }
+ }
+ }
+ }
+ },
+ "OptionsToRemove": {
+ "type": "list",
+ "member": {}
+ },
+ "ApplyImmediately": {
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "ModifyOptionGroupResult",
+ "type": "structure",
+ "members": {
+ "OptionGroup": {
+ "shape": "S13"
+ }
+ }
+ }
+ },
+ "PromoteReadReplica": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBInstanceIdentifier"
+ ],
+ "members": {
+ "DBInstanceIdentifier": {},
+ "BackupRetentionPeriod": {
+ "type": "integer"
+ },
+ "PreferredBackupWindow": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "PromoteReadReplicaResult",
+ "type": "structure",
+ "members": {
+ "DBInstance": {
+ "shape": "S1s"
+ }
+ }
+ }
+ },
+ "PurchaseReservedDBInstancesOffering": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ReservedDBInstancesOfferingId"
+ ],
+ "members": {
+ "ReservedDBInstancesOfferingId": {},
+ "ReservedDBInstanceId": {},
+ "DBInstanceCount": {
+ "type": "integer"
+ },
+ "Tags": {
+ "shape": "S9"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "PurchaseReservedDBInstancesOfferingResult",
+ "type": "structure",
+ "members": {
+ "ReservedDBInstance": {
+ "shape": "S5t"
+ }
+ }
+ }
+ },
+ "RebootDBInstance": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBInstanceIdentifier"
+ ],
+ "members": {
+ "DBInstanceIdentifier": {},
+ "ForceFailover": {
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "RebootDBInstanceResult",
+ "type": "structure",
+ "members": {
+ "DBInstance": {
+ "shape": "S1s"
+ }
+ }
+ }
+ },
+ "RemoveSourceIdentifierFromSubscription": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "SubscriptionName",
+ "SourceIdentifier"
+ ],
+ "members": {
+ "SubscriptionName": {},
+ "SourceIdentifier": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "RemoveSourceIdentifierFromSubscriptionResult",
+ "type": "structure",
+ "members": {
+ "EventSubscription": {
+ "shape": "S4"
+ }
+ }
+ }
+ },
+ "RemoveTagsFromResource": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ResourceName",
+ "TagKeys"
+ ],
+ "members": {
+ "ResourceName": {},
+ "TagKeys": {
+ "type": "list",
+ "member": {}
+ }
+ }
+ }
+ },
+ "ResetDBClusterParameterGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBClusterParameterGroupName"
+ ],
+ "members": {
+ "DBClusterParameterGroupName": {},
+ "ResetAllParameters": {
+ "type": "boolean"
+ },
+ "Parameters": {
+ "shape": "S3j"
+ }
+ }
+ },
+ "output": {
+ "shape": "S6a",
+ "resultWrapper": "ResetDBClusterParameterGroupResult"
+ }
+ },
+ "ResetDBParameterGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBParameterGroupName"
+ ],
+ "members": {
+ "DBParameterGroupName": {},
+ "ResetAllParameters": {
+ "type": "boolean"
+ },
+ "Parameters": {
+ "shape": "S3j"
+ }
+ }
+ },
+ "output": {
+ "shape": "S6e",
+ "resultWrapper": "ResetDBParameterGroupResult"
+ }
+ },
+ "RestoreDBClusterFromSnapshot": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBClusterIdentifier",
+ "SnapshotIdentifier",
+ "Engine"
+ ],
+ "members": {
+ "AvailabilityZones": {
+ "shape": "Sr"
+ },
+ "DBClusterIdentifier": {},
+ "SnapshotIdentifier": {},
+ "Engine": {},
+ "EngineVersion": {},
+ "Port": {
+ "type": "integer"
+ },
+ "DBSubnetGroupName": {},
+ "DatabaseName": {},
+ "OptionGroupName": {},
+ "VpcSecurityGroupIds": {
+ "shape": "S1d"
+ },
+ "Tags": {
+ "shape": "S9"
+ },
+ "KmsKeyId": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "RestoreDBClusterFromSnapshotResult",
+ "type": "structure",
+ "members": {
+ "DBCluster": {
+ "shape": "S1f"
+ }
+ }
+ }
+ },
+ "RestoreDBClusterToPointInTime": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBClusterIdentifier",
+ "SourceDBClusterIdentifier"
+ ],
+ "members": {
+ "DBClusterIdentifier": {},
+ "SourceDBClusterIdentifier": {},
+ "RestoreToTime": {
+ "type": "timestamp"
+ },
+ "UseLatestRestorableTime": {
+ "type": "boolean"
+ },
+ "Port": {
+ "type": "integer"
+ },
+ "DBSubnetGroupName": {},
+ "OptionGroupName": {},
+ "VpcSecurityGroupIds": {
+ "shape": "S1d"
+ },
+ "Tags": {
+ "shape": "S9"
+ },
+ "KmsKeyId": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "RestoreDBClusterToPointInTimeResult",
+ "type": "structure",
+ "members": {
+ "DBCluster": {
+ "shape": "S1f"
+ }
+ }
+ }
+ },
+ "RestoreDBInstanceFromDBSnapshot": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBInstanceIdentifier",
+ "DBSnapshotIdentifier"
+ ],
+ "members": {
+ "DBInstanceIdentifier": {},
+ "DBSnapshotIdentifier": {},
+ "DBInstanceClass": {},
+ "Port": {
+ "type": "integer"
+ },
+ "AvailabilityZone": {},
+ "DBSubnetGroupName": {},
+ "MultiAZ": {
+ "type": "boolean"
+ },
+ "PubliclyAccessible": {
+ "type": "boolean"
+ },
+ "AutoMinorVersionUpgrade": {
+ "type": "boolean"
+ },
+ "LicenseModel": {},
+ "DBName": {},
+ "Engine": {},
+ "Iops": {
+ "type": "integer"
+ },
+ "OptionGroupName": {},
+ "Tags": {
+ "shape": "S9"
+ },
+ "StorageType": {},
+ "TdeCredentialArn": {},
+ "TdeCredentialPassword": {},
+ "Domain": {},
+ "CopyTagsToSnapshot": {
+ "type": "boolean"
+ },
+ "DomainIAMRoleName": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "RestoreDBInstanceFromDBSnapshotResult",
+ "type": "structure",
+ "members": {
+ "DBInstance": {
+ "shape": "S1s"
+ }
+ }
+ }
+ },
+ "RestoreDBInstanceToPointInTime": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "SourceDBInstanceIdentifier",
+ "TargetDBInstanceIdentifier"
+ ],
+ "members": {
+ "SourceDBInstanceIdentifier": {},
+ "TargetDBInstanceIdentifier": {},
+ "RestoreTime": {
+ "type": "timestamp"
+ },
+ "UseLatestRestorableTime": {
+ "type": "boolean"
+ },
+ "DBInstanceClass": {},
+ "Port": {
+ "type": "integer"
+ },
+ "AvailabilityZone": {},
+ "DBSubnetGroupName": {},
+ "MultiAZ": {
+ "type": "boolean"
+ },
+ "PubliclyAccessible": {
+ "type": "boolean"
+ },
+ "AutoMinorVersionUpgrade": {
+ "type": "boolean"
+ },
+ "LicenseModel": {},
+ "DBName": {},
+ "Engine": {},
+ "Iops": {
+ "type": "integer"
+ },
+ "OptionGroupName": {},
+ "CopyTagsToSnapshot": {
+ "type": "boolean"
+ },
+ "Tags": {
+ "shape": "S9"
+ },
+ "StorageType": {},
+ "TdeCredentialArn": {},
+ "TdeCredentialPassword": {},
+ "Domain": {},
+ "DomainIAMRoleName": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "RestoreDBInstanceToPointInTimeResult",
+ "type": "structure",
+ "members": {
+ "DBInstance": {
+ "shape": "S1s"
+ }
+ }
+ }
+ },
+ "RevokeDBSecurityGroupIngress": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DBSecurityGroupName"
+ ],
+ "members": {
+ "DBSecurityGroupName": {},
+ "CIDRIP": {},
+ "EC2SecurityGroupName": {},
+ "EC2SecurityGroupId": {},
+ "EC2SecurityGroupOwnerId": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "RevokeDBSecurityGroupIngressResult",
+ "type": "structure",
+ "members": {
+ "DBSecurityGroup": {
+ "shape": "Sj"
+ }
+ }
+ }
+ }
+ },
+ "shapes": {
+ "S4": {
+ "type": "structure",
+ "members": {
+ "CustomerAwsId": {},
+ "CustSubscriptionId": {},
+ "SnsTopicArn": {},
+ "Status": {},
+ "SubscriptionCreationTime": {},
+ "SourceType": {},
+ "SourceIdsList": {
+ "shape": "S5"
+ },
+ "EventCategoriesList": {
+ "shape": "S6"
+ },
+ "Enabled": {
+ "type": "boolean"
+ }
+ },
+ "wrapper": true
+ },
+ "S5": {
+ "type": "list",
+ "member": {
+ "locationName": "SourceId"
+ }
+ },
+ "S6": {
+ "type": "list",
+ "member": {
+ "locationName": "EventCategory"
+ }
+ },
+ "S9": {
+ "type": "list",
+ "member": {
+ "locationName": "Tag",
+ "type": "structure",
+ "members": {
+ "Key": {},
+ "Value": {}
+ }
+ }
+ },
+ "Sd": {
+ "type": "structure",
+ "members": {
+ "ResourceIdentifier": {},
+ "PendingMaintenanceActionDetails": {
+ "type": "list",
+ "member": {
+ "locationName": "PendingMaintenanceAction",
+ "type": "structure",
+ "members": {
+ "Action": {},
+ "AutoAppliedAfterDate": {
+ "type": "timestamp"
+ },
+ "ForcedApplyDate": {
+ "type": "timestamp"
+ },
+ "OptInStatus": {},
+ "CurrentApplyDate": {
+ "type": "timestamp"
+ },
+ "Description": {}
+ }
+ }
+ }
+ },
+ "wrapper": true
+ },
+ "Sj": {
+ "type": "structure",
+ "members": {
+ "OwnerId": {},
+ "DBSecurityGroupName": {},
+ "DBSecurityGroupDescription": {},
+ "VpcId": {},
+ "EC2SecurityGroups": {
+ "type": "list",
+ "member": {
+ "locationName": "EC2SecurityGroup",
+ "type": "structure",
+ "members": {
+ "Status": {},
+ "EC2SecurityGroupName": {},
+ "EC2SecurityGroupId": {},
+ "EC2SecurityGroupOwnerId": {}
+ }
+ }
+ },
+ "IPRanges": {
+ "type": "list",
+ "member": {
+ "locationName": "IPRange",
+ "type": "structure",
+ "members": {
+ "Status": {},
+ "CIDRIP": {}
+ }
+ }
+ }
+ },
+ "wrapper": true
+ },
+ "Sq": {
+ "type": "structure",
+ "members": {
+ "AvailabilityZones": {
+ "shape": "Sr"
+ },
+ "DBClusterSnapshotIdentifier": {},
+ "DBClusterIdentifier": {},
+ "SnapshotCreateTime": {
+ "type": "timestamp"
+ },
+ "Engine": {},
+ "AllocatedStorage": {
+ "type": "integer"
+ },
+ "Status": {},
+ "Port": {
+ "type": "integer"
+ },
+ "VpcId": {},
+ "ClusterCreateTime": {
+ "type": "timestamp"
+ },
+ "MasterUsername": {},
+ "EngineVersion": {},
+ "LicenseModel": {},
+ "SnapshotType": {},
+ "PercentProgress": {
+ "type": "integer"
+ },
+ "StorageEncrypted": {
+ "type": "boolean"
+ },
+ "KmsKeyId": {}
+ },
+ "wrapper": true
+ },
+ "Sr": {
+ "type": "list",
+ "member": {
+ "locationName": "AvailabilityZone"
+ }
+ },
+ "Sv": {
+ "type": "structure",
+ "members": {
+ "DBParameterGroupName": {},
+ "DBParameterGroupFamily": {},
+ "Description": {}
+ },
+ "wrapper": true
+ },
+ "Sz": {
+ "type": "structure",
+ "members": {
+ "DBSnapshotIdentifier": {},
+ "DBInstanceIdentifier": {},
+ "SnapshotCreateTime": {
+ "type": "timestamp"
+ },
+ "Engine": {},
+ "AllocatedStorage": {
+ "type": "integer"
+ },
+ "Status": {},
+ "Port": {
+ "type": "integer"
+ },
+ "AvailabilityZone": {},
+ "VpcId": {},
+ "InstanceCreateTime": {
+ "type": "timestamp"
+ },
+ "MasterUsername": {},
+ "EngineVersion": {},
+ "LicenseModel": {},
+ "SnapshotType": {},
+ "Iops": {
+ "type": "integer"
+ },
+ "OptionGroupName": {},
+ "PercentProgress": {
+ "type": "integer"
+ },
+ "SourceRegion": {},
+ "SourceDBSnapshotIdentifier": {},
+ "StorageType": {},
+ "TdeCredentialArn": {},
+ "Encrypted": {
+ "type": "boolean"
+ },
+ "KmsKeyId": {}
+ },
+ "wrapper": true
+ },
+ "S13": {
+ "type": "structure",
+ "members": {
+ "OptionGroupName": {},
+ "OptionGroupDescription": {},
+ "EngineName": {},
+ "MajorEngineVersion": {},
+ "Options": {
+ "type": "list",
+ "member": {
+ "locationName": "Option",
+ "type": "structure",
+ "members": {
+ "OptionName": {},
+ "OptionDescription": {},
+ "Persistent": {
+ "type": "boolean"
+ },
+ "Permanent": {
+ "type": "boolean"
+ },
+ "Port": {
+ "type": "integer"
+ },
+ "OptionSettings": {
+ "type": "list",
+ "member": {
+ "shape": "S17",
+ "locationName": "OptionSetting"
+ }
+ },
+ "DBSecurityGroupMemberships": {
+ "shape": "S18"
+ },
+ "VpcSecurityGroupMemberships": {
+ "shape": "S1a"
+ }
+ }
+ }
+ },
+ "AllowsVpcAndNonVpcInstanceMemberships": {
+ "type": "boolean"
+ },
+ "VpcId": {}
+ },
+ "wrapper": true
+ },
+ "S17": {
+ "type": "structure",
+ "members": {
+ "Name": {},
+ "Value": {},
+ "DefaultValue": {},
+ "Description": {},
+ "ApplyType": {},
+ "DataType": {},
+ "AllowedValues": {},
+ "IsModifiable": {
+ "type": "boolean"
+ },
+ "IsCollection": {
+ "type": "boolean"
+ }
+ }
+ },
+ "S18": {
+ "type": "list",
+ "member": {
+ "locationName": "DBSecurityGroup",
+ "type": "structure",
+ "members": {
+ "DBSecurityGroupName": {},
+ "Status": {}
+ }
+ }
+ },
+ "S1a": {
+ "type": "list",
+ "member": {
+ "locationName": "VpcSecurityGroupMembership",
+ "type": "structure",
+ "members": {
+ "VpcSecurityGroupId": {},
+ "Status": {}
+ }
+ }
+ },
+ "S1d": {
+ "type": "list",
+ "member": {
+ "locationName": "VpcSecurityGroupId"
+ }
+ },
+ "S1f": {
+ "type": "structure",
+ "members": {
+ "AllocatedStorage": {
+ "type": "integer"
+ },
+ "AvailabilityZones": {
+ "shape": "Sr"
+ },
+ "BackupRetentionPeriod": {
+ "type": "integer"
+ },
+ "CharacterSetName": {},
+ "DatabaseName": {},
+ "DBClusterIdentifier": {},
+ "DBClusterParameterGroup": {},
+ "DBSubnetGroup": {},
+ "Status": {},
+ "PercentProgress": {},
+ "EarliestRestorableTime": {
+ "type": "timestamp"
+ },
+ "Endpoint": {},
+ "Engine": {},
+ "EngineVersion": {},
+ "LatestRestorableTime": {
+ "type": "timestamp"
+ },
+ "Port": {
+ "type": "integer"
+ },
+ "MasterUsername": {},
+ "DBClusterOptionGroupMemberships": {
+ "type": "list",
+ "member": {
+ "locationName": "DBClusterOptionGroup",
+ "type": "structure",
+ "members": {
+ "DBClusterOptionGroupName": {},
+ "Status": {}
+ }
+ }
+ },
+ "PreferredBackupWindow": {},
+ "PreferredMaintenanceWindow": {},
+ "DBClusterMembers": {
+ "type": "list",
+ "member": {
+ "locationName": "DBClusterMember",
+ "type": "structure",
+ "members": {
+ "DBInstanceIdentifier": {},
+ "IsClusterWriter": {
+ "type": "boolean"
+ },
+ "DBClusterParameterGroupStatus": {},
+ "PromotionTier": {
+ "type": "integer"
+ }
+ },
+ "wrapper": true
+ }
+ },
+ "VpcSecurityGroups": {
+ "shape": "S1a"
+ },
+ "HostedZoneId": {},
+ "StorageEncrypted": {
+ "type": "boolean"
+ },
+ "KmsKeyId": {},
+ "DbClusterResourceId": {}
+ },
+ "wrapper": true
+ },
+ "S1m": {
+ "type": "structure",
+ "members": {
+ "DBClusterParameterGroupName": {},
+ "DBParameterGroupFamily": {},
+ "Description": {}
+ },
+ "wrapper": true
+ },
+ "S1q": {
+ "type": "list",
+ "member": {
+ "locationName": "DBSecurityGroupName"
+ }
+ },
+ "S1s": {
+ "type": "structure",
+ "members": {
+ "DBInstanceIdentifier": {},
+ "DBInstanceClass": {},
+ "Engine": {},
+ "DBInstanceStatus": {},
+ "MasterUsername": {},
+ "DBName": {},
+ "Endpoint": {
+ "type": "structure",
+ "members": {
+ "Address": {},
+ "Port": {
+ "type": "integer"
+ },
+ "HostedZoneId": {}
+ }
+ },
+ "AllocatedStorage": {
+ "type": "integer"
+ },
+ "InstanceCreateTime": {
+ "type": "timestamp"
+ },
+ "PreferredBackupWindow": {},
+ "BackupRetentionPeriod": {
+ "type": "integer"
+ },
+ "DBSecurityGroups": {
+ "shape": "S18"
+ },
+ "VpcSecurityGroups": {
+ "shape": "S1a"
+ },
+ "DBParameterGroups": {
+ "type": "list",
+ "member": {
+ "locationName": "DBParameterGroup",
+ "type": "structure",
+ "members": {
+ "DBParameterGroupName": {},
+ "ParameterApplyStatus": {}
+ }
+ }
+ },
+ "AvailabilityZone": {},
+ "DBSubnetGroup": {
+ "shape": "S1w"
+ },
+ "PreferredMaintenanceWindow": {},
+ "PendingModifiedValues": {
+ "type": "structure",
+ "members": {
+ "DBInstanceClass": {},
+ "AllocatedStorage": {
+ "type": "integer"
+ },
+ "MasterUserPassword": {},
+ "Port": {
+ "type": "integer"
+ },
+ "BackupRetentionPeriod": {
+ "type": "integer"
+ },
+ "MultiAZ": {
+ "type": "boolean"
+ },
+ "EngineVersion": {},
+ "Iops": {
+ "type": "integer"
+ },
+ "DBInstanceIdentifier": {},
+ "StorageType": {},
+ "CACertificateIdentifier": {}
+ }
+ },
+ "LatestRestorableTime": {
+ "type": "timestamp"
+ },
+ "MultiAZ": {
+ "type": "boolean"
+ },
+ "EngineVersion": {},
+ "AutoMinorVersionUpgrade": {
+ "type": "boolean"
+ },
+ "ReadReplicaSourceDBInstanceIdentifier": {},
+ "ReadReplicaDBInstanceIdentifiers": {
+ "type": "list",
+ "member": {
+ "locationName": "ReadReplicaDBInstanceIdentifier"
+ }
+ },
+ "LicenseModel": {},
+ "Iops": {
+ "type": "integer"
+ },
+ "OptionGroupMemberships": {
+ "type": "list",
+ "member": {
+ "locationName": "OptionGroupMembership",
+ "type": "structure",
+ "members": {
+ "OptionGroupName": {},
+ "Status": {}
+ }
+ }
+ },
+ "CharacterSetName": {},
+ "SecondaryAvailabilityZone": {},
+ "PubliclyAccessible": {
+ "type": "boolean"
+ },
+ "StatusInfos": {
+ "type": "list",
+ "member": {
+ "locationName": "DBInstanceStatusInfo",
+ "type": "structure",
+ "members": {
+ "StatusType": {},
+ "Normal": {
+ "type": "boolean"
+ },
+ "Status": {},
+ "Message": {}
+ }
+ }
+ },
+ "StorageType": {},
+ "TdeCredentialArn": {},
+ "DbInstancePort": {
+ "type": "integer"
+ },
+ "DBClusterIdentifier": {},
+ "StorageEncrypted": {
+ "type": "boolean"
+ },
+ "KmsKeyId": {},
+ "DbiResourceId": {},
+ "CACertificateIdentifier": {},
+ "DomainMemberships": {
+ "type": "list",
+ "member": {
+ "locationName": "DomainMembership",
+ "type": "structure",
+ "members": {
+ "Domain": {},
+ "Status": {},
+ "FQDN": {},
+ "IAMRoleName": {}
+ }
+ }
+ },
+ "CopyTagsToSnapshot": {
+ "type": "boolean"
+ },
+ "MonitoringInterval": {
+ "type": "integer"
+ },
+ "EnhancedMonitoringResourceArn": {},
+ "MonitoringRoleArn": {},
+ "PromotionTier": {
+ "type": "integer"
+ }
+ },
+ "wrapper": true
+ },
+ "S1w": {
+ "type": "structure",
+ "members": {
+ "DBSubnetGroupName": {},
+ "DBSubnetGroupDescription": {},
+ "VpcId": {},
+ "SubnetGroupStatus": {},
+ "Subnets": {
+ "type": "list",
+ "member": {
+ "locationName": "Subnet",
+ "type": "structure",
+ "members": {
+ "SubnetIdentifier": {},
+ "SubnetAvailabilityZone": {
+ "shape": "S1z"
+ },
+ "SubnetStatus": {}
+ }
+ }
+ }
+ },
+ "wrapper": true
+ },
+ "S1z": {
+ "type": "structure",
+ "members": {
+ "Name": {}
+ },
+ "wrapper": true
+ },
+ "S2h": {
+ "type": "list",
+ "member": {
+ "locationName": "SubnetIdentifier"
+ }
+ },
+ "S38": {
+ "type": "list",
+ "member": {
+ "locationName": "Filter",
+ "type": "structure",
+ "required": [
+ "Name",
+ "Values"
+ ],
+ "members": {
+ "Name": {},
+ "Values": {
+ "type": "list",
+ "member": {
+ "locationName": "Value"
+ }
+ }
+ }
+ }
+ },
+ "S3j": {
+ "type": "list",
+ "member": {
+ "locationName": "Parameter",
+ "type": "structure",
+ "members": {
+ "ParameterName": {},
+ "ParameterValue": {},
+ "Description": {},
+ "Source": {},
+ "ApplyType": {},
+ "DataType": {},
+ "AllowedValues": {},
+ "IsModifiable": {
+ "type": "boolean"
+ },
+ "MinimumEngineVersion": {},
+ "ApplyMethod": {}
+ }
+ }
+ },
+ "S3w": {
+ "type": "structure",
+ "members": {
+ "CharacterSetName": {},
+ "CharacterSetDescription": {}
+ }
+ },
+ "S4h": {
+ "type": "structure",
+ "members": {
+ "DBSnapshotIdentifier": {},
+ "DBSnapshotAttributes": {
+ "type": "list",
+ "member": {
+ "locationName": "DBSnapshotAttribute",
+ "type": "structure",
+ "members": {
+ "AttributeName": {},
+ "AttributeValues": {
+ "shape": "S4k"
+ }
+ },
+ "wrapper": true
+ }
+ }
+ },
+ "wrapper": true
+ },
+ "S4k": {
+ "type": "list",
+ "member": {
+ "locationName": "AttributeValue"
+ }
+ },
+ "S4t": {
+ "type": "structure",
+ "members": {
+ "DBParameterGroupFamily": {},
+ "Marker": {},
+ "Parameters": {
+ "shape": "S3j"
+ }
+ },
+ "wrapper": true
+ },
+ "S5t": {
+ "type": "structure",
+ "members": {
+ "ReservedDBInstanceId": {},
+ "ReservedDBInstancesOfferingId": {},
+ "DBInstanceClass": {},
+ "StartTime": {
+ "type": "timestamp"
+ },
+ "Duration": {
+ "type": "integer"
+ },
+ "FixedPrice": {
+ "type": "double"
+ },
+ "UsagePrice": {
+ "type": "double"
+ },
+ "CurrencyCode": {},
+ "DBInstanceCount": {
+ "type": "integer"
+ },
+ "ProductDescription": {},
+ "OfferingType": {},
+ "MultiAZ": {
+ "type": "boolean"
+ },
+ "State": {},
+ "RecurringCharges": {
+ "shape": "S5v"
+ }
+ },
+ "wrapper": true
+ },
+ "S5v": {
+ "type": "list",
+ "member": {
+ "locationName": "RecurringCharge",
+ "type": "structure",
+ "members": {
+ "RecurringChargeAmount": {
+ "type": "double"
+ },
+ "RecurringChargeFrequency": {}
+ },
+ "wrapper": true
+ }
+ },
+ "S6a": {
+ "type": "structure",
+ "members": {
+ "DBClusterParameterGroupName": {}
+ }
+ },
+ "S6e": {
+ "type": "structure",
+ "members": {
+ "DBParameterGroupName": {}
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/node_modules/aws-sdk/apis/rds-2014-10-31.paginators.json b/node_modules/aws-sdk/apis/rds-2014-10-31.paginators.json
new file mode 100644
index 0000000000000000000000000000000000000000..662845c12c826bfd35ff18cb2f729b66cc4a2139
--- /dev/null
+++ b/node_modules/aws-sdk/apis/rds-2014-10-31.paginators.json
@@ -0,0 +1,110 @@
+{
+ "pagination": {
+ "DescribeDBEngineVersions": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "DBEngineVersions"
+ },
+ "DescribeDBInstances": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "DBInstances"
+ },
+ "DescribeDBLogFiles": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "DescribeDBLogFiles"
+ },
+ "DescribeDBParameterGroups": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "DBParameterGroups"
+ },
+ "DescribeDBParameters": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "Parameters"
+ },
+ "DescribeDBSecurityGroups": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "DBSecurityGroups"
+ },
+ "DescribeDBSnapshots": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "DBSnapshots"
+ },
+ "DescribeDBSubnetGroups": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "DBSubnetGroups"
+ },
+ "DescribeEngineDefaultParameters": {
+ "input_token": "Marker",
+ "output_token": "EngineDefaults.Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "EngineDefaults.Parameters"
+ },
+ "DescribeEventSubscriptions": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "EventSubscriptionsList"
+ },
+ "DescribeEvents": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "Events"
+ },
+ "DescribeOptionGroupOptions": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "OptionGroupOptions"
+ },
+ "DescribeOptionGroups": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "OptionGroupsList"
+ },
+ "DescribeOrderableDBInstanceOptions": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "OrderableDBInstanceOptions"
+ },
+ "DescribeReservedDBInstances": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "ReservedDBInstances"
+ },
+ "DescribeReservedDBInstancesOfferings": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "ReservedDBInstancesOfferings"
+ },
+ "DownloadDBLogFilePortion": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "limit_key": "NumberOfLines",
+ "more_results": "AdditionalDataPending",
+ "result_key": "LogFileData"
+ },
+ "ListTagsForResource": {
+ "result_key": "TagList"
+ }
+ }
+}
diff --git a/node_modules/aws-sdk/apis/rds-2014-10-31.waiters.json b/node_modules/aws-sdk/apis/rds-2014-10-31.waiters.json
new file mode 100644
index 0000000000000000000000000000000000000000..643412798a20d2b0e9b307bf5412fc346cdc0e03
--- /dev/null
+++ b/node_modules/aws-sdk/apis/rds-2014-10-31.waiters.json
@@ -0,0 +1,36 @@
+{
+ "waiters": {
+ "__default__": {
+ "interval": 30,
+ "max_attempts": 60
+ },
+ "__DBInstanceState": {
+ "operation": "DescribeDBInstances",
+ "acceptor_path": "DBInstances[].DBInstanceStatus",
+ "acceptor_type": "output"
+ },
+ "DBInstanceAvailable": {
+ "extends": "__DBInstanceState",
+ "success_value": "available",
+ "failure_value": [
+ "deleted",
+ "deleting",
+ "failed",
+ "incompatible-restore",
+ "incompatible-parameters",
+ "incompatible-parameters",
+ "incompatible-restore"
+ ]
+ },
+ "DBInstanceDeleted": {
+ "extends": "__DBInstanceState",
+ "success_value": "deleted",
+ "failure_value": [
+ "creating",
+ "modifying",
+ "rebooting",
+ "resetting-master-credentials"
+ ]
+ }
+ }
+}
diff --git a/node_modules/aws-sdk/apis/redshift-2012-12-01.min.json b/node_modules/aws-sdk/apis/redshift-2012-12-01.min.json
new file mode 100644
index 0000000000000000000000000000000000000000..7aba9ece1ed8eeaa7fd7ff72a98e9124de19542a
--- /dev/null
+++ b/node_modules/aws-sdk/apis/redshift-2012-12-01.min.json
@@ -0,0 +1,2288 @@
+{
+ "version": "2.0",
+ "metadata": {
+ "apiVersion": "2012-12-01",
+ "endpointPrefix": "redshift",
+ "protocol": "query",
+ "serviceFullName": "Amazon Redshift",
+ "signatureVersion": "v4",
+ "xmlNamespace": "http://redshift.amazonaws.com/doc/2012-12-01/"
+ },
+ "operations": {
+ "AuthorizeClusterSecurityGroupIngress": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ClusterSecurityGroupName"
+ ],
+ "members": {
+ "ClusterSecurityGroupName": {},
+ "CIDRIP": {},
+ "EC2SecurityGroupName": {},
+ "EC2SecurityGroupOwnerId": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "AuthorizeClusterSecurityGroupIngressResult",
+ "type": "structure",
+ "members": {
+ "ClusterSecurityGroup": {
+ "shape": "S4"
+ }
+ }
+ }
+ },
+ "AuthorizeSnapshotAccess": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "SnapshotIdentifier",
+ "AccountWithRestoreAccess"
+ ],
+ "members": {
+ "SnapshotIdentifier": {},
+ "SnapshotClusterIdentifier": {},
+ "AccountWithRestoreAccess": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "AuthorizeSnapshotAccessResult",
+ "type": "structure",
+ "members": {
+ "Snapshot": {
+ "shape": "Sd"
+ }
+ }
+ }
+ },
+ "CopyClusterSnapshot": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "SourceSnapshotIdentifier",
+ "TargetSnapshotIdentifier"
+ ],
+ "members": {
+ "SourceSnapshotIdentifier": {},
+ "SourceSnapshotClusterIdentifier": {},
+ "TargetSnapshotIdentifier": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "CopyClusterSnapshotResult",
+ "type": "structure",
+ "members": {
+ "Snapshot": {
+ "shape": "Sd"
+ }
+ }
+ }
+ },
+ "CreateCluster": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ClusterIdentifier",
+ "NodeType",
+ "MasterUsername",
+ "MasterUserPassword"
+ ],
+ "members": {
+ "DBName": {},
+ "ClusterIdentifier": {},
+ "ClusterType": {},
+ "NodeType": {},
+ "MasterUsername": {},
+ "MasterUserPassword": {},
+ "ClusterSecurityGroups": {
+ "shape": "Sp"
+ },
+ "VpcSecurityGroupIds": {
+ "shape": "Sq"
+ },
+ "ClusterSubnetGroupName": {},
+ "AvailabilityZone": {},
+ "PreferredMaintenanceWindow": {},
+ "ClusterParameterGroupName": {},
+ "AutomatedSnapshotRetentionPeriod": {
+ "type": "integer"
+ },
+ "Port": {
+ "type": "integer"
+ },
+ "ClusterVersion": {},
+ "AllowVersionUpgrade": {
+ "type": "boolean"
+ },
+ "NumberOfNodes": {
+ "type": "integer"
+ },
+ "PubliclyAccessible": {
+ "type": "boolean"
+ },
+ "Encrypted": {
+ "type": "boolean"
+ },
+ "HsmClientCertificateIdentifier": {},
+ "HsmConfigurationIdentifier": {},
+ "ElasticIp": {},
+ "Tags": {
+ "shape": "S7"
+ },
+ "KmsKeyId": {},
+ "AdditionalInfo": {},
+ "IamRoles": {
+ "shape": "St"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "CreateClusterResult",
+ "type": "structure",
+ "members": {
+ "Cluster": {
+ "shape": "Sv"
+ }
+ }
+ }
+ },
+ "CreateClusterParameterGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ParameterGroupName",
+ "ParameterGroupFamily",
+ "Description"
+ ],
+ "members": {
+ "ParameterGroupName": {},
+ "ParameterGroupFamily": {},
+ "Description": {},
+ "Tags": {
+ "shape": "S7"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "CreateClusterParameterGroupResult",
+ "type": "structure",
+ "members": {
+ "ClusterParameterGroup": {
+ "shape": "S1g"
+ }
+ }
+ }
+ },
+ "CreateClusterSecurityGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ClusterSecurityGroupName",
+ "Description"
+ ],
+ "members": {
+ "ClusterSecurityGroupName": {},
+ "Description": {},
+ "Tags": {
+ "shape": "S7"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "CreateClusterSecurityGroupResult",
+ "type": "structure",
+ "members": {
+ "ClusterSecurityGroup": {
+ "shape": "S4"
+ }
+ }
+ }
+ },
+ "CreateClusterSnapshot": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "SnapshotIdentifier",
+ "ClusterIdentifier"
+ ],
+ "members": {
+ "SnapshotIdentifier": {},
+ "ClusterIdentifier": {},
+ "Tags": {
+ "shape": "S7"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "CreateClusterSnapshotResult",
+ "type": "structure",
+ "members": {
+ "Snapshot": {
+ "shape": "Sd"
+ }
+ }
+ }
+ },
+ "CreateClusterSubnetGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ClusterSubnetGroupName",
+ "Description",
+ "SubnetIds"
+ ],
+ "members": {
+ "ClusterSubnetGroupName": {},
+ "Description": {},
+ "SubnetIds": {
+ "shape": "S1m"
+ },
+ "Tags": {
+ "shape": "S7"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "CreateClusterSubnetGroupResult",
+ "type": "structure",
+ "members": {
+ "ClusterSubnetGroup": {
+ "shape": "S1o"
+ }
+ }
+ }
+ },
+ "CreateEventSubscription": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "SubscriptionName",
+ "SnsTopicArn"
+ ],
+ "members": {
+ "SubscriptionName": {},
+ "SnsTopicArn": {},
+ "SourceType": {},
+ "SourceIds": {
+ "shape": "S1t"
+ },
+ "EventCategories": {
+ "shape": "S1u"
+ },
+ "Severity": {},
+ "Enabled": {
+ "type": "boolean"
+ },
+ "Tags": {
+ "shape": "S7"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "CreateEventSubscriptionResult",
+ "type": "structure",
+ "members": {
+ "EventSubscription": {
+ "shape": "S1w"
+ }
+ }
+ }
+ },
+ "CreateHsmClientCertificate": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "HsmClientCertificateIdentifier"
+ ],
+ "members": {
+ "HsmClientCertificateIdentifier": {},
+ "Tags": {
+ "shape": "S7"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "CreateHsmClientCertificateResult",
+ "type": "structure",
+ "members": {
+ "HsmClientCertificate": {
+ "shape": "S1z"
+ }
+ }
+ }
+ },
+ "CreateHsmConfiguration": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "HsmConfigurationIdentifier",
+ "Description",
+ "HsmIpAddress",
+ "HsmPartitionName",
+ "HsmPartitionPassword",
+ "HsmServerPublicCertificate"
+ ],
+ "members": {
+ "HsmConfigurationIdentifier": {},
+ "Description": {},
+ "HsmIpAddress": {},
+ "HsmPartitionName": {},
+ "HsmPartitionPassword": {},
+ "HsmServerPublicCertificate": {},
+ "Tags": {
+ "shape": "S7"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "CreateHsmConfigurationResult",
+ "type": "structure",
+ "members": {
+ "HsmConfiguration": {
+ "shape": "S22"
+ }
+ }
+ }
+ },
+ "CreateSnapshotCopyGrant": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "SnapshotCopyGrantName"
+ ],
+ "members": {
+ "SnapshotCopyGrantName": {},
+ "KmsKeyId": {},
+ "Tags": {
+ "shape": "S7"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "CreateSnapshotCopyGrantResult",
+ "type": "structure",
+ "members": {
+ "SnapshotCopyGrant": {
+ "shape": "S25"
+ }
+ }
+ }
+ },
+ "CreateTags": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ResourceName",
+ "Tags"
+ ],
+ "members": {
+ "ResourceName": {},
+ "Tags": {
+ "shape": "S7"
+ }
+ }
+ }
+ },
+ "DeleteCluster": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ClusterIdentifier"
+ ],
+ "members": {
+ "ClusterIdentifier": {},
+ "SkipFinalClusterSnapshot": {
+ "type": "boolean"
+ },
+ "FinalClusterSnapshotIdentifier": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DeleteClusterResult",
+ "type": "structure",
+ "members": {
+ "Cluster": {
+ "shape": "Sv"
+ }
+ }
+ }
+ },
+ "DeleteClusterParameterGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ParameterGroupName"
+ ],
+ "members": {
+ "ParameterGroupName": {}
+ }
+ }
+ },
+ "DeleteClusterSecurityGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ClusterSecurityGroupName"
+ ],
+ "members": {
+ "ClusterSecurityGroupName": {}
+ }
+ }
+ },
+ "DeleteClusterSnapshot": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "SnapshotIdentifier"
+ ],
+ "members": {
+ "SnapshotIdentifier": {},
+ "SnapshotClusterIdentifier": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DeleteClusterSnapshotResult",
+ "type": "structure",
+ "members": {
+ "Snapshot": {
+ "shape": "Sd"
+ }
+ }
+ }
+ },
+ "DeleteClusterSubnetGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ClusterSubnetGroupName"
+ ],
+ "members": {
+ "ClusterSubnetGroupName": {}
+ }
+ }
+ },
+ "DeleteEventSubscription": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "SubscriptionName"
+ ],
+ "members": {
+ "SubscriptionName": {}
+ }
+ }
+ },
+ "DeleteHsmClientCertificate": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "HsmClientCertificateIdentifier"
+ ],
+ "members": {
+ "HsmClientCertificateIdentifier": {}
+ }
+ }
+ },
+ "DeleteHsmConfiguration": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "HsmConfigurationIdentifier"
+ ],
+ "members": {
+ "HsmConfigurationIdentifier": {}
+ }
+ }
+ },
+ "DeleteSnapshotCopyGrant": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "SnapshotCopyGrantName"
+ ],
+ "members": {
+ "SnapshotCopyGrantName": {}
+ }
+ }
+ },
+ "DeleteTags": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ResourceName",
+ "TagKeys"
+ ],
+ "members": {
+ "ResourceName": {},
+ "TagKeys": {
+ "shape": "S2j"
+ }
+ }
+ }
+ },
+ "DescribeClusterParameterGroups": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "ParameterGroupName": {},
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {},
+ "TagKeys": {
+ "shape": "S2j"
+ },
+ "TagValues": {
+ "shape": "S2l"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeClusterParameterGroupsResult",
+ "type": "structure",
+ "members": {
+ "Marker": {},
+ "ParameterGroups": {
+ "type": "list",
+ "member": {
+ "shape": "S1g",
+ "locationName": "ClusterParameterGroup"
+ }
+ }
+ }
+ }
+ },
+ "DescribeClusterParameters": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ParameterGroupName"
+ ],
+ "members": {
+ "ParameterGroupName": {},
+ "Source": {},
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeClusterParametersResult",
+ "type": "structure",
+ "members": {
+ "Parameters": {
+ "shape": "S2q"
+ },
+ "Marker": {}
+ }
+ }
+ },
+ "DescribeClusterSecurityGroups": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "ClusterSecurityGroupName": {},
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {},
+ "TagKeys": {
+ "shape": "S2j"
+ },
+ "TagValues": {
+ "shape": "S2l"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeClusterSecurityGroupsResult",
+ "type": "structure",
+ "members": {
+ "Marker": {},
+ "ClusterSecurityGroups": {
+ "type": "list",
+ "member": {
+ "shape": "S4",
+ "locationName": "ClusterSecurityGroup"
+ }
+ }
+ }
+ }
+ },
+ "DescribeClusterSnapshots": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "ClusterIdentifier": {},
+ "SnapshotIdentifier": {},
+ "SnapshotType": {},
+ "StartTime": {
+ "type": "timestamp"
+ },
+ "EndTime": {
+ "type": "timestamp"
+ },
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {},
+ "OwnerAccount": {},
+ "TagKeys": {
+ "shape": "S2j"
+ },
+ "TagValues": {
+ "shape": "S2l"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeClusterSnapshotsResult",
+ "type": "structure",
+ "members": {
+ "Marker": {},
+ "Snapshots": {
+ "type": "list",
+ "member": {
+ "shape": "Sd",
+ "locationName": "Snapshot"
+ }
+ }
+ }
+ }
+ },
+ "DescribeClusterSubnetGroups": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "ClusterSubnetGroupName": {},
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {},
+ "TagKeys": {
+ "shape": "S2j"
+ },
+ "TagValues": {
+ "shape": "S2l"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeClusterSubnetGroupsResult",
+ "type": "structure",
+ "members": {
+ "Marker": {},
+ "ClusterSubnetGroups": {
+ "type": "list",
+ "member": {
+ "shape": "S1o",
+ "locationName": "ClusterSubnetGroup"
+ }
+ }
+ }
+ }
+ },
+ "DescribeClusterVersions": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "ClusterVersion": {},
+ "ClusterParameterGroupFamily": {},
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeClusterVersionsResult",
+ "type": "structure",
+ "members": {
+ "Marker": {},
+ "ClusterVersions": {
+ "type": "list",
+ "member": {
+ "locationName": "ClusterVersion",
+ "type": "structure",
+ "members": {
+ "ClusterVersion": {},
+ "ClusterParameterGroupFamily": {},
+ "Description": {}
+ }
+ }
+ }
+ }
+ }
+ },
+ "DescribeClusters": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "ClusterIdentifier": {},
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {},
+ "TagKeys": {
+ "shape": "S2j"
+ },
+ "TagValues": {
+ "shape": "S2l"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeClustersResult",
+ "type": "structure",
+ "members": {
+ "Marker": {},
+ "Clusters": {
+ "type": "list",
+ "member": {
+ "shape": "Sv",
+ "locationName": "Cluster"
+ }
+ }
+ }
+ }
+ },
+ "DescribeDefaultClusterParameters": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ParameterGroupFamily"
+ ],
+ "members": {
+ "ParameterGroupFamily": {},
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeDefaultClusterParametersResult",
+ "type": "structure",
+ "members": {
+ "DefaultClusterParameters": {
+ "type": "structure",
+ "members": {
+ "ParameterGroupFamily": {},
+ "Marker": {},
+ "Parameters": {
+ "shape": "S2q"
+ }
+ },
+ "wrapper": true
+ }
+ }
+ }
+ },
+ "DescribeEventCategories": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "SourceType": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeEventCategoriesResult",
+ "type": "structure",
+ "members": {
+ "EventCategoriesMapList": {
+ "type": "list",
+ "member": {
+ "locationName": "EventCategoriesMap",
+ "type": "structure",
+ "members": {
+ "SourceType": {},
+ "Events": {
+ "type": "list",
+ "member": {
+ "locationName": "EventInfoMap",
+ "type": "structure",
+ "members": {
+ "EventId": {},
+ "EventCategories": {
+ "shape": "S1u"
+ },
+ "EventDescription": {},
+ "Severity": {}
+ },
+ "wrapper": true
+ }
+ }
+ },
+ "wrapper": true
+ }
+ }
+ }
+ }
+ },
+ "DescribeEventSubscriptions": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "SubscriptionName": {},
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeEventSubscriptionsResult",
+ "type": "structure",
+ "members": {
+ "Marker": {},
+ "EventSubscriptionsList": {
+ "type": "list",
+ "member": {
+ "shape": "S1w",
+ "locationName": "EventSubscription"
+ }
+ }
+ }
+ }
+ },
+ "DescribeEvents": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "SourceIdentifier": {},
+ "SourceType": {},
+ "StartTime": {
+ "type": "timestamp"
+ },
+ "EndTime": {
+ "type": "timestamp"
+ },
+ "Duration": {
+ "type": "integer"
+ },
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeEventsResult",
+ "type": "structure",
+ "members": {
+ "Marker": {},
+ "Events": {
+ "type": "list",
+ "member": {
+ "locationName": "Event",
+ "type": "structure",
+ "members": {
+ "SourceIdentifier": {},
+ "SourceType": {},
+ "Message": {},
+ "EventCategories": {
+ "shape": "S1u"
+ },
+ "Severity": {},
+ "Date": {
+ "type": "timestamp"
+ },
+ "EventId": {}
+ }
+ }
+ }
+ }
+ }
+ },
+ "DescribeHsmClientCertificates": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "HsmClientCertificateIdentifier": {},
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {},
+ "TagKeys": {
+ "shape": "S2j"
+ },
+ "TagValues": {
+ "shape": "S2l"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeHsmClientCertificatesResult",
+ "type": "structure",
+ "members": {
+ "Marker": {},
+ "HsmClientCertificates": {
+ "type": "list",
+ "member": {
+ "shape": "S1z",
+ "locationName": "HsmClientCertificate"
+ }
+ }
+ }
+ }
+ },
+ "DescribeHsmConfigurations": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "HsmConfigurationIdentifier": {},
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {},
+ "TagKeys": {
+ "shape": "S2j"
+ },
+ "TagValues": {
+ "shape": "S2l"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeHsmConfigurationsResult",
+ "type": "structure",
+ "members": {
+ "Marker": {},
+ "HsmConfigurations": {
+ "type": "list",
+ "member": {
+ "shape": "S22",
+ "locationName": "HsmConfiguration"
+ }
+ }
+ }
+ }
+ },
+ "DescribeLoggingStatus": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ClusterIdentifier"
+ ],
+ "members": {
+ "ClusterIdentifier": {}
+ }
+ },
+ "output": {
+ "shape": "S3x",
+ "resultWrapper": "DescribeLoggingStatusResult"
+ }
+ },
+ "DescribeOrderableClusterOptions": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "ClusterVersion": {},
+ "NodeType": {},
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeOrderableClusterOptionsResult",
+ "type": "structure",
+ "members": {
+ "OrderableClusterOptions": {
+ "type": "list",
+ "member": {
+ "locationName": "OrderableClusterOption",
+ "type": "structure",
+ "members": {
+ "ClusterVersion": {},
+ "ClusterType": {},
+ "NodeType": {},
+ "AvailabilityZones": {
+ "type": "list",
+ "member": {
+ "shape": "S1r",
+ "locationName": "AvailabilityZone"
+ }
+ }
+ },
+ "wrapper": true
+ }
+ },
+ "Marker": {}
+ }
+ }
+ },
+ "DescribeReservedNodeOfferings": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "ReservedNodeOfferingId": {},
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeReservedNodeOfferingsResult",
+ "type": "structure",
+ "members": {
+ "Marker": {},
+ "ReservedNodeOfferings": {
+ "type": "list",
+ "member": {
+ "locationName": "ReservedNodeOffering",
+ "type": "structure",
+ "members": {
+ "ReservedNodeOfferingId": {},
+ "NodeType": {},
+ "Duration": {
+ "type": "integer"
+ },
+ "FixedPrice": {
+ "type": "double"
+ },
+ "UsagePrice": {
+ "type": "double"
+ },
+ "CurrencyCode": {},
+ "OfferingType": {},
+ "RecurringCharges": {
+ "shape": "S47"
+ }
+ },
+ "wrapper": true
+ }
+ }
+ }
+ }
+ },
+ "DescribeReservedNodes": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "ReservedNodeId": {},
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeReservedNodesResult",
+ "type": "structure",
+ "members": {
+ "Marker": {},
+ "ReservedNodes": {
+ "type": "list",
+ "member": {
+ "shape": "S4c",
+ "locationName": "ReservedNode"
+ }
+ }
+ }
+ }
+ },
+ "DescribeResize": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ClusterIdentifier"
+ ],
+ "members": {
+ "ClusterIdentifier": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeResizeResult",
+ "type": "structure",
+ "members": {
+ "TargetNodeType": {},
+ "TargetNumberOfNodes": {
+ "type": "integer"
+ },
+ "TargetClusterType": {},
+ "Status": {},
+ "ImportTablesCompleted": {
+ "type": "list",
+ "member": {}
+ },
+ "ImportTablesInProgress": {
+ "type": "list",
+ "member": {}
+ },
+ "ImportTablesNotStarted": {
+ "type": "list",
+ "member": {}
+ },
+ "AvgResizeRateInMegaBytesPerSecond": {
+ "type": "double"
+ },
+ "TotalResizeDataInMegaBytes": {
+ "type": "long"
+ },
+ "ProgressInMegaBytes": {
+ "type": "long"
+ },
+ "ElapsedTimeInSeconds": {
+ "type": "long"
+ },
+ "EstimatedTimeToCompletionInSeconds": {
+ "type": "long"
+ }
+ }
+ }
+ },
+ "DescribeSnapshotCopyGrants": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "SnapshotCopyGrantName": {},
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {},
+ "TagKeys": {
+ "shape": "S2j"
+ },
+ "TagValues": {
+ "shape": "S2l"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeSnapshotCopyGrantsResult",
+ "type": "structure",
+ "members": {
+ "Marker": {},
+ "SnapshotCopyGrants": {
+ "type": "list",
+ "member": {
+ "shape": "S25",
+ "locationName": "SnapshotCopyGrant"
+ }
+ }
+ }
+ }
+ },
+ "DescribeTableRestoreStatus": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "ClusterIdentifier": {},
+ "TableRestoreRequestId": {},
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeTableRestoreStatusResult",
+ "type": "structure",
+ "members": {
+ "TableRestoreStatusDetails": {
+ "type": "list",
+ "member": {
+ "shape": "S4q",
+ "locationName": "TableRestoreStatus"
+ }
+ },
+ "Marker": {}
+ }
+ }
+ },
+ "DescribeTags": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "ResourceName": {},
+ "ResourceType": {},
+ "MaxRecords": {
+ "type": "integer"
+ },
+ "Marker": {},
+ "TagKeys": {
+ "shape": "S2j"
+ },
+ "TagValues": {
+ "shape": "S2l"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "DescribeTagsResult",
+ "type": "structure",
+ "members": {
+ "TaggedResources": {
+ "type": "list",
+ "member": {
+ "locationName": "TaggedResource",
+ "type": "structure",
+ "members": {
+ "Tag": {
+ "shape": "S8"
+ },
+ "ResourceName": {},
+ "ResourceType": {}
+ }
+ }
+ },
+ "Marker": {}
+ }
+ }
+ },
+ "DisableLogging": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ClusterIdentifier"
+ ],
+ "members": {
+ "ClusterIdentifier": {}
+ }
+ },
+ "output": {
+ "shape": "S3x",
+ "resultWrapper": "DisableLoggingResult"
+ }
+ },
+ "DisableSnapshotCopy": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ClusterIdentifier"
+ ],
+ "members": {
+ "ClusterIdentifier": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DisableSnapshotCopyResult",
+ "type": "structure",
+ "members": {
+ "Cluster": {
+ "shape": "Sv"
+ }
+ }
+ }
+ },
+ "EnableLogging": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ClusterIdentifier",
+ "BucketName"
+ ],
+ "members": {
+ "ClusterIdentifier": {},
+ "BucketName": {},
+ "S3KeyPrefix": {}
+ }
+ },
+ "output": {
+ "shape": "S3x",
+ "resultWrapper": "EnableLoggingResult"
+ }
+ },
+ "EnableSnapshotCopy": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ClusterIdentifier",
+ "DestinationRegion"
+ ],
+ "members": {
+ "ClusterIdentifier": {},
+ "DestinationRegion": {},
+ "RetentionPeriod": {
+ "type": "integer"
+ },
+ "SnapshotCopyGrantName": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "EnableSnapshotCopyResult",
+ "type": "structure",
+ "members": {
+ "Cluster": {
+ "shape": "Sv"
+ }
+ }
+ }
+ },
+ "ModifyCluster": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ClusterIdentifier"
+ ],
+ "members": {
+ "ClusterIdentifier": {},
+ "ClusterType": {},
+ "NodeType": {},
+ "NumberOfNodes": {
+ "type": "integer"
+ },
+ "ClusterSecurityGroups": {
+ "shape": "Sp"
+ },
+ "VpcSecurityGroupIds": {
+ "shape": "Sq"
+ },
+ "MasterUserPassword": {},
+ "ClusterParameterGroupName": {},
+ "AutomatedSnapshotRetentionPeriod": {
+ "type": "integer"
+ },
+ "PreferredMaintenanceWindow": {},
+ "ClusterVersion": {},
+ "AllowVersionUpgrade": {
+ "type": "boolean"
+ },
+ "HsmClientCertificateIdentifier": {},
+ "HsmConfigurationIdentifier": {},
+ "NewClusterIdentifier": {},
+ "PubliclyAccessible": {
+ "type": "boolean"
+ },
+ "ElasticIp": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "ModifyClusterResult",
+ "type": "structure",
+ "members": {
+ "Cluster": {
+ "shape": "Sv"
+ }
+ }
+ }
+ },
+ "ModifyClusterIamRoles": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ClusterIdentifier"
+ ],
+ "members": {
+ "ClusterIdentifier": {},
+ "AddIamRoles": {
+ "shape": "St"
+ },
+ "RemoveIamRoles": {
+ "shape": "St"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "ModifyClusterIamRolesResult",
+ "type": "structure",
+ "members": {
+ "Cluster": {
+ "shape": "Sv"
+ }
+ }
+ }
+ },
+ "ModifyClusterParameterGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ParameterGroupName",
+ "Parameters"
+ ],
+ "members": {
+ "ParameterGroupName": {},
+ "Parameters": {
+ "shape": "S2q"
+ }
+ }
+ },
+ "output": {
+ "shape": "S57",
+ "resultWrapper": "ModifyClusterParameterGroupResult"
+ }
+ },
+ "ModifyClusterSubnetGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ClusterSubnetGroupName",
+ "SubnetIds"
+ ],
+ "members": {
+ "ClusterSubnetGroupName": {},
+ "Description": {},
+ "SubnetIds": {
+ "shape": "S1m"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "ModifyClusterSubnetGroupResult",
+ "type": "structure",
+ "members": {
+ "ClusterSubnetGroup": {
+ "shape": "S1o"
+ }
+ }
+ }
+ },
+ "ModifyEventSubscription": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "SubscriptionName"
+ ],
+ "members": {
+ "SubscriptionName": {},
+ "SnsTopicArn": {},
+ "SourceType": {},
+ "SourceIds": {
+ "shape": "S1t"
+ },
+ "EventCategories": {
+ "shape": "S1u"
+ },
+ "Severity": {},
+ "Enabled": {
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "ModifyEventSubscriptionResult",
+ "type": "structure",
+ "members": {
+ "EventSubscription": {
+ "shape": "S1w"
+ }
+ }
+ }
+ },
+ "ModifySnapshotCopyRetentionPeriod": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ClusterIdentifier",
+ "RetentionPeriod"
+ ],
+ "members": {
+ "ClusterIdentifier": {},
+ "RetentionPeriod": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "ModifySnapshotCopyRetentionPeriodResult",
+ "type": "structure",
+ "members": {
+ "Cluster": {
+ "shape": "Sv"
+ }
+ }
+ }
+ },
+ "PurchaseReservedNodeOffering": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ReservedNodeOfferingId"
+ ],
+ "members": {
+ "ReservedNodeOfferingId": {},
+ "NodeCount": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "PurchaseReservedNodeOfferingResult",
+ "type": "structure",
+ "members": {
+ "ReservedNode": {
+ "shape": "S4c"
+ }
+ }
+ }
+ },
+ "RebootCluster": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ClusterIdentifier"
+ ],
+ "members": {
+ "ClusterIdentifier": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "RebootClusterResult",
+ "type": "structure",
+ "members": {
+ "Cluster": {
+ "shape": "Sv"
+ }
+ }
+ }
+ },
+ "ResetClusterParameterGroup": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ParameterGroupName"
+ ],
+ "members": {
+ "ParameterGroupName": {},
+ "ResetAllParameters": {
+ "type": "boolean"
+ },
+ "Parameters": {
+ "shape": "S2q"
+ }
+ }
+ },
+ "output": {
+ "shape": "S57",
+ "resultWrapper": "ResetClusterParameterGroupResult"
+ }
+ },
+ "RestoreFromClusterSnapshot": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ClusterIdentifier",
+ "SnapshotIdentifier"
+ ],
+ "members": {
+ "ClusterIdentifier": {},
+ "SnapshotIdentifier": {},
+ "SnapshotClusterIdentifier": {},
+ "Port": {
+ "type": "integer"
+ },
+ "AvailabilityZone": {},
+ "AllowVersionUpgrade": {
+ "type": "boolean"
+ },
+ "ClusterSubnetGroupName": {},
+ "PubliclyAccessible": {
+ "type": "boolean"
+ },
+ "OwnerAccount": {},
+ "HsmClientCertificateIdentifier": {},
+ "HsmConfigurationIdentifier": {},
+ "ElasticIp": {},
+ "ClusterParameterGroupName": {},
+ "ClusterSecurityGroups": {
+ "shape": "Sp"
+ },
+ "VpcSecurityGroupIds": {
+ "shape": "Sq"
+ },
+ "PreferredMaintenanceWindow": {},
+ "AutomatedSnapshotRetentionPeriod": {
+ "type": "integer"
+ },
+ "KmsKeyId": {},
+ "NodeType": {},
+ "AdditionalInfo": {},
+ "IamRoles": {
+ "shape": "St"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "RestoreFromClusterSnapshotResult",
+ "type": "structure",
+ "members": {
+ "Cluster": {
+ "shape": "Sv"
+ }
+ }
+ }
+ },
+ "RestoreTableFromClusterSnapshot": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ClusterIdentifier",
+ "SnapshotIdentifier",
+ "SourceDatabaseName",
+ "SourceTableName",
+ "NewTableName"
+ ],
+ "members": {
+ "ClusterIdentifier": {},
+ "SnapshotIdentifier": {},
+ "SourceDatabaseName": {},
+ "SourceSchemaName": {},
+ "SourceTableName": {},
+ "TargetDatabaseName": {},
+ "TargetSchemaName": {},
+ "NewTableName": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "RestoreTableFromClusterSnapshotResult",
+ "type": "structure",
+ "members": {
+ "TableRestoreStatus": {
+ "shape": "S4q"
+ }
+ }
+ }
+ },
+ "RevokeClusterSecurityGroupIngress": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ClusterSecurityGroupName"
+ ],
+ "members": {
+ "ClusterSecurityGroupName": {},
+ "CIDRIP": {},
+ "EC2SecurityGroupName": {},
+ "EC2SecurityGroupOwnerId": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "RevokeClusterSecurityGroupIngressResult",
+ "type": "structure",
+ "members": {
+ "ClusterSecurityGroup": {
+ "shape": "S4"
+ }
+ }
+ }
+ },
+ "RevokeSnapshotAccess": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "SnapshotIdentifier",
+ "AccountWithRestoreAccess"
+ ],
+ "members": {
+ "SnapshotIdentifier": {},
+ "SnapshotClusterIdentifier": {},
+ "AccountWithRestoreAccess": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "RevokeSnapshotAccessResult",
+ "type": "structure",
+ "members": {
+ "Snapshot": {
+ "shape": "Sd"
+ }
+ }
+ }
+ },
+ "RotateEncryptionKey": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ClusterIdentifier"
+ ],
+ "members": {
+ "ClusterIdentifier": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "RotateEncryptionKeyResult",
+ "type": "structure",
+ "members": {
+ "Cluster": {
+ "shape": "Sv"
+ }
+ }
+ }
+ }
+ },
+ "shapes": {
+ "S4": {
+ "type": "structure",
+ "members": {
+ "ClusterSecurityGroupName": {},
+ "Description": {},
+ "EC2SecurityGroups": {
+ "type": "list",
+ "member": {
+ "locationName": "EC2SecurityGroup",
+ "type": "structure",
+ "members": {
+ "Status": {},
+ "EC2SecurityGroupName": {},
+ "EC2SecurityGroupOwnerId": {},
+ "Tags": {
+ "shape": "S7"
+ }
+ }
+ }
+ },
+ "IPRanges": {
+ "type": "list",
+ "member": {
+ "locationName": "IPRange",
+ "type": "structure",
+ "members": {
+ "Status": {},
+ "CIDRIP": {},
+ "Tags": {
+ "shape": "S7"
+ }
+ }
+ }
+ },
+ "Tags": {
+ "shape": "S7"
+ }
+ },
+ "wrapper": true
+ },
+ "S7": {
+ "type": "list",
+ "member": {
+ "shape": "S8",
+ "locationName": "Tag"
+ }
+ },
+ "S8": {
+ "type": "structure",
+ "members": {
+ "Key": {},
+ "Value": {}
+ }
+ },
+ "Sd": {
+ "type": "structure",
+ "members": {
+ "SnapshotIdentifier": {},
+ "ClusterIdentifier": {},
+ "SnapshotCreateTime": {
+ "type": "timestamp"
+ },
+ "Status": {},
+ "Port": {
+ "type": "integer"
+ },
+ "AvailabilityZone": {},
+ "ClusterCreateTime": {
+ "type": "timestamp"
+ },
+ "MasterUsername": {},
+ "ClusterVersion": {},
+ "SnapshotType": {},
+ "NodeType": {},
+ "NumberOfNodes": {
+ "type": "integer"
+ },
+ "DBName": {},
+ "VpcId": {},
+ "Encrypted": {
+ "type": "boolean"
+ },
+ "KmsKeyId": {},
+ "EncryptedWithHSM": {
+ "type": "boolean"
+ },
+ "AccountsWithRestoreAccess": {
+ "type": "list",
+ "member": {
+ "locationName": "AccountWithRestoreAccess",
+ "type": "structure",
+ "members": {
+ "AccountId": {}
+ }
+ }
+ },
+ "OwnerAccount": {},
+ "TotalBackupSizeInMegaBytes": {
+ "type": "double"
+ },
+ "ActualIncrementalBackupSizeInMegaBytes": {
+ "type": "double"
+ },
+ "BackupProgressInMegaBytes": {
+ "type": "double"
+ },
+ "CurrentBackupRateInMegaBytesPerSecond": {
+ "type": "double"
+ },
+ "EstimatedSecondsToCompletion": {
+ "type": "long"
+ },
+ "ElapsedTimeInSeconds": {
+ "type": "long"
+ },
+ "SourceRegion": {},
+ "Tags": {
+ "shape": "S7"
+ },
+ "RestorableNodeTypes": {
+ "type": "list",
+ "member": {
+ "locationName": "NodeType"
+ }
+ }
+ },
+ "wrapper": true
+ },
+ "Sp": {
+ "type": "list",
+ "member": {
+ "locationName": "ClusterSecurityGroupName"
+ }
+ },
+ "Sq": {
+ "type": "list",
+ "member": {
+ "locationName": "VpcSecurityGroupId"
+ }
+ },
+ "St": {
+ "type": "list",
+ "member": {
+ "locationName": "IamRoleArn"
+ }
+ },
+ "Sv": {
+ "type": "structure",
+ "members": {
+ "ClusterIdentifier": {},
+ "NodeType": {},
+ "ClusterStatus": {},
+ "ModifyStatus": {},
+ "MasterUsername": {},
+ "DBName": {},
+ "Endpoint": {
+ "type": "structure",
+ "members": {
+ "Address": {},
+ "Port": {
+ "type": "integer"
+ }
+ }
+ },
+ "ClusterCreateTime": {
+ "type": "timestamp"
+ },
+ "AutomatedSnapshotRetentionPeriod": {
+ "type": "integer"
+ },
+ "ClusterSecurityGroups": {
+ "type": "list",
+ "member": {
+ "locationName": "ClusterSecurityGroup",
+ "type": "structure",
+ "members": {
+ "ClusterSecurityGroupName": {},
+ "Status": {}
+ }
+ }
+ },
+ "VpcSecurityGroups": {
+ "type": "list",
+ "member": {
+ "locationName": "VpcSecurityGroup",
+ "type": "structure",
+ "members": {
+ "VpcSecurityGroupId": {},
+ "Status": {}
+ }
+ }
+ },
+ "ClusterParameterGroups": {
+ "type": "list",
+ "member": {
+ "locationName": "ClusterParameterGroup",
+ "type": "structure",
+ "members": {
+ "ParameterGroupName": {},
+ "ParameterApplyStatus": {},
+ "ClusterParameterStatusList": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "ParameterName": {},
+ "ParameterApplyStatus": {},
+ "ParameterApplyErrorDescription": {}
+ }
+ }
+ }
+ }
+ }
+ },
+ "ClusterSubnetGroupName": {},
+ "VpcId": {},
+ "AvailabilityZone": {},
+ "PreferredMaintenanceWindow": {},
+ "PendingModifiedValues": {
+ "type": "structure",
+ "members": {
+ "MasterUserPassword": {},
+ "NodeType": {},
+ "NumberOfNodes": {
+ "type": "integer"
+ },
+ "ClusterType": {},
+ "ClusterVersion": {},
+ "AutomatedSnapshotRetentionPeriod": {
+ "type": "integer"
+ },
+ "ClusterIdentifier": {},
+ "PubliclyAccessible": {
+ "type": "boolean"
+ }
+ }
+ },
+ "ClusterVersion": {},
+ "AllowVersionUpgrade": {
+ "type": "boolean"
+ },
+ "NumberOfNodes": {
+ "type": "integer"
+ },
+ "PubliclyAccessible": {
+ "type": "boolean"
+ },
+ "Encrypted": {
+ "type": "boolean"
+ },
+ "RestoreStatus": {
+ "type": "structure",
+ "members": {
+ "Status": {},
+ "CurrentRestoreRateInMegaBytesPerSecond": {
+ "type": "double"
+ },
+ "SnapshotSizeInMegaBytes": {
+ "type": "long"
+ },
+ "ProgressInMegaBytes": {
+ "type": "long"
+ },
+ "ElapsedTimeInSeconds": {
+ "type": "long"
+ },
+ "EstimatedTimeToCompletionInSeconds": {
+ "type": "long"
+ }
+ }
+ },
+ "HsmStatus": {
+ "type": "structure",
+ "members": {
+ "HsmClientCertificateIdentifier": {},
+ "HsmConfigurationIdentifier": {},
+ "Status": {}
+ }
+ },
+ "ClusterSnapshotCopyStatus": {
+ "type": "structure",
+ "members": {
+ "DestinationRegion": {},
+ "RetentionPeriod": {
+ "type": "long"
+ },
+ "SnapshotCopyGrantName": {}
+ }
+ },
+ "ClusterPublicKey": {},
+ "ClusterNodes": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "NodeRole": {},
+ "PrivateIPAddress": {},
+ "PublicIPAddress": {}
+ }
+ }
+ },
+ "ElasticIpStatus": {
+ "type": "structure",
+ "members": {
+ "ElasticIp": {},
+ "Status": {}
+ }
+ },
+ "ClusterRevisionNumber": {},
+ "Tags": {
+ "shape": "S7"
+ },
+ "KmsKeyId": {},
+ "IamRoles": {
+ "type": "list",
+ "member": {
+ "locationName": "ClusterIamRole",
+ "type": "structure",
+ "members": {
+ "IamRoleArn": {},
+ "ApplyStatus": {}
+ }
+ }
+ }
+ },
+ "wrapper": true
+ },
+ "S1g": {
+ "type": "structure",
+ "members": {
+ "ParameterGroupName": {},
+ "ParameterGroupFamily": {},
+ "Description": {},
+ "Tags": {
+ "shape": "S7"
+ }
+ },
+ "wrapper": true
+ },
+ "S1m": {
+ "type": "list",
+ "member": {
+ "locationName": "SubnetIdentifier"
+ }
+ },
+ "S1o": {
+ "type": "structure",
+ "members": {
+ "ClusterSubnetGroupName": {},
+ "Description": {},
+ "VpcId": {},
+ "SubnetGroupStatus": {},
+ "Subnets": {
+ "type": "list",
+ "member": {
+ "locationName": "Subnet",
+ "type": "structure",
+ "members": {
+ "SubnetIdentifier": {},
+ "SubnetAvailabilityZone": {
+ "shape": "S1r"
+ },
+ "SubnetStatus": {}
+ }
+ }
+ },
+ "Tags": {
+ "shape": "S7"
+ }
+ },
+ "wrapper": true
+ },
+ "S1r": {
+ "type": "structure",
+ "members": {
+ "Name": {}
+ },
+ "wrapper": true
+ },
+ "S1t": {
+ "type": "list",
+ "member": {
+ "locationName": "SourceId"
+ }
+ },
+ "S1u": {
+ "type": "list",
+ "member": {
+ "locationName": "EventCategory"
+ }
+ },
+ "S1w": {
+ "type": "structure",
+ "members": {
+ "CustomerAwsId": {},
+ "CustSubscriptionId": {},
+ "SnsTopicArn": {},
+ "Status": {},
+ "SubscriptionCreationTime": {
+ "type": "timestamp"
+ },
+ "SourceType": {},
+ "SourceIdsList": {
+ "shape": "S1t"
+ },
+ "EventCategoriesList": {
+ "shape": "S1u"
+ },
+ "Severity": {},
+ "Enabled": {
+ "type": "boolean"
+ },
+ "Tags": {
+ "shape": "S7"
+ }
+ },
+ "wrapper": true
+ },
+ "S1z": {
+ "type": "structure",
+ "members": {
+ "HsmClientCertificateIdentifier": {},
+ "HsmClientCertificatePublicKey": {},
+ "Tags": {
+ "shape": "S7"
+ }
+ },
+ "wrapper": true
+ },
+ "S22": {
+ "type": "structure",
+ "members": {
+ "HsmConfigurationIdentifier": {},
+ "Description": {},
+ "HsmIpAddress": {},
+ "HsmPartitionName": {},
+ "Tags": {
+ "shape": "S7"
+ }
+ },
+ "wrapper": true
+ },
+ "S25": {
+ "type": "structure",
+ "members": {
+ "SnapshotCopyGrantName": {},
+ "KmsKeyId": {},
+ "Tags": {
+ "shape": "S7"
+ }
+ },
+ "wrapper": true
+ },
+ "S2j": {
+ "type": "list",
+ "member": {
+ "locationName": "TagKey"
+ }
+ },
+ "S2l": {
+ "type": "list",
+ "member": {
+ "locationName": "TagValue"
+ }
+ },
+ "S2q": {
+ "type": "list",
+ "member": {
+ "locationName": "Parameter",
+ "type": "structure",
+ "members": {
+ "ParameterName": {},
+ "ParameterValue": {},
+ "Description": {},
+ "Source": {},
+ "DataType": {},
+ "AllowedValues": {},
+ "ApplyType": {},
+ "IsModifiable": {
+ "type": "boolean"
+ },
+ "MinimumEngineVersion": {}
+ }
+ }
+ },
+ "S3x": {
+ "type": "structure",
+ "members": {
+ "LoggingEnabled": {
+ "type": "boolean"
+ },
+ "BucketName": {},
+ "S3KeyPrefix": {},
+ "LastSuccessfulDeliveryTime": {
+ "type": "timestamp"
+ },
+ "LastFailureTime": {
+ "type": "timestamp"
+ },
+ "LastFailureMessage": {}
+ }
+ },
+ "S47": {
+ "type": "list",
+ "member": {
+ "locationName": "RecurringCharge",
+ "type": "structure",
+ "members": {
+ "RecurringChargeAmount": {
+ "type": "double"
+ },
+ "RecurringChargeFrequency": {}
+ },
+ "wrapper": true
+ }
+ },
+ "S4c": {
+ "type": "structure",
+ "members": {
+ "ReservedNodeId": {},
+ "ReservedNodeOfferingId": {},
+ "NodeType": {},
+ "StartTime": {
+ "type": "timestamp"
+ },
+ "Duration": {
+ "type": "integer"
+ },
+ "FixedPrice": {
+ "type": "double"
+ },
+ "UsagePrice": {
+ "type": "double"
+ },
+ "CurrencyCode": {},
+ "NodeCount": {
+ "type": "integer"
+ },
+ "State": {},
+ "OfferingType": {},
+ "RecurringCharges": {
+ "shape": "S47"
+ }
+ },
+ "wrapper": true
+ },
+ "S4q": {
+ "type": "structure",
+ "members": {
+ "TableRestoreRequestId": {},
+ "Status": {},
+ "Message": {},
+ "RequestTime": {
+ "type": "timestamp"
+ },
+ "ProgressInMegaBytes": {
+ "type": "long"
+ },
+ "TotalDataInMegaBytes": {
+ "type": "long"
+ },
+ "ClusterIdentifier": {},
+ "SnapshotIdentifier": {},
+ "SourceDatabaseName": {},
+ "SourceSchemaName": {},
+ "SourceTableName": {},
+ "TargetDatabaseName": {},
+ "TargetSchemaName": {},
+ "NewTableName": {}
+ },
+ "wrapper": true
+ },
+ "S57": {
+ "type": "structure",
+ "members": {
+ "ParameterGroupName": {},
+ "ParameterGroupStatus": {}
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/node_modules/aws-sdk/apis/redshift-2012-12-01.paginators.json b/node_modules/aws-sdk/apis/redshift-2012-12-01.paginators.json
new file mode 100644
index 0000000000000000000000000000000000000000..03027de356540cc9eb9c337677d3a06a183df232
--- /dev/null
+++ b/node_modules/aws-sdk/apis/redshift-2012-12-01.paginators.json
@@ -0,0 +1,94 @@
+{
+ "pagination": {
+ "DescribeClusterParameterGroups": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "ParameterGroups"
+ },
+ "DescribeClusterParameters": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "Parameters"
+ },
+ "DescribeClusterSecurityGroups": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "ClusterSecurityGroups"
+ },
+ "DescribeClusterSnapshots": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "Snapshots"
+ },
+ "DescribeClusterSubnetGroups": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "ClusterSubnetGroups"
+ },
+ "DescribeClusterVersions": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "ClusterVersions"
+ },
+ "DescribeClusters": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "Clusters"
+ },
+ "DescribeDefaultClusterParameters": {
+ "input_token": "Marker",
+ "output_token": "DefaultClusterParameters.Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "DefaultClusterParameters.Parameters"
+ },
+ "DescribeEventSubscriptions": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "EventSubscriptionsList"
+ },
+ "DescribeEvents": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "Events"
+ },
+ "DescribeHsmClientCertificates": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "HsmClientCertificates"
+ },
+ "DescribeHsmConfigurations": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "HsmConfigurations"
+ },
+ "DescribeOrderableClusterOptions": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "OrderableClusterOptions"
+ },
+ "DescribeReservedNodeOfferings": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "ReservedNodeOfferings"
+ },
+ "DescribeReservedNodes": {
+ "input_token": "Marker",
+ "output_token": "Marker",
+ "limit_key": "MaxRecords",
+ "result_key": "ReservedNodes"
+ }
+ }
+}
diff --git a/node_modules/aws-sdk/apis/redshift-2012-12-01.waiters.json b/node_modules/aws-sdk/apis/redshift-2012-12-01.waiters.json
new file mode 100644
index 0000000000000000000000000000000000000000..8235a1d53fcdda1e45e087757917e079e64aac4b
--- /dev/null
+++ b/node_modules/aws-sdk/apis/redshift-2012-12-01.waiters.json
@@ -0,0 +1,43 @@
+{
+ "waiters": {
+ "__default__": {
+ "acceptor_type": "output"
+ },
+ "__ClusterState": {
+ "interval": 60,
+ "max_attempts": 30,
+ "operation": "DescribeClusters",
+ "acceptor_path": "Clusters[].ClusterStatus"
+ },
+ "ClusterAvailable": {
+ "extends": "__ClusterState",
+ "ignore_errors": [
+ "ClusterNotFound"
+ ],
+ "success_value": "available",
+ "failure_value": [
+ "deleting"
+ ]
+ },
+ "ClusterDeleted": {
+ "extends": "__ClusterState",
+ "success_type": "error",
+ "success_value": "ClusterNotFound",
+ "failure_value": [
+ "creating",
+ "rebooting"
+ ]
+ },
+ "SnapshotAvailable": {
+ "interval": 15,
+ "max_attempts": 20,
+ "operation": "DescribeClusterSnapshots",
+ "acceptor_path": "Snapshots[].Status",
+ "success_value": "available",
+ "failure_value": [
+ "failed",
+ "deleted"
+ ]
+ }
+ }
+}
diff --git a/node_modules/aws-sdk/apis/route53-2013-04-01.min.json b/node_modules/aws-sdk/apis/route53-2013-04-01.min.json
new file mode 100644
index 0000000000000000000000000000000000000000..2eb71de2e654b1219566f525ae2c0105e227617f
--- /dev/null
+++ b/node_modules/aws-sdk/apis/route53-2013-04-01.min.json
@@ -0,0 +1,2232 @@
+{
+ "version": "2.0",
+ "metadata": {
+ "apiVersion": "2013-04-01",
+ "endpointPrefix": "route53",
+ "globalEndpoint": "route53.amazonaws.com",
+ "protocol": "rest-xml",
+ "serviceAbbreviation": "Route 53",
+ "serviceFullName": "Amazon Route 53",
+ "signatureVersion": "v4"
+ },
+ "operations": {
+ "AssociateVPCWithHostedZone": {
+ "http": {
+ "requestUri": "/2013-04-01/hostedzone/{Id}/associatevpc"
+ },
+ "input": {
+ "locationName": "AssociateVPCWithHostedZoneRequest",
+ "xmlNamespace": {
+ "uri": "https://route53.amazonaws.com/doc/2013-04-01/"
+ },
+ "type": "structure",
+ "required": [
+ "HostedZoneId",
+ "VPC"
+ ],
+ "members": {
+ "HostedZoneId": {
+ "location": "uri",
+ "locationName": "Id"
+ },
+ "VPC": {
+ "shape": "S3"
+ },
+ "Comment": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "ChangeInfo"
+ ],
+ "members": {
+ "ChangeInfo": {
+ "shape": "S8"
+ }
+ }
+ }
+ },
+ "ChangeResourceRecordSets": {
+ "http": {
+ "requestUri": "/2013-04-01/hostedzone/{Id}/rrset/"
+ },
+ "input": {
+ "locationName": "ChangeResourceRecordSetsRequest",
+ "xmlNamespace": {
+ "uri": "https://route53.amazonaws.com/doc/2013-04-01/"
+ },
+ "type": "structure",
+ "required": [
+ "HostedZoneId",
+ "ChangeBatch"
+ ],
+ "members": {
+ "HostedZoneId": {
+ "location": "uri",
+ "locationName": "Id"
+ },
+ "ChangeBatch": {
+ "type": "structure",
+ "required": [
+ "Changes"
+ ],
+ "members": {
+ "Comment": {},
+ "Changes": {
+ "shape": "Se"
+ }
+ }
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "ChangeInfo"
+ ],
+ "members": {
+ "ChangeInfo": {
+ "shape": "S8"
+ }
+ }
+ }
+ },
+ "ChangeTagsForResource": {
+ "http": {
+ "requestUri": "/2013-04-01/tags/{ResourceType}/{ResourceId}"
+ },
+ "input": {
+ "locationName": "ChangeTagsForResourceRequest",
+ "xmlNamespace": {
+ "uri": "https://route53.amazonaws.com/doc/2013-04-01/"
+ },
+ "type": "structure",
+ "required": [
+ "ResourceType",
+ "ResourceId"
+ ],
+ "members": {
+ "ResourceType": {
+ "location": "uri",
+ "locationName": "ResourceType"
+ },
+ "ResourceId": {
+ "location": "uri",
+ "locationName": "ResourceId"
+ },
+ "AddTags": {
+ "shape": "S14"
+ },
+ "RemoveTagKeys": {
+ "type": "list",
+ "member": {
+ "locationName": "Key"
+ }
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {}
+ }
+ },
+ "CreateHealthCheck": {
+ "http": {
+ "requestUri": "/2013-04-01/healthcheck",
+ "responseCode": 201
+ },
+ "input": {
+ "locationName": "CreateHealthCheckRequest",
+ "xmlNamespace": {
+ "uri": "https://route53.amazonaws.com/doc/2013-04-01/"
+ },
+ "type": "structure",
+ "required": [
+ "CallerReference",
+ "HealthCheckConfig"
+ ],
+ "members": {
+ "CallerReference": {},
+ "HealthCheckConfig": {
+ "shape": "S1c"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "HealthCheck",
+ "Location"
+ ],
+ "members": {
+ "HealthCheck": {
+ "shape": "S1r"
+ },
+ "Location": {
+ "location": "header",
+ "locationName": "Location"
+ }
+ }
+ }
+ },
+ "CreateHostedZone": {
+ "http": {
+ "requestUri": "/2013-04-01/hostedzone",
+ "responseCode": 201
+ },
+ "input": {
+ "locationName": "CreateHostedZoneRequest",
+ "xmlNamespace": {
+ "uri": "https://route53.amazonaws.com/doc/2013-04-01/"
+ },
+ "type": "structure",
+ "required": [
+ "Name",
+ "CallerReference"
+ ],
+ "members": {
+ "Name": {},
+ "VPC": {
+ "shape": "S3"
+ },
+ "CallerReference": {},
+ "HostedZoneConfig": {
+ "shape": "S1w"
+ },
+ "DelegationSetId": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "HostedZone",
+ "ChangeInfo",
+ "DelegationSet",
+ "Location"
+ ],
+ "members": {
+ "HostedZone": {
+ "shape": "S1z"
+ },
+ "ChangeInfo": {
+ "shape": "S8"
+ },
+ "DelegationSet": {
+ "shape": "S21"
+ },
+ "VPC": {
+ "shape": "S3"
+ },
+ "Location": {
+ "location": "header",
+ "locationName": "Location"
+ }
+ }
+ }
+ },
+ "CreateReusableDelegationSet": {
+ "http": {
+ "requestUri": "/2013-04-01/delegationset",
+ "responseCode": 201
+ },
+ "input": {
+ "locationName": "CreateReusableDelegationSetRequest",
+ "xmlNamespace": {
+ "uri": "https://route53.amazonaws.com/doc/2013-04-01/"
+ },
+ "type": "structure",
+ "required": [
+ "CallerReference"
+ ],
+ "members": {
+ "CallerReference": {},
+ "HostedZoneId": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "DelegationSet",
+ "Location"
+ ],
+ "members": {
+ "DelegationSet": {
+ "shape": "S21"
+ },
+ "Location": {
+ "location": "header",
+ "locationName": "Location"
+ }
+ }
+ }
+ },
+ "CreateTrafficPolicy": {
+ "http": {
+ "requestUri": "/2013-04-01/trafficpolicy",
+ "responseCode": 201
+ },
+ "input": {
+ "locationName": "CreateTrafficPolicyRequest",
+ "xmlNamespace": {
+ "uri": "https://route53.amazonaws.com/doc/2013-04-01/"
+ },
+ "type": "structure",
+ "required": [
+ "Name",
+ "Document"
+ ],
+ "members": {
+ "Name": {},
+ "Document": {},
+ "Comment": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "TrafficPolicy",
+ "Location"
+ ],
+ "members": {
+ "TrafficPolicy": {
+ "shape": "S2a"
+ },
+ "Location": {
+ "location": "header",
+ "locationName": "Location"
+ }
+ }
+ }
+ },
+ "CreateTrafficPolicyInstance": {
+ "http": {
+ "requestUri": "/2013-04-01/trafficpolicyinstance",
+ "responseCode": 201
+ },
+ "input": {
+ "locationName": "CreateTrafficPolicyInstanceRequest",
+ "xmlNamespace": {
+ "uri": "https://route53.amazonaws.com/doc/2013-04-01/"
+ },
+ "type": "structure",
+ "required": [
+ "HostedZoneId",
+ "Name",
+ "TTL",
+ "TrafficPolicyId",
+ "TrafficPolicyVersion"
+ ],
+ "members": {
+ "HostedZoneId": {},
+ "Name": {},
+ "TTL": {
+ "type": "long"
+ },
+ "TrafficPolicyId": {},
+ "TrafficPolicyVersion": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "TrafficPolicyInstance",
+ "Location"
+ ],
+ "members": {
+ "TrafficPolicyInstance": {
+ "shape": "S2f"
+ },
+ "Location": {
+ "location": "header",
+ "locationName": "Location"
+ }
+ }
+ }
+ },
+ "CreateTrafficPolicyVersion": {
+ "http": {
+ "requestUri": "/2013-04-01/trafficpolicy/{Id}",
+ "responseCode": 201
+ },
+ "input": {
+ "locationName": "CreateTrafficPolicyVersionRequest",
+ "xmlNamespace": {
+ "uri": "https://route53.amazonaws.com/doc/2013-04-01/"
+ },
+ "type": "structure",
+ "required": [
+ "Id",
+ "Document"
+ ],
+ "members": {
+ "Id": {
+ "location": "uri",
+ "locationName": "Id"
+ },
+ "Document": {},
+ "Comment": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "TrafficPolicy",
+ "Location"
+ ],
+ "members": {
+ "TrafficPolicy": {
+ "shape": "S2a"
+ },
+ "Location": {
+ "location": "header",
+ "locationName": "Location"
+ }
+ }
+ }
+ },
+ "DeleteHealthCheck": {
+ "http": {
+ "method": "DELETE",
+ "requestUri": "/2013-04-01/healthcheck/{HealthCheckId}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "HealthCheckId"
+ ],
+ "members": {
+ "HealthCheckId": {
+ "location": "uri",
+ "locationName": "HealthCheckId"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {}
+ }
+ },
+ "DeleteHostedZone": {
+ "http": {
+ "method": "DELETE",
+ "requestUri": "/2013-04-01/hostedzone/{Id}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "Id"
+ ],
+ "members": {
+ "Id": {
+ "location": "uri",
+ "locationName": "Id"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "ChangeInfo"
+ ],
+ "members": {
+ "ChangeInfo": {
+ "shape": "S8"
+ }
+ }
+ }
+ },
+ "DeleteReusableDelegationSet": {
+ "http": {
+ "method": "DELETE",
+ "requestUri": "/2013-04-01/delegationset/{Id}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "Id"
+ ],
+ "members": {
+ "Id": {
+ "location": "uri",
+ "locationName": "Id"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {}
+ }
+ },
+ "DeleteTrafficPolicy": {
+ "http": {
+ "method": "DELETE",
+ "requestUri": "/2013-04-01/trafficpolicy/{Id}/{Version}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "Id",
+ "Version"
+ ],
+ "members": {
+ "Id": {
+ "location": "uri",
+ "locationName": "Id"
+ },
+ "Version": {
+ "location": "uri",
+ "locationName": "Version",
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {}
+ }
+ },
+ "DeleteTrafficPolicyInstance": {
+ "http": {
+ "method": "DELETE",
+ "requestUri": "/2013-04-01/trafficpolicyinstance/{Id}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "Id"
+ ],
+ "members": {
+ "Id": {
+ "location": "uri",
+ "locationName": "Id"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {}
+ }
+ },
+ "DisassociateVPCFromHostedZone": {
+ "http": {
+ "requestUri": "/2013-04-01/hostedzone/{Id}/disassociatevpc"
+ },
+ "input": {
+ "locationName": "DisassociateVPCFromHostedZoneRequest",
+ "xmlNamespace": {
+ "uri": "https://route53.amazonaws.com/doc/2013-04-01/"
+ },
+ "type": "structure",
+ "required": [
+ "HostedZoneId",
+ "VPC"
+ ],
+ "members": {
+ "HostedZoneId": {
+ "location": "uri",
+ "locationName": "Id"
+ },
+ "VPC": {
+ "shape": "S3"
+ },
+ "Comment": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "ChangeInfo"
+ ],
+ "members": {
+ "ChangeInfo": {
+ "shape": "S8"
+ }
+ }
+ }
+ },
+ "GetChange": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/2013-04-01/change/{Id}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "Id"
+ ],
+ "members": {
+ "Id": {
+ "location": "uri",
+ "locationName": "Id"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "ChangeInfo"
+ ],
+ "members": {
+ "ChangeInfo": {
+ "shape": "S8"
+ }
+ }
+ }
+ },
+ "GetChangeDetails": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/2013-04-01/changedetails/{Id}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "Id"
+ ],
+ "members": {
+ "Id": {
+ "location": "uri",
+ "locationName": "Id"
+ }
+ },
+ "deprecated": true
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "ChangeBatchRecord"
+ ],
+ "members": {
+ "ChangeBatchRecord": {
+ "shape": "S31"
+ }
+ },
+ "deprecated": true
+ },
+ "deprecated": true
+ },
+ "GetCheckerIpRanges": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/2013-04-01/checkeripranges"
+ },
+ "input": {
+ "type": "structure",
+ "members": {}
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "CheckerIpRanges"
+ ],
+ "members": {
+ "CheckerIpRanges": {
+ "type": "list",
+ "member": {}
+ }
+ }
+ }
+ },
+ "GetGeoLocation": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/2013-04-01/geolocation"
+ },
+ "input": {
+ "type": "structure",
+ "members": {
+ "ContinentCode": {
+ "location": "querystring",
+ "locationName": "continentcode"
+ },
+ "CountryCode": {
+ "location": "querystring",
+ "locationName": "countrycode"
+ },
+ "SubdivisionCode": {
+ "location": "querystring",
+ "locationName": "subdivisioncode"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "GeoLocationDetails"
+ ],
+ "members": {
+ "GeoLocationDetails": {
+ "shape": "S39"
+ }
+ }
+ }
+ },
+ "GetHealthCheck": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/2013-04-01/healthcheck/{HealthCheckId}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "HealthCheckId"
+ ],
+ "members": {
+ "HealthCheckId": {
+ "location": "uri",
+ "locationName": "HealthCheckId"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "HealthCheck"
+ ],
+ "members": {
+ "HealthCheck": {
+ "shape": "S1r"
+ }
+ }
+ }
+ },
+ "GetHealthCheckCount": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/2013-04-01/healthcheckcount"
+ },
+ "input": {
+ "type": "structure",
+ "members": {}
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "HealthCheckCount"
+ ],
+ "members": {
+ "HealthCheckCount": {
+ "type": "long"
+ }
+ }
+ }
+ },
+ "GetHealthCheckLastFailureReason": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/2013-04-01/healthcheck/{HealthCheckId}/lastfailurereason"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "HealthCheckId"
+ ],
+ "members": {
+ "HealthCheckId": {
+ "location": "uri",
+ "locationName": "HealthCheckId"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "HealthCheckObservations"
+ ],
+ "members": {
+ "HealthCheckObservations": {
+ "shape": "S3k"
+ }
+ }
+ }
+ },
+ "GetHealthCheckStatus": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/2013-04-01/healthcheck/{HealthCheckId}/status"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "HealthCheckId"
+ ],
+ "members": {
+ "HealthCheckId": {
+ "location": "uri",
+ "locationName": "HealthCheckId"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "HealthCheckObservations"
+ ],
+ "members": {
+ "HealthCheckObservations": {
+ "shape": "S3k"
+ }
+ }
+ }
+ },
+ "GetHostedZone": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/2013-04-01/hostedzone/{Id}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "Id"
+ ],
+ "members": {
+ "Id": {
+ "location": "uri",
+ "locationName": "Id"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "HostedZone"
+ ],
+ "members": {
+ "HostedZone": {
+ "shape": "S1z"
+ },
+ "DelegationSet": {
+ "shape": "S21"
+ },
+ "VPCs": {
+ "type": "list",
+ "member": {
+ "shape": "S3",
+ "locationName": "VPC"
+ }
+ }
+ }
+ }
+ },
+ "GetHostedZoneCount": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/2013-04-01/hostedzonecount"
+ },
+ "input": {
+ "type": "structure",
+ "members": {}
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "HostedZoneCount"
+ ],
+ "members": {
+ "HostedZoneCount": {
+ "type": "long"
+ }
+ }
+ }
+ },
+ "GetReusableDelegationSet": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/2013-04-01/delegationset/{Id}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "Id"
+ ],
+ "members": {
+ "Id": {
+ "location": "uri",
+ "locationName": "Id"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "DelegationSet"
+ ],
+ "members": {
+ "DelegationSet": {
+ "shape": "S21"
+ }
+ }
+ }
+ },
+ "GetTrafficPolicy": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/2013-04-01/trafficpolicy/{Id}/{Version}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "Id",
+ "Version"
+ ],
+ "members": {
+ "Id": {
+ "location": "uri",
+ "locationName": "Id"
+ },
+ "Version": {
+ "location": "uri",
+ "locationName": "Version",
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "TrafficPolicy"
+ ],
+ "members": {
+ "TrafficPolicy": {
+ "shape": "S2a"
+ }
+ }
+ }
+ },
+ "GetTrafficPolicyInstance": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/2013-04-01/trafficpolicyinstance/{Id}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "Id"
+ ],
+ "members": {
+ "Id": {
+ "location": "uri",
+ "locationName": "Id"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "TrafficPolicyInstance"
+ ],
+ "members": {
+ "TrafficPolicyInstance": {
+ "shape": "S2f"
+ }
+ }
+ }
+ },
+ "GetTrafficPolicyInstanceCount": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/2013-04-01/trafficpolicyinstancecount"
+ },
+ "input": {
+ "type": "structure",
+ "members": {}
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "TrafficPolicyInstanceCount"
+ ],
+ "members": {
+ "TrafficPolicyInstanceCount": {
+ "type": "integer"
+ }
+ }
+ }
+ },
+ "ListChangeBatchesByHostedZone": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/2013-04-01/hostedzone/{Id}/changes"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "HostedZoneId",
+ "StartDate",
+ "EndDate"
+ ],
+ "members": {
+ "HostedZoneId": {
+ "location": "uri",
+ "locationName": "Id"
+ },
+ "StartDate": {
+ "shape": "S46",
+ "location": "querystring",
+ "locationName": "startDate"
+ },
+ "EndDate": {
+ "shape": "S46",
+ "location": "querystring",
+ "locationName": "endDate"
+ },
+ "MaxItems": {
+ "location": "querystring",
+ "locationName": "maxItems"
+ },
+ "Marker": {
+ "location": "querystring",
+ "locationName": "marker"
+ }
+ },
+ "deprecated": true
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "MaxItems",
+ "Marker",
+ "ChangeBatchRecords"
+ ],
+ "members": {
+ "MaxItems": {},
+ "Marker": {},
+ "IsTruncated": {
+ "type": "boolean"
+ },
+ "ChangeBatchRecords": {
+ "shape": "S4b"
+ },
+ "NextMarker": {}
+ },
+ "deprecated": true
+ },
+ "deprecated": true
+ },
+ "ListChangeBatchesByRRSet": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/2013-04-01/hostedzone/{Id}/rrsChanges"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "HostedZoneId",
+ "Name",
+ "Type",
+ "StartDate",
+ "EndDate"
+ ],
+ "members": {
+ "HostedZoneId": {
+ "location": "uri",
+ "locationName": "Id"
+ },
+ "Name": {
+ "location": "querystring",
+ "locationName": "rrSet_name"
+ },
+ "Type": {
+ "location": "querystring",
+ "locationName": "type"
+ },
+ "SetIdentifier": {
+ "location": "querystring",
+ "locationName": "identifier"
+ },
+ "StartDate": {
+ "shape": "S46",
+ "location": "querystring",
+ "locationName": "startDate"
+ },
+ "EndDate": {
+ "shape": "S46",
+ "location": "querystring",
+ "locationName": "endDate"
+ },
+ "MaxItems": {
+ "location": "querystring",
+ "locationName": "maxItems"
+ },
+ "Marker": {
+ "location": "querystring",
+ "locationName": "marker"
+ }
+ },
+ "deprecated": true
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "MaxItems",
+ "Marker",
+ "ChangeBatchRecords"
+ ],
+ "members": {
+ "MaxItems": {},
+ "Marker": {},
+ "IsTruncated": {
+ "type": "boolean"
+ },
+ "ChangeBatchRecords": {
+ "shape": "S4b"
+ },
+ "NextMarker": {}
+ },
+ "deprecated": true
+ },
+ "deprecated": true
+ },
+ "ListGeoLocations": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/2013-04-01/geolocations"
+ },
+ "input": {
+ "type": "structure",
+ "members": {
+ "StartContinentCode": {
+ "location": "querystring",
+ "locationName": "startcontinentcode"
+ },
+ "StartCountryCode": {
+ "location": "querystring",
+ "locationName": "startcountrycode"
+ },
+ "StartSubdivisionCode": {
+ "location": "querystring",
+ "locationName": "startsubdivisioncode"
+ },
+ "MaxItems": {
+ "location": "querystring",
+ "locationName": "maxitems"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "GeoLocationDetailsList",
+ "IsTruncated",
+ "MaxItems"
+ ],
+ "members": {
+ "GeoLocationDetailsList": {
+ "type": "list",
+ "member": {
+ "shape": "S39",
+ "locationName": "GeoLocationDetails"
+ }
+ },
+ "IsTruncated": {
+ "type": "boolean"
+ },
+ "NextContinentCode": {},
+ "NextCountryCode": {},
+ "NextSubdivisionCode": {},
+ "MaxItems": {}
+ }
+ }
+ },
+ "ListHealthChecks": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/2013-04-01/healthcheck"
+ },
+ "input": {
+ "type": "structure",
+ "members": {
+ "Marker": {
+ "location": "querystring",
+ "locationName": "marker"
+ },
+ "MaxItems": {
+ "location": "querystring",
+ "locationName": "maxitems"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "HealthChecks",
+ "Marker",
+ "IsTruncated",
+ "MaxItems"
+ ],
+ "members": {
+ "HealthChecks": {
+ "type": "list",
+ "member": {
+ "shape": "S1r",
+ "locationName": "HealthCheck"
+ }
+ },
+ "Marker": {},
+ "IsTruncated": {
+ "type": "boolean"
+ },
+ "NextMarker": {},
+ "MaxItems": {}
+ }
+ }
+ },
+ "ListHostedZones": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/2013-04-01/hostedzone"
+ },
+ "input": {
+ "type": "structure",
+ "members": {
+ "Marker": {
+ "location": "querystring",
+ "locationName": "marker"
+ },
+ "MaxItems": {
+ "location": "querystring",
+ "locationName": "maxitems"
+ },
+ "DelegationSetId": {
+ "location": "querystring",
+ "locationName": "delegationsetid"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "HostedZones",
+ "Marker",
+ "IsTruncated",
+ "MaxItems"
+ ],
+ "members": {
+ "HostedZones": {
+ "shape": "S4m"
+ },
+ "Marker": {},
+ "IsTruncated": {
+ "type": "boolean"
+ },
+ "NextMarker": {},
+ "MaxItems": {}
+ }
+ }
+ },
+ "ListHostedZonesByName": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/2013-04-01/hostedzonesbyname"
+ },
+ "input": {
+ "type": "structure",
+ "members": {
+ "DNSName": {
+ "location": "querystring",
+ "locationName": "dnsname"
+ },
+ "HostedZoneId": {
+ "location": "querystring",
+ "locationName": "hostedzoneid"
+ },
+ "MaxItems": {
+ "location": "querystring",
+ "locationName": "maxitems"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "HostedZones",
+ "IsTruncated",
+ "MaxItems"
+ ],
+ "members": {
+ "HostedZones": {
+ "shape": "S4m"
+ },
+ "DNSName": {},
+ "HostedZoneId": {},
+ "IsTruncated": {
+ "type": "boolean"
+ },
+ "NextDNSName": {},
+ "NextHostedZoneId": {},
+ "MaxItems": {}
+ }
+ }
+ },
+ "ListResourceRecordSets": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/2013-04-01/hostedzone/{Id}/rrset"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "HostedZoneId"
+ ],
+ "members": {
+ "HostedZoneId": {
+ "location": "uri",
+ "locationName": "Id"
+ },
+ "StartRecordName": {
+ "location": "querystring",
+ "locationName": "name"
+ },
+ "StartRecordType": {
+ "location": "querystring",
+ "locationName": "type"
+ },
+ "StartRecordIdentifier": {
+ "location": "querystring",
+ "locationName": "identifier"
+ },
+ "MaxItems": {
+ "location": "querystring",
+ "locationName": "maxitems"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "ResourceRecordSets",
+ "IsTruncated",
+ "MaxItems"
+ ],
+ "members": {
+ "ResourceRecordSets": {
+ "type": "list",
+ "member": {
+ "shape": "Sh",
+ "locationName": "ResourceRecordSet"
+ }
+ },
+ "IsTruncated": {
+ "type": "boolean"
+ },
+ "NextRecordName": {},
+ "NextRecordType": {},
+ "NextRecordIdentifier": {},
+ "MaxItems": {}
+ }
+ }
+ },
+ "ListReusableDelegationSets": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/2013-04-01/delegationset"
+ },
+ "input": {
+ "type": "structure",
+ "members": {
+ "Marker": {
+ "location": "querystring",
+ "locationName": "marker"
+ },
+ "MaxItems": {
+ "location": "querystring",
+ "locationName": "maxitems"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "DelegationSets",
+ "Marker",
+ "IsTruncated",
+ "MaxItems"
+ ],
+ "members": {
+ "DelegationSets": {
+ "type": "list",
+ "member": {
+ "shape": "S21",
+ "locationName": "DelegationSet"
+ }
+ },
+ "Marker": {},
+ "IsTruncated": {
+ "type": "boolean"
+ },
+ "NextMarker": {},
+ "MaxItems": {}
+ }
+ }
+ },
+ "ListTagsForResource": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/2013-04-01/tags/{ResourceType}/{ResourceId}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "ResourceType",
+ "ResourceId"
+ ],
+ "members": {
+ "ResourceType": {
+ "location": "uri",
+ "locationName": "ResourceType"
+ },
+ "ResourceId": {
+ "location": "uri",
+ "locationName": "ResourceId"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "ResourceTagSet"
+ ],
+ "members": {
+ "ResourceTagSet": {
+ "shape": "S4x"
+ }
+ }
+ }
+ },
+ "ListTagsForResources": {
+ "http": {
+ "requestUri": "/2013-04-01/tags/{ResourceType}"
+ },
+ "input": {
+ "locationName": "ListTagsForResourcesRequest",
+ "xmlNamespace": {
+ "uri": "https://route53.amazonaws.com/doc/2013-04-01/"
+ },
+ "type": "structure",
+ "required": [
+ "ResourceType",
+ "ResourceIds"
+ ],
+ "members": {
+ "ResourceType": {
+ "location": "uri",
+ "locationName": "ResourceType"
+ },
+ "ResourceIds": {
+ "type": "list",
+ "member": {
+ "locationName": "ResourceId"
+ }
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "ResourceTagSets"
+ ],
+ "members": {
+ "ResourceTagSets": {
+ "type": "list",
+ "member": {
+ "shape": "S4x",
+ "locationName": "ResourceTagSet"
+ }
+ }
+ }
+ }
+ },
+ "ListTrafficPolicies": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/2013-04-01/trafficpolicies"
+ },
+ "input": {
+ "type": "structure",
+ "members": {
+ "TrafficPolicyIdMarker": {
+ "location": "querystring",
+ "locationName": "trafficpolicyid"
+ },
+ "MaxItems": {
+ "location": "querystring",
+ "locationName": "maxitems"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "TrafficPolicySummaries",
+ "IsTruncated",
+ "TrafficPolicyIdMarker",
+ "MaxItems"
+ ],
+ "members": {
+ "TrafficPolicySummaries": {
+ "type": "list",
+ "member": {
+ "locationName": "TrafficPolicySummary",
+ "type": "structure",
+ "required": [
+ "Id",
+ "Name",
+ "Type",
+ "LatestVersion",
+ "TrafficPolicyCount"
+ ],
+ "members": {
+ "Id": {},
+ "Name": {},
+ "Type": {},
+ "LatestVersion": {
+ "type": "integer"
+ },
+ "TrafficPolicyCount": {
+ "type": "integer"
+ }
+ }
+ }
+ },
+ "IsTruncated": {
+ "type": "boolean"
+ },
+ "TrafficPolicyIdMarker": {},
+ "MaxItems": {}
+ }
+ }
+ },
+ "ListTrafficPolicyInstances": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/2013-04-01/trafficpolicyinstances"
+ },
+ "input": {
+ "type": "structure",
+ "members": {
+ "HostedZoneIdMarker": {
+ "location": "querystring",
+ "locationName": "hostedzoneid"
+ },
+ "TrafficPolicyInstanceNameMarker": {
+ "location": "querystring",
+ "locationName": "trafficpolicyinstancename"
+ },
+ "TrafficPolicyInstanceTypeMarker": {
+ "location": "querystring",
+ "locationName": "trafficpolicyinstancetype"
+ },
+ "MaxItems": {
+ "location": "querystring",
+ "locationName": "maxitems"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "TrafficPolicyInstances",
+ "IsTruncated",
+ "MaxItems"
+ ],
+ "members": {
+ "TrafficPolicyInstances": {
+ "shape": "S58"
+ },
+ "HostedZoneIdMarker": {},
+ "TrafficPolicyInstanceNameMarker": {},
+ "TrafficPolicyInstanceTypeMarker": {},
+ "IsTruncated": {
+ "type": "boolean"
+ },
+ "MaxItems": {}
+ }
+ }
+ },
+ "ListTrafficPolicyInstancesByHostedZone": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/2013-04-01/trafficpolicyinstances/hostedzone"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "HostedZoneId"
+ ],
+ "members": {
+ "HostedZoneId": {
+ "location": "querystring",
+ "locationName": "id"
+ },
+ "TrafficPolicyInstanceNameMarker": {
+ "location": "querystring",
+ "locationName": "trafficpolicyinstancename"
+ },
+ "TrafficPolicyInstanceTypeMarker": {
+ "location": "querystring",
+ "locationName": "trafficpolicyinstancetype"
+ },
+ "MaxItems": {
+ "location": "querystring",
+ "locationName": "maxitems"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "TrafficPolicyInstances",
+ "IsTruncated",
+ "MaxItems"
+ ],
+ "members": {
+ "TrafficPolicyInstances": {
+ "shape": "S58"
+ },
+ "TrafficPolicyInstanceNameMarker": {},
+ "TrafficPolicyInstanceTypeMarker": {},
+ "IsTruncated": {
+ "type": "boolean"
+ },
+ "MaxItems": {}
+ }
+ }
+ },
+ "ListTrafficPolicyInstancesByPolicy": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/2013-04-01/trafficpolicyinstances/trafficpolicy"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "TrafficPolicyId",
+ "TrafficPolicyVersion"
+ ],
+ "members": {
+ "TrafficPolicyId": {
+ "location": "querystring",
+ "locationName": "id"
+ },
+ "TrafficPolicyVersion": {
+ "location": "querystring",
+ "locationName": "version",
+ "type": "integer"
+ },
+ "HostedZoneIdMarker": {
+ "location": "querystring",
+ "locationName": "hostedzoneid"
+ },
+ "TrafficPolicyInstanceNameMarker": {
+ "location": "querystring",
+ "locationName": "trafficpolicyinstancename"
+ },
+ "TrafficPolicyInstanceTypeMarker": {
+ "location": "querystring",
+ "locationName": "trafficpolicyinstancetype"
+ },
+ "MaxItems": {
+ "location": "querystring",
+ "locationName": "maxitems"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "TrafficPolicyInstances",
+ "IsTruncated",
+ "MaxItems"
+ ],
+ "members": {
+ "TrafficPolicyInstances": {
+ "shape": "S58"
+ },
+ "HostedZoneIdMarker": {},
+ "TrafficPolicyInstanceNameMarker": {},
+ "TrafficPolicyInstanceTypeMarker": {},
+ "IsTruncated": {
+ "type": "boolean"
+ },
+ "MaxItems": {}
+ }
+ }
+ },
+ "ListTrafficPolicyVersions": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/2013-04-01/trafficpolicies/{Id}/versions"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "Id"
+ ],
+ "members": {
+ "Id": {
+ "location": "uri",
+ "locationName": "Id"
+ },
+ "TrafficPolicyVersionMarker": {
+ "location": "querystring",
+ "locationName": "trafficpolicyversion"
+ },
+ "MaxItems": {
+ "location": "querystring",
+ "locationName": "maxitems"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "TrafficPolicies",
+ "IsTruncated",
+ "TrafficPolicyVersionMarker",
+ "MaxItems"
+ ],
+ "members": {
+ "TrafficPolicies": {
+ "type": "list",
+ "member": {
+ "shape": "S2a",
+ "locationName": "TrafficPolicy"
+ }
+ },
+ "IsTruncated": {
+ "type": "boolean"
+ },
+ "TrafficPolicyVersionMarker": {},
+ "MaxItems": {}
+ }
+ }
+ },
+ "UpdateHealthCheck": {
+ "http": {
+ "requestUri": "/2013-04-01/healthcheck/{HealthCheckId}"
+ },
+ "input": {
+ "locationName": "UpdateHealthCheckRequest",
+ "xmlNamespace": {
+ "uri": "https://route53.amazonaws.com/doc/2013-04-01/"
+ },
+ "type": "structure",
+ "required": [
+ "HealthCheckId"
+ ],
+ "members": {
+ "HealthCheckId": {
+ "location": "uri",
+ "locationName": "HealthCheckId"
+ },
+ "HealthCheckVersion": {
+ "type": "long"
+ },
+ "IPAddress": {},
+ "Port": {
+ "type": "integer"
+ },
+ "ResourcePath": {},
+ "FullyQualifiedDomainName": {},
+ "SearchString": {},
+ "FailureThreshold": {
+ "type": "integer"
+ },
+ "Inverted": {
+ "type": "boolean"
+ },
+ "HealthThreshold": {
+ "type": "integer"
+ },
+ "ChildHealthChecks": {
+ "shape": "S1o"
+ },
+ "EnableSNI": {
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "HealthCheck"
+ ],
+ "members": {
+ "HealthCheck": {
+ "shape": "S1r"
+ }
+ }
+ }
+ },
+ "UpdateHostedZoneComment": {
+ "http": {
+ "requestUri": "/2013-04-01/hostedzone/{Id}"
+ },
+ "input": {
+ "locationName": "UpdateHostedZoneCommentRequest",
+ "xmlNamespace": {
+ "uri": "https://route53.amazonaws.com/doc/2013-04-01/"
+ },
+ "type": "structure",
+ "required": [
+ "Id"
+ ],
+ "members": {
+ "Id": {
+ "location": "uri",
+ "locationName": "Id"
+ },
+ "Comment": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "HostedZone"
+ ],
+ "members": {
+ "HostedZone": {
+ "shape": "S1z"
+ }
+ }
+ }
+ },
+ "UpdateTrafficPolicyComment": {
+ "http": {
+ "requestUri": "/2013-04-01/trafficpolicy/{Id}/{Version}"
+ },
+ "input": {
+ "locationName": "UpdateTrafficPolicyCommentRequest",
+ "xmlNamespace": {
+ "uri": "https://route53.amazonaws.com/doc/2013-04-01/"
+ },
+ "type": "structure",
+ "required": [
+ "Id",
+ "Version",
+ "Comment"
+ ],
+ "members": {
+ "Id": {
+ "location": "uri",
+ "locationName": "Id"
+ },
+ "Version": {
+ "location": "uri",
+ "locationName": "Version",
+ "type": "integer"
+ },
+ "Comment": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "TrafficPolicy"
+ ],
+ "members": {
+ "TrafficPolicy": {
+ "shape": "S2a"
+ }
+ }
+ }
+ },
+ "UpdateTrafficPolicyInstance": {
+ "http": {
+ "requestUri": "/2013-04-01/trafficpolicyinstance/{Id}"
+ },
+ "input": {
+ "locationName": "UpdateTrafficPolicyInstanceRequest",
+ "xmlNamespace": {
+ "uri": "https://route53.amazonaws.com/doc/2013-04-01/"
+ },
+ "type": "structure",
+ "required": [
+ "Id",
+ "TTL",
+ "TrafficPolicyId",
+ "TrafficPolicyVersion"
+ ],
+ "members": {
+ "Id": {
+ "location": "uri",
+ "locationName": "Id"
+ },
+ "TTL": {
+ "type": "long"
+ },
+ "TrafficPolicyId": {},
+ "TrafficPolicyVersion": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "TrafficPolicyInstance"
+ ],
+ "members": {
+ "TrafficPolicyInstance": {
+ "shape": "S2f"
+ }
+ }
+ }
+ }
+ },
+ "shapes": {
+ "S3": {
+ "type": "structure",
+ "members": {
+ "VPCRegion": {},
+ "VPCId": {}
+ }
+ },
+ "S8": {
+ "type": "structure",
+ "required": [
+ "Id",
+ "Status",
+ "SubmittedAt"
+ ],
+ "members": {
+ "Id": {},
+ "Status": {},
+ "SubmittedAt": {
+ "type": "timestamp"
+ },
+ "Comment": {}
+ }
+ },
+ "Se": {
+ "type": "list",
+ "member": {
+ "locationName": "Change",
+ "type": "structure",
+ "required": [
+ "Action",
+ "ResourceRecordSet"
+ ],
+ "members": {
+ "Action": {},
+ "ResourceRecordSet": {
+ "shape": "Sh"
+ }
+ }
+ }
+ },
+ "Sh": {
+ "type": "structure",
+ "required": [
+ "Name",
+ "Type"
+ ],
+ "members": {
+ "Name": {},
+ "Type": {},
+ "SetIdentifier": {},
+ "Weight": {
+ "type": "long"
+ },
+ "Region": {},
+ "GeoLocation": {
+ "type": "structure",
+ "members": {
+ "ContinentCode": {},
+ "CountryCode": {},
+ "SubdivisionCode": {}
+ }
+ },
+ "Failover": {},
+ "TTL": {
+ "type": "long"
+ },
+ "ResourceRecords": {
+ "type": "list",
+ "member": {
+ "locationName": "ResourceRecord",
+ "type": "structure",
+ "required": [
+ "Value"
+ ],
+ "members": {
+ "Value": {}
+ }
+ }
+ },
+ "AliasTarget": {
+ "type": "structure",
+ "required": [
+ "HostedZoneId",
+ "DNSName",
+ "EvaluateTargetHealth"
+ ],
+ "members": {
+ "HostedZoneId": {},
+ "DNSName": {},
+ "EvaluateTargetHealth": {
+ "type": "boolean"
+ }
+ }
+ },
+ "HealthCheckId": {},
+ "TrafficPolicyInstanceId": {}
+ }
+ },
+ "S14": {
+ "type": "list",
+ "member": {
+ "locationName": "Tag",
+ "type": "structure",
+ "members": {
+ "Key": {},
+ "Value": {}
+ }
+ }
+ },
+ "S1c": {
+ "type": "structure",
+ "required": [
+ "Type"
+ ],
+ "members": {
+ "IPAddress": {},
+ "Port": {
+ "type": "integer"
+ },
+ "Type": {},
+ "ResourcePath": {},
+ "FullyQualifiedDomainName": {},
+ "SearchString": {},
+ "RequestInterval": {
+ "type": "integer"
+ },
+ "FailureThreshold": {
+ "type": "integer"
+ },
+ "MeasureLatency": {
+ "type": "boolean"
+ },
+ "Inverted": {
+ "type": "boolean"
+ },
+ "HealthThreshold": {
+ "type": "integer"
+ },
+ "ChildHealthChecks": {
+ "shape": "S1o"
+ },
+ "EnableSNI": {
+ "type": "boolean"
+ }
+ }
+ },
+ "S1o": {
+ "type": "list",
+ "member": {
+ "locationName": "ChildHealthCheck"
+ }
+ },
+ "S1r": {
+ "type": "structure",
+ "required": [
+ "Id",
+ "CallerReference",
+ "HealthCheckConfig",
+ "HealthCheckVersion"
+ ],
+ "members": {
+ "Id": {},
+ "CallerReference": {},
+ "HealthCheckConfig": {
+ "shape": "S1c"
+ },
+ "HealthCheckVersion": {
+ "type": "long"
+ }
+ }
+ },
+ "S1w": {
+ "type": "structure",
+ "members": {
+ "Comment": {},
+ "PrivateZone": {
+ "type": "boolean"
+ }
+ }
+ },
+ "S1z": {
+ "type": "structure",
+ "required": [
+ "Id",
+ "Name",
+ "CallerReference"
+ ],
+ "members": {
+ "Id": {},
+ "Name": {},
+ "CallerReference": {},
+ "Config": {
+ "shape": "S1w"
+ },
+ "ResourceRecordSetCount": {
+ "type": "long"
+ }
+ }
+ },
+ "S21": {
+ "type": "structure",
+ "required": [
+ "NameServers"
+ ],
+ "members": {
+ "Id": {},
+ "CallerReference": {},
+ "NameServers": {
+ "type": "list",
+ "member": {
+ "locationName": "NameServer"
+ }
+ }
+ }
+ },
+ "S2a": {
+ "type": "structure",
+ "required": [
+ "Id",
+ "Version",
+ "Name",
+ "Type",
+ "Document"
+ ],
+ "members": {
+ "Id": {},
+ "Version": {
+ "type": "integer"
+ },
+ "Name": {},
+ "Type": {},
+ "Document": {},
+ "Comment": {}
+ }
+ },
+ "S2f": {
+ "type": "structure",
+ "required": [
+ "Id",
+ "HostedZoneId",
+ "Name",
+ "TTL",
+ "State",
+ "Message",
+ "TrafficPolicyId",
+ "TrafficPolicyVersion",
+ "TrafficPolicyType"
+ ],
+ "members": {
+ "Id": {},
+ "HostedZoneId": {},
+ "Name": {},
+ "TTL": {
+ "type": "long"
+ },
+ "State": {},
+ "Message": {},
+ "TrafficPolicyId": {},
+ "TrafficPolicyVersion": {
+ "type": "integer"
+ },
+ "TrafficPolicyType": {}
+ }
+ },
+ "S31": {
+ "type": "structure",
+ "required": [
+ "Id",
+ "Status"
+ ],
+ "members": {
+ "Id": {},
+ "SubmittedAt": {
+ "type": "timestamp"
+ },
+ "Status": {},
+ "Comment": {},
+ "Submitter": {},
+ "Changes": {
+ "shape": "Se"
+ }
+ },
+ "deprecated": true
+ },
+ "S39": {
+ "type": "structure",
+ "members": {
+ "ContinentCode": {},
+ "ContinentName": {},
+ "CountryCode": {},
+ "CountryName": {},
+ "SubdivisionCode": {},
+ "SubdivisionName": {}
+ }
+ },
+ "S3k": {
+ "type": "list",
+ "member": {
+ "locationName": "HealthCheckObservation",
+ "type": "structure",
+ "members": {
+ "IPAddress": {},
+ "StatusReport": {
+ "type": "structure",
+ "members": {
+ "Status": {},
+ "CheckedTime": {
+ "type": "timestamp"
+ }
+ }
+ }
+ }
+ }
+ },
+ "S46": {
+ "type": "string",
+ "deprecated": true
+ },
+ "S4b": {
+ "type": "list",
+ "member": {
+ "shape": "S31",
+ "locationName": "ChangeBatchRecord"
+ },
+ "deprecated": true
+ },
+ "S4m": {
+ "type": "list",
+ "member": {
+ "shape": "S1z",
+ "locationName": "HostedZone"
+ }
+ },
+ "S4x": {
+ "type": "structure",
+ "members": {
+ "ResourceType": {},
+ "ResourceId": {},
+ "Tags": {
+ "shape": "S14"
+ }
+ }
+ },
+ "S58": {
+ "type": "list",
+ "member": {
+ "shape": "S2f",
+ "locationName": "TrafficPolicyInstance"
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/node_modules/aws-sdk/apis/route53-2013-04-01.paginators.json b/node_modules/aws-sdk/apis/route53-2013-04-01.paginators.json
new file mode 100644
index 0000000000000000000000000000000000000000..d472f47a28f68271fb3496f8860c39f4285607a2
--- /dev/null
+++ b/node_modules/aws-sdk/apis/route53-2013-04-01.paginators.json
@@ -0,0 +1,33 @@
+{
+ "pagination": {
+ "ListHealthChecks": {
+ "input_token": "Marker",
+ "output_token": "NextMarker",
+ "more_results": "IsTruncated",
+ "limit_key": "MaxItems",
+ "result_key": "HealthChecks"
+ },
+ "ListHostedZones": {
+ "input_token": "Marker",
+ "output_token": "NextMarker",
+ "more_results": "IsTruncated",
+ "limit_key": "MaxItems",
+ "result_key": "HostedZones"
+ },
+ "ListResourceRecordSets": {
+ "more_results": "IsTruncated",
+ "limit_key": "MaxItems",
+ "result_key": "ResourceRecordSets",
+ "input_token": [
+ "StartRecordName",
+ "StartRecordType",
+ "StartRecordIdentifier"
+ ],
+ "output_token": [
+ "NextRecordName",
+ "NextRecordType",
+ "NextRecordIdentifier"
+ ]
+ }
+ }
+}
diff --git a/node_modules/aws-sdk/apis/route53domains-2014-05-15.min.json b/node_modules/aws-sdk/apis/route53domains-2014-05-15.min.json
new file mode 100644
index 0000000000000000000000000000000000000000..944d268dd59661823884f0d77a5dd6b8a34173a9
--- /dev/null
+++ b/node_modules/aws-sdk/apis/route53domains-2014-05-15.min.json
@@ -0,0 +1,613 @@
+{
+ "version": "2.0",
+ "metadata": {
+ "apiVersion": "2014-05-15",
+ "endpointPrefix": "route53domains",
+ "jsonVersion": "1.1",
+ "serviceFullName": "Amazon Route 53 Domains",
+ "signatureVersion": "v4",
+ "targetPrefix": "Route53Domains_v20140515",
+ "protocol": "json"
+ },
+ "operations": {
+ "CheckDomainAvailability": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DomainName"
+ ],
+ "members": {
+ "DomainName": {},
+ "IdnLangCode": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "Availability"
+ ],
+ "members": {
+ "Availability": {}
+ }
+ }
+ },
+ "DeleteTagsForDomain": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DomainName",
+ "TagsToDelete"
+ ],
+ "members": {
+ "DomainName": {},
+ "TagsToDelete": {
+ "type": "list",
+ "member": {}
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {}
+ }
+ },
+ "DisableDomainAutoRenew": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DomainName"
+ ],
+ "members": {
+ "DomainName": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {}
+ }
+ },
+ "DisableDomainTransferLock": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DomainName"
+ ],
+ "members": {
+ "DomainName": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "OperationId"
+ ],
+ "members": {
+ "OperationId": {}
+ }
+ }
+ },
+ "EnableDomainAutoRenew": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DomainName"
+ ],
+ "members": {
+ "DomainName": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {}
+ }
+ },
+ "EnableDomainTransferLock": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DomainName"
+ ],
+ "members": {
+ "DomainName": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "OperationId"
+ ],
+ "members": {
+ "OperationId": {}
+ }
+ }
+ },
+ "GetDomainDetail": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DomainName"
+ ],
+ "members": {
+ "DomainName": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "DomainName",
+ "Nameservers",
+ "AdminContact",
+ "RegistrantContact",
+ "TechContact"
+ ],
+ "members": {
+ "DomainName": {},
+ "Nameservers": {
+ "shape": "Sl"
+ },
+ "AutoRenew": {
+ "type": "boolean"
+ },
+ "AdminContact": {
+ "shape": "Sr"
+ },
+ "RegistrantContact": {
+ "shape": "Sr"
+ },
+ "TechContact": {
+ "shape": "Sr"
+ },
+ "AdminPrivacy": {
+ "type": "boolean"
+ },
+ "RegistrantPrivacy": {
+ "type": "boolean"
+ },
+ "TechPrivacy": {
+ "type": "boolean"
+ },
+ "RegistrarName": {},
+ "WhoIsServer": {},
+ "RegistrarUrl": {},
+ "AbuseContactEmail": {},
+ "AbuseContactPhone": {},
+ "RegistryDomainId": {},
+ "CreationDate": {
+ "type": "timestamp"
+ },
+ "UpdatedDate": {
+ "type": "timestamp"
+ },
+ "ExpirationDate": {
+ "type": "timestamp"
+ },
+ "Reseller": {},
+ "DnsSec": {},
+ "StatusList": {
+ "type": "list",
+ "member": {}
+ }
+ }
+ }
+ },
+ "GetOperationDetail": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "OperationId"
+ ],
+ "members": {
+ "OperationId": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "OperationId": {},
+ "Status": {},
+ "Message": {},
+ "DomainName": {},
+ "Type": {},
+ "SubmittedDate": {
+ "type": "timestamp"
+ }
+ }
+ }
+ },
+ "ListDomains": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "Marker": {},
+ "MaxItems": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "Domains"
+ ],
+ "members": {
+ "Domains": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "DomainName"
+ ],
+ "members": {
+ "DomainName": {},
+ "AutoRenew": {
+ "type": "boolean"
+ },
+ "TransferLock": {
+ "type": "boolean"
+ },
+ "Expiry": {
+ "type": "timestamp"
+ }
+ }
+ }
+ },
+ "NextPageMarker": {}
+ }
+ }
+ },
+ "ListOperations": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "Marker": {},
+ "MaxItems": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "Operations"
+ ],
+ "members": {
+ "Operations": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "OperationId",
+ "Status",
+ "Type",
+ "SubmittedDate"
+ ],
+ "members": {
+ "OperationId": {},
+ "Status": {},
+ "Type": {},
+ "SubmittedDate": {
+ "type": "timestamp"
+ }
+ }
+ }
+ },
+ "NextPageMarker": {}
+ }
+ }
+ },
+ "ListTagsForDomain": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DomainName"
+ ],
+ "members": {
+ "DomainName": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "TagList"
+ ],
+ "members": {
+ "TagList": {
+ "shape": "S1v"
+ }
+ }
+ }
+ },
+ "RegisterDomain": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DomainName",
+ "DurationInYears",
+ "AdminContact",
+ "RegistrantContact",
+ "TechContact"
+ ],
+ "members": {
+ "DomainName": {},
+ "IdnLangCode": {},
+ "DurationInYears": {
+ "type": "integer"
+ },
+ "AutoRenew": {
+ "type": "boolean"
+ },
+ "AdminContact": {
+ "shape": "Sr"
+ },
+ "RegistrantContact": {
+ "shape": "Sr"
+ },
+ "TechContact": {
+ "shape": "Sr"
+ },
+ "PrivacyProtectAdminContact": {
+ "type": "boolean"
+ },
+ "PrivacyProtectRegistrantContact": {
+ "type": "boolean"
+ },
+ "PrivacyProtectTechContact": {
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "OperationId"
+ ],
+ "members": {
+ "OperationId": {}
+ }
+ }
+ },
+ "RetrieveDomainAuthCode": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DomainName"
+ ],
+ "members": {
+ "DomainName": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "AuthCode"
+ ],
+ "members": {
+ "AuthCode": {
+ "shape": "S23"
+ }
+ }
+ }
+ },
+ "TransferDomain": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DomainName",
+ "DurationInYears",
+ "AdminContact",
+ "RegistrantContact",
+ "TechContact"
+ ],
+ "members": {
+ "DomainName": {},
+ "IdnLangCode": {},
+ "DurationInYears": {
+ "type": "integer"
+ },
+ "Nameservers": {
+ "shape": "Sl"
+ },
+ "AuthCode": {
+ "shape": "S23"
+ },
+ "AutoRenew": {
+ "type": "boolean"
+ },
+ "AdminContact": {
+ "shape": "Sr"
+ },
+ "RegistrantContact": {
+ "shape": "Sr"
+ },
+ "TechContact": {
+ "shape": "Sr"
+ },
+ "PrivacyProtectAdminContact": {
+ "type": "boolean"
+ },
+ "PrivacyProtectRegistrantContact": {
+ "type": "boolean"
+ },
+ "PrivacyProtectTechContact": {
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "OperationId"
+ ],
+ "members": {
+ "OperationId": {}
+ }
+ }
+ },
+ "UpdateDomainContact": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DomainName"
+ ],
+ "members": {
+ "DomainName": {},
+ "AdminContact": {
+ "shape": "Sr"
+ },
+ "RegistrantContact": {
+ "shape": "Sr"
+ },
+ "TechContact": {
+ "shape": "Sr"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "OperationId"
+ ],
+ "members": {
+ "OperationId": {}
+ }
+ }
+ },
+ "UpdateDomainContactPrivacy": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DomainName"
+ ],
+ "members": {
+ "DomainName": {},
+ "AdminPrivacy": {
+ "type": "boolean"
+ },
+ "RegistrantPrivacy": {
+ "type": "boolean"
+ },
+ "TechPrivacy": {
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "OperationId"
+ ],
+ "members": {
+ "OperationId": {}
+ }
+ }
+ },
+ "UpdateDomainNameservers": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DomainName",
+ "Nameservers"
+ ],
+ "members": {
+ "DomainName": {},
+ "FIAuthKey": {},
+ "Nameservers": {
+ "shape": "Sl"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "OperationId"
+ ],
+ "members": {
+ "OperationId": {}
+ }
+ }
+ },
+ "UpdateTagsForDomain": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DomainName"
+ ],
+ "members": {
+ "DomainName": {},
+ "TagsToUpdate": {
+ "shape": "S1v"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {}
+ }
+ }
+ },
+ "shapes": {
+ "Sl": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "Name"
+ ],
+ "members": {
+ "Name": {},
+ "GlueIps": {
+ "type": "list",
+ "member": {}
+ }
+ }
+ }
+ },
+ "Sr": {
+ "type": "structure",
+ "members": {
+ "FirstName": {},
+ "LastName": {},
+ "ContactType": {},
+ "OrganizationName": {},
+ "AddressLine1": {},
+ "AddressLine2": {},
+ "City": {},
+ "State": {},
+ "CountryCode": {},
+ "ZipCode": {},
+ "PhoneNumber": {},
+ "Email": {},
+ "Fax": {},
+ "ExtraParams": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "Name",
+ "Value"
+ ],
+ "members": {
+ "Name": {},
+ "Value": {}
+ }
+ }
+ }
+ },
+ "sensitive": true
+ },
+ "S1v": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "Key": {},
+ "Value": {}
+ }
+ }
+ },
+ "S23": {
+ "type": "string",
+ "sensitive": true
+ }
+ }
+}
diff --git a/node_modules/aws-sdk/apis/route53domains-2014-05-15.paginators.json b/node_modules/aws-sdk/apis/route53domains-2014-05-15.paginators.json
new file mode 100644
index 0000000000000000000000000000000000000000..8d1a73ab26dc28ebea48c709ef0bf7310f40755e
--- /dev/null
+++ b/node_modules/aws-sdk/apis/route53domains-2014-05-15.paginators.json
@@ -0,0 +1,17 @@
+{
+ "version": "1.0",
+ "pagination": {
+ "ListDomains": {
+ "limit_key": "MaxItems",
+ "input_token": "Marker",
+ "output_token": "NextPageMarker",
+ "result_key": "Domains"
+ },
+ "ListOperations": {
+ "limit_key": "MaxItems",
+ "input_token": "Marker",
+ "output_token": "NextPageMarker",
+ "result_key": "Operations"
+ }
+ }
+}
diff --git a/node_modules/aws-sdk/apis/s3-2006-03-01.min.json b/node_modules/aws-sdk/apis/s3-2006-03-01.min.json
new file mode 100644
index 0000000000000000000000000000000000000000..211bb91021056d702ee624cdbd3e5eaefa2f1223
--- /dev/null
+++ b/node_modules/aws-sdk/apis/s3-2006-03-01.min.json
@@ -0,0 +1,3623 @@
+{
+ "version": "2.0",
+ "metadata": {
+ "apiVersion": "2006-03-01",
+ "checksumFormat": "md5",
+ "endpointPrefix": "s3",
+ "globalEndpoint": "s3.amazonaws.com",
+ "protocol": "rest-xml",
+ "serviceAbbreviation": "Amazon S3",
+ "serviceFullName": "Amazon Simple Storage Service",
+ "signatureVersion": "s3",
+ "timestampFormat": "rfc822"
+ },
+ "operations": {
+ "AbortMultipartUpload": {
+ "http": {
+ "method": "DELETE",
+ "requestUri": "/{Bucket}/{Key+}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "Bucket",
+ "Key",
+ "UploadId"
+ ],
+ "members": {
+ "Bucket": {
+ "location": "uri",
+ "locationName": "Bucket"
+ },
+ "Key": {
+ "location": "uri",
+ "locationName": "Key"
+ },
+ "UploadId": {
+ "location": "querystring",
+ "locationName": "uploadId"
+ },
+ "RequestPayer": {
+ "location": "header",
+ "locationName": "x-amz-request-payer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "RequestCharged": {
+ "location": "header",
+ "locationName": "x-amz-request-charged"
+ }
+ }
+ }
+ },
+ "CompleteMultipartUpload": {
+ "http": {
+ "requestUri": "/{Bucket}/{Key+}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "Bucket",
+ "Key",
+ "UploadId"
+ ],
+ "members": {
+ "Bucket": {
+ "location": "uri",
+ "locationName": "Bucket"
+ },
+ "Key": {
+ "location": "uri",
+ "locationName": "Key"
+ },
+ "MultipartUpload": {
+ "locationName": "CompleteMultipartUpload",
+ "xmlNamespace": {
+ "uri": "http://s3.amazonaws.com/doc/2006-03-01/"
+ },
+ "type": "structure",
+ "members": {
+ "Parts": {
+ "locationName": "Part",
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "ETag": {},
+ "PartNumber": {
+ "type": "integer"
+ }
+ }
+ },
+ "flattened": true
+ }
+ }
+ },
+ "UploadId": {
+ "location": "querystring",
+ "locationName": "uploadId"
+ },
+ "RequestPayer": {
+ "location": "header",
+ "locationName": "x-amz-request-payer"
+ }
+ },
+ "payload": "MultipartUpload"
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Location": {},
+ "Bucket": {},
+ "Key": {},
+ "Expiration": {
+ "location": "header",
+ "locationName": "x-amz-expiration"
+ },
+ "ETag": {},
+ "ServerSideEncryption": {
+ "location": "header",
+ "locationName": "x-amz-server-side-encryption"
+ },
+ "VersionId": {
+ "location": "header",
+ "locationName": "x-amz-version-id"
+ },
+ "SSEKMSKeyId": {
+ "shape": "Sj",
+ "location": "header",
+ "locationName": "x-amz-server-side-encryption-aws-kms-key-id"
+ },
+ "RequestCharged": {
+ "location": "header",
+ "locationName": "x-amz-request-charged"
+ }
+ }
+ }
+ },
+ "CopyObject": {
+ "http": {
+ "method": "PUT",
+ "requestUri": "/{Bucket}/{Key+}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "Bucket",
+ "CopySource",
+ "Key"
+ ],
+ "members": {
+ "ACL": {
+ "location": "header",
+ "locationName": "x-amz-acl"
+ },
+ "Bucket": {
+ "location": "uri",
+ "locationName": "Bucket"
+ },
+ "CacheControl": {
+ "location": "header",
+ "locationName": "Cache-Control"
+ },
+ "ContentDisposition": {
+ "location": "header",
+ "locationName": "Content-Disposition"
+ },
+ "ContentEncoding": {
+ "location": "header",
+ "locationName": "Content-Encoding"
+ },
+ "ContentLanguage": {
+ "location": "header",
+ "locationName": "Content-Language"
+ },
+ "ContentType": {
+ "location": "header",
+ "locationName": "Content-Type"
+ },
+ "CopySource": {
+ "location": "header",
+ "locationName": "x-amz-copy-source"
+ },
+ "CopySourceIfMatch": {
+ "location": "header",
+ "locationName": "x-amz-copy-source-if-match"
+ },
+ "CopySourceIfModifiedSince": {
+ "location": "header",
+ "locationName": "x-amz-copy-source-if-modified-since",
+ "type": "timestamp"
+ },
+ "CopySourceIfNoneMatch": {
+ "location": "header",
+ "locationName": "x-amz-copy-source-if-none-match"
+ },
+ "CopySourceIfUnmodifiedSince": {
+ "location": "header",
+ "locationName": "x-amz-copy-source-if-unmodified-since",
+ "type": "timestamp"
+ },
+ "Expires": {
+ "location": "header",
+ "locationName": "Expires",
+ "type": "timestamp"
+ },
+ "GrantFullControl": {
+ "location": "header",
+ "locationName": "x-amz-grant-full-control"
+ },
+ "GrantRead": {
+ "location": "header",
+ "locationName": "x-amz-grant-read"
+ },
+ "GrantReadACP": {
+ "location": "header",
+ "locationName": "x-amz-grant-read-acp"
+ },
+ "GrantWriteACP": {
+ "location": "header",
+ "locationName": "x-amz-grant-write-acp"
+ },
+ "Key": {
+ "location": "uri",
+ "locationName": "Key"
+ },
+ "Metadata": {
+ "shape": "S11",
+ "location": "headers",
+ "locationName": "x-amz-meta-"
+ },
+ "MetadataDirective": {
+ "location": "header",
+ "locationName": "x-amz-metadata-directive"
+ },
+ "ServerSideEncryption": {
+ "location": "header",
+ "locationName": "x-amz-server-side-encryption"
+ },
+ "StorageClass": {
+ "location": "header",
+ "locationName": "x-amz-storage-class"
+ },
+ "WebsiteRedirectLocation": {
+ "location": "header",
+ "locationName": "x-amz-website-redirect-location"
+ },
+ "SSECustomerAlgorithm": {
+ "location": "header",
+ "locationName": "x-amz-server-side-encryption-customer-algorithm"
+ },
+ "SSECustomerKey": {
+ "shape": "S18",
+ "location": "header",
+ "locationName": "x-amz-server-side-encryption-customer-key"
+ },
+ "SSECustomerKeyMD5": {
+ "location": "header",
+ "locationName": "x-amz-server-side-encryption-customer-key-MD5"
+ },
+ "SSEKMSKeyId": {
+ "shape": "Sj",
+ "location": "header",
+ "locationName": "x-amz-server-side-encryption-aws-kms-key-id"
+ },
+ "CopySourceSSECustomerAlgorithm": {
+ "location": "header",
+ "locationName": "x-amz-copy-source-server-side-encryption-customer-algorithm"
+ },
+ "CopySourceSSECustomerKey": {
+ "shape": "S1b",
+ "location": "header",
+ "locationName": "x-amz-copy-source-server-side-encryption-customer-key"
+ },
+ "CopySourceSSECustomerKeyMD5": {
+ "location": "header",
+ "locationName": "x-amz-copy-source-server-side-encryption-customer-key-MD5"
+ },
+ "RequestPayer": {
+ "location": "header",
+ "locationName": "x-amz-request-payer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "CopyObjectResult": {
+ "type": "structure",
+ "members": {
+ "ETag": {},
+ "LastModified": {
+ "type": "timestamp"
+ }
+ }
+ },
+ "Expiration": {
+ "location": "header",
+ "locationName": "x-amz-expiration"
+ },
+ "CopySourceVersionId": {
+ "location": "header",
+ "locationName": "x-amz-copy-source-version-id"
+ },
+ "VersionId": {
+ "location": "header",
+ "locationName": "x-amz-version-id"
+ },
+ "ServerSideEncryption": {
+ "location": "header",
+ "locationName": "x-amz-server-side-encryption"
+ },
+ "SSECustomerAlgorithm": {
+ "location": "header",
+ "locationName": "x-amz-server-side-encryption-customer-algorithm"
+ },
+ "SSECustomerKeyMD5": {
+ "location": "header",
+ "locationName": "x-amz-server-side-encryption-customer-key-MD5"
+ },
+ "SSEKMSKeyId": {
+ "shape": "Sj",
+ "location": "header",
+ "locationName": "x-amz-server-side-encryption-aws-kms-key-id"
+ },
+ "RequestCharged": {
+ "location": "header",
+ "locationName": "x-amz-request-charged"
+ }
+ },
+ "payload": "CopyObjectResult"
+ },
+ "alias": "PutObjectCopy"
+ },
+ "CreateBucket": {
+ "http": {
+ "method": "PUT",
+ "requestUri": "/{Bucket}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "Bucket"
+ ],
+ "members": {
+ "ACL": {
+ "location": "header",
+ "locationName": "x-amz-acl"
+ },
+ "Bucket": {
+ "location": "uri",
+ "locationName": "Bucket"
+ },
+ "CreateBucketConfiguration": {
+ "locationName": "CreateBucketConfiguration",
+ "xmlNamespace": {
+ "uri": "http://s3.amazonaws.com/doc/2006-03-01/"
+ },
+ "type": "structure",
+ "members": {
+ "LocationConstraint": {}
+ }
+ },
+ "GrantFullControl": {
+ "location": "header",
+ "locationName": "x-amz-grant-full-control"
+ },
+ "GrantRead": {
+ "location": "header",
+ "locationName": "x-amz-grant-read"
+ },
+ "GrantReadACP": {
+ "location": "header",
+ "locationName": "x-amz-grant-read-acp"
+ },
+ "GrantWrite": {
+ "location": "header",
+ "locationName": "x-amz-grant-write"
+ },
+ "GrantWriteACP": {
+ "location": "header",
+ "locationName": "x-amz-grant-write-acp"
+ }
+ },
+ "payload": "CreateBucketConfiguration"
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Location": {
+ "location": "header",
+ "locationName": "Location"
+ }
+ }
+ },
+ "alias": "PutBucket"
+ },
+ "CreateMultipartUpload": {
+ "http": {
+ "requestUri": "/{Bucket}/{Key+}?uploads"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "Bucket",
+ "Key"
+ ],
+ "members": {
+ "ACL": {
+ "location": "header",
+ "locationName": "x-amz-acl"
+ },
+ "Bucket": {
+ "location": "uri",
+ "locationName": "Bucket"
+ },
+ "CacheControl": {
+ "location": "header",
+ "locationName": "Cache-Control"
+ },
+ "ContentDisposition": {
+ "location": "header",
+ "locationName": "Content-Disposition"
+ },
+ "ContentEncoding": {
+ "location": "header",
+ "locationName": "Content-Encoding"
+ },
+ "ContentLanguage": {
+ "location": "header",
+ "locationName": "Content-Language"
+ },
+ "ContentType": {
+ "location": "header",
+ "locationName": "Content-Type"
+ },
+ "Expires": {
+ "location": "header",
+ "locationName": "Expires",
+ "type": "timestamp"
+ },
+ "GrantFullControl": {
+ "location": "header",
+ "locationName": "x-amz-grant-full-control"
+ },
+ "GrantRead": {
+ "location": "header",
+ "locationName": "x-amz-grant-read"
+ },
+ "GrantReadACP": {
+ "location": "header",
+ "locationName": "x-amz-grant-read-acp"
+ },
+ "GrantWriteACP": {
+ "location": "header",
+ "locationName": "x-amz-grant-write-acp"
+ },
+ "Key": {
+ "location": "uri",
+ "locationName": "Key"
+ },
+ "Metadata": {
+ "shape": "S11",
+ "location": "headers",
+ "locationName": "x-amz-meta-"
+ },
+ "ServerSideEncryption": {
+ "location": "header",
+ "locationName": "x-amz-server-side-encryption"
+ },
+ "StorageClass": {
+ "location": "header",
+ "locationName": "x-amz-storage-class"
+ },
+ "WebsiteRedirectLocation": {
+ "location": "header",
+ "locationName": "x-amz-website-redirect-location"
+ },
+ "SSECustomerAlgorithm": {
+ "location": "header",
+ "locationName": "x-amz-server-side-encryption-customer-algorithm"
+ },
+ "SSECustomerKey": {
+ "shape": "S18",
+ "location": "header",
+ "locationName": "x-amz-server-side-encryption-customer-key"
+ },
+ "SSECustomerKeyMD5": {
+ "location": "header",
+ "locationName": "x-amz-server-side-encryption-customer-key-MD5"
+ },
+ "SSEKMSKeyId": {
+ "shape": "Sj",
+ "location": "header",
+ "locationName": "x-amz-server-side-encryption-aws-kms-key-id"
+ },
+ "RequestPayer": {
+ "location": "header",
+ "locationName": "x-amz-request-payer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "AbortDate": {
+ "location": "header",
+ "locationName": "x-amz-abort-date",
+ "type": "timestamp"
+ },
+ "AbortRuleId": {
+ "location": "header",
+ "locationName": "x-amz-abort-rule-id"
+ },
+ "Bucket": {
+ "locationName": "Bucket"
+ },
+ "Key": {},
+ "UploadId": {},
+ "ServerSideEncryption": {
+ "location": "header",
+ "locationName": "x-amz-server-side-encryption"
+ },
+ "SSECustomerAlgorithm": {
+ "location": "header",
+ "locationName": "x-amz-server-side-encryption-customer-algorithm"
+ },
+ "SSECustomerKeyMD5": {
+ "location": "header",
+ "locationName": "x-amz-server-side-encryption-customer-key-MD5"
+ },
+ "SSEKMSKeyId": {
+ "shape": "Sj",
+ "location": "header",
+ "locationName": "x-amz-server-side-encryption-aws-kms-key-id"
+ },
+ "RequestCharged": {
+ "location": "header",
+ "locationName": "x-amz-request-charged"
+ }
+ }
+ },
+ "alias": "InitiateMultipartUpload"
+ },
+ "DeleteBucket": {
+ "http": {
+ "method": "DELETE",
+ "requestUri": "/{Bucket}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "Bucket"
+ ],
+ "members": {
+ "Bucket": {
+ "location": "uri",
+ "locationName": "Bucket"
+ }
+ }
+ }
+ },
+ "DeleteBucketCors": {
+ "http": {
+ "method": "DELETE",
+ "requestUri": "/{Bucket}?cors"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "Bucket"
+ ],
+ "members": {
+ "Bucket": {
+ "location": "uri",
+ "locationName": "Bucket"
+ }
+ }
+ }
+ },
+ "DeleteBucketLifecycle": {
+ "http": {
+ "method": "DELETE",
+ "requestUri": "/{Bucket}?lifecycle"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "Bucket"
+ ],
+ "members": {
+ "Bucket": {
+ "location": "uri",
+ "locationName": "Bucket"
+ }
+ }
+ }
+ },
+ "DeleteBucketPolicy": {
+ "http": {
+ "method": "DELETE",
+ "requestUri": "/{Bucket}?policy"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "Bucket"
+ ],
+ "members": {
+ "Bucket": {
+ "location": "uri",
+ "locationName": "Bucket"
+ }
+ }
+ }
+ },
+ "DeleteBucketReplication": {
+ "http": {
+ "method": "DELETE",
+ "requestUri": "/{Bucket}?replication"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "Bucket"
+ ],
+ "members": {
+ "Bucket": {
+ "location": "uri",
+ "locationName": "Bucket"
+ }
+ }
+ }
+ },
+ "DeleteBucketTagging": {
+ "http": {
+ "method": "DELETE",
+ "requestUri": "/{Bucket}?tagging"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "Bucket"
+ ],
+ "members": {
+ "Bucket": {
+ "location": "uri",
+ "locationName": "Bucket"
+ }
+ }
+ }
+ },
+ "DeleteBucketWebsite": {
+ "http": {
+ "method": "DELETE",
+ "requestUri": "/{Bucket}?website"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "Bucket"
+ ],
+ "members": {
+ "Bucket": {
+ "location": "uri",
+ "locationName": "Bucket"
+ }
+ }
+ }
+ },
+ "DeleteObject": {
+ "http": {
+ "method": "DELETE",
+ "requestUri": "/{Bucket}/{Key+}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "Bucket",
+ "Key"
+ ],
+ "members": {
+ "Bucket": {
+ "location": "uri",
+ "locationName": "Bucket"
+ },
+ "Key": {
+ "location": "uri",
+ "locationName": "Key"
+ },
+ "MFA": {
+ "location": "header",
+ "locationName": "x-amz-mfa"
+ },
+ "VersionId": {
+ "location": "querystring",
+ "locationName": "versionId"
+ },
+ "RequestPayer": {
+ "location": "header",
+ "locationName": "x-amz-request-payer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "DeleteMarker": {
+ "location": "header",
+ "locationName": "x-amz-delete-marker",
+ "type": "boolean"
+ },
+ "VersionId": {
+ "location": "header",
+ "locationName": "x-amz-version-id"
+ },
+ "RequestCharged": {
+ "location": "header",
+ "locationName": "x-amz-request-charged"
+ }
+ }
+ }
+ },
+ "DeleteObjects": {
+ "http": {
+ "requestUri": "/{Bucket}?delete"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "Bucket",
+ "Delete"
+ ],
+ "members": {
+ "Bucket": {
+ "location": "uri",
+ "locationName": "Bucket"
+ },
+ "Delete": {
+ "locationName": "Delete",
+ "xmlNamespace": {
+ "uri": "http://s3.amazonaws.com/doc/2006-03-01/"
+ },
+ "type": "structure",
+ "required": [
+ "Objects"
+ ],
+ "members": {
+ "Objects": {
+ "locationName": "Object",
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "Key"
+ ],
+ "members": {
+ "Key": {},
+ "VersionId": {}
+ }
+ },
+ "flattened": true
+ },
+ "Quiet": {
+ "type": "boolean"
+ }
+ }
+ },
+ "MFA": {
+ "location": "header",
+ "locationName": "x-amz-mfa"
+ },
+ "RequestPayer": {
+ "location": "header",
+ "locationName": "x-amz-request-payer"
+ }
+ },
+ "payload": "Delete"
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Deleted": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "Key": {},
+ "VersionId": {},
+ "DeleteMarker": {
+ "type": "boolean"
+ },
+ "DeleteMarkerVersionId": {}
+ }
+ },
+ "flattened": true
+ },
+ "RequestCharged": {
+ "location": "header",
+ "locationName": "x-amz-request-charged"
+ },
+ "Errors": {
+ "locationName": "Error",
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "Key": {},
+ "VersionId": {},
+ "Code": {},
+ "Message": {}
+ }
+ },
+ "flattened": true
+ }
+ }
+ },
+ "alias": "DeleteMultipleObjects"
+ },
+ "GetBucketAcl": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/{Bucket}?acl"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "Bucket"
+ ],
+ "members": {
+ "Bucket": {
+ "location": "uri",
+ "locationName": "Bucket"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Owner": {
+ "shape": "S2h"
+ },
+ "Grants": {
+ "shape": "S2k",
+ "locationName": "AccessControlList"
+ }
+ }
+ }
+ },
+ "GetBucketCors": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/{Bucket}?cors"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "Bucket"
+ ],
+ "members": {
+ "Bucket": {
+ "location": "uri",
+ "locationName": "Bucket"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "CORSRules": {
+ "shape": "S2t",
+ "locationName": "CORSRule"
+ }
+ }
+ }
+ },
+ "GetBucketLifecycle": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/{Bucket}?lifecycle"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "Bucket"
+ ],
+ "members": {
+ "Bucket": {
+ "location": "uri",
+ "locationName": "Bucket"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Rules": {
+ "shape": "S36",
+ "locationName": "Rule"
+ }
+ }
+ },
+ "deprecated": true
+ },
+ "GetBucketLifecycleConfiguration": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/{Bucket}?lifecycle"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "Bucket"
+ ],
+ "members": {
+ "Bucket": {
+ "location": "uri",
+ "locationName": "Bucket"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Rules": {
+ "shape": "S3m",
+ "locationName": "Rule"
+ }
+ }
+ }
+ },
+ "GetBucketLocation": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/{Bucket}?location"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "Bucket"
+ ],
+ "members": {
+ "Bucket": {
+ "location": "uri",
+ "locationName": "Bucket"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "LocationConstraint": {}
+ }
+ }
+ },
+ "GetBucketLogging": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/{Bucket}?logging"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "Bucket"
+ ],
+ "members": {
+ "Bucket": {
+ "location": "uri",
+ "locationName": "Bucket"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "LoggingEnabled": {
+ "shape": "S3u"
+ }
+ }
+ }
+ },
+ "GetBucketNotification": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/{Bucket}?notification"
+ },
+ "input": {
+ "shape": "S40"
+ },
+ "output": {
+ "shape": "S41"
+ },
+ "deprecated": true
+ },
+ "GetBucketNotificationConfiguration": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/{Bucket}?notification"
+ },
+ "input": {
+ "shape": "S40"
+ },
+ "output": {
+ "shape": "S4c"
+ }
+ },
+ "GetBucketPolicy": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/{Bucket}?policy"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "Bucket"
+ ],
+ "members": {
+ "Bucket": {
+ "location": "uri",
+ "locationName": "Bucket"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Policy": {}
+ },
+ "payload": "Policy"
+ }
+ },
+ "GetBucketReplication": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/{Bucket}?replication"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "Bucket"
+ ],
+ "members": {
+ "Bucket": {
+ "location": "uri",
+ "locationName": "Bucket"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "ReplicationConfiguration": {
+ "shape": "S4v"
+ }
+ },
+ "payload": "ReplicationConfiguration"
+ }
+ },
+ "GetBucketRequestPayment": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/{Bucket}?requestPayment"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "Bucket"
+ ],
+ "members": {
+ "Bucket": {
+ "location": "uri",
+ "locationName": "Bucket"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Payer": {}
+ }
+ }
+ },
+ "GetBucketTagging": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/{Bucket}?tagging"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "Bucket"
+ ],
+ "members": {
+ "Bucket": {
+ "location": "uri",
+ "locationName": "Bucket"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "TagSet"
+ ],
+ "members": {
+ "TagSet": {
+ "shape": "S56"
+ }
+ }
+ }
+ },
+ "GetBucketVersioning": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/{Bucket}?versioning"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "Bucket"
+ ],
+ "members": {
+ "Bucket": {
+ "location": "uri",
+ "locationName": "Bucket"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Status": {},
+ "MFADelete": {
+ "locationName": "MfaDelete"
+ }
+ }
+ }
+ },
+ "GetBucketWebsite": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/{Bucket}?website"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "Bucket"
+ ],
+ "members": {
+ "Bucket": {
+ "location": "uri",
+ "locationName": "Bucket"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "RedirectAllRequestsTo": {
+ "shape": "S5f"
+ },
+ "IndexDocument": {
+ "shape": "S5i"
+ },
+ "ErrorDocument": {
+ "shape": "S5k"
+ },
+ "RoutingRules": {
+ "shape": "S5l"
+ }
+ }
+ }
+ },
+ "GetObject": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/{Bucket}/{Key+}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "Bucket",
+ "Key"
+ ],
+ "members": {
+ "Bucket": {
+ "location": "uri",
+ "locationName": "Bucket"
+ },
+ "IfMatch": {
+ "location": "header",
+ "locationName": "If-Match"
+ },
+ "IfModifiedSince": {
+ "location": "header",
+ "locationName": "If-Modified-Since",
+ "type": "timestamp"
+ },
+ "IfNoneMatch": {
+ "location": "header",
+ "locationName": "If-None-Match"
+ },
+ "IfUnmodifiedSince": {
+ "location": "header",
+ "locationName": "If-Unmodified-Since",
+ "type": "timestamp"
+ },
+ "Key": {
+ "location": "uri",
+ "locationName": "Key"
+ },
+ "Range": {
+ "location": "header",
+ "locationName": "Range"
+ },
+ "ResponseCacheControl": {
+ "location": "querystring",
+ "locationName": "response-cache-control"
+ },
+ "ResponseContentDisposition": {
+ "location": "querystring",
+ "locationName": "response-content-disposition"
+ },
+ "ResponseContentEncoding": {
+ "location": "querystring",
+ "locationName": "response-content-encoding"
+ },
+ "ResponseContentLanguage": {
+ "location": "querystring",
+ "locationName": "response-content-language"
+ },
+ "ResponseContentType": {
+ "location": "querystring",
+ "locationName": "response-content-type"
+ },
+ "ResponseExpires": {
+ "location": "querystring",
+ "locationName": "response-expires",
+ "type": "timestamp"
+ },
+ "VersionId": {
+ "location": "querystring",
+ "locationName": "versionId"
+ },
+ "SSECustomerAlgorithm": {
+ "location": "header",
+ "locationName": "x-amz-server-side-encryption-customer-algorithm"
+ },
+ "SSECustomerKey": {
+ "shape": "S18",
+ "location": "header",
+ "locationName": "x-amz-server-side-encryption-customer-key"
+ },
+ "SSECustomerKeyMD5": {
+ "location": "header",
+ "locationName": "x-amz-server-side-encryption-customer-key-MD5"
+ },
+ "RequestPayer": {
+ "location": "header",
+ "locationName": "x-amz-request-payer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Body": {
+ "streaming": true,
+ "type": "blob"
+ },
+ "DeleteMarker": {
+ "location": "header",
+ "locationName": "x-amz-delete-marker",
+ "type": "boolean"
+ },
+ "AcceptRanges": {
+ "location": "header",
+ "locationName": "accept-ranges"
+ },
+ "Expiration": {
+ "location": "header",
+ "locationName": "x-amz-expiration"
+ },
+ "Restore": {
+ "location": "header",
+ "locationName": "x-amz-restore"
+ },
+ "LastModified": {
+ "location": "header",
+ "locationName": "Last-Modified",
+ "type": "timestamp"
+ },
+ "ContentLength": {
+ "location": "header",
+ "locationName": "Content-Length",
+ "type": "integer"
+ },
+ "ETag": {
+ "location": "header",
+ "locationName": "ETag"
+ },
+ "MissingMeta": {
+ "location": "header",
+ "locationName": "x-amz-missing-meta",
+ "type": "integer"
+ },
+ "VersionId": {
+ "location": "header",
+ "locationName": "x-amz-version-id"
+ },
+ "CacheControl": {
+ "location": "header",
+ "locationName": "Cache-Control"
+ },
+ "ContentDisposition": {
+ "location": "header",
+ "locationName": "Content-Disposition"
+ },
+ "ContentEncoding": {
+ "location": "header",
+ "locationName": "Content-Encoding"
+ },
+ "ContentLanguage": {
+ "location": "header",
+ "locationName": "Content-Language"
+ },
+ "ContentRange": {
+ "location": "header",
+ "locationName": "Content-Range"
+ },
+ "ContentType": {
+ "location": "header",
+ "locationName": "Content-Type"
+ },
+ "Expires": {
+ "location": "header",
+ "locationName": "Expires",
+ "type": "timestamp"
+ },
+ "WebsiteRedirectLocation": {
+ "location": "header",
+ "locationName": "x-amz-website-redirect-location"
+ },
+ "ServerSideEncryption": {
+ "location": "header",
+ "locationName": "x-amz-server-side-encryption"
+ },
+ "Metadata": {
+ "shape": "S11",
+ "location": "headers",
+ "locationName": "x-amz-meta-"
+ },
+ "SSECustomerAlgorithm": {
+ "location": "header",
+ "locationName": "x-amz-server-side-encryption-customer-algorithm"
+ },
+ "SSECustomerKeyMD5": {
+ "location": "header",
+ "locationName": "x-amz-server-side-encryption-customer-key-MD5"
+ },
+ "SSEKMSKeyId": {
+ "shape": "Sj",
+ "location": "header",
+ "locationName": "x-amz-server-side-encryption-aws-kms-key-id"
+ },
+ "StorageClass": {
+ "location": "header",
+ "locationName": "x-amz-storage-class"
+ },
+ "RequestCharged": {
+ "location": "header",
+ "locationName": "x-amz-request-charged"
+ },
+ "ReplicationStatus": {
+ "location": "header",
+ "locationName": "x-amz-replication-status"
+ }
+ },
+ "payload": "Body"
+ }
+ },
+ "GetObjectAcl": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/{Bucket}/{Key+}?acl"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "Bucket",
+ "Key"
+ ],
+ "members": {
+ "Bucket": {
+ "location": "uri",
+ "locationName": "Bucket"
+ },
+ "Key": {
+ "location": "uri",
+ "locationName": "Key"
+ },
+ "VersionId": {
+ "location": "querystring",
+ "locationName": "versionId"
+ },
+ "RequestPayer": {
+ "location": "header",
+ "locationName": "x-amz-request-payer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Owner": {
+ "shape": "S2h"
+ },
+ "Grants": {
+ "shape": "S2k",
+ "locationName": "AccessControlList"
+ },
+ "RequestCharged": {
+ "location": "header",
+ "locationName": "x-amz-request-charged"
+ }
+ }
+ }
+ },
+ "GetObjectTorrent": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/{Bucket}/{Key+}?torrent"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "Bucket",
+ "Key"
+ ],
+ "members": {
+ "Bucket": {
+ "location": "uri",
+ "locationName": "Bucket"
+ },
+ "Key": {
+ "location": "uri",
+ "locationName": "Key"
+ },
+ "RequestPayer": {
+ "location": "header",
+ "locationName": "x-amz-request-payer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Body": {
+ "streaming": true,
+ "type": "blob"
+ },
+ "RequestCharged": {
+ "location": "header",
+ "locationName": "x-amz-request-charged"
+ }
+ },
+ "payload": "Body"
+ }
+ },
+ "HeadBucket": {
+ "http": {
+ "method": "HEAD",
+ "requestUri": "/{Bucket}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "Bucket"
+ ],
+ "members": {
+ "Bucket": {
+ "location": "uri",
+ "locationName": "Bucket"
+ }
+ }
+ }
+ },
+ "HeadObject": {
+ "http": {
+ "method": "HEAD",
+ "requestUri": "/{Bucket}/{Key+}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "Bucket",
+ "Key"
+ ],
+ "members": {
+ "Bucket": {
+ "location": "uri",
+ "locationName": "Bucket"
+ },
+ "IfMatch": {
+ "location": "header",
+ "locationName": "If-Match"
+ },
+ "IfModifiedSince": {
+ "location": "header",
+ "locationName": "If-Modified-Since",
+ "type": "timestamp"
+ },
+ "IfNoneMatch": {
+ "location": "header",
+ "locationName": "If-None-Match"
+ },
+ "IfUnmodifiedSince": {
+ "location": "header",
+ "locationName": "If-Unmodified-Since",
+ "type": "timestamp"
+ },
+ "Key": {
+ "location": "uri",
+ "locationName": "Key"
+ },
+ "Range": {
+ "location": "header",
+ "locationName": "Range"
+ },
+ "VersionId": {
+ "location": "querystring",
+ "locationName": "versionId"
+ },
+ "SSECustomerAlgorithm": {
+ "location": "header",
+ "locationName": "x-amz-server-side-encryption-customer-algorithm"
+ },
+ "SSECustomerKey": {
+ "shape": "S18",
+ "location": "header",
+ "locationName": "x-amz-server-side-encryption-customer-key"
+ },
+ "SSECustomerKeyMD5": {
+ "location": "header",
+ "locationName": "x-amz-server-side-encryption-customer-key-MD5"
+ },
+ "RequestPayer": {
+ "location": "header",
+ "locationName": "x-amz-request-payer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "DeleteMarker": {
+ "location": "header",
+ "locationName": "x-amz-delete-marker",
+ "type": "boolean"
+ },
+ "AcceptRanges": {
+ "location": "header",
+ "locationName": "accept-ranges"
+ },
+ "Expiration": {
+ "location": "header",
+ "locationName": "x-amz-expiration"
+ },
+ "Restore": {
+ "location": "header",
+ "locationName": "x-amz-restore"
+ },
+ "LastModified": {
+ "location": "header",
+ "locationName": "Last-Modified",
+ "type": "timestamp"
+ },
+ "ContentLength": {
+ "location": "header",
+ "locationName": "Content-Length",
+ "type": "integer"
+ },
+ "ETag": {
+ "location": "header",
+ "locationName": "ETag"
+ },
+ "MissingMeta": {
+ "location": "header",
+ "locationName": "x-amz-missing-meta",
+ "type": "integer"
+ },
+ "VersionId": {
+ "location": "header",
+ "locationName": "x-amz-version-id"
+ },
+ "CacheControl": {
+ "location": "header",
+ "locationName": "Cache-Control"
+ },
+ "ContentDisposition": {
+ "location": "header",
+ "locationName": "Content-Disposition"
+ },
+ "ContentEncoding": {
+ "location": "header",
+ "locationName": "Content-Encoding"
+ },
+ "ContentLanguage": {
+ "location": "header",
+ "locationName": "Content-Language"
+ },
+ "ContentType": {
+ "location": "header",
+ "locationName": "Content-Type"
+ },
+ "Expires": {
+ "location": "header",
+ "locationName": "Expires",
+ "type": "timestamp"
+ },
+ "WebsiteRedirectLocation": {
+ "location": "header",
+ "locationName": "x-amz-website-redirect-location"
+ },
+ "ServerSideEncryption": {
+ "location": "header",
+ "locationName": "x-amz-server-side-encryption"
+ },
+ "Metadata": {
+ "shape": "S11",
+ "location": "headers",
+ "locationName": "x-amz-meta-"
+ },
+ "SSECustomerAlgorithm": {
+ "location": "header",
+ "locationName": "x-amz-server-side-encryption-customer-algorithm"
+ },
+ "SSECustomerKeyMD5": {
+ "location": "header",
+ "locationName": "x-amz-server-side-encryption-customer-key-MD5"
+ },
+ "SSEKMSKeyId": {
+ "shape": "Sj",
+ "location": "header",
+ "locationName": "x-amz-server-side-encryption-aws-kms-key-id"
+ },
+ "StorageClass": {
+ "location": "header",
+ "locationName": "x-amz-storage-class"
+ },
+ "RequestCharged": {
+ "location": "header",
+ "locationName": "x-amz-request-charged"
+ },
+ "ReplicationStatus": {
+ "location": "header",
+ "locationName": "x-amz-replication-status"
+ }
+ }
+ }
+ },
+ "ListBuckets": {
+ "http": {
+ "method": "GET"
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Buckets": {
+ "type": "list",
+ "member": {
+ "locationName": "Bucket",
+ "type": "structure",
+ "members": {
+ "Name": {},
+ "CreationDate": {
+ "type": "timestamp"
+ }
+ }
+ }
+ },
+ "Owner": {
+ "shape": "S2h"
+ }
+ }
+ },
+ "alias": "GetService"
+ },
+ "ListMultipartUploads": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/{Bucket}?uploads"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "Bucket"
+ ],
+ "members": {
+ "Bucket": {
+ "location": "uri",
+ "locationName": "Bucket"
+ },
+ "Delimiter": {
+ "location": "querystring",
+ "locationName": "delimiter"
+ },
+ "EncodingType": {
+ "location": "querystring",
+ "locationName": "encoding-type"
+ },
+ "KeyMarker": {
+ "location": "querystring",
+ "locationName": "key-marker"
+ },
+ "MaxUploads": {
+ "location": "querystring",
+ "locationName": "max-uploads",
+ "type": "integer"
+ },
+ "Prefix": {
+ "location": "querystring",
+ "locationName": "prefix"
+ },
+ "UploadIdMarker": {
+ "location": "querystring",
+ "locationName": "upload-id-marker"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Bucket": {},
+ "KeyMarker": {},
+ "UploadIdMarker": {},
+ "NextKeyMarker": {},
+ "Prefix": {},
+ "Delimiter": {},
+ "NextUploadIdMarker": {},
+ "MaxUploads": {
+ "type": "integer"
+ },
+ "IsTruncated": {
+ "type": "boolean"
+ },
+ "Uploads": {
+ "locationName": "Upload",
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "UploadId": {},
+ "Key": {},
+ "Initiated": {
+ "type": "timestamp"
+ },
+ "StorageClass": {},
+ "Owner": {
+ "shape": "S2h"
+ },
+ "Initiator": {
+ "shape": "S72"
+ }
+ }
+ },
+ "flattened": true
+ },
+ "CommonPrefixes": {
+ "shape": "S73"
+ },
+ "EncodingType": {}
+ }
+ }
+ },
+ "ListObjectVersions": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/{Bucket}?versions"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "Bucket"
+ ],
+ "members": {
+ "Bucket": {
+ "location": "uri",
+ "locationName": "Bucket"
+ },
+ "Delimiter": {
+ "location": "querystring",
+ "locationName": "delimiter"
+ },
+ "EncodingType": {
+ "location": "querystring",
+ "locationName": "encoding-type"
+ },
+ "KeyMarker": {
+ "location": "querystring",
+ "locationName": "key-marker"
+ },
+ "MaxKeys": {
+ "location": "querystring",
+ "locationName": "max-keys",
+ "type": "integer"
+ },
+ "Prefix": {
+ "location": "querystring",
+ "locationName": "prefix"
+ },
+ "VersionIdMarker": {
+ "location": "querystring",
+ "locationName": "version-id-marker"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "IsTruncated": {
+ "type": "boolean"
+ },
+ "KeyMarker": {},
+ "VersionIdMarker": {},
+ "NextKeyMarker": {},
+ "NextVersionIdMarker": {},
+ "Versions": {
+ "locationName": "Version",
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "ETag": {},
+ "Size": {
+ "type": "integer"
+ },
+ "StorageClass": {},
+ "Key": {},
+ "VersionId": {},
+ "IsLatest": {
+ "type": "boolean"
+ },
+ "LastModified": {
+ "type": "timestamp"
+ },
+ "Owner": {
+ "shape": "S2h"
+ }
+ }
+ },
+ "flattened": true
+ },
+ "DeleteMarkers": {
+ "locationName": "DeleteMarker",
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "Owner": {
+ "shape": "S2h"
+ },
+ "Key": {},
+ "VersionId": {},
+ "IsLatest": {
+ "type": "boolean"
+ },
+ "LastModified": {
+ "type": "timestamp"
+ }
+ }
+ },
+ "flattened": true
+ },
+ "Name": {},
+ "Prefix": {},
+ "Delimiter": {},
+ "MaxKeys": {
+ "type": "integer"
+ },
+ "CommonPrefixes": {
+ "shape": "S73"
+ },
+ "EncodingType": {}
+ }
+ },
+ "alias": "GetBucketObjectVersions"
+ },
+ "ListObjects": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/{Bucket}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "Bucket"
+ ],
+ "members": {
+ "Bucket": {
+ "location": "uri",
+ "locationName": "Bucket"
+ },
+ "Delimiter": {
+ "location": "querystring",
+ "locationName": "delimiter"
+ },
+ "EncodingType": {
+ "location": "querystring",
+ "locationName": "encoding-type"
+ },
+ "Marker": {
+ "location": "querystring",
+ "locationName": "marker"
+ },
+ "MaxKeys": {
+ "location": "querystring",
+ "locationName": "max-keys",
+ "type": "integer"
+ },
+ "Prefix": {
+ "location": "querystring",
+ "locationName": "prefix"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "IsTruncated": {
+ "type": "boolean"
+ },
+ "Marker": {},
+ "NextMarker": {},
+ "Contents": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "Key": {},
+ "LastModified": {
+ "type": "timestamp"
+ },
+ "ETag": {},
+ "Size": {
+ "type": "integer"
+ },
+ "StorageClass": {},
+ "Owner": {
+ "shape": "S2h"
+ }
+ }
+ },
+ "flattened": true
+ },
+ "Name": {},
+ "Prefix": {},
+ "Delimiter": {},
+ "MaxKeys": {
+ "type": "integer"
+ },
+ "CommonPrefixes": {
+ "shape": "S73"
+ },
+ "EncodingType": {}
+ }
+ },
+ "alias": "GetBucket"
+ },
+ "ListParts": {
+ "http": {
+ "method": "GET",
+ "requestUri": "/{Bucket}/{Key+}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "Bucket",
+ "Key",
+ "UploadId"
+ ],
+ "members": {
+ "Bucket": {
+ "location": "uri",
+ "locationName": "Bucket"
+ },
+ "Key": {
+ "location": "uri",
+ "locationName": "Key"
+ },
+ "MaxParts": {
+ "location": "querystring",
+ "locationName": "max-parts",
+ "type": "integer"
+ },
+ "PartNumberMarker": {
+ "location": "querystring",
+ "locationName": "part-number-marker",
+ "type": "integer"
+ },
+ "UploadId": {
+ "location": "querystring",
+ "locationName": "uploadId"
+ },
+ "RequestPayer": {
+ "location": "header",
+ "locationName": "x-amz-request-payer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "AbortDate": {
+ "location": "header",
+ "locationName": "x-amz-abort-date",
+ "type": "timestamp"
+ },
+ "AbortRuleId": {
+ "location": "header",
+ "locationName": "x-amz-abort-rule-id"
+ },
+ "Bucket": {},
+ "Key": {},
+ "UploadId": {},
+ "PartNumberMarker": {
+ "type": "integer"
+ },
+ "NextPartNumberMarker": {
+ "type": "integer"
+ },
+ "MaxParts": {
+ "type": "integer"
+ },
+ "IsTruncated": {
+ "type": "boolean"
+ },
+ "Parts": {
+ "locationName": "Part",
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "PartNumber": {
+ "type": "integer"
+ },
+ "LastModified": {
+ "type": "timestamp"
+ },
+ "ETag": {},
+ "Size": {
+ "type": "integer"
+ }
+ }
+ },
+ "flattened": true
+ },
+ "Initiator": {
+ "shape": "S72"
+ },
+ "Owner": {
+ "shape": "S2h"
+ },
+ "StorageClass": {},
+ "RequestCharged": {
+ "location": "header",
+ "locationName": "x-amz-request-charged"
+ }
+ }
+ }
+ },
+ "PutBucketAcl": {
+ "http": {
+ "method": "PUT",
+ "requestUri": "/{Bucket}?acl"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "Bucket"
+ ],
+ "members": {
+ "ACL": {
+ "location": "header",
+ "locationName": "x-amz-acl"
+ },
+ "AccessControlPolicy": {
+ "shape": "S7w",
+ "locationName": "AccessControlPolicy",
+ "xmlNamespace": {
+ "uri": "http://s3.amazonaws.com/doc/2006-03-01/"
+ }
+ },
+ "Bucket": {
+ "location": "uri",
+ "locationName": "Bucket"
+ },
+ "ContentMD5": {
+ "location": "header",
+ "locationName": "Content-MD5"
+ },
+ "GrantFullControl": {
+ "location": "header",
+ "locationName": "x-amz-grant-full-control"
+ },
+ "GrantRead": {
+ "location": "header",
+ "locationName": "x-amz-grant-read"
+ },
+ "GrantReadACP": {
+ "location": "header",
+ "locationName": "x-amz-grant-read-acp"
+ },
+ "GrantWrite": {
+ "location": "header",
+ "locationName": "x-amz-grant-write"
+ },
+ "GrantWriteACP": {
+ "location": "header",
+ "locationName": "x-amz-grant-write-acp"
+ }
+ },
+ "payload": "AccessControlPolicy"
+ }
+ },
+ "PutBucketCors": {
+ "http": {
+ "method": "PUT",
+ "requestUri": "/{Bucket}?cors"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "Bucket",
+ "CORSConfiguration"
+ ],
+ "members": {
+ "Bucket": {
+ "location": "uri",
+ "locationName": "Bucket"
+ },
+ "CORSConfiguration": {
+ "locationName": "CORSConfiguration",
+ "xmlNamespace": {
+ "uri": "http://s3.amazonaws.com/doc/2006-03-01/"
+ },
+ "type": "structure",
+ "required": [
+ "CORSRules"
+ ],
+ "members": {
+ "CORSRules": {
+ "shape": "S2t",
+ "locationName": "CORSRule"
+ }
+ }
+ },
+ "ContentMD5": {
+ "location": "header",
+ "locationName": "Content-MD5"
+ }
+ },
+ "payload": "CORSConfiguration"
+ }
+ },
+ "PutBucketLifecycle": {
+ "http": {
+ "method": "PUT",
+ "requestUri": "/{Bucket}?lifecycle"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "Bucket"
+ ],
+ "members": {
+ "Bucket": {
+ "location": "uri",
+ "locationName": "Bucket"
+ },
+ "ContentMD5": {
+ "location": "header",
+ "locationName": "Content-MD5"
+ },
+ "LifecycleConfiguration": {
+ "locationName": "LifecycleConfiguration",
+ "xmlNamespace": {
+ "uri": "http://s3.amazonaws.com/doc/2006-03-01/"
+ },
+ "type": "structure",
+ "required": [
+ "Rules"
+ ],
+ "members": {
+ "Rules": {
+ "shape": "S36",
+ "locationName": "Rule"
+ }
+ }
+ }
+ },
+ "payload": "LifecycleConfiguration"
+ },
+ "deprecated": true
+ },
+ "PutBucketLifecycleConfiguration": {
+ "http": {
+ "method": "PUT",
+ "requestUri": "/{Bucket}?lifecycle"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "Bucket"
+ ],
+ "members": {
+ "Bucket": {
+ "location": "uri",
+ "locationName": "Bucket"
+ },
+ "LifecycleConfiguration": {
+ "locationName": "LifecycleConfiguration",
+ "xmlNamespace": {
+ "uri": "http://s3.amazonaws.com/doc/2006-03-01/"
+ },
+ "type": "structure",
+ "required": [
+ "Rules"
+ ],
+ "members": {
+ "Rules": {
+ "shape": "S3m",
+ "locationName": "Rule"
+ }
+ }
+ }
+ },
+ "payload": "LifecycleConfiguration"
+ }
+ },
+ "PutBucketLogging": {
+ "http": {
+ "method": "PUT",
+ "requestUri": "/{Bucket}?logging"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "Bucket",
+ "BucketLoggingStatus"
+ ],
+ "members": {
+ "Bucket": {
+ "location": "uri",
+ "locationName": "Bucket"
+ },
+ "BucketLoggingStatus": {
+ "locationName": "BucketLoggingStatus",
+ "xmlNamespace": {
+ "uri": "http://s3.amazonaws.com/doc/2006-03-01/"
+ },
+ "type": "structure",
+ "members": {
+ "LoggingEnabled": {
+ "shape": "S3u"
+ }
+ }
+ },
+ "ContentMD5": {
+ "location": "header",
+ "locationName": "Content-MD5"
+ }
+ },
+ "payload": "BucketLoggingStatus"
+ }
+ },
+ "PutBucketNotification": {
+ "http": {
+ "method": "PUT",
+ "requestUri": "/{Bucket}?notification"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "Bucket",
+ "NotificationConfiguration"
+ ],
+ "members": {
+ "Bucket": {
+ "location": "uri",
+ "locationName": "Bucket"
+ },
+ "ContentMD5": {
+ "location": "header",
+ "locationName": "Content-MD5"
+ },
+ "NotificationConfiguration": {
+ "shape": "S41",
+ "locationName": "NotificationConfiguration",
+ "xmlNamespace": {
+ "uri": "http://s3.amazonaws.com/doc/2006-03-01/"
+ }
+ }
+ },
+ "payload": "NotificationConfiguration"
+ },
+ "deprecated": true
+ },
+ "PutBucketNotificationConfiguration": {
+ "http": {
+ "method": "PUT",
+ "requestUri": "/{Bucket}?notification"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "Bucket",
+ "NotificationConfiguration"
+ ],
+ "members": {
+ "Bucket": {
+ "location": "uri",
+ "locationName": "Bucket"
+ },
+ "NotificationConfiguration": {
+ "shape": "S4c",
+ "locationName": "NotificationConfiguration",
+ "xmlNamespace": {
+ "uri": "http://s3.amazonaws.com/doc/2006-03-01/"
+ }
+ }
+ },
+ "payload": "NotificationConfiguration"
+ }
+ },
+ "PutBucketPolicy": {
+ "http": {
+ "method": "PUT",
+ "requestUri": "/{Bucket}?policy"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "Bucket",
+ "Policy"
+ ],
+ "members": {
+ "Bucket": {
+ "location": "uri",
+ "locationName": "Bucket"
+ },
+ "ContentMD5": {
+ "location": "header",
+ "locationName": "Content-MD5"
+ },
+ "Policy": {}
+ },
+ "payload": "Policy"
+ }
+ },
+ "PutBucketReplication": {
+ "http": {
+ "method": "PUT",
+ "requestUri": "/{Bucket}?replication"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "Bucket",
+ "ReplicationConfiguration"
+ ],
+ "members": {
+ "Bucket": {
+ "location": "uri",
+ "locationName": "Bucket"
+ },
+ "ContentMD5": {
+ "location": "header",
+ "locationName": "Content-MD5"
+ },
+ "ReplicationConfiguration": {
+ "shape": "S4v",
+ "locationName": "ReplicationConfiguration",
+ "xmlNamespace": {
+ "uri": "http://s3.amazonaws.com/doc/2006-03-01/"
+ }
+ }
+ },
+ "payload": "ReplicationConfiguration"
+ }
+ },
+ "PutBucketRequestPayment": {
+ "http": {
+ "method": "PUT",
+ "requestUri": "/{Bucket}?requestPayment"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "Bucket",
+ "RequestPaymentConfiguration"
+ ],
+ "members": {
+ "Bucket": {
+ "location": "uri",
+ "locationName": "Bucket"
+ },
+ "ContentMD5": {
+ "location": "header",
+ "locationName": "Content-MD5"
+ },
+ "RequestPaymentConfiguration": {
+ "locationName": "RequestPaymentConfiguration",
+ "xmlNamespace": {
+ "uri": "http://s3.amazonaws.com/doc/2006-03-01/"
+ },
+ "type": "structure",
+ "required": [
+ "Payer"
+ ],
+ "members": {
+ "Payer": {}
+ }
+ }
+ },
+ "payload": "RequestPaymentConfiguration"
+ }
+ },
+ "PutBucketTagging": {
+ "http": {
+ "method": "PUT",
+ "requestUri": "/{Bucket}?tagging"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "Bucket",
+ "Tagging"
+ ],
+ "members": {
+ "Bucket": {
+ "location": "uri",
+ "locationName": "Bucket"
+ },
+ "ContentMD5": {
+ "location": "header",
+ "locationName": "Content-MD5"
+ },
+ "Tagging": {
+ "locationName": "Tagging",
+ "xmlNamespace": {
+ "uri": "http://s3.amazonaws.com/doc/2006-03-01/"
+ },
+ "type": "structure",
+ "required": [
+ "TagSet"
+ ],
+ "members": {
+ "TagSet": {
+ "shape": "S56"
+ }
+ }
+ }
+ },
+ "payload": "Tagging"
+ }
+ },
+ "PutBucketVersioning": {
+ "http": {
+ "method": "PUT",
+ "requestUri": "/{Bucket}?versioning"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "Bucket",
+ "VersioningConfiguration"
+ ],
+ "members": {
+ "Bucket": {
+ "location": "uri",
+ "locationName": "Bucket"
+ },
+ "ContentMD5": {
+ "location": "header",
+ "locationName": "Content-MD5"
+ },
+ "MFA": {
+ "location": "header",
+ "locationName": "x-amz-mfa"
+ },
+ "VersioningConfiguration": {
+ "locationName": "VersioningConfiguration",
+ "xmlNamespace": {
+ "uri": "http://s3.amazonaws.com/doc/2006-03-01/"
+ },
+ "type": "structure",
+ "members": {
+ "MFADelete": {
+ "locationName": "MfaDelete"
+ },
+ "Status": {}
+ }
+ }
+ },
+ "payload": "VersioningConfiguration"
+ }
+ },
+ "PutBucketWebsite": {
+ "http": {
+ "method": "PUT",
+ "requestUri": "/{Bucket}?website"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "Bucket",
+ "WebsiteConfiguration"
+ ],
+ "members": {
+ "Bucket": {
+ "location": "uri",
+ "locationName": "Bucket"
+ },
+ "ContentMD5": {
+ "location": "header",
+ "locationName": "Content-MD5"
+ },
+ "WebsiteConfiguration": {
+ "locationName": "WebsiteConfiguration",
+ "xmlNamespace": {
+ "uri": "http://s3.amazonaws.com/doc/2006-03-01/"
+ },
+ "type": "structure",
+ "members": {
+ "ErrorDocument": {
+ "shape": "S5k"
+ },
+ "IndexDocument": {
+ "shape": "S5i"
+ },
+ "RedirectAllRequestsTo": {
+ "shape": "S5f"
+ },
+ "RoutingRules": {
+ "shape": "S5l"
+ }
+ }
+ }
+ },
+ "payload": "WebsiteConfiguration"
+ }
+ },
+ "PutObject": {
+ "http": {
+ "method": "PUT",
+ "requestUri": "/{Bucket}/{Key+}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "Bucket",
+ "Key"
+ ],
+ "members": {
+ "ACL": {
+ "location": "header",
+ "locationName": "x-amz-acl"
+ },
+ "Body": {
+ "streaming": true,
+ "type": "blob"
+ },
+ "Bucket": {
+ "location": "uri",
+ "locationName": "Bucket"
+ },
+ "CacheControl": {
+ "location": "header",
+ "locationName": "Cache-Control"
+ },
+ "ContentDisposition": {
+ "location": "header",
+ "locationName": "Content-Disposition"
+ },
+ "ContentEncoding": {
+ "location": "header",
+ "locationName": "Content-Encoding"
+ },
+ "ContentLanguage": {
+ "location": "header",
+ "locationName": "Content-Language"
+ },
+ "ContentLength": {
+ "location": "header",
+ "locationName": "Content-Length",
+ "type": "integer"
+ },
+ "ContentMD5": {
+ "location": "header",
+ "locationName": "Content-MD5"
+ },
+ "ContentType": {
+ "location": "header",
+ "locationName": "Content-Type"
+ },
+ "Expires": {
+ "location": "header",
+ "locationName": "Expires",
+ "type": "timestamp"
+ },
+ "GrantFullControl": {
+ "location": "header",
+ "locationName": "x-amz-grant-full-control"
+ },
+ "GrantRead": {
+ "location": "header",
+ "locationName": "x-amz-grant-read"
+ },
+ "GrantReadACP": {
+ "location": "header",
+ "locationName": "x-amz-grant-read-acp"
+ },
+ "GrantWriteACP": {
+ "location": "header",
+ "locationName": "x-amz-grant-write-acp"
+ },
+ "Key": {
+ "location": "uri",
+ "locationName": "Key"
+ },
+ "Metadata": {
+ "shape": "S11",
+ "location": "headers",
+ "locationName": "x-amz-meta-"
+ },
+ "ServerSideEncryption": {
+ "location": "header",
+ "locationName": "x-amz-server-side-encryption"
+ },
+ "StorageClass": {
+ "location": "header",
+ "locationName": "x-amz-storage-class"
+ },
+ "WebsiteRedirectLocation": {
+ "location": "header",
+ "locationName": "x-amz-website-redirect-location"
+ },
+ "SSECustomerAlgorithm": {
+ "location": "header",
+ "locationName": "x-amz-server-side-encryption-customer-algorithm"
+ },
+ "SSECustomerKey": {
+ "shape": "S18",
+ "location": "header",
+ "locationName": "x-amz-server-side-encryption-customer-key"
+ },
+ "SSECustomerKeyMD5": {
+ "location": "header",
+ "locationName": "x-amz-server-side-encryption-customer-key-MD5"
+ },
+ "SSEKMSKeyId": {
+ "shape": "Sj",
+ "location": "header",
+ "locationName": "x-amz-server-side-encryption-aws-kms-key-id"
+ },
+ "RequestPayer": {
+ "location": "header",
+ "locationName": "x-amz-request-payer"
+ }
+ },
+ "payload": "Body"
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Expiration": {
+ "location": "header",
+ "locationName": "x-amz-expiration"
+ },
+ "ETag": {
+ "location": "header",
+ "locationName": "ETag"
+ },
+ "ServerSideEncryption": {
+ "location": "header",
+ "locationName": "x-amz-server-side-encryption"
+ },
+ "VersionId": {
+ "location": "header",
+ "locationName": "x-amz-version-id"
+ },
+ "SSECustomerAlgorithm": {
+ "location": "header",
+ "locationName": "x-amz-server-side-encryption-customer-algorithm"
+ },
+ "SSECustomerKeyMD5": {
+ "location": "header",
+ "locationName": "x-amz-server-side-encryption-customer-key-MD5"
+ },
+ "SSEKMSKeyId": {
+ "shape": "Sj",
+ "location": "header",
+ "locationName": "x-amz-server-side-encryption-aws-kms-key-id"
+ },
+ "RequestCharged": {
+ "location": "header",
+ "locationName": "x-amz-request-charged"
+ }
+ }
+ }
+ },
+ "PutObjectAcl": {
+ "http": {
+ "method": "PUT",
+ "requestUri": "/{Bucket}/{Key+}?acl"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "Bucket",
+ "Key"
+ ],
+ "members": {
+ "ACL": {
+ "location": "header",
+ "locationName": "x-amz-acl"
+ },
+ "AccessControlPolicy": {
+ "shape": "S7w",
+ "locationName": "AccessControlPolicy",
+ "xmlNamespace": {
+ "uri": "http://s3.amazonaws.com/doc/2006-03-01/"
+ }
+ },
+ "Bucket": {
+ "location": "uri",
+ "locationName": "Bucket"
+ },
+ "ContentMD5": {
+ "location": "header",
+ "locationName": "Content-MD5"
+ },
+ "GrantFullControl": {
+ "location": "header",
+ "locationName": "x-amz-grant-full-control"
+ },
+ "GrantRead": {
+ "location": "header",
+ "locationName": "x-amz-grant-read"
+ },
+ "GrantReadACP": {
+ "location": "header",
+ "locationName": "x-amz-grant-read-acp"
+ },
+ "GrantWrite": {
+ "location": "header",
+ "locationName": "x-amz-grant-write"
+ },
+ "GrantWriteACP": {
+ "location": "header",
+ "locationName": "x-amz-grant-write-acp"
+ },
+ "Key": {
+ "location": "uri",
+ "locationName": "Key"
+ },
+ "RequestPayer": {
+ "location": "header",
+ "locationName": "x-amz-request-payer"
+ }
+ },
+ "payload": "AccessControlPolicy"
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "RequestCharged": {
+ "location": "header",
+ "locationName": "x-amz-request-charged"
+ }
+ }
+ }
+ },
+ "RestoreObject": {
+ "http": {
+ "requestUri": "/{Bucket}/{Key+}?restore"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "Bucket",
+ "Key"
+ ],
+ "members": {
+ "Bucket": {
+ "location": "uri",
+ "locationName": "Bucket"
+ },
+ "Key": {
+ "location": "uri",
+ "locationName": "Key"
+ },
+ "VersionId": {
+ "location": "querystring",
+ "locationName": "versionId"
+ },
+ "RestoreRequest": {
+ "locationName": "RestoreRequest",
+ "xmlNamespace": {
+ "uri": "http://s3.amazonaws.com/doc/2006-03-01/"
+ },
+ "type": "structure",
+ "required": [
+ "Days"
+ ],
+ "members": {
+ "Days": {
+ "type": "integer"
+ }
+ }
+ },
+ "RequestPayer": {
+ "location": "header",
+ "locationName": "x-amz-request-payer"
+ }
+ },
+ "payload": "RestoreRequest"
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "RequestCharged": {
+ "location": "header",
+ "locationName": "x-amz-request-charged"
+ }
+ }
+ },
+ "alias": "PostObjectRestore"
+ },
+ "UploadPart": {
+ "http": {
+ "method": "PUT",
+ "requestUri": "/{Bucket}/{Key+}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "Bucket",
+ "Key",
+ "PartNumber",
+ "UploadId"
+ ],
+ "members": {
+ "Body": {
+ "streaming": true,
+ "type": "blob"
+ },
+ "Bucket": {
+ "location": "uri",
+ "locationName": "Bucket"
+ },
+ "ContentLength": {
+ "location": "header",
+ "locationName": "Content-Length",
+ "type": "integer"
+ },
+ "ContentMD5": {
+ "location": "header",
+ "locationName": "Content-MD5"
+ },
+ "Key": {
+ "location": "uri",
+ "locationName": "Key"
+ },
+ "PartNumber": {
+ "location": "querystring",
+ "locationName": "partNumber",
+ "type": "integer"
+ },
+ "UploadId": {
+ "location": "querystring",
+ "locationName": "uploadId"
+ },
+ "SSECustomerAlgorithm": {
+ "location": "header",
+ "locationName": "x-amz-server-side-encryption-customer-algorithm"
+ },
+ "SSECustomerKey": {
+ "shape": "S18",
+ "location": "header",
+ "locationName": "x-amz-server-side-encryption-customer-key"
+ },
+ "SSECustomerKeyMD5": {
+ "location": "header",
+ "locationName": "x-amz-server-side-encryption-customer-key-MD5"
+ },
+ "RequestPayer": {
+ "location": "header",
+ "locationName": "x-amz-request-payer"
+ }
+ },
+ "payload": "Body"
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "ServerSideEncryption": {
+ "location": "header",
+ "locationName": "x-amz-server-side-encryption"
+ },
+ "ETag": {
+ "location": "header",
+ "locationName": "ETag"
+ },
+ "SSECustomerAlgorithm": {
+ "location": "header",
+ "locationName": "x-amz-server-side-encryption-customer-algorithm"
+ },
+ "SSECustomerKeyMD5": {
+ "location": "header",
+ "locationName": "x-amz-server-side-encryption-customer-key-MD5"
+ },
+ "SSEKMSKeyId": {
+ "shape": "Sj",
+ "location": "header",
+ "locationName": "x-amz-server-side-encryption-aws-kms-key-id"
+ },
+ "RequestCharged": {
+ "location": "header",
+ "locationName": "x-amz-request-charged"
+ }
+ }
+ }
+ },
+ "UploadPartCopy": {
+ "http": {
+ "method": "PUT",
+ "requestUri": "/{Bucket}/{Key+}"
+ },
+ "input": {
+ "type": "structure",
+ "required": [
+ "Bucket",
+ "CopySource",
+ "Key",
+ "PartNumber",
+ "UploadId"
+ ],
+ "members": {
+ "Bucket": {
+ "location": "uri",
+ "locationName": "Bucket"
+ },
+ "CopySource": {
+ "location": "header",
+ "locationName": "x-amz-copy-source"
+ },
+ "CopySourceIfMatch": {
+ "location": "header",
+ "locationName": "x-amz-copy-source-if-match"
+ },
+ "CopySourceIfModifiedSince": {
+ "location": "header",
+ "locationName": "x-amz-copy-source-if-modified-since",
+ "type": "timestamp"
+ },
+ "CopySourceIfNoneMatch": {
+ "location": "header",
+ "locationName": "x-amz-copy-source-if-none-match"
+ },
+ "CopySourceIfUnmodifiedSince": {
+ "location": "header",
+ "locationName": "x-amz-copy-source-if-unmodified-since",
+ "type": "timestamp"
+ },
+ "CopySourceRange": {
+ "location": "header",
+ "locationName": "x-amz-copy-source-range"
+ },
+ "Key": {
+ "location": "uri",
+ "locationName": "Key"
+ },
+ "PartNumber": {
+ "location": "querystring",
+ "locationName": "partNumber",
+ "type": "integer"
+ },
+ "UploadId": {
+ "location": "querystring",
+ "locationName": "uploadId"
+ },
+ "SSECustomerAlgorithm": {
+ "location": "header",
+ "locationName": "x-amz-server-side-encryption-customer-algorithm"
+ },
+ "SSECustomerKey": {
+ "shape": "S18",
+ "location": "header",
+ "locationName": "x-amz-server-side-encryption-customer-key"
+ },
+ "SSECustomerKeyMD5": {
+ "location": "header",
+ "locationName": "x-amz-server-side-encryption-customer-key-MD5"
+ },
+ "CopySourceSSECustomerAlgorithm": {
+ "location": "header",
+ "locationName": "x-amz-copy-source-server-side-encryption-customer-algorithm"
+ },
+ "CopySourceSSECustomerKey": {
+ "shape": "S1b",
+ "location": "header",
+ "locationName": "x-amz-copy-source-server-side-encryption-customer-key"
+ },
+ "CopySourceSSECustomerKeyMD5": {
+ "location": "header",
+ "locationName": "x-amz-copy-source-server-side-encryption-customer-key-MD5"
+ },
+ "RequestPayer": {
+ "location": "header",
+ "locationName": "x-amz-request-payer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "CopySourceVersionId": {
+ "location": "header",
+ "locationName": "x-amz-copy-source-version-id"
+ },
+ "CopyPartResult": {
+ "type": "structure",
+ "members": {
+ "ETag": {},
+ "LastModified": {
+ "type": "timestamp"
+ }
+ }
+ },
+ "ServerSideEncryption": {
+ "location": "header",
+ "locationName": "x-amz-server-side-encryption"
+ },
+ "SSECustomerAlgorithm": {
+ "location": "header",
+ "locationName": "x-amz-server-side-encryption-customer-algorithm"
+ },
+ "SSECustomerKeyMD5": {
+ "location": "header",
+ "locationName": "x-amz-server-side-encryption-customer-key-MD5"
+ },
+ "SSEKMSKeyId": {
+ "shape": "Sj",
+ "location": "header",
+ "locationName": "x-amz-server-side-encryption-aws-kms-key-id"
+ },
+ "RequestCharged": {
+ "location": "header",
+ "locationName": "x-amz-request-charged"
+ }
+ },
+ "payload": "CopyPartResult"
+ }
+ }
+ },
+ "shapes": {
+ "Sj": {
+ "type": "string",
+ "sensitive": true
+ },
+ "S11": {
+ "type": "map",
+ "key": {},
+ "value": {}
+ },
+ "S18": {
+ "type": "blob",
+ "sensitive": true
+ },
+ "S1b": {
+ "type": "blob",
+ "sensitive": true
+ },
+ "S2h": {
+ "type": "structure",
+ "members": {
+ "DisplayName": {},
+ "ID": {}
+ }
+ },
+ "S2k": {
+ "type": "list",
+ "member": {
+ "locationName": "Grant",
+ "type": "structure",
+ "members": {
+ "Grantee": {
+ "shape": "S2m"
+ },
+ "Permission": {}
+ }
+ }
+ },
+ "S2m": {
+ "type": "structure",
+ "required": [
+ "Type"
+ ],
+ "members": {
+ "DisplayName": {},
+ "EmailAddress": {},
+ "ID": {},
+ "Type": {
+ "locationName": "xsi:type",
+ "xmlAttribute": true
+ },
+ "URI": {}
+ },
+ "xmlNamespace": {
+ "prefix": "xsi",
+ "uri": "http://www.w3.org/2001/XMLSchema-instance"
+ }
+ },
+ "S2t": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "AllowedMethods",
+ "AllowedOrigins"
+ ],
+ "members": {
+ "AllowedHeaders": {
+ "locationName": "AllowedHeader",
+ "type": "list",
+ "member": {},
+ "flattened": true
+ },
+ "AllowedMethods": {
+ "locationName": "AllowedMethod",
+ "type": "list",
+ "member": {},
+ "flattened": true
+ },
+ "AllowedOrigins": {
+ "locationName": "AllowedOrigin",
+ "type": "list",
+ "member": {},
+ "flattened": true
+ },
+ "ExposeHeaders": {
+ "locationName": "ExposeHeader",
+ "type": "list",
+ "member": {},
+ "flattened": true
+ },
+ "MaxAgeSeconds": {
+ "type": "integer"
+ }
+ }
+ },
+ "flattened": true
+ },
+ "S36": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "Prefix",
+ "Status"
+ ],
+ "members": {
+ "Expiration": {
+ "shape": "S38"
+ },
+ "ID": {},
+ "Prefix": {},
+ "Status": {},
+ "Transition": {
+ "shape": "S3e"
+ },
+ "NoncurrentVersionTransition": {
+ "shape": "S3g"
+ },
+ "NoncurrentVersionExpiration": {
+ "shape": "S3h"
+ },
+ "AbortIncompleteMultipartUpload": {
+ "shape": "S3i"
+ }
+ }
+ },
+ "flattened": true
+ },
+ "S38": {
+ "type": "structure",
+ "members": {
+ "Date": {
+ "shape": "S39"
+ },
+ "Days": {
+ "type": "integer"
+ },
+ "ExpiredObjectDeleteMarker": {
+ "type": "boolean"
+ }
+ }
+ },
+ "S39": {
+ "type": "timestamp",
+ "timestampFormat": "iso8601"
+ },
+ "S3e": {
+ "type": "structure",
+ "members": {
+ "Date": {
+ "shape": "S39"
+ },
+ "Days": {
+ "type": "integer"
+ },
+ "StorageClass": {}
+ }
+ },
+ "S3g": {
+ "type": "structure",
+ "members": {
+ "NoncurrentDays": {
+ "type": "integer"
+ },
+ "StorageClass": {}
+ }
+ },
+ "S3h": {
+ "type": "structure",
+ "members": {
+ "NoncurrentDays": {
+ "type": "integer"
+ }
+ }
+ },
+ "S3i": {
+ "type": "structure",
+ "members": {
+ "DaysAfterInitiation": {
+ "type": "integer"
+ }
+ }
+ },
+ "S3m": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "Prefix",
+ "Status"
+ ],
+ "members": {
+ "Expiration": {
+ "shape": "S38"
+ },
+ "ID": {},
+ "Prefix": {},
+ "Status": {},
+ "Transitions": {
+ "locationName": "Transition",
+ "type": "list",
+ "member": {
+ "shape": "S3e"
+ },
+ "flattened": true
+ },
+ "NoncurrentVersionTransitions": {
+ "locationName": "NoncurrentVersionTransition",
+ "type": "list",
+ "member": {
+ "shape": "S3g"
+ },
+ "flattened": true
+ },
+ "NoncurrentVersionExpiration": {
+ "shape": "S3h"
+ },
+ "AbortIncompleteMultipartUpload": {
+ "shape": "S3i"
+ }
+ }
+ },
+ "flattened": true
+ },
+ "S3u": {
+ "type": "structure",
+ "members": {
+ "TargetBucket": {},
+ "TargetGrants": {
+ "type": "list",
+ "member": {
+ "locationName": "Grant",
+ "type": "structure",
+ "members": {
+ "Grantee": {
+ "shape": "S2m"
+ },
+ "Permission": {}
+ }
+ }
+ },
+ "TargetPrefix": {}
+ }
+ },
+ "S40": {
+ "type": "structure",
+ "required": [
+ "Bucket"
+ ],
+ "members": {
+ "Bucket": {
+ "location": "uri",
+ "locationName": "Bucket"
+ }
+ }
+ },
+ "S41": {
+ "type": "structure",
+ "members": {
+ "TopicConfiguration": {
+ "type": "structure",
+ "members": {
+ "Id": {},
+ "Events": {
+ "shape": "S44",
+ "locationName": "Event"
+ },
+ "Event": {
+ "deprecated": true
+ },
+ "Topic": {}
+ }
+ },
+ "QueueConfiguration": {
+ "type": "structure",
+ "members": {
+ "Id": {},
+ "Event": {
+ "deprecated": true
+ },
+ "Events": {
+ "shape": "S44",
+ "locationName": "Event"
+ },
+ "Queue": {}
+ }
+ },
+ "CloudFunctionConfiguration": {
+ "type": "structure",
+ "members": {
+ "Id": {},
+ "Event": {
+ "deprecated": true
+ },
+ "Events": {
+ "shape": "S44",
+ "locationName": "Event"
+ },
+ "CloudFunction": {},
+ "InvocationRole": {}
+ }
+ }
+ }
+ },
+ "S44": {
+ "type": "list",
+ "member": {},
+ "flattened": true
+ },
+ "S4c": {
+ "type": "structure",
+ "members": {
+ "TopicConfigurations": {
+ "locationName": "TopicConfiguration",
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "TopicArn",
+ "Events"
+ ],
+ "members": {
+ "Id": {},
+ "TopicArn": {
+ "locationName": "Topic"
+ },
+ "Events": {
+ "shape": "S44",
+ "locationName": "Event"
+ },
+ "Filter": {
+ "shape": "S4f"
+ }
+ }
+ },
+ "flattened": true
+ },
+ "QueueConfigurations": {
+ "locationName": "QueueConfiguration",
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "QueueArn",
+ "Events"
+ ],
+ "members": {
+ "Id": {},
+ "QueueArn": {
+ "locationName": "Queue"
+ },
+ "Events": {
+ "shape": "S44",
+ "locationName": "Event"
+ },
+ "Filter": {
+ "shape": "S4f"
+ }
+ }
+ },
+ "flattened": true
+ },
+ "LambdaFunctionConfigurations": {
+ "locationName": "CloudFunctionConfiguration",
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "LambdaFunctionArn",
+ "Events"
+ ],
+ "members": {
+ "Id": {},
+ "LambdaFunctionArn": {
+ "locationName": "CloudFunction"
+ },
+ "Events": {
+ "shape": "S44",
+ "locationName": "Event"
+ },
+ "Filter": {
+ "shape": "S4f"
+ }
+ }
+ },
+ "flattened": true
+ }
+ }
+ },
+ "S4f": {
+ "type": "structure",
+ "members": {
+ "Key": {
+ "locationName": "S3Key",
+ "type": "structure",
+ "members": {
+ "FilterRules": {
+ "locationName": "FilterRule",
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "Name": {},
+ "Value": {}
+ }
+ },
+ "flattened": true
+ }
+ }
+ }
+ }
+ },
+ "S4v": {
+ "type": "structure",
+ "required": [
+ "Role",
+ "Rules"
+ ],
+ "members": {
+ "Role": {},
+ "Rules": {
+ "locationName": "Rule",
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "Prefix",
+ "Status",
+ "Destination"
+ ],
+ "members": {
+ "ID": {},
+ "Prefix": {},
+ "Status": {},
+ "Destination": {
+ "type": "structure",
+ "required": [
+ "Bucket"
+ ],
+ "members": {
+ "Bucket": {},
+ "StorageClass": {}
+ }
+ }
+ }
+ },
+ "flattened": true
+ }
+ }
+ },
+ "S56": {
+ "type": "list",
+ "member": {
+ "locationName": "Tag",
+ "type": "structure",
+ "required": [
+ "Key",
+ "Value"
+ ],
+ "members": {
+ "Key": {},
+ "Value": {}
+ }
+ }
+ },
+ "S5f": {
+ "type": "structure",
+ "required": [
+ "HostName"
+ ],
+ "members": {
+ "HostName": {},
+ "Protocol": {}
+ }
+ },
+ "S5i": {
+ "type": "structure",
+ "required": [
+ "Suffix"
+ ],
+ "members": {
+ "Suffix": {}
+ }
+ },
+ "S5k": {
+ "type": "structure",
+ "required": [
+ "Key"
+ ],
+ "members": {
+ "Key": {}
+ }
+ },
+ "S5l": {
+ "type": "list",
+ "member": {
+ "locationName": "RoutingRule",
+ "type": "structure",
+ "required": [
+ "Redirect"
+ ],
+ "members": {
+ "Condition": {
+ "type": "structure",
+ "members": {
+ "HttpErrorCodeReturnedEquals": {},
+ "KeyPrefixEquals": {}
+ }
+ },
+ "Redirect": {
+ "type": "structure",
+ "members": {
+ "HostName": {},
+ "HttpRedirectCode": {},
+ "Protocol": {},
+ "ReplaceKeyPrefixWith": {},
+ "ReplaceKeyWith": {}
+ }
+ }
+ }
+ }
+ },
+ "S72": {
+ "type": "structure",
+ "members": {
+ "ID": {},
+ "DisplayName": {}
+ }
+ },
+ "S73": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "Prefix": {}
+ }
+ },
+ "flattened": true
+ },
+ "S7w": {
+ "type": "structure",
+ "members": {
+ "Grants": {
+ "shape": "S2k",
+ "locationName": "AccessControlList"
+ },
+ "Owner": {
+ "shape": "S2h"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/node_modules/aws-sdk/apis/s3-2006-03-01.paginators.json b/node_modules/aws-sdk/apis/s3-2006-03-01.paginators.json
new file mode 100644
index 0000000000000000000000000000000000000000..d42eee314edce799a0dbc836f2d308a50df97059
--- /dev/null
+++ b/node_modules/aws-sdk/apis/s3-2006-03-01.paginators.json
@@ -0,0 +1,57 @@
+{
+ "pagination": {
+ "ListBuckets": {
+ "result_key": "Buckets"
+ },
+ "ListMultipartUploads": {
+ "limit_key": "MaxUploads",
+ "more_results": "IsTruncated",
+ "output_token": [
+ "NextKeyMarker",
+ "NextUploadIdMarker"
+ ],
+ "input_token": [
+ "KeyMarker",
+ "UploadIdMarker"
+ ],
+ "result_key": [
+ "Uploads",
+ "CommonPrefixes"
+ ]
+ },
+ "ListObjectVersions": {
+ "more_results": "IsTruncated",
+ "limit_key": "MaxKeys",
+ "output_token": [
+ "NextKeyMarker",
+ "NextVersionIdMarker"
+ ],
+ "input_token": [
+ "KeyMarker",
+ "VersionIdMarker"
+ ],
+ "result_key": [
+ "Versions",
+ "DeleteMarkers",
+ "CommonPrefixes"
+ ]
+ },
+ "ListObjects": {
+ "more_results": "IsTruncated",
+ "limit_key": "MaxKeys",
+ "output_token": "NextMarker || Contents[-1].Key",
+ "input_token": "Marker",
+ "result_key": [
+ "Contents",
+ "CommonPrefixes"
+ ]
+ },
+ "ListParts": {
+ "more_results": "IsTruncated",
+ "limit_key": "MaxParts",
+ "output_token": "NextPartNumberMarker",
+ "input_token": "PartNumberMarker",
+ "result_key": "Parts"
+ }
+ }
+}
diff --git a/node_modules/aws-sdk/apis/s3-2006-03-01.waiters.json b/node_modules/aws-sdk/apis/s3-2006-03-01.waiters.json
new file mode 100644
index 0000000000000000000000000000000000000000..963e5bf9e2f4dbe13edcaa6b4bc96304f1a000c3
--- /dev/null
+++ b/node_modules/aws-sdk/apis/s3-2006-03-01.waiters.json
@@ -0,0 +1,32 @@
+{
+ "waiters": {
+ "__default__": {
+ "interval": 5,
+ "max_attempts": 20
+ },
+ "BucketExists": {
+ "operation": "HeadBucket",
+ "ignore_errors": [
+ 404
+ ],
+ "success_type": "output"
+ },
+ "BucketNotExists": {
+ "operation": "HeadBucket",
+ "success_type": "error",
+ "success_value": 404
+ },
+ "ObjectExists": {
+ "operation": "HeadObject",
+ "ignore_errors": [
+ 404
+ ],
+ "success_type": "output"
+ },
+ "ObjectNotExists": {
+ "operation": "HeadObject",
+ "success_type": "error",
+ "success_value": 404
+ }
+ }
+}
diff --git a/node_modules/aws-sdk/apis/sdb-2009-04-15.min.json b/node_modules/aws-sdk/apis/sdb-2009-04-15.min.json
new file mode 100644
index 0000000000000000000000000000000000000000..e931b3cf3659129cfecf7a0b7a8babe2b5eb4bb3
--- /dev/null
+++ b/node_modules/aws-sdk/apis/sdb-2009-04-15.min.json
@@ -0,0 +1,336 @@
+{
+ "metadata": {
+ "apiVersion": "2009-04-15",
+ "endpointPrefix": "sdb",
+ "serviceFullName": "Amazon SimpleDB",
+ "signatureVersion": "v2",
+ "xmlNamespace": "http://sdb.amazonaws.com/doc/2009-04-15/",
+ "protocol": "query"
+ },
+ "operations": {
+ "BatchDeleteAttributes": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DomainName",
+ "Items"
+ ],
+ "members": {
+ "DomainName": {},
+ "Items": {
+ "type": "list",
+ "member": {
+ "locationName": "Item",
+ "type": "structure",
+ "required": [
+ "Name"
+ ],
+ "members": {
+ "Name": {
+ "locationName": "ItemName"
+ },
+ "Attributes": {
+ "shape": "S5"
+ }
+ }
+ },
+ "flattened": true
+ }
+ }
+ }
+ },
+ "BatchPutAttributes": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DomainName",
+ "Items"
+ ],
+ "members": {
+ "DomainName": {},
+ "Items": {
+ "type": "list",
+ "member": {
+ "locationName": "Item",
+ "type": "structure",
+ "required": [
+ "Name",
+ "Attributes"
+ ],
+ "members": {
+ "Name": {
+ "locationName": "ItemName"
+ },
+ "Attributes": {
+ "shape": "Sa"
+ }
+ }
+ },
+ "flattened": true
+ }
+ }
+ }
+ },
+ "CreateDomain": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DomainName"
+ ],
+ "members": {
+ "DomainName": {}
+ }
+ }
+ },
+ "DeleteAttributes": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DomainName",
+ "ItemName"
+ ],
+ "members": {
+ "DomainName": {},
+ "ItemName": {},
+ "Attributes": {
+ "shape": "S5"
+ },
+ "Expected": {
+ "shape": "Sf"
+ }
+ }
+ }
+ },
+ "DeleteDomain": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DomainName"
+ ],
+ "members": {
+ "DomainName": {}
+ }
+ }
+ },
+ "DomainMetadata": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DomainName"
+ ],
+ "members": {
+ "DomainName": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DomainMetadataResult",
+ "type": "structure",
+ "members": {
+ "ItemCount": {
+ "type": "integer"
+ },
+ "ItemNamesSizeBytes": {
+ "type": "long"
+ },
+ "AttributeNameCount": {
+ "type": "integer"
+ },
+ "AttributeNamesSizeBytes": {
+ "type": "long"
+ },
+ "AttributeValueCount": {
+ "type": "integer"
+ },
+ "AttributeValuesSizeBytes": {
+ "type": "long"
+ },
+ "Timestamp": {
+ "type": "integer"
+ }
+ }
+ }
+ },
+ "GetAttributes": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DomainName",
+ "ItemName"
+ ],
+ "members": {
+ "DomainName": {},
+ "ItemName": {},
+ "AttributeNames": {
+ "type": "list",
+ "member": {
+ "locationName": "AttributeName"
+ },
+ "flattened": true
+ },
+ "ConsistentRead": {
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "GetAttributesResult",
+ "type": "structure",
+ "members": {
+ "Attributes": {
+ "shape": "So"
+ }
+ }
+ }
+ },
+ "ListDomains": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "MaxNumberOfDomains": {
+ "type": "integer"
+ },
+ "NextToken": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "ListDomainsResult",
+ "type": "structure",
+ "members": {
+ "DomainNames": {
+ "type": "list",
+ "member": {
+ "locationName": "DomainName"
+ },
+ "flattened": true
+ },
+ "NextToken": {}
+ }
+ }
+ },
+ "PutAttributes": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "DomainName",
+ "ItemName",
+ "Attributes"
+ ],
+ "members": {
+ "DomainName": {},
+ "ItemName": {},
+ "Attributes": {
+ "shape": "Sa"
+ },
+ "Expected": {
+ "shape": "Sf"
+ }
+ }
+ }
+ },
+ "Select": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "SelectExpression"
+ ],
+ "members": {
+ "SelectExpression": {},
+ "NextToken": {},
+ "ConsistentRead": {
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "SelectResult",
+ "type": "structure",
+ "members": {
+ "Items": {
+ "type": "list",
+ "member": {
+ "locationName": "Item",
+ "type": "structure",
+ "required": [
+ "Name",
+ "Attributes"
+ ],
+ "members": {
+ "Name": {},
+ "AlternateNameEncoding": {},
+ "Attributes": {
+ "shape": "So"
+ }
+ }
+ },
+ "flattened": true
+ },
+ "NextToken": {}
+ }
+ }
+ }
+ },
+ "shapes": {
+ "S5": {
+ "type": "list",
+ "member": {
+ "locationName": "Attribute",
+ "type": "structure",
+ "required": [
+ "Name"
+ ],
+ "members": {
+ "Name": {},
+ "Value": {}
+ }
+ },
+ "flattened": true
+ },
+ "Sa": {
+ "type": "list",
+ "member": {
+ "locationName": "Attribute",
+ "type": "structure",
+ "required": [
+ "Name",
+ "Value"
+ ],
+ "members": {
+ "Name": {},
+ "Value": {},
+ "Replace": {
+ "type": "boolean"
+ }
+ }
+ },
+ "flattened": true
+ },
+ "Sf": {
+ "type": "structure",
+ "members": {
+ "Name": {},
+ "Value": {},
+ "Exists": {
+ "type": "boolean"
+ }
+ }
+ },
+ "So": {
+ "type": "list",
+ "member": {
+ "locationName": "Attribute",
+ "type": "structure",
+ "required": [
+ "Name",
+ "Value"
+ ],
+ "members": {
+ "Name": {},
+ "AlternateNameEncoding": {},
+ "Value": {},
+ "AlternateValueEncoding": {}
+ }
+ },
+ "flattened": true
+ }
+ }
+}
\ No newline at end of file
diff --git a/node_modules/aws-sdk/apis/sdb-2009-04-15.paginators.json b/node_modules/aws-sdk/apis/sdb-2009-04-15.paginators.json
new file mode 100644
index 0000000000000000000000000000000000000000..2362098870b1932349b6585b90d4008077546f0e
--- /dev/null
+++ b/node_modules/aws-sdk/apis/sdb-2009-04-15.paginators.json
@@ -0,0 +1,15 @@
+{
+ "pagination": {
+ "ListDomains": {
+ "input_token": "NextToken",
+ "output_token": "NextToken",
+ "limit_key": "MaxNumberOfDomains",
+ "result_key": "DomainNames"
+ },
+ "Select": {
+ "input_token": "NextToken",
+ "output_token": "NextToken",
+ "result_key": "Items"
+ }
+ }
+}
diff --git a/node_modules/aws-sdk/apis/sns-2010-03-31.min.json b/node_modules/aws-sdk/apis/sns-2010-03-31.min.json
new file mode 100644
index 0000000000000000000000000000000000000000..57b5504f4b001776c952f512d2e124ffee308ca6
--- /dev/null
+++ b/node_modules/aws-sdk/apis/sns-2010-03-31.min.json
@@ -0,0 +1,527 @@
+{
+ "metadata": {
+ "apiVersion": "2010-03-31",
+ "endpointPrefix": "sns",
+ "serviceAbbreviation": "Amazon SNS",
+ "serviceFullName": "Amazon Simple Notification Service",
+ "signatureVersion": "v4",
+ "xmlNamespace": "http://sns.amazonaws.com/doc/2010-03-31/",
+ "protocol": "query"
+ },
+ "operations": {
+ "AddPermission": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "TopicArn",
+ "Label",
+ "AWSAccountId",
+ "ActionName"
+ ],
+ "members": {
+ "TopicArn": {},
+ "Label": {},
+ "AWSAccountId": {
+ "type": "list",
+ "member": {}
+ },
+ "ActionName": {
+ "type": "list",
+ "member": {}
+ }
+ }
+ }
+ },
+ "ConfirmSubscription": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "TopicArn",
+ "Token"
+ ],
+ "members": {
+ "TopicArn": {},
+ "Token": {},
+ "AuthenticateOnUnsubscribe": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "ConfirmSubscriptionResult",
+ "type": "structure",
+ "members": {
+ "SubscriptionArn": {}
+ }
+ }
+ },
+ "CreatePlatformApplication": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Name",
+ "Platform",
+ "Attributes"
+ ],
+ "members": {
+ "Name": {},
+ "Platform": {},
+ "Attributes": {
+ "shape": "Sf"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "CreatePlatformApplicationResult",
+ "type": "structure",
+ "members": {
+ "PlatformApplicationArn": {}
+ }
+ }
+ },
+ "CreatePlatformEndpoint": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "PlatformApplicationArn",
+ "Token"
+ ],
+ "members": {
+ "PlatformApplicationArn": {},
+ "Token": {},
+ "CustomUserData": {},
+ "Attributes": {
+ "shape": "Sf"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "CreatePlatformEndpointResult",
+ "type": "structure",
+ "members": {
+ "EndpointArn": {}
+ }
+ }
+ },
+ "CreateTopic": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Name"
+ ],
+ "members": {
+ "Name": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "CreateTopicResult",
+ "type": "structure",
+ "members": {
+ "TopicArn": {}
+ }
+ }
+ },
+ "DeleteEndpoint": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "EndpointArn"
+ ],
+ "members": {
+ "EndpointArn": {}
+ }
+ }
+ },
+ "DeletePlatformApplication": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "PlatformApplicationArn"
+ ],
+ "members": {
+ "PlatformApplicationArn": {}
+ }
+ }
+ },
+ "DeleteTopic": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "TopicArn"
+ ],
+ "members": {
+ "TopicArn": {}
+ }
+ }
+ },
+ "GetEndpointAttributes": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "EndpointArn"
+ ],
+ "members": {
+ "EndpointArn": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "GetEndpointAttributesResult",
+ "type": "structure",
+ "members": {
+ "Attributes": {
+ "shape": "Sf"
+ }
+ }
+ }
+ },
+ "GetPlatformApplicationAttributes": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "PlatformApplicationArn"
+ ],
+ "members": {
+ "PlatformApplicationArn": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "GetPlatformApplicationAttributesResult",
+ "type": "structure",
+ "members": {
+ "Attributes": {
+ "shape": "Sf"
+ }
+ }
+ }
+ },
+ "GetSubscriptionAttributes": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "SubscriptionArn"
+ ],
+ "members": {
+ "SubscriptionArn": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "GetSubscriptionAttributesResult",
+ "type": "structure",
+ "members": {
+ "Attributes": {
+ "type": "map",
+ "key": {},
+ "value": {}
+ }
+ }
+ }
+ },
+ "GetTopicAttributes": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "TopicArn"
+ ],
+ "members": {
+ "TopicArn": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "GetTopicAttributesResult",
+ "type": "structure",
+ "members": {
+ "Attributes": {
+ "type": "map",
+ "key": {},
+ "value": {}
+ }
+ }
+ }
+ },
+ "ListEndpointsByPlatformApplication": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "PlatformApplicationArn"
+ ],
+ "members": {
+ "PlatformApplicationArn": {},
+ "NextToken": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "ListEndpointsByPlatformApplicationResult",
+ "type": "structure",
+ "members": {
+ "Endpoints": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "EndpointArn": {},
+ "Attributes": {
+ "shape": "Sf"
+ }
+ }
+ }
+ },
+ "NextToken": {}
+ }
+ }
+ },
+ "ListPlatformApplications": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "NextToken": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "ListPlatformApplicationsResult",
+ "type": "structure",
+ "members": {
+ "PlatformApplications": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "PlatformApplicationArn": {},
+ "Attributes": {
+ "shape": "Sf"
+ }
+ }
+ }
+ },
+ "NextToken": {}
+ }
+ }
+ },
+ "ListSubscriptions": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "NextToken": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "ListSubscriptionsResult",
+ "type": "structure",
+ "members": {
+ "Subscriptions": {
+ "shape": "S1c"
+ },
+ "NextToken": {}
+ }
+ }
+ },
+ "ListSubscriptionsByTopic": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "TopicArn"
+ ],
+ "members": {
+ "TopicArn": {},
+ "NextToken": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "ListSubscriptionsByTopicResult",
+ "type": "structure",
+ "members": {
+ "Subscriptions": {
+ "shape": "S1c"
+ },
+ "NextToken": {}
+ }
+ }
+ },
+ "ListTopics": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "NextToken": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "ListTopicsResult",
+ "type": "structure",
+ "members": {
+ "Topics": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "TopicArn": {}
+ }
+ }
+ },
+ "NextToken": {}
+ }
+ }
+ },
+ "Publish": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Message"
+ ],
+ "members": {
+ "TopicArn": {},
+ "TargetArn": {},
+ "Message": {},
+ "Subject": {},
+ "MessageStructure": {},
+ "MessageAttributes": {
+ "type": "map",
+ "key": {
+ "locationName": "Name"
+ },
+ "value": {
+ "locationName": "Value",
+ "type": "structure",
+ "required": [
+ "DataType"
+ ],
+ "members": {
+ "DataType": {},
+ "StringValue": {},
+ "BinaryValue": {
+ "type": "blob"
+ }
+ }
+ }
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "PublishResult",
+ "type": "structure",
+ "members": {
+ "MessageId": {}
+ }
+ }
+ },
+ "RemovePermission": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "TopicArn",
+ "Label"
+ ],
+ "members": {
+ "TopicArn": {},
+ "Label": {}
+ }
+ }
+ },
+ "SetEndpointAttributes": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "EndpointArn",
+ "Attributes"
+ ],
+ "members": {
+ "EndpointArn": {},
+ "Attributes": {
+ "shape": "Sf"
+ }
+ }
+ }
+ },
+ "SetPlatformApplicationAttributes": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "PlatformApplicationArn",
+ "Attributes"
+ ],
+ "members": {
+ "PlatformApplicationArn": {},
+ "Attributes": {
+ "shape": "Sf"
+ }
+ }
+ }
+ },
+ "SetSubscriptionAttributes": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "SubscriptionArn",
+ "AttributeName"
+ ],
+ "members": {
+ "SubscriptionArn": {},
+ "AttributeName": {},
+ "AttributeValue": {}
+ }
+ }
+ },
+ "SetTopicAttributes": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "TopicArn",
+ "AttributeName"
+ ],
+ "members": {
+ "TopicArn": {},
+ "AttributeName": {},
+ "AttributeValue": {}
+ }
+ }
+ },
+ "Subscribe": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "TopicArn",
+ "Protocol"
+ ],
+ "members": {
+ "TopicArn": {},
+ "Protocol": {},
+ "Endpoint": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "SubscribeResult",
+ "type": "structure",
+ "members": {
+ "SubscriptionArn": {}
+ }
+ }
+ },
+ "Unsubscribe": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "SubscriptionArn"
+ ],
+ "members": {
+ "SubscriptionArn": {}
+ }
+ }
+ }
+ },
+ "shapes": {
+ "Sf": {
+ "type": "map",
+ "key": {},
+ "value": {}
+ },
+ "S1c": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "SubscriptionArn": {},
+ "Owner": {},
+ "Protocol": {},
+ "Endpoint": {},
+ "TopicArn": {}
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/node_modules/aws-sdk/apis/sns-2010-03-31.paginators.json b/node_modules/aws-sdk/apis/sns-2010-03-31.paginators.json
new file mode 100644
index 0000000000000000000000000000000000000000..455e4708ec8ba37aa6ad669fa775ba644809f990
--- /dev/null
+++ b/node_modules/aws-sdk/apis/sns-2010-03-31.paginators.json
@@ -0,0 +1,29 @@
+{
+ "pagination": {
+ "ListEndpointsByPlatformApplication": {
+ "input_token": "NextToken",
+ "output_token": "NextToken",
+ "result_key": "Endpoints"
+ },
+ "ListPlatformApplications": {
+ "input_token": "NextToken",
+ "output_token": "NextToken",
+ "result_key": "PlatformApplications"
+ },
+ "ListSubscriptions": {
+ "input_token": "NextToken",
+ "output_token": "NextToken",
+ "result_key": "Subscriptions"
+ },
+ "ListSubscriptionsByTopic": {
+ "input_token": "NextToken",
+ "output_token": "NextToken",
+ "result_key": "Subscriptions"
+ },
+ "ListTopics": {
+ "input_token": "NextToken",
+ "output_token": "NextToken",
+ "result_key": "Topics"
+ }
+ }
+}
diff --git a/node_modules/aws-sdk/apis/sqs-2012-11-05.examples.json b/node_modules/aws-sdk/apis/sqs-2012-11-05.examples.json
new file mode 100644
index 0000000000000000000000000000000000000000..9dc8ac7427dd00b57f97ca069f18e30228f195dc
--- /dev/null
+++ b/node_modules/aws-sdk/apis/sqs-2012-11-05.examples.json
@@ -0,0 +1,44 @@
+{
+ "version": "1.0",
+ "examples": {
+ "CreateQueue": [
+ {
+ "input": {
+ "QueueName": "MyQueue"
+ },
+ "output": {
+ "QueueUrl": "https://queue.amazonaws.com/012345678910/MyQueue"
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "The following operation creates an SQS queue named MyQueue.",
+ "id": "create-an-sqs-queue-1445915686197",
+ "title": "Create an SQS queue"
+ }
+ ],
+ "GetQueueUrl": [
+ {
+ "input": {
+ "QueueName": "MyQueue",
+ "QueueOwnerAWSAccountId": "12345678910"
+ },
+ "output": {
+ "QueueUrl": "https://queue.amazonaws.com/123456789101112/MyQueue"
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "The following example retrieves the queue ARN.",
+ "id": "retrieve-queue-attributes-from-an-sqs-queue-1445915930574",
+ "title": "Retrieve queue attributes from an SQS queue"
+ }
+ ]
+ }
+}
diff --git a/node_modules/aws-sdk/apis/sqs-2012-11-05.min.json b/node_modules/aws-sdk/apis/sqs-2012-11-05.min.json
new file mode 100644
index 0000000000000000000000000000000000000000..e86e0adb644917be329a69953c877010d6b93888
--- /dev/null
+++ b/node_modules/aws-sdk/apis/sqs-2012-11-05.min.json
@@ -0,0 +1,584 @@
+{
+ "version": "2.0",
+ "metadata": {
+ "apiVersion": "2012-11-05",
+ "endpointPrefix": "sqs",
+ "serviceAbbreviation": "Amazon SQS",
+ "serviceFullName": "Amazon Simple Queue Service",
+ "signatureVersion": "v4",
+ "xmlNamespace": "http://queue.amazonaws.com/doc/2012-11-05/",
+ "protocol": "query"
+ },
+ "operations": {
+ "AddPermission": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "QueueUrl",
+ "Label",
+ "AWSAccountIds",
+ "Actions"
+ ],
+ "members": {
+ "QueueUrl": {},
+ "Label": {},
+ "AWSAccountIds": {
+ "type": "list",
+ "member": {
+ "locationName": "AWSAccountId"
+ },
+ "flattened": true
+ },
+ "Actions": {
+ "type": "list",
+ "member": {
+ "locationName": "ActionName"
+ },
+ "flattened": true
+ }
+ }
+ }
+ },
+ "ChangeMessageVisibility": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "QueueUrl",
+ "ReceiptHandle",
+ "VisibilityTimeout"
+ ],
+ "members": {
+ "QueueUrl": {},
+ "ReceiptHandle": {},
+ "VisibilityTimeout": {
+ "type": "integer"
+ }
+ }
+ }
+ },
+ "ChangeMessageVisibilityBatch": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "QueueUrl",
+ "Entries"
+ ],
+ "members": {
+ "QueueUrl": {},
+ "Entries": {
+ "type": "list",
+ "member": {
+ "locationName": "ChangeMessageVisibilityBatchRequestEntry",
+ "type": "structure",
+ "required": [
+ "Id",
+ "ReceiptHandle"
+ ],
+ "members": {
+ "Id": {},
+ "ReceiptHandle": {},
+ "VisibilityTimeout": {
+ "type": "integer"
+ }
+ }
+ },
+ "flattened": true
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "ChangeMessageVisibilityBatchResult",
+ "type": "structure",
+ "required": [
+ "Successful",
+ "Failed"
+ ],
+ "members": {
+ "Successful": {
+ "type": "list",
+ "member": {
+ "locationName": "ChangeMessageVisibilityBatchResultEntry",
+ "type": "structure",
+ "required": [
+ "Id"
+ ],
+ "members": {
+ "Id": {}
+ }
+ },
+ "flattened": true
+ },
+ "Failed": {
+ "shape": "Sd"
+ }
+ }
+ }
+ },
+ "CreateQueue": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "QueueName"
+ ],
+ "members": {
+ "QueueName": {},
+ "Attributes": {
+ "shape": "Sh",
+ "locationName": "Attribute"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "CreateQueueResult",
+ "type": "structure",
+ "members": {
+ "QueueUrl": {}
+ }
+ }
+ },
+ "DeleteMessage": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "QueueUrl",
+ "ReceiptHandle"
+ ],
+ "members": {
+ "QueueUrl": {},
+ "ReceiptHandle": {}
+ }
+ }
+ },
+ "DeleteMessageBatch": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "QueueUrl",
+ "Entries"
+ ],
+ "members": {
+ "QueueUrl": {},
+ "Entries": {
+ "type": "list",
+ "member": {
+ "locationName": "DeleteMessageBatchRequestEntry",
+ "type": "structure",
+ "required": [
+ "Id",
+ "ReceiptHandle"
+ ],
+ "members": {
+ "Id": {},
+ "ReceiptHandle": {}
+ }
+ },
+ "flattened": true
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "DeleteMessageBatchResult",
+ "type": "structure",
+ "required": [
+ "Successful",
+ "Failed"
+ ],
+ "members": {
+ "Successful": {
+ "type": "list",
+ "member": {
+ "locationName": "DeleteMessageBatchResultEntry",
+ "type": "structure",
+ "required": [
+ "Id"
+ ],
+ "members": {
+ "Id": {}
+ }
+ },
+ "flattened": true
+ },
+ "Failed": {
+ "shape": "Sd"
+ }
+ }
+ }
+ },
+ "DeleteQueue": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "QueueUrl"
+ ],
+ "members": {
+ "QueueUrl": {}
+ }
+ }
+ },
+ "GetQueueAttributes": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "QueueUrl"
+ ],
+ "members": {
+ "QueueUrl": {},
+ "AttributeNames": {
+ "shape": "St"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "GetQueueAttributesResult",
+ "type": "structure",
+ "members": {
+ "Attributes": {
+ "shape": "Sh",
+ "locationName": "Attribute"
+ }
+ }
+ }
+ },
+ "GetQueueUrl": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "QueueName"
+ ],
+ "members": {
+ "QueueName": {},
+ "QueueOwnerAWSAccountId": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "GetQueueUrlResult",
+ "type": "structure",
+ "members": {
+ "QueueUrl": {}
+ }
+ }
+ },
+ "ListDeadLetterSourceQueues": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "QueueUrl"
+ ],
+ "members": {
+ "QueueUrl": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "ListDeadLetterSourceQueuesResult",
+ "type": "structure",
+ "required": [
+ "queueUrls"
+ ],
+ "members": {
+ "queueUrls": {
+ "shape": "Sz"
+ }
+ }
+ }
+ },
+ "ListQueues": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "QueueNamePrefix": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "ListQueuesResult",
+ "type": "structure",
+ "members": {
+ "QueueUrls": {
+ "shape": "Sz"
+ }
+ }
+ }
+ },
+ "PurgeQueue": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "QueueUrl"
+ ],
+ "members": {
+ "QueueUrl": {}
+ }
+ }
+ },
+ "ReceiveMessage": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "QueueUrl"
+ ],
+ "members": {
+ "QueueUrl": {},
+ "AttributeNames": {
+ "shape": "St"
+ },
+ "MessageAttributeNames": {
+ "type": "list",
+ "member": {
+ "locationName": "MessageAttributeName"
+ },
+ "flattened": true
+ },
+ "MaxNumberOfMessages": {
+ "type": "integer"
+ },
+ "VisibilityTimeout": {
+ "type": "integer"
+ },
+ "WaitTimeSeconds": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "ReceiveMessageResult",
+ "type": "structure",
+ "members": {
+ "Messages": {
+ "type": "list",
+ "member": {
+ "locationName": "Message",
+ "type": "structure",
+ "members": {
+ "MessageId": {},
+ "ReceiptHandle": {},
+ "MD5OfBody": {},
+ "Body": {},
+ "Attributes": {
+ "shape": "Sh",
+ "locationName": "Attribute"
+ },
+ "MD5OfMessageAttributes": {},
+ "MessageAttributes": {
+ "shape": "S19",
+ "locationName": "MessageAttribute"
+ }
+ }
+ },
+ "flattened": true
+ }
+ }
+ }
+ },
+ "RemovePermission": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "QueueUrl",
+ "Label"
+ ],
+ "members": {
+ "QueueUrl": {},
+ "Label": {}
+ }
+ }
+ },
+ "SendMessage": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "QueueUrl",
+ "MessageBody"
+ ],
+ "members": {
+ "QueueUrl": {},
+ "MessageBody": {},
+ "DelaySeconds": {
+ "type": "integer"
+ },
+ "MessageAttributes": {
+ "shape": "S19",
+ "locationName": "MessageAttribute"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "SendMessageResult",
+ "type": "structure",
+ "members": {
+ "MD5OfMessageBody": {},
+ "MD5OfMessageAttributes": {},
+ "MessageId": {}
+ }
+ }
+ },
+ "SendMessageBatch": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "QueueUrl",
+ "Entries"
+ ],
+ "members": {
+ "QueueUrl": {},
+ "Entries": {
+ "type": "list",
+ "member": {
+ "locationName": "SendMessageBatchRequestEntry",
+ "type": "structure",
+ "required": [
+ "Id",
+ "MessageBody"
+ ],
+ "members": {
+ "Id": {},
+ "MessageBody": {},
+ "DelaySeconds": {
+ "type": "integer"
+ },
+ "MessageAttributes": {
+ "shape": "S19",
+ "locationName": "MessageAttribute"
+ }
+ }
+ },
+ "flattened": true
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "SendMessageBatchResult",
+ "type": "structure",
+ "required": [
+ "Successful",
+ "Failed"
+ ],
+ "members": {
+ "Successful": {
+ "type": "list",
+ "member": {
+ "locationName": "SendMessageBatchResultEntry",
+ "type": "structure",
+ "required": [
+ "Id",
+ "MessageId",
+ "MD5OfMessageBody"
+ ],
+ "members": {
+ "Id": {},
+ "MessageId": {},
+ "MD5OfMessageBody": {},
+ "MD5OfMessageAttributes": {}
+ }
+ },
+ "flattened": true
+ },
+ "Failed": {
+ "shape": "Sd"
+ }
+ }
+ }
+ },
+ "SetQueueAttributes": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "QueueUrl",
+ "Attributes"
+ ],
+ "members": {
+ "QueueUrl": {},
+ "Attributes": {
+ "shape": "Sh",
+ "locationName": "Attribute"
+ }
+ }
+ }
+ }
+ },
+ "shapes": {
+ "Sd": {
+ "type": "list",
+ "member": {
+ "locationName": "BatchResultErrorEntry",
+ "type": "structure",
+ "required": [
+ "Id",
+ "SenderFault",
+ "Code"
+ ],
+ "members": {
+ "Id": {},
+ "SenderFault": {
+ "type": "boolean"
+ },
+ "Code": {},
+ "Message": {}
+ }
+ },
+ "flattened": true
+ },
+ "Sh": {
+ "type": "map",
+ "key": {
+ "locationName": "Name"
+ },
+ "value": {
+ "locationName": "Value"
+ },
+ "flattened": true,
+ "locationName": "Attribute"
+ },
+ "St": {
+ "type": "list",
+ "member": {
+ "locationName": "AttributeName"
+ },
+ "flattened": true
+ },
+ "Sz": {
+ "type": "list",
+ "member": {
+ "locationName": "QueueUrl"
+ },
+ "flattened": true
+ },
+ "S19": {
+ "type": "map",
+ "key": {
+ "locationName": "Name"
+ },
+ "value": {
+ "locationName": "Value",
+ "type": "structure",
+ "required": [
+ "DataType"
+ ],
+ "members": {
+ "StringValue": {},
+ "BinaryValue": {
+ "type": "blob"
+ },
+ "StringListValues": {
+ "flattened": true,
+ "locationName": "StringListValue",
+ "type": "list",
+ "member": {
+ "locationName": "StringListValue"
+ }
+ },
+ "BinaryListValues": {
+ "flattened": true,
+ "locationName": "BinaryListValue",
+ "type": "list",
+ "member": {
+ "locationName": "BinaryListValue",
+ "type": "blob"
+ }
+ },
+ "DataType": {}
+ }
+ },
+ "flattened": true
+ }
+ },
+ "examples": {}
+}
\ No newline at end of file
diff --git a/node_modules/aws-sdk/apis/sqs-2012-11-05.paginators.json b/node_modules/aws-sdk/apis/sqs-2012-11-05.paginators.json
new file mode 100644
index 0000000000000000000000000000000000000000..e7ac48a9f94428139f5ec0f453a8923311cb6676
--- /dev/null
+++ b/node_modules/aws-sdk/apis/sqs-2012-11-05.paginators.json
@@ -0,0 +1,7 @@
+{
+ "pagination": {
+ "ListQueues": {
+ "result_key": "QueueUrls"
+ }
+ }
+}
diff --git a/node_modules/aws-sdk/apis/ssm-2014-11-06.min.json b/node_modules/aws-sdk/apis/ssm-2014-11-06.min.json
new file mode 100644
index 0000000000000000000000000000000000000000..a396a9107f0f8fa3bc6ce1f0df643a49545a8882
--- /dev/null
+++ b/node_modules/aws-sdk/apis/ssm-2014-11-06.min.json
@@ -0,0 +1,636 @@
+{
+ "version": "2.0",
+ "metadata": {
+ "apiVersion": "2014-11-06",
+ "endpointPrefix": "ssm",
+ "jsonVersion": "1.1",
+ "protocol": "json",
+ "serviceAbbreviation": "Amazon SSM",
+ "serviceFullName": "Amazon Simple Systems Management Service",
+ "signatureVersion": "v4",
+ "targetPrefix": "AmazonSSM"
+ },
+ "operations": {
+ "CancelCommand": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "CommandId"
+ ],
+ "members": {
+ "CommandId": {},
+ "InstanceIds": {
+ "shape": "S3"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {}
+ }
+ },
+ "CreateAssociation": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Name",
+ "InstanceId"
+ ],
+ "members": {
+ "Name": {},
+ "InstanceId": {},
+ "Parameters": {
+ "shape": "S8"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "AssociationDescription": {
+ "shape": "Sd"
+ }
+ }
+ }
+ },
+ "CreateAssociationBatch": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Entries"
+ ],
+ "members": {
+ "Entries": {
+ "type": "list",
+ "member": {
+ "shape": "Sl",
+ "locationName": "entries"
+ }
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Successful": {
+ "type": "list",
+ "member": {
+ "shape": "Sd",
+ "locationName": "AssociationDescription"
+ }
+ },
+ "Failed": {
+ "type": "list",
+ "member": {
+ "locationName": "FailedCreateAssociationEntry",
+ "type": "structure",
+ "members": {
+ "Entry": {
+ "shape": "Sl"
+ },
+ "Message": {},
+ "Fault": {}
+ }
+ }
+ }
+ }
+ }
+ },
+ "CreateDocument": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Content",
+ "Name"
+ ],
+ "members": {
+ "Content": {},
+ "Name": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "DocumentDescription": {
+ "shape": "Sv"
+ }
+ }
+ }
+ },
+ "DeleteAssociation": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Name",
+ "InstanceId"
+ ],
+ "members": {
+ "Name": {},
+ "InstanceId": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {}
+ }
+ },
+ "DeleteDocument": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Name"
+ ],
+ "members": {
+ "Name": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {}
+ }
+ },
+ "DescribeAssociation": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Name",
+ "InstanceId"
+ ],
+ "members": {
+ "Name": {},
+ "InstanceId": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "AssociationDescription": {
+ "shape": "Sd"
+ }
+ }
+ }
+ },
+ "DescribeDocument": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Name"
+ ],
+ "members": {
+ "Name": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Document": {
+ "shape": "Sv"
+ }
+ }
+ }
+ },
+ "DescribeInstanceInformation": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "InstanceInformationFilterList": {
+ "type": "list",
+ "member": {
+ "locationName": "InstanceInformationFilter",
+ "type": "structure",
+ "required": [
+ "key",
+ "valueSet"
+ ],
+ "members": {
+ "key": {},
+ "valueSet": {
+ "type": "list",
+ "member": {
+ "locationName": "InstanceInformationFilterValue"
+ }
+ }
+ }
+ }
+ },
+ "MaxResults": {
+ "type": "integer"
+ },
+ "NextToken": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "InstanceInformationList": {
+ "type": "list",
+ "member": {
+ "locationName": "InstanceInformation",
+ "type": "structure",
+ "members": {
+ "InstanceId": {},
+ "PingStatus": {},
+ "LastPingDateTime": {
+ "type": "timestamp"
+ },
+ "AgentVersion": {},
+ "IsLatestVersion": {
+ "type": "boolean"
+ },
+ "PlatformType": {},
+ "PlatformName": {},
+ "PlatformVersion": {}
+ }
+ }
+ },
+ "NextToken": {}
+ }
+ }
+ },
+ "GetDocument": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Name"
+ ],
+ "members": {
+ "Name": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Name": {},
+ "Content": {}
+ }
+ }
+ },
+ "ListAssociations": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "AssociationFilterList"
+ ],
+ "members": {
+ "AssociationFilterList": {
+ "type": "list",
+ "member": {
+ "locationName": "AssociationFilter",
+ "type": "structure",
+ "required": [
+ "key",
+ "value"
+ ],
+ "members": {
+ "key": {},
+ "value": {}
+ }
+ }
+ },
+ "MaxResults": {
+ "type": "integer"
+ },
+ "NextToken": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Associations": {
+ "type": "list",
+ "member": {
+ "locationName": "Association",
+ "type": "structure",
+ "members": {
+ "Name": {},
+ "InstanceId": {}
+ }
+ }
+ },
+ "NextToken": {}
+ }
+ }
+ },
+ "ListCommandInvocations": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "CommandId": {},
+ "InstanceId": {},
+ "MaxResults": {
+ "type": "integer"
+ },
+ "NextToken": {},
+ "Filters": {
+ "shape": "S27"
+ },
+ "Details": {
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "CommandInvocations": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "CommandId": {},
+ "InstanceId": {},
+ "Comment": {},
+ "DocumentName": {},
+ "RequestedDateTime": {
+ "type": "timestamp"
+ },
+ "Status": {},
+ "TraceOutput": {},
+ "CommandPlugins": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "Name": {},
+ "Status": {},
+ "ResponseCode": {
+ "type": "integer"
+ },
+ "ResponseStartDateTime": {
+ "type": "timestamp"
+ },
+ "ResponseFinishDateTime": {
+ "type": "timestamp"
+ },
+ "Output": {},
+ "OutputS3BucketName": {},
+ "OutputS3KeyPrefix": {}
+ }
+ }
+ }
+ }
+ }
+ },
+ "NextToken": {}
+ }
+ }
+ },
+ "ListCommands": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "CommandId": {},
+ "InstanceId": {},
+ "MaxResults": {
+ "type": "integer"
+ },
+ "NextToken": {},
+ "Filters": {
+ "shape": "S27"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Commands": {
+ "type": "list",
+ "member": {
+ "shape": "S2s"
+ }
+ },
+ "NextToken": {}
+ }
+ }
+ },
+ "ListDocuments": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DocumentFilterList": {
+ "type": "list",
+ "member": {
+ "locationName": "DocumentFilter",
+ "type": "structure",
+ "required": [
+ "key",
+ "value"
+ ],
+ "members": {
+ "key": {},
+ "value": {}
+ }
+ }
+ },
+ "MaxResults": {
+ "type": "integer"
+ },
+ "NextToken": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "DocumentIdentifiers": {
+ "type": "list",
+ "member": {
+ "locationName": "DocumentIdentifier",
+ "type": "structure",
+ "members": {
+ "Name": {},
+ "PlatformTypes": {
+ "shape": "S15"
+ }
+ }
+ }
+ },
+ "NextToken": {}
+ }
+ }
+ },
+ "SendCommand": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "InstanceIds",
+ "DocumentName"
+ ],
+ "members": {
+ "InstanceIds": {
+ "shape": "S3"
+ },
+ "DocumentName": {},
+ "TimeoutSeconds": {
+ "type": "integer"
+ },
+ "Comment": {},
+ "Parameters": {
+ "shape": "S8"
+ },
+ "OutputS3BucketName": {},
+ "OutputS3KeyPrefix": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Command": {
+ "shape": "S2s"
+ }
+ }
+ }
+ },
+ "UpdateAssociationStatus": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Name",
+ "InstanceId",
+ "AssociationStatus"
+ ],
+ "members": {
+ "Name": {},
+ "InstanceId": {},
+ "AssociationStatus": {
+ "shape": "Sf"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "AssociationDescription": {
+ "shape": "Sd"
+ }
+ }
+ }
+ }
+ },
+ "shapes": {
+ "S3": {
+ "type": "list",
+ "member": {}
+ },
+ "S8": {
+ "type": "map",
+ "key": {},
+ "value": {
+ "type": "list",
+ "member": {}
+ }
+ },
+ "Sd": {
+ "type": "structure",
+ "members": {
+ "Name": {},
+ "InstanceId": {},
+ "Date": {
+ "type": "timestamp"
+ },
+ "Status": {
+ "shape": "Sf"
+ },
+ "Parameters": {
+ "shape": "S8"
+ }
+ }
+ },
+ "Sf": {
+ "type": "structure",
+ "required": [
+ "Date",
+ "Name",
+ "Message"
+ ],
+ "members": {
+ "Date": {
+ "type": "timestamp"
+ },
+ "Name": {},
+ "Message": {},
+ "AdditionalInfo": {}
+ }
+ },
+ "Sl": {
+ "type": "structure",
+ "members": {
+ "Name": {},
+ "InstanceId": {},
+ "Parameters": {
+ "shape": "S8"
+ }
+ }
+ },
+ "Sv": {
+ "type": "structure",
+ "members": {
+ "Sha1": {},
+ "Name": {},
+ "CreatedDate": {
+ "type": "timestamp"
+ },
+ "Status": {},
+ "Description": {},
+ "Parameters": {
+ "type": "list",
+ "member": {
+ "locationName": "DocumentParameter",
+ "type": "structure",
+ "members": {
+ "Name": {},
+ "Type": {},
+ "Description": {},
+ "DefaultValue": {}
+ }
+ }
+ },
+ "PlatformTypes": {
+ "shape": "S15"
+ }
+ }
+ },
+ "S15": {
+ "type": "list",
+ "member": {
+ "locationName": "PlatformType"
+ }
+ },
+ "S27": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "key",
+ "value"
+ ],
+ "members": {
+ "key": {},
+ "value": {}
+ }
+ }
+ },
+ "S2s": {
+ "type": "structure",
+ "members": {
+ "CommandId": {},
+ "DocumentName": {},
+ "Comment": {},
+ "ExpiresAfter": {
+ "type": "timestamp"
+ },
+ "Parameters": {
+ "shape": "S8"
+ },
+ "InstanceIds": {
+ "shape": "S3"
+ },
+ "RequestedDateTime": {
+ "type": "timestamp"
+ },
+ "Status": {},
+ "OutputS3BucketName": {},
+ "OutputS3KeyPrefix": {}
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/node_modules/aws-sdk/apis/ssm-2014-11-06.paginators.json b/node_modules/aws-sdk/apis/ssm-2014-11-06.paginators.json
new file mode 100644
index 0000000000000000000000000000000000000000..1abbbeb063b1b68ba650ab67e10b2f6fbd1b5940
--- /dev/null
+++ b/node_modules/aws-sdk/apis/ssm-2014-11-06.paginators.json
@@ -0,0 +1,28 @@
+{
+ "pagination": {
+ "ListAssociations": {
+ "input_token": "NextToken",
+ "output_token": "NextToken",
+ "limit_key": "MaxResults",
+ "result_key": "Associations"
+ },
+ "ListCommandInvocations": {
+ "input_token": "NextToken",
+ "output_token": "NextToken",
+ "limit_key": "MaxResults",
+ "result_key": "CommandInvocations"
+ },
+ "ListCommands": {
+ "input_token": "NextToken",
+ "output_token": "NextToken",
+ "limit_key": "MaxResults",
+ "result_key": "Commands"
+ },
+ "ListDocuments": {
+ "input_token": "NextToken",
+ "output_token": "NextToken",
+ "limit_key": "MaxResults",
+ "result_key": "DocumentIdentifiers"
+ }
+ }
+}
diff --git a/node_modules/aws-sdk/apis/storagegateway-2013-06-30.min.json b/node_modules/aws-sdk/apis/storagegateway-2013-06-30.min.json
new file mode 100644
index 0000000000000000000000000000000000000000..4cc6f8a4b9ac06263c0284059f3c0c3bc09d8326
--- /dev/null
+++ b/node_modules/aws-sdk/apis/storagegateway-2013-06-30.min.json
@@ -0,0 +1,1446 @@
+{
+ "version": "2.0",
+ "metadata": {
+ "apiVersion": "2013-06-30",
+ "endpointPrefix": "storagegateway",
+ "jsonVersion": "1.1",
+ "protocol": "json",
+ "serviceFullName": "AWS Storage Gateway",
+ "signatureVersion": "v4",
+ "targetPrefix": "StorageGateway_20130630"
+ },
+ "operations": {
+ "ActivateGateway": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ActivationKey",
+ "GatewayName",
+ "GatewayTimezone",
+ "GatewayRegion"
+ ],
+ "members": {
+ "ActivationKey": {},
+ "GatewayName": {},
+ "GatewayTimezone": {},
+ "GatewayRegion": {},
+ "GatewayType": {},
+ "TapeDriveType": {},
+ "MediumChangerType": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "GatewayARN": {}
+ }
+ }
+ },
+ "AddCache": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "GatewayARN",
+ "DiskIds"
+ ],
+ "members": {
+ "GatewayARN": {},
+ "DiskIds": {
+ "shape": "Sc"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "GatewayARN": {}
+ }
+ }
+ },
+ "AddTagsToResource": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ResourceARN",
+ "Tags"
+ ],
+ "members": {
+ "ResourceARN": {},
+ "Tags": {
+ "shape": "Sh"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "ResourceARN": {}
+ }
+ }
+ },
+ "AddUploadBuffer": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "GatewayARN",
+ "DiskIds"
+ ],
+ "members": {
+ "GatewayARN": {},
+ "DiskIds": {
+ "shape": "Sc"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "GatewayARN": {}
+ }
+ }
+ },
+ "AddWorkingStorage": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "GatewayARN",
+ "DiskIds"
+ ],
+ "members": {
+ "GatewayARN": {},
+ "DiskIds": {
+ "shape": "Sc"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "GatewayARN": {}
+ }
+ }
+ },
+ "CancelArchival": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "GatewayARN",
+ "TapeARN"
+ ],
+ "members": {
+ "GatewayARN": {},
+ "TapeARN": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "TapeARN": {}
+ }
+ }
+ },
+ "CancelRetrieval": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "GatewayARN",
+ "TapeARN"
+ ],
+ "members": {
+ "GatewayARN": {},
+ "TapeARN": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "TapeARN": {}
+ }
+ }
+ },
+ "CreateCachediSCSIVolume": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "GatewayARN",
+ "VolumeSizeInBytes",
+ "TargetName",
+ "NetworkInterfaceId",
+ "ClientToken"
+ ],
+ "members": {
+ "GatewayARN": {},
+ "VolumeSizeInBytes": {
+ "type": "long"
+ },
+ "SnapshotId": {},
+ "TargetName": {},
+ "NetworkInterfaceId": {},
+ "ClientToken": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "VolumeARN": {},
+ "TargetARN": {}
+ }
+ }
+ },
+ "CreateSnapshot": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "VolumeARN",
+ "SnapshotDescription"
+ ],
+ "members": {
+ "VolumeARN": {},
+ "SnapshotDescription": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "VolumeARN": {},
+ "SnapshotId": {}
+ }
+ }
+ },
+ "CreateSnapshotFromVolumeRecoveryPoint": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "VolumeARN",
+ "SnapshotDescription"
+ ],
+ "members": {
+ "VolumeARN": {},
+ "SnapshotDescription": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "SnapshotId": {},
+ "VolumeARN": {},
+ "VolumeRecoveryPointTime": {}
+ }
+ }
+ },
+ "CreateStorediSCSIVolume": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "GatewayARN",
+ "DiskId",
+ "PreserveExistingData",
+ "TargetName",
+ "NetworkInterfaceId"
+ ],
+ "members": {
+ "GatewayARN": {},
+ "DiskId": {},
+ "SnapshotId": {},
+ "PreserveExistingData": {
+ "type": "boolean"
+ },
+ "TargetName": {},
+ "NetworkInterfaceId": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "VolumeARN": {},
+ "VolumeSizeInBytes": {
+ "type": "long"
+ },
+ "TargetARN": {}
+ }
+ }
+ },
+ "CreateTapeWithBarcode": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "GatewayARN",
+ "TapeSizeInBytes",
+ "TapeBarcode"
+ ],
+ "members": {
+ "GatewayARN": {},
+ "TapeSizeInBytes": {
+ "type": "long"
+ },
+ "TapeBarcode": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "TapeARN": {}
+ }
+ }
+ },
+ "CreateTapes": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "GatewayARN",
+ "TapeSizeInBytes",
+ "ClientToken",
+ "NumTapesToCreate",
+ "TapeBarcodePrefix"
+ ],
+ "members": {
+ "GatewayARN": {},
+ "TapeSizeInBytes": {
+ "type": "long"
+ },
+ "ClientToken": {},
+ "NumTapesToCreate": {
+ "type": "integer"
+ },
+ "TapeBarcodePrefix": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "TapeARNs": {
+ "shape": "S1l"
+ }
+ }
+ }
+ },
+ "DeleteBandwidthRateLimit": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "GatewayARN",
+ "BandwidthType"
+ ],
+ "members": {
+ "GatewayARN": {},
+ "BandwidthType": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "GatewayARN": {}
+ }
+ }
+ },
+ "DeleteChapCredentials": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "TargetARN",
+ "InitiatorName"
+ ],
+ "members": {
+ "TargetARN": {},
+ "InitiatorName": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "TargetARN": {},
+ "InitiatorName": {}
+ }
+ }
+ },
+ "DeleteGateway": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "GatewayARN"
+ ],
+ "members": {
+ "GatewayARN": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "GatewayARN": {}
+ }
+ }
+ },
+ "DeleteSnapshotSchedule": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "VolumeARN"
+ ],
+ "members": {
+ "VolumeARN": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "VolumeARN": {}
+ }
+ }
+ },
+ "DeleteTape": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "GatewayARN",
+ "TapeARN"
+ ],
+ "members": {
+ "GatewayARN": {},
+ "TapeARN": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "TapeARN": {}
+ }
+ }
+ },
+ "DeleteTapeArchive": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "TapeARN"
+ ],
+ "members": {
+ "TapeARN": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "TapeARN": {}
+ }
+ }
+ },
+ "DeleteVolume": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "VolumeARN"
+ ],
+ "members": {
+ "VolumeARN": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "VolumeARN": {}
+ }
+ }
+ },
+ "DescribeBandwidthRateLimit": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "GatewayARN"
+ ],
+ "members": {
+ "GatewayARN": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "GatewayARN": {},
+ "AverageUploadRateLimitInBitsPerSec": {
+ "type": "long"
+ },
+ "AverageDownloadRateLimitInBitsPerSec": {
+ "type": "long"
+ }
+ }
+ }
+ },
+ "DescribeCache": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "GatewayARN"
+ ],
+ "members": {
+ "GatewayARN": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "GatewayARN": {},
+ "DiskIds": {
+ "shape": "Sc"
+ },
+ "CacheAllocatedInBytes": {
+ "type": "long"
+ },
+ "CacheUsedPercentage": {
+ "type": "double"
+ },
+ "CacheDirtyPercentage": {
+ "type": "double"
+ },
+ "CacheHitPercentage": {
+ "type": "double"
+ },
+ "CacheMissPercentage": {
+ "type": "double"
+ }
+ }
+ }
+ },
+ "DescribeCachediSCSIVolumes": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "VolumeARNs"
+ ],
+ "members": {
+ "VolumeARNs": {
+ "shape": "S2a"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "CachediSCSIVolumes": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "VolumeARN": {},
+ "VolumeId": {},
+ "VolumeType": {},
+ "VolumeStatus": {},
+ "VolumeSizeInBytes": {
+ "type": "long"
+ },
+ "VolumeProgress": {
+ "type": "double"
+ },
+ "SourceSnapshotId": {},
+ "VolumeiSCSIAttributes": {
+ "shape": "S2i"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "DescribeChapCredentials": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "TargetARN"
+ ],
+ "members": {
+ "TargetARN": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "ChapCredentials": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "TargetARN": {},
+ "SecretToAuthenticateInitiator": {},
+ "InitiatorName": {},
+ "SecretToAuthenticateTarget": {}
+ }
+ }
+ }
+ }
+ }
+ },
+ "DescribeGatewayInformation": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "GatewayARN"
+ ],
+ "members": {
+ "GatewayARN": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "GatewayARN": {},
+ "GatewayId": {},
+ "GatewayName": {},
+ "GatewayTimezone": {},
+ "GatewayState": {},
+ "GatewayNetworkInterfaces": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "Ipv4Address": {},
+ "MacAddress": {},
+ "Ipv6Address": {}
+ }
+ }
+ },
+ "GatewayType": {},
+ "NextUpdateAvailabilityDate": {},
+ "LastSoftwareUpdate": {}
+ }
+ }
+ },
+ "DescribeMaintenanceStartTime": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "GatewayARN"
+ ],
+ "members": {
+ "GatewayARN": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "GatewayARN": {},
+ "HourOfDay": {
+ "type": "integer"
+ },
+ "MinuteOfHour": {
+ "type": "integer"
+ },
+ "DayOfWeek": {
+ "type": "integer"
+ },
+ "Timezone": {}
+ }
+ }
+ },
+ "DescribeSnapshotSchedule": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "VolumeARN"
+ ],
+ "members": {
+ "VolumeARN": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "VolumeARN": {},
+ "StartAt": {
+ "type": "integer"
+ },
+ "RecurrenceInHours": {
+ "type": "integer"
+ },
+ "Description": {},
+ "Timezone": {}
+ }
+ }
+ },
+ "DescribeStorediSCSIVolumes": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "VolumeARNs"
+ ],
+ "members": {
+ "VolumeARNs": {
+ "shape": "S2a"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "StorediSCSIVolumes": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "VolumeARN": {},
+ "VolumeId": {},
+ "VolumeType": {},
+ "VolumeStatus": {},
+ "VolumeSizeInBytes": {
+ "type": "long"
+ },
+ "VolumeProgress": {
+ "type": "double"
+ },
+ "VolumeDiskId": {},
+ "SourceSnapshotId": {},
+ "PreservedExistingData": {
+ "type": "boolean"
+ },
+ "VolumeiSCSIAttributes": {
+ "shape": "S2i"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "DescribeTapeArchives": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "TapeARNs": {
+ "shape": "S1l"
+ },
+ "Marker": {},
+ "Limit": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "TapeArchives": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "TapeARN": {},
+ "TapeBarcode": {},
+ "TapeSizeInBytes": {
+ "type": "long"
+ },
+ "CompletionTime": {
+ "type": "timestamp"
+ },
+ "RetrievedTo": {},
+ "TapeStatus": {}
+ }
+ }
+ },
+ "Marker": {}
+ }
+ }
+ },
+ "DescribeTapeRecoveryPoints": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "GatewayARN"
+ ],
+ "members": {
+ "GatewayARN": {},
+ "Marker": {},
+ "Limit": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "GatewayARN": {},
+ "TapeRecoveryPointInfos": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "TapeARN": {},
+ "TapeRecoveryPointTime": {
+ "type": "timestamp"
+ },
+ "TapeSizeInBytes": {
+ "type": "long"
+ },
+ "TapeStatus": {}
+ }
+ }
+ },
+ "Marker": {}
+ }
+ }
+ },
+ "DescribeTapes": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "GatewayARN"
+ ],
+ "members": {
+ "GatewayARN": {},
+ "TapeARNs": {
+ "shape": "S1l"
+ },
+ "Marker": {},
+ "Limit": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Tapes": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "TapeARN": {},
+ "TapeBarcode": {},
+ "TapeSizeInBytes": {
+ "type": "long"
+ },
+ "TapeStatus": {},
+ "VTLDevice": {},
+ "Progress": {
+ "type": "double"
+ }
+ }
+ }
+ },
+ "Marker": {}
+ }
+ }
+ },
+ "DescribeUploadBuffer": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "GatewayARN"
+ ],
+ "members": {
+ "GatewayARN": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "GatewayARN": {},
+ "DiskIds": {
+ "shape": "Sc"
+ },
+ "UploadBufferUsedInBytes": {
+ "type": "long"
+ },
+ "UploadBufferAllocatedInBytes": {
+ "type": "long"
+ }
+ }
+ }
+ },
+ "DescribeVTLDevices": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "GatewayARN"
+ ],
+ "members": {
+ "GatewayARN": {},
+ "VTLDeviceARNs": {
+ "type": "list",
+ "member": {}
+ },
+ "Marker": {},
+ "Limit": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "GatewayARN": {},
+ "VTLDevices": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "VTLDeviceARN": {},
+ "VTLDeviceType": {},
+ "VTLDeviceVendor": {},
+ "VTLDeviceProductIdentifier": {},
+ "DeviceiSCSIAttributes": {
+ "type": "structure",
+ "members": {
+ "TargetARN": {},
+ "NetworkInterfaceId": {},
+ "NetworkInterfacePort": {
+ "type": "integer"
+ },
+ "ChapEnabled": {
+ "type": "boolean"
+ }
+ }
+ }
+ }
+ }
+ },
+ "Marker": {}
+ }
+ }
+ },
+ "DescribeWorkingStorage": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "GatewayARN"
+ ],
+ "members": {
+ "GatewayARN": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "GatewayARN": {},
+ "DiskIds": {
+ "shape": "Sc"
+ },
+ "WorkingStorageUsedInBytes": {
+ "type": "long"
+ },
+ "WorkingStorageAllocatedInBytes": {
+ "type": "long"
+ }
+ }
+ }
+ },
+ "DisableGateway": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "GatewayARN"
+ ],
+ "members": {
+ "GatewayARN": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "GatewayARN": {}
+ }
+ }
+ },
+ "ListGateways": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "Marker": {},
+ "Limit": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Gateways": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "GatewayARN": {},
+ "GatewayType": {},
+ "GatewayOperationalState": {},
+ "GatewayName": {}
+ }
+ }
+ },
+ "Marker": {}
+ }
+ }
+ },
+ "ListLocalDisks": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "GatewayARN"
+ ],
+ "members": {
+ "GatewayARN": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "GatewayARN": {},
+ "Disks": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "DiskId": {},
+ "DiskPath": {},
+ "DiskNode": {},
+ "DiskStatus": {},
+ "DiskSizeInBytes": {
+ "type": "long"
+ },
+ "DiskAllocationType": {},
+ "DiskAllocationResource": {}
+ }
+ }
+ }
+ }
+ }
+ },
+ "ListTagsForResource": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ResourceARN"
+ ],
+ "members": {
+ "ResourceARN": {},
+ "Marker": {},
+ "Limit": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "ResourceARN": {},
+ "Marker": {},
+ "Tags": {
+ "shape": "Sh"
+ }
+ }
+ }
+ },
+ "ListVolumeInitiators": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "VolumeARN"
+ ],
+ "members": {
+ "VolumeARN": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Initiators": {
+ "type": "list",
+ "member": {}
+ }
+ }
+ }
+ },
+ "ListVolumeRecoveryPoints": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "GatewayARN"
+ ],
+ "members": {
+ "GatewayARN": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "GatewayARN": {},
+ "VolumeRecoveryPointInfos": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "VolumeARN": {},
+ "VolumeSizeInBytes": {
+ "type": "long"
+ },
+ "VolumeUsageInBytes": {
+ "type": "long"
+ },
+ "VolumeRecoveryPointTime": {}
+ }
+ }
+ }
+ }
+ }
+ },
+ "ListVolumes": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "GatewayARN"
+ ],
+ "members": {
+ "GatewayARN": {},
+ "Marker": {},
+ "Limit": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "GatewayARN": {},
+ "Marker": {},
+ "VolumeInfos": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "VolumeARN": {},
+ "VolumeType": {}
+ }
+ }
+ }
+ }
+ }
+ },
+ "RemoveTagsFromResource": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ResourceARN",
+ "TagKeys"
+ ],
+ "members": {
+ "ResourceARN": {},
+ "TagKeys": {
+ "type": "list",
+ "member": {}
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "ResourceARN": {}
+ }
+ }
+ },
+ "ResetCache": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "GatewayARN"
+ ],
+ "members": {
+ "GatewayARN": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "GatewayARN": {}
+ }
+ }
+ },
+ "RetrieveTapeArchive": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "TapeARN",
+ "GatewayARN"
+ ],
+ "members": {
+ "TapeARN": {},
+ "GatewayARN": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "TapeARN": {}
+ }
+ }
+ },
+ "RetrieveTapeRecoveryPoint": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "TapeARN",
+ "GatewayARN"
+ ],
+ "members": {
+ "TapeARN": {},
+ "GatewayARN": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "TapeARN": {}
+ }
+ }
+ },
+ "SetLocalConsolePassword": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "GatewayARN",
+ "LocalConsolePassword"
+ ],
+ "members": {
+ "GatewayARN": {},
+ "LocalConsolePassword": {
+ "type": "string",
+ "sensitive": true
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "GatewayARN": {}
+ }
+ }
+ },
+ "ShutdownGateway": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "GatewayARN"
+ ],
+ "members": {
+ "GatewayARN": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "GatewayARN": {}
+ }
+ }
+ },
+ "StartGateway": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "GatewayARN"
+ ],
+ "members": {
+ "GatewayARN": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "GatewayARN": {}
+ }
+ }
+ },
+ "UpdateBandwidthRateLimit": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "GatewayARN"
+ ],
+ "members": {
+ "GatewayARN": {},
+ "AverageUploadRateLimitInBitsPerSec": {
+ "type": "long"
+ },
+ "AverageDownloadRateLimitInBitsPerSec": {
+ "type": "long"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "GatewayARN": {}
+ }
+ }
+ },
+ "UpdateChapCredentials": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "TargetARN",
+ "SecretToAuthenticateInitiator",
+ "InitiatorName"
+ ],
+ "members": {
+ "TargetARN": {},
+ "SecretToAuthenticateInitiator": {},
+ "InitiatorName": {},
+ "SecretToAuthenticateTarget": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "TargetARN": {},
+ "InitiatorName": {}
+ }
+ }
+ },
+ "UpdateGatewayInformation": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "GatewayARN"
+ ],
+ "members": {
+ "GatewayARN": {},
+ "GatewayName": {},
+ "GatewayTimezone": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "GatewayARN": {},
+ "GatewayName": {}
+ }
+ }
+ },
+ "UpdateGatewaySoftwareNow": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "GatewayARN"
+ ],
+ "members": {
+ "GatewayARN": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "GatewayARN": {}
+ }
+ }
+ },
+ "UpdateMaintenanceStartTime": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "GatewayARN",
+ "HourOfDay",
+ "MinuteOfHour",
+ "DayOfWeek"
+ ],
+ "members": {
+ "GatewayARN": {},
+ "HourOfDay": {
+ "type": "integer"
+ },
+ "MinuteOfHour": {
+ "type": "integer"
+ },
+ "DayOfWeek": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "GatewayARN": {}
+ }
+ }
+ },
+ "UpdateSnapshotSchedule": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "VolumeARN",
+ "StartAt",
+ "RecurrenceInHours"
+ ],
+ "members": {
+ "VolumeARN": {},
+ "StartAt": {
+ "type": "integer"
+ },
+ "RecurrenceInHours": {
+ "type": "integer"
+ },
+ "Description": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "VolumeARN": {}
+ }
+ }
+ },
+ "UpdateVTLDeviceType": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "VTLDeviceARN",
+ "DeviceType"
+ ],
+ "members": {
+ "VTLDeviceARN": {},
+ "DeviceType": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "VTLDeviceARN": {}
+ }
+ }
+ }
+ },
+ "shapes": {
+ "Sc": {
+ "type": "list",
+ "member": {}
+ },
+ "Sh": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "Key",
+ "Value"
+ ],
+ "members": {
+ "Key": {},
+ "Value": {}
+ }
+ }
+ },
+ "S1l": {
+ "type": "list",
+ "member": {}
+ },
+ "S2a": {
+ "type": "list",
+ "member": {}
+ },
+ "S2i": {
+ "type": "structure",
+ "members": {
+ "TargetARN": {},
+ "NetworkInterfaceId": {},
+ "NetworkInterfacePort": {
+ "type": "integer"
+ },
+ "LunNumber": {
+ "type": "integer"
+ },
+ "ChapEnabled": {
+ "type": "boolean"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/node_modules/aws-sdk/apis/storagegateway-2013-06-30.paginators.json b/node_modules/aws-sdk/apis/storagegateway-2013-06-30.paginators.json
new file mode 100644
index 0000000000000000000000000000000000000000..286915c6364fefdeef234782979818b860173d83
--- /dev/null
+++ b/node_modules/aws-sdk/apis/storagegateway-2013-06-30.paginators.json
@@ -0,0 +1,52 @@
+{
+ "pagination": {
+ "DescribeCachediSCSIVolumes": {
+ "result_key": "CachediSCSIVolumes"
+ },
+ "DescribeStorediSCSIVolumes": {
+ "result_key": "StorediSCSIVolumes"
+ },
+ "DescribeTapeArchives": {
+ "input_token": "Marker",
+ "limit_key": "Limit",
+ "output_token": "Marker",
+ "result_key": "TapeArchives"
+ },
+ "DescribeTapeRecoveryPoints": {
+ "input_token": "Marker",
+ "limit_key": "Limit",
+ "output_token": "Marker",
+ "result_key": "TapeRecoveryPointInfos"
+ },
+ "DescribeTapes": {
+ "input_token": "Marker",
+ "limit_key": "Limit",
+ "output_token": "Marker",
+ "result_key": "Tapes"
+ },
+ "DescribeVTLDevices": {
+ "input_token": "Marker",
+ "limit_key": "Limit",
+ "output_token": "Marker",
+ "result_key": "VTLDevices"
+ },
+ "ListGateways": {
+ "input_token": "Marker",
+ "limit_key": "Limit",
+ "output_token": "Marker",
+ "result_key": "Gateways"
+ },
+ "ListLocalDisks": {
+ "result_key": "Disks"
+ },
+ "ListVolumeRecoveryPoints": {
+ "result_key": "VolumeRecoveryPointInfos"
+ },
+ "ListVolumes": {
+ "input_token": "Marker",
+ "limit_key": "Limit",
+ "output_token": "Marker",
+ "result_key": "VolumeInfos"
+ }
+ }
+}
diff --git a/node_modules/aws-sdk/apis/streams.dynamodb-2012-08-10.min.json b/node_modules/aws-sdk/apis/streams.dynamodb-2012-08-10.min.json
new file mode 100644
index 0000000000000000000000000000000000000000..7dc44d657dff678ccb28718eb0a8217efd078586
--- /dev/null
+++ b/node_modules/aws-sdk/apis/streams.dynamodb-2012-08-10.min.json
@@ -0,0 +1,236 @@
+{
+ "version": "2.0",
+ "metadata": {
+ "apiVersion": "2012-08-10",
+ "endpointPrefix": "streams.dynamodb",
+ "jsonVersion": "1.0",
+ "serviceFullName": "Amazon DynamoDB Streams",
+ "signatureVersion": "v4",
+ "signingName": "dynamodb",
+ "targetPrefix": "DynamoDBStreams_20120810",
+ "protocol": "json"
+ },
+ "operations": {
+ "DescribeStream": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "StreamArn"
+ ],
+ "members": {
+ "StreamArn": {},
+ "Limit": {
+ "type": "integer"
+ },
+ "ExclusiveStartShardId": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "StreamDescription": {
+ "type": "structure",
+ "members": {
+ "StreamArn": {},
+ "StreamLabel": {},
+ "StreamStatus": {},
+ "StreamViewType": {},
+ "CreationRequestDateTime": {
+ "type": "timestamp"
+ },
+ "TableName": {},
+ "KeySchema": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "AttributeName",
+ "KeyType"
+ ],
+ "members": {
+ "AttributeName": {},
+ "KeyType": {}
+ }
+ }
+ },
+ "Shards": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "ShardId": {},
+ "SequenceNumberRange": {
+ "type": "structure",
+ "members": {
+ "StartingSequenceNumber": {},
+ "EndingSequenceNumber": {}
+ }
+ },
+ "ParentShardId": {}
+ }
+ }
+ },
+ "LastEvaluatedShardId": {}
+ }
+ }
+ }
+ }
+ },
+ "GetRecords": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ShardIterator"
+ ],
+ "members": {
+ "ShardIterator": {},
+ "Limit": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Records": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "eventID": {},
+ "eventName": {},
+ "eventVersion": {},
+ "eventSource": {},
+ "awsRegion": {},
+ "dynamodb": {
+ "type": "structure",
+ "members": {
+ "Keys": {
+ "shape": "Sr"
+ },
+ "NewImage": {
+ "shape": "Sr"
+ },
+ "OldImage": {
+ "shape": "Sr"
+ },
+ "SequenceNumber": {},
+ "SizeBytes": {
+ "type": "long"
+ },
+ "StreamViewType": {}
+ }
+ }
+ }
+ }
+ },
+ "NextShardIterator": {}
+ }
+ }
+ },
+ "GetShardIterator": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "StreamArn",
+ "ShardId",
+ "ShardIteratorType"
+ ],
+ "members": {
+ "StreamArn": {},
+ "ShardId": {},
+ "ShardIteratorType": {},
+ "SequenceNumber": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "ShardIterator": {}
+ }
+ }
+ },
+ "ListStreams": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "TableName": {},
+ "Limit": {
+ "type": "integer"
+ },
+ "ExclusiveStartStreamArn": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Streams": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "StreamArn": {},
+ "TableName": {},
+ "StreamLabel": {}
+ }
+ }
+ },
+ "LastEvaluatedStreamArn": {}
+ }
+ }
+ }
+ },
+ "shapes": {
+ "Sr": {
+ "type": "map",
+ "key": {},
+ "value": {
+ "shape": "St"
+ }
+ },
+ "St": {
+ "type": "structure",
+ "members": {
+ "S": {},
+ "N": {},
+ "B": {
+ "type": "blob"
+ },
+ "SS": {
+ "type": "list",
+ "member": {}
+ },
+ "NS": {
+ "type": "list",
+ "member": {}
+ },
+ "BS": {
+ "type": "list",
+ "member": {
+ "type": "blob"
+ }
+ },
+ "M": {
+ "type": "map",
+ "key": {},
+ "value": {
+ "shape": "St"
+ }
+ },
+ "L": {
+ "type": "list",
+ "member": {
+ "shape": "St"
+ }
+ },
+ "NULL": {
+ "type": "boolean"
+ },
+ "BOOL": {
+ "type": "boolean"
+ }
+ }
+ }
+ },
+ "examples": {}
+}
\ No newline at end of file
diff --git a/node_modules/aws-sdk/apis/sts-2011-06-15.min.json b/node_modules/aws-sdk/apis/sts-2011-06-15.min.json
new file mode 100644
index 0000000000000000000000000000000000000000..8c19ec10d407f9da09a1b32297890533d63b228f
--- /dev/null
+++ b/node_modules/aws-sdk/apis/sts-2011-06-15.min.json
@@ -0,0 +1,234 @@
+{
+ "version": "2.0",
+ "metadata": {
+ "apiVersion": "2011-06-15",
+ "endpointPrefix": "sts",
+ "globalEndpoint": "sts.amazonaws.com",
+ "protocol": "query",
+ "serviceAbbreviation": "AWS STS",
+ "serviceFullName": "AWS Security Token Service",
+ "signatureVersion": "v4",
+ "xmlNamespace": "https://sts.amazonaws.com/doc/2011-06-15/"
+ },
+ "operations": {
+ "AssumeRole": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "RoleArn",
+ "RoleSessionName"
+ ],
+ "members": {
+ "RoleArn": {},
+ "RoleSessionName": {},
+ "Policy": {},
+ "DurationSeconds": {
+ "type": "integer"
+ },
+ "ExternalId": {},
+ "SerialNumber": {},
+ "TokenCode": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "AssumeRoleResult",
+ "type": "structure",
+ "members": {
+ "Credentials": {
+ "shape": "Sa"
+ },
+ "AssumedRoleUser": {
+ "shape": "Sf"
+ },
+ "PackedPolicySize": {
+ "type": "integer"
+ }
+ }
+ }
+ },
+ "AssumeRoleWithSAML": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "RoleArn",
+ "PrincipalArn",
+ "SAMLAssertion"
+ ],
+ "members": {
+ "RoleArn": {},
+ "PrincipalArn": {},
+ "SAMLAssertion": {},
+ "Policy": {},
+ "DurationSeconds": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "AssumeRoleWithSAMLResult",
+ "type": "structure",
+ "members": {
+ "Credentials": {
+ "shape": "Sa"
+ },
+ "AssumedRoleUser": {
+ "shape": "Sf"
+ },
+ "PackedPolicySize": {
+ "type": "integer"
+ },
+ "Subject": {},
+ "SubjectType": {},
+ "Issuer": {},
+ "Audience": {},
+ "NameQualifier": {}
+ }
+ }
+ },
+ "AssumeRoleWithWebIdentity": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "RoleArn",
+ "RoleSessionName",
+ "WebIdentityToken"
+ ],
+ "members": {
+ "RoleArn": {},
+ "RoleSessionName": {},
+ "WebIdentityToken": {},
+ "ProviderId": {},
+ "Policy": {},
+ "DurationSeconds": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "AssumeRoleWithWebIdentityResult",
+ "type": "structure",
+ "members": {
+ "Credentials": {
+ "shape": "Sa"
+ },
+ "SubjectFromWebIdentityToken": {},
+ "AssumedRoleUser": {
+ "shape": "Sf"
+ },
+ "PackedPolicySize": {
+ "type": "integer"
+ },
+ "Provider": {},
+ "Audience": {}
+ }
+ }
+ },
+ "DecodeAuthorizationMessage": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "EncodedMessage"
+ ],
+ "members": {
+ "EncodedMessage": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "DecodeAuthorizationMessageResult",
+ "type": "structure",
+ "members": {
+ "DecodedMessage": {}
+ }
+ }
+ },
+ "GetFederationToken": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Name"
+ ],
+ "members": {
+ "Name": {},
+ "Policy": {},
+ "DurationSeconds": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "resultWrapper": "GetFederationTokenResult",
+ "type": "structure",
+ "members": {
+ "Credentials": {
+ "shape": "Sa"
+ },
+ "FederatedUser": {
+ "type": "structure",
+ "required": [
+ "FederatedUserId",
+ "Arn"
+ ],
+ "members": {
+ "FederatedUserId": {},
+ "Arn": {}
+ }
+ },
+ "PackedPolicySize": {
+ "type": "integer"
+ }
+ }
+ }
+ },
+ "GetSessionToken": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DurationSeconds": {
+ "type": "integer"
+ },
+ "SerialNumber": {},
+ "TokenCode": {}
+ }
+ },
+ "output": {
+ "resultWrapper": "GetSessionTokenResult",
+ "type": "structure",
+ "members": {
+ "Credentials": {
+ "shape": "Sa"
+ }
+ }
+ }
+ }
+ },
+ "shapes": {
+ "Sa": {
+ "type": "structure",
+ "required": [
+ "AccessKeyId",
+ "SecretAccessKey",
+ "SessionToken",
+ "Expiration"
+ ],
+ "members": {
+ "AccessKeyId": {},
+ "SecretAccessKey": {},
+ "SessionToken": {},
+ "Expiration": {
+ "type": "timestamp"
+ }
+ }
+ },
+ "Sf": {
+ "type": "structure",
+ "required": [
+ "AssumedRoleId",
+ "Arn"
+ ],
+ "members": {
+ "AssumedRoleId": {},
+ "Arn": {}
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/node_modules/aws-sdk/apis/support-2013-04-15.min.json b/node_modules/aws-sdk/apis/support-2013-04-15.min.json
new file mode 100644
index 0000000000000000000000000000000000000000..abe907690a3451a6e7cb4886c7ebcf8246628128
--- /dev/null
+++ b/node_modules/aws-sdk/apis/support-2013-04-15.min.json
@@ -0,0 +1,569 @@
+{
+ "metadata": {
+ "apiVersion": "2013-04-15",
+ "endpointPrefix": "support",
+ "jsonVersion": "1.1",
+ "serviceFullName": "AWS Support",
+ "signatureVersion": "v4",
+ "targetPrefix": "AWSSupport_20130415",
+ "protocol": "json"
+ },
+ "operations": {
+ "AddAttachmentsToSet": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "attachments"
+ ],
+ "members": {
+ "attachmentSetId": {},
+ "attachments": {
+ "type": "list",
+ "member": {
+ "shape": "S4"
+ }
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "attachmentSetId": {},
+ "expiryTime": {}
+ }
+ }
+ },
+ "AddCommunicationToCase": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "communicationBody"
+ ],
+ "members": {
+ "caseId": {},
+ "communicationBody": {},
+ "ccEmailAddresses": {
+ "shape": "Sc"
+ },
+ "attachmentSetId": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "result": {
+ "type": "boolean"
+ }
+ }
+ }
+ },
+ "CreateCase": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "subject",
+ "communicationBody"
+ ],
+ "members": {
+ "subject": {},
+ "serviceCode": {},
+ "severityCode": {},
+ "categoryCode": {},
+ "communicationBody": {},
+ "ccEmailAddresses": {
+ "shape": "Sc"
+ },
+ "language": {},
+ "issueType": {},
+ "attachmentSetId": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "caseId": {}
+ }
+ }
+ },
+ "DescribeAttachment": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "attachmentId"
+ ],
+ "members": {
+ "attachmentId": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "attachment": {
+ "shape": "S4"
+ }
+ }
+ }
+ },
+ "DescribeCases": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "caseIdList": {
+ "type": "list",
+ "member": {}
+ },
+ "displayId": {},
+ "afterTime": {},
+ "beforeTime": {},
+ "includeResolvedCases": {
+ "type": "boolean"
+ },
+ "nextToken": {},
+ "maxResults": {
+ "type": "integer"
+ },
+ "language": {},
+ "includeCommunications": {
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "cases": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "caseId": {},
+ "displayId": {},
+ "subject": {},
+ "status": {},
+ "serviceCode": {},
+ "categoryCode": {},
+ "severityCode": {},
+ "submittedBy": {},
+ "timeCreated": {},
+ "recentCommunications": {
+ "type": "structure",
+ "members": {
+ "communications": {
+ "shape": "S17"
+ },
+ "nextToken": {}
+ }
+ },
+ "ccEmailAddresses": {
+ "shape": "Sc"
+ },
+ "language": {}
+ }
+ }
+ },
+ "nextToken": {}
+ }
+ }
+ },
+ "DescribeCommunications": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "caseId"
+ ],
+ "members": {
+ "caseId": {},
+ "beforeTime": {},
+ "afterTime": {},
+ "nextToken": {},
+ "maxResults": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "communications": {
+ "shape": "S17"
+ },
+ "nextToken": {}
+ }
+ }
+ },
+ "DescribeServices": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "serviceCodeList": {
+ "type": "list",
+ "member": {}
+ },
+ "language": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "services": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "code": {},
+ "name": {},
+ "categories": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "code": {},
+ "name": {}
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "DescribeSeverityLevels": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "language": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "severityLevels": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "code": {},
+ "name": {}
+ }
+ }
+ }
+ }
+ }
+ },
+ "DescribeTrustedAdvisorCheckRefreshStatuses": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "checkIds"
+ ],
+ "members": {
+ "checkIds": {
+ "shape": "S1t"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "statuses"
+ ],
+ "members": {
+ "statuses": {
+ "type": "list",
+ "member": {
+ "shape": "S1x"
+ }
+ }
+ }
+ }
+ },
+ "DescribeTrustedAdvisorCheckResult": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "checkId"
+ ],
+ "members": {
+ "checkId": {},
+ "language": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "result": {
+ "type": "structure",
+ "required": [
+ "checkId",
+ "timestamp",
+ "status",
+ "resourcesSummary",
+ "categorySpecificSummary",
+ "flaggedResources"
+ ],
+ "members": {
+ "checkId": {},
+ "timestamp": {},
+ "status": {},
+ "resourcesSummary": {
+ "shape": "S22"
+ },
+ "categorySpecificSummary": {
+ "shape": "S23"
+ },
+ "flaggedResources": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "status",
+ "region",
+ "resourceId",
+ "metadata"
+ ],
+ "members": {
+ "status": {},
+ "region": {},
+ "resourceId": {},
+ "isSuppressed": {
+ "type": "boolean"
+ },
+ "metadata": {
+ "shape": "S1t"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "DescribeTrustedAdvisorCheckSummaries": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "checkIds"
+ ],
+ "members": {
+ "checkIds": {
+ "shape": "S1t"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "summaries"
+ ],
+ "members": {
+ "summaries": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "checkId",
+ "timestamp",
+ "status",
+ "resourcesSummary",
+ "categorySpecificSummary"
+ ],
+ "members": {
+ "checkId": {},
+ "timestamp": {},
+ "status": {},
+ "hasFlaggedResources": {
+ "type": "boolean"
+ },
+ "resourcesSummary": {
+ "shape": "S22"
+ },
+ "categorySpecificSummary": {
+ "shape": "S23"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "DescribeTrustedAdvisorChecks": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "language"
+ ],
+ "members": {
+ "language": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "checks"
+ ],
+ "members": {
+ "checks": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "id",
+ "name",
+ "description",
+ "category",
+ "metadata"
+ ],
+ "members": {
+ "id": {},
+ "name": {},
+ "description": {},
+ "category": {},
+ "metadata": {
+ "shape": "S1t"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "RefreshTrustedAdvisorCheck": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "checkId"
+ ],
+ "members": {
+ "checkId": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "status"
+ ],
+ "members": {
+ "status": {
+ "shape": "S1x"
+ }
+ }
+ }
+ },
+ "ResolveCase": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "caseId": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "initialCaseStatus": {},
+ "finalCaseStatus": {}
+ }
+ }
+ }
+ },
+ "shapes": {
+ "S4": {
+ "type": "structure",
+ "members": {
+ "fileName": {},
+ "data": {
+ "type": "blob"
+ }
+ }
+ },
+ "Sc": {
+ "type": "list",
+ "member": {}
+ },
+ "S17": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "caseId": {},
+ "body": {},
+ "submittedBy": {},
+ "timeCreated": {},
+ "attachmentSet": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "attachmentId": {},
+ "fileName": {}
+ }
+ }
+ }
+ }
+ }
+ },
+ "S1t": {
+ "type": "list",
+ "member": {}
+ },
+ "S1x": {
+ "type": "structure",
+ "required": [
+ "checkId",
+ "status",
+ "millisUntilNextRefreshable"
+ ],
+ "members": {
+ "checkId": {},
+ "status": {},
+ "millisUntilNextRefreshable": {
+ "type": "long"
+ }
+ }
+ },
+ "S22": {
+ "type": "structure",
+ "required": [
+ "resourcesProcessed",
+ "resourcesFlagged",
+ "resourcesIgnored",
+ "resourcesSuppressed"
+ ],
+ "members": {
+ "resourcesProcessed": {
+ "type": "long"
+ },
+ "resourcesFlagged": {
+ "type": "long"
+ },
+ "resourcesIgnored": {
+ "type": "long"
+ },
+ "resourcesSuppressed": {
+ "type": "long"
+ }
+ }
+ },
+ "S23": {
+ "type": "structure",
+ "members": {
+ "costOptimizing": {
+ "type": "structure",
+ "required": [
+ "estimatedMonthlySavings",
+ "estimatedPercentMonthlySavings"
+ ],
+ "members": {
+ "estimatedMonthlySavings": {
+ "type": "double"
+ },
+ "estimatedPercentMonthlySavings": {
+ "type": "double"
+ }
+ }
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/node_modules/aws-sdk/apis/support-2013-04-15.paginators.json b/node_modules/aws-sdk/apis/support-2013-04-15.paginators.json
new file mode 100644
index 0000000000000000000000000000000000000000..1368630c84ffc85406d641c5a03e0c370e585fd0
--- /dev/null
+++ b/node_modules/aws-sdk/apis/support-2013-04-15.paginators.json
@@ -0,0 +1,25 @@
+{
+ "pagination": {
+ "DescribeCases": {
+ "input_token": "nextToken",
+ "output_token": "nextToken",
+ "limit_key": "maxResults",
+ "result_key": "cases"
+ },
+ "DescribeCommunications": {
+ "input_token": "nextToken",
+ "output_token": "nextToken",
+ "limit_key": "maxResults",
+ "result_key": "communications"
+ },
+ "DescribeServices": {
+ "result_key": "services"
+ },
+ "DescribeTrustedAdvisorCheckRefreshStatuses": {
+ "result_key": "statuses"
+ },
+ "DescribeTrustedAdvisorCheckSummaries": {
+ "result_key": "summaries"
+ }
+ }
+}
diff --git a/node_modules/aws-sdk/apis/swf-2012-01-25.min.json b/node_modules/aws-sdk/apis/swf-2012-01-25.min.json
new file mode 100644
index 0000000000000000000000000000000000000000..ebd4a2234788fe071bbc4516b4cecf7811045bfd
--- /dev/null
+++ b/node_modules/aws-sdk/apis/swf-2012-01-25.min.json
@@ -0,0 +1,2217 @@
+{
+ "version": "2.0",
+ "metadata": {
+ "apiVersion": "2012-01-25",
+ "endpointPrefix": "swf",
+ "jsonVersion": "1.0",
+ "serviceAbbreviation": "Amazon SWF",
+ "serviceFullName": "Amazon Simple Workflow Service",
+ "signatureVersion": "v4",
+ "targetPrefix": "SimpleWorkflowService",
+ "timestampFormat": "unixTimestamp",
+ "protocol": "json"
+ },
+ "operations": {
+ "CountClosedWorkflowExecutions": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "domain"
+ ],
+ "members": {
+ "domain": {},
+ "startTimeFilter": {
+ "shape": "S3"
+ },
+ "closeTimeFilter": {
+ "shape": "S3"
+ },
+ "executionFilter": {
+ "shape": "S5"
+ },
+ "typeFilter": {
+ "shape": "S7"
+ },
+ "tagFilter": {
+ "shape": "Sa"
+ },
+ "closeStatusFilter": {
+ "shape": "Sc"
+ }
+ }
+ },
+ "output": {
+ "shape": "Se"
+ }
+ },
+ "CountOpenWorkflowExecutions": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "domain",
+ "startTimeFilter"
+ ],
+ "members": {
+ "domain": {},
+ "startTimeFilter": {
+ "shape": "S3"
+ },
+ "typeFilter": {
+ "shape": "S7"
+ },
+ "tagFilter": {
+ "shape": "Sa"
+ },
+ "executionFilter": {
+ "shape": "S5"
+ }
+ }
+ },
+ "output": {
+ "shape": "Se"
+ }
+ },
+ "CountPendingActivityTasks": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "domain",
+ "taskList"
+ ],
+ "members": {
+ "domain": {},
+ "taskList": {
+ "shape": "Sj"
+ }
+ }
+ },
+ "output": {
+ "shape": "Sk"
+ }
+ },
+ "CountPendingDecisionTasks": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "domain",
+ "taskList"
+ ],
+ "members": {
+ "domain": {},
+ "taskList": {
+ "shape": "Sj"
+ }
+ }
+ },
+ "output": {
+ "shape": "Sk"
+ }
+ },
+ "DeprecateActivityType": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "domain",
+ "activityType"
+ ],
+ "members": {
+ "domain": {},
+ "activityType": {
+ "shape": "Sn"
+ }
+ }
+ }
+ },
+ "DeprecateDomain": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "name"
+ ],
+ "members": {
+ "name": {}
+ }
+ }
+ },
+ "DeprecateWorkflowType": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "domain",
+ "workflowType"
+ ],
+ "members": {
+ "domain": {},
+ "workflowType": {
+ "shape": "Sr"
+ }
+ }
+ }
+ },
+ "DescribeActivityType": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "domain",
+ "activityType"
+ ],
+ "members": {
+ "domain": {},
+ "activityType": {
+ "shape": "Sn"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "typeInfo",
+ "configuration"
+ ],
+ "members": {
+ "typeInfo": {
+ "shape": "Su"
+ },
+ "configuration": {
+ "type": "structure",
+ "members": {
+ "defaultTaskStartToCloseTimeout": {},
+ "defaultTaskHeartbeatTimeout": {},
+ "defaultTaskList": {
+ "shape": "Sj"
+ },
+ "defaultTaskPriority": {},
+ "defaultTaskScheduleToStartTimeout": {},
+ "defaultTaskScheduleToCloseTimeout": {}
+ }
+ }
+ }
+ }
+ },
+ "DescribeDomain": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "name"
+ ],
+ "members": {
+ "name": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "domainInfo",
+ "configuration"
+ ],
+ "members": {
+ "domainInfo": {
+ "shape": "S12"
+ },
+ "configuration": {
+ "type": "structure",
+ "required": [
+ "workflowExecutionRetentionPeriodInDays"
+ ],
+ "members": {
+ "workflowExecutionRetentionPeriodInDays": {}
+ }
+ }
+ }
+ }
+ },
+ "DescribeWorkflowExecution": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "domain",
+ "execution"
+ ],
+ "members": {
+ "domain": {},
+ "execution": {
+ "shape": "S16"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "executionInfo",
+ "executionConfiguration",
+ "openCounts"
+ ],
+ "members": {
+ "executionInfo": {
+ "shape": "S19"
+ },
+ "executionConfiguration": {
+ "type": "structure",
+ "required": [
+ "taskStartToCloseTimeout",
+ "executionStartToCloseTimeout",
+ "taskList",
+ "childPolicy"
+ ],
+ "members": {
+ "taskStartToCloseTimeout": {},
+ "executionStartToCloseTimeout": {},
+ "taskList": {
+ "shape": "Sj"
+ },
+ "taskPriority": {},
+ "childPolicy": {},
+ "lambdaRole": {}
+ }
+ },
+ "openCounts": {
+ "type": "structure",
+ "required": [
+ "openActivityTasks",
+ "openDecisionTasks",
+ "openTimers",
+ "openChildWorkflowExecutions"
+ ],
+ "members": {
+ "openActivityTasks": {
+ "type": "integer"
+ },
+ "openDecisionTasks": {
+ "type": "integer"
+ },
+ "openTimers": {
+ "type": "integer"
+ },
+ "openChildWorkflowExecutions": {
+ "type": "integer"
+ },
+ "openLambdaFunctions": {
+ "type": "integer"
+ }
+ }
+ },
+ "latestActivityTaskTimestamp": {
+ "type": "timestamp"
+ },
+ "latestExecutionContext": {}
+ }
+ }
+ },
+ "DescribeWorkflowType": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "domain",
+ "workflowType"
+ ],
+ "members": {
+ "domain": {},
+ "workflowType": {
+ "shape": "Sr"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "typeInfo",
+ "configuration"
+ ],
+ "members": {
+ "typeInfo": {
+ "shape": "S1m"
+ },
+ "configuration": {
+ "type": "structure",
+ "members": {
+ "defaultTaskStartToCloseTimeout": {},
+ "defaultExecutionStartToCloseTimeout": {},
+ "defaultTaskList": {
+ "shape": "Sj"
+ },
+ "defaultTaskPriority": {},
+ "defaultChildPolicy": {},
+ "defaultLambdaRole": {}
+ }
+ }
+ }
+ }
+ },
+ "GetWorkflowExecutionHistory": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "domain",
+ "execution"
+ ],
+ "members": {
+ "domain": {},
+ "execution": {
+ "shape": "S16"
+ },
+ "nextPageToken": {},
+ "maximumPageSize": {
+ "type": "integer"
+ },
+ "reverseOrder": {
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "events"
+ ],
+ "members": {
+ "events": {
+ "shape": "S1t"
+ },
+ "nextPageToken": {}
+ }
+ }
+ },
+ "ListActivityTypes": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "domain",
+ "registrationStatus"
+ ],
+ "members": {
+ "domain": {},
+ "name": {},
+ "registrationStatus": {},
+ "nextPageToken": {},
+ "maximumPageSize": {
+ "type": "integer"
+ },
+ "reverseOrder": {
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "typeInfos"
+ ],
+ "members": {
+ "typeInfos": {
+ "type": "list",
+ "member": {
+ "shape": "Su"
+ }
+ },
+ "nextPageToken": {}
+ }
+ }
+ },
+ "ListClosedWorkflowExecutions": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "domain"
+ ],
+ "members": {
+ "domain": {},
+ "startTimeFilter": {
+ "shape": "S3"
+ },
+ "closeTimeFilter": {
+ "shape": "S3"
+ },
+ "executionFilter": {
+ "shape": "S5"
+ },
+ "closeStatusFilter": {
+ "shape": "Sc"
+ },
+ "typeFilter": {
+ "shape": "S7"
+ },
+ "tagFilter": {
+ "shape": "Sa"
+ },
+ "nextPageToken": {},
+ "maximumPageSize": {
+ "type": "integer"
+ },
+ "reverseOrder": {
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "shape": "S4g"
+ }
+ },
+ "ListDomains": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "registrationStatus"
+ ],
+ "members": {
+ "nextPageToken": {},
+ "registrationStatus": {},
+ "maximumPageSize": {
+ "type": "integer"
+ },
+ "reverseOrder": {
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "domainInfos"
+ ],
+ "members": {
+ "domainInfos": {
+ "type": "list",
+ "member": {
+ "shape": "S12"
+ }
+ },
+ "nextPageToken": {}
+ }
+ }
+ },
+ "ListOpenWorkflowExecutions": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "domain",
+ "startTimeFilter"
+ ],
+ "members": {
+ "domain": {},
+ "startTimeFilter": {
+ "shape": "S3"
+ },
+ "typeFilter": {
+ "shape": "S7"
+ },
+ "tagFilter": {
+ "shape": "Sa"
+ },
+ "nextPageToken": {},
+ "maximumPageSize": {
+ "type": "integer"
+ },
+ "reverseOrder": {
+ "type": "boolean"
+ },
+ "executionFilter": {
+ "shape": "S5"
+ }
+ }
+ },
+ "output": {
+ "shape": "S4g"
+ }
+ },
+ "ListWorkflowTypes": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "domain",
+ "registrationStatus"
+ ],
+ "members": {
+ "domain": {},
+ "name": {},
+ "registrationStatus": {},
+ "nextPageToken": {},
+ "maximumPageSize": {
+ "type": "integer"
+ },
+ "reverseOrder": {
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "typeInfos"
+ ],
+ "members": {
+ "typeInfos": {
+ "type": "list",
+ "member": {
+ "shape": "S1m"
+ }
+ },
+ "nextPageToken": {}
+ }
+ }
+ },
+ "PollForActivityTask": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "domain",
+ "taskList"
+ ],
+ "members": {
+ "domain": {},
+ "taskList": {
+ "shape": "Sj"
+ },
+ "identity": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "taskToken",
+ "activityId",
+ "startedEventId",
+ "workflowExecution",
+ "activityType"
+ ],
+ "members": {
+ "taskToken": {},
+ "activityId": {},
+ "startedEventId": {
+ "type": "long"
+ },
+ "workflowExecution": {
+ "shape": "S16"
+ },
+ "activityType": {
+ "shape": "Sn"
+ },
+ "input": {}
+ }
+ }
+ },
+ "PollForDecisionTask": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "domain",
+ "taskList"
+ ],
+ "members": {
+ "domain": {},
+ "taskList": {
+ "shape": "Sj"
+ },
+ "identity": {},
+ "nextPageToken": {},
+ "maximumPageSize": {
+ "type": "integer"
+ },
+ "reverseOrder": {
+ "type": "boolean"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "taskToken",
+ "startedEventId",
+ "workflowExecution",
+ "workflowType",
+ "events"
+ ],
+ "members": {
+ "taskToken": {},
+ "startedEventId": {
+ "type": "long"
+ },
+ "workflowExecution": {
+ "shape": "S16"
+ },
+ "workflowType": {
+ "shape": "Sr"
+ },
+ "events": {
+ "shape": "S1t"
+ },
+ "nextPageToken": {},
+ "previousStartedEventId": {
+ "type": "long"
+ }
+ }
+ }
+ },
+ "RecordActivityTaskHeartbeat": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "taskToken"
+ ],
+ "members": {
+ "taskToken": {},
+ "details": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "required": [
+ "cancelRequested"
+ ],
+ "members": {
+ "cancelRequested": {
+ "type": "boolean"
+ }
+ }
+ }
+ },
+ "RegisterActivityType": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "domain",
+ "name",
+ "version"
+ ],
+ "members": {
+ "domain": {},
+ "name": {},
+ "version": {},
+ "description": {},
+ "defaultTaskStartToCloseTimeout": {},
+ "defaultTaskHeartbeatTimeout": {},
+ "defaultTaskList": {
+ "shape": "Sj"
+ },
+ "defaultTaskPriority": {},
+ "defaultTaskScheduleToStartTimeout": {},
+ "defaultTaskScheduleToCloseTimeout": {}
+ }
+ }
+ },
+ "RegisterDomain": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "name",
+ "workflowExecutionRetentionPeriodInDays"
+ ],
+ "members": {
+ "name": {},
+ "description": {},
+ "workflowExecutionRetentionPeriodInDays": {}
+ }
+ }
+ },
+ "RegisterWorkflowType": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "domain",
+ "name",
+ "version"
+ ],
+ "members": {
+ "domain": {},
+ "name": {},
+ "version": {},
+ "description": {},
+ "defaultTaskStartToCloseTimeout": {},
+ "defaultExecutionStartToCloseTimeout": {},
+ "defaultTaskList": {
+ "shape": "Sj"
+ },
+ "defaultTaskPriority": {},
+ "defaultChildPolicy": {},
+ "defaultLambdaRole": {}
+ }
+ }
+ },
+ "RequestCancelWorkflowExecution": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "domain",
+ "workflowId"
+ ],
+ "members": {
+ "domain": {},
+ "workflowId": {},
+ "runId": {}
+ }
+ }
+ },
+ "RespondActivityTaskCanceled": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "taskToken"
+ ],
+ "members": {
+ "taskToken": {},
+ "details": {}
+ }
+ }
+ },
+ "RespondActivityTaskCompleted": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "taskToken"
+ ],
+ "members": {
+ "taskToken": {},
+ "result": {}
+ }
+ }
+ },
+ "RespondActivityTaskFailed": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "taskToken"
+ ],
+ "members": {
+ "taskToken": {},
+ "reason": {},
+ "details": {}
+ }
+ }
+ },
+ "RespondDecisionTaskCompleted": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "taskToken"
+ ],
+ "members": {
+ "taskToken": {},
+ "decisions": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "decisionType"
+ ],
+ "members": {
+ "decisionType": {},
+ "scheduleActivityTaskDecisionAttributes": {
+ "type": "structure",
+ "required": [
+ "activityType",
+ "activityId"
+ ],
+ "members": {
+ "activityType": {
+ "shape": "Sn"
+ },
+ "activityId": {},
+ "control": {},
+ "input": {},
+ "scheduleToCloseTimeout": {},
+ "taskList": {
+ "shape": "Sj"
+ },
+ "taskPriority": {},
+ "scheduleToStartTimeout": {},
+ "startToCloseTimeout": {},
+ "heartbeatTimeout": {}
+ }
+ },
+ "requestCancelActivityTaskDecisionAttributes": {
+ "type": "structure",
+ "required": [
+ "activityId"
+ ],
+ "members": {
+ "activityId": {}
+ }
+ },
+ "completeWorkflowExecutionDecisionAttributes": {
+ "type": "structure",
+ "members": {
+ "result": {}
+ }
+ },
+ "failWorkflowExecutionDecisionAttributes": {
+ "type": "structure",
+ "members": {
+ "reason": {},
+ "details": {}
+ }
+ },
+ "cancelWorkflowExecutionDecisionAttributes": {
+ "type": "structure",
+ "members": {
+ "details": {}
+ }
+ },
+ "continueAsNewWorkflowExecutionDecisionAttributes": {
+ "type": "structure",
+ "members": {
+ "input": {},
+ "executionStartToCloseTimeout": {},
+ "taskList": {
+ "shape": "Sj"
+ },
+ "taskPriority": {},
+ "taskStartToCloseTimeout": {},
+ "childPolicy": {},
+ "tagList": {
+ "shape": "S1b"
+ },
+ "workflowTypeVersion": {},
+ "lambdaRole": {}
+ }
+ },
+ "recordMarkerDecisionAttributes": {
+ "type": "structure",
+ "required": [
+ "markerName"
+ ],
+ "members": {
+ "markerName": {},
+ "details": {}
+ }
+ },
+ "startTimerDecisionAttributes": {
+ "type": "structure",
+ "required": [
+ "timerId",
+ "startToFireTimeout"
+ ],
+ "members": {
+ "timerId": {},
+ "control": {},
+ "startToFireTimeout": {}
+ }
+ },
+ "cancelTimerDecisionAttributes": {
+ "type": "structure",
+ "required": [
+ "timerId"
+ ],
+ "members": {
+ "timerId": {}
+ }
+ },
+ "signalExternalWorkflowExecutionDecisionAttributes": {
+ "type": "structure",
+ "required": [
+ "workflowId",
+ "signalName"
+ ],
+ "members": {
+ "workflowId": {},
+ "runId": {},
+ "signalName": {},
+ "input": {},
+ "control": {}
+ }
+ },
+ "requestCancelExternalWorkflowExecutionDecisionAttributes": {
+ "type": "structure",
+ "required": [
+ "workflowId"
+ ],
+ "members": {
+ "workflowId": {},
+ "runId": {},
+ "control": {}
+ }
+ },
+ "startChildWorkflowExecutionDecisionAttributes": {
+ "type": "structure",
+ "required": [
+ "workflowType",
+ "workflowId"
+ ],
+ "members": {
+ "workflowType": {
+ "shape": "Sr"
+ },
+ "workflowId": {},
+ "control": {},
+ "input": {},
+ "executionStartToCloseTimeout": {},
+ "taskList": {
+ "shape": "Sj"
+ },
+ "taskPriority": {},
+ "taskStartToCloseTimeout": {},
+ "childPolicy": {},
+ "tagList": {
+ "shape": "S1b"
+ },
+ "lambdaRole": {}
+ }
+ },
+ "scheduleLambdaFunctionDecisionAttributes": {
+ "type": "structure",
+ "required": [
+ "id",
+ "name"
+ ],
+ "members": {
+ "id": {},
+ "name": {},
+ "input": {},
+ "startToCloseTimeout": {}
+ }
+ }
+ }
+ }
+ },
+ "executionContext": {}
+ }
+ }
+ },
+ "SignalWorkflowExecution": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "domain",
+ "workflowId",
+ "signalName"
+ ],
+ "members": {
+ "domain": {},
+ "workflowId": {},
+ "runId": {},
+ "signalName": {},
+ "input": {}
+ }
+ }
+ },
+ "StartWorkflowExecution": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "domain",
+ "workflowId",
+ "workflowType"
+ ],
+ "members": {
+ "domain": {},
+ "workflowId": {},
+ "workflowType": {
+ "shape": "Sr"
+ },
+ "taskList": {
+ "shape": "Sj"
+ },
+ "taskPriority": {},
+ "input": {},
+ "executionStartToCloseTimeout": {},
+ "tagList": {
+ "shape": "S1b"
+ },
+ "taskStartToCloseTimeout": {},
+ "childPolicy": {},
+ "lambdaRole": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "runId": {}
+ }
+ }
+ },
+ "TerminateWorkflowExecution": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "domain",
+ "workflowId"
+ ],
+ "members": {
+ "domain": {},
+ "workflowId": {},
+ "runId": {},
+ "reason": {},
+ "details": {},
+ "childPolicy": {}
+ }
+ }
+ }
+ },
+ "shapes": {
+ "S3": {
+ "type": "structure",
+ "required": [
+ "oldestDate"
+ ],
+ "members": {
+ "oldestDate": {
+ "type": "timestamp"
+ },
+ "latestDate": {
+ "type": "timestamp"
+ }
+ }
+ },
+ "S5": {
+ "type": "structure",
+ "required": [
+ "workflowId"
+ ],
+ "members": {
+ "workflowId": {}
+ }
+ },
+ "S7": {
+ "type": "structure",
+ "required": [
+ "name"
+ ],
+ "members": {
+ "name": {},
+ "version": {}
+ }
+ },
+ "Sa": {
+ "type": "structure",
+ "required": [
+ "tag"
+ ],
+ "members": {
+ "tag": {}
+ }
+ },
+ "Sc": {
+ "type": "structure",
+ "required": [
+ "status"
+ ],
+ "members": {
+ "status": {}
+ }
+ },
+ "Se": {
+ "type": "structure",
+ "required": [
+ "count"
+ ],
+ "members": {
+ "count": {
+ "type": "integer"
+ },
+ "truncated": {
+ "type": "boolean"
+ }
+ }
+ },
+ "Sj": {
+ "type": "structure",
+ "required": [
+ "name"
+ ],
+ "members": {
+ "name": {}
+ }
+ },
+ "Sk": {
+ "type": "structure",
+ "required": [
+ "count"
+ ],
+ "members": {
+ "count": {
+ "type": "integer"
+ },
+ "truncated": {
+ "type": "boolean"
+ }
+ }
+ },
+ "Sn": {
+ "type": "structure",
+ "required": [
+ "name",
+ "version"
+ ],
+ "members": {
+ "name": {},
+ "version": {}
+ }
+ },
+ "Sr": {
+ "type": "structure",
+ "required": [
+ "name",
+ "version"
+ ],
+ "members": {
+ "name": {},
+ "version": {}
+ }
+ },
+ "Su": {
+ "type": "structure",
+ "required": [
+ "activityType",
+ "status",
+ "creationDate"
+ ],
+ "members": {
+ "activityType": {
+ "shape": "Sn"
+ },
+ "status": {},
+ "description": {},
+ "creationDate": {
+ "type": "timestamp"
+ },
+ "deprecationDate": {
+ "type": "timestamp"
+ }
+ }
+ },
+ "S12": {
+ "type": "structure",
+ "required": [
+ "name",
+ "status"
+ ],
+ "members": {
+ "name": {},
+ "status": {},
+ "description": {}
+ }
+ },
+ "S16": {
+ "type": "structure",
+ "required": [
+ "workflowId",
+ "runId"
+ ],
+ "members": {
+ "workflowId": {},
+ "runId": {}
+ }
+ },
+ "S19": {
+ "type": "structure",
+ "required": [
+ "execution",
+ "workflowType",
+ "startTimestamp",
+ "executionStatus"
+ ],
+ "members": {
+ "execution": {
+ "shape": "S16"
+ },
+ "workflowType": {
+ "shape": "Sr"
+ },
+ "startTimestamp": {
+ "type": "timestamp"
+ },
+ "closeTimestamp": {
+ "type": "timestamp"
+ },
+ "executionStatus": {},
+ "closeStatus": {},
+ "parent": {
+ "shape": "S16"
+ },
+ "tagList": {
+ "shape": "S1b"
+ },
+ "cancelRequested": {
+ "type": "boolean"
+ }
+ }
+ },
+ "S1b": {
+ "type": "list",
+ "member": {}
+ },
+ "S1m": {
+ "type": "structure",
+ "required": [
+ "workflowType",
+ "status",
+ "creationDate"
+ ],
+ "members": {
+ "workflowType": {
+ "shape": "Sr"
+ },
+ "status": {},
+ "description": {},
+ "creationDate": {
+ "type": "timestamp"
+ },
+ "deprecationDate": {
+ "type": "timestamp"
+ }
+ }
+ },
+ "S1t": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "eventTimestamp",
+ "eventType",
+ "eventId"
+ ],
+ "members": {
+ "eventTimestamp": {
+ "type": "timestamp"
+ },
+ "eventType": {},
+ "eventId": {
+ "type": "long"
+ },
+ "workflowExecutionStartedEventAttributes": {
+ "type": "structure",
+ "required": [
+ "childPolicy",
+ "taskList",
+ "workflowType"
+ ],
+ "members": {
+ "input": {},
+ "executionStartToCloseTimeout": {},
+ "taskStartToCloseTimeout": {},
+ "childPolicy": {},
+ "taskList": {
+ "shape": "Sj"
+ },
+ "workflowType": {
+ "shape": "Sr"
+ },
+ "tagList": {
+ "shape": "S1b"
+ },
+ "taskPriority": {},
+ "continuedExecutionRunId": {},
+ "parentWorkflowExecution": {
+ "shape": "S16"
+ },
+ "parentInitiatedEventId": {
+ "type": "long"
+ },
+ "lambdaRole": {}
+ }
+ },
+ "workflowExecutionCompletedEventAttributes": {
+ "type": "structure",
+ "required": [
+ "decisionTaskCompletedEventId"
+ ],
+ "members": {
+ "result": {},
+ "decisionTaskCompletedEventId": {
+ "type": "long"
+ }
+ }
+ },
+ "completeWorkflowExecutionFailedEventAttributes": {
+ "type": "structure",
+ "required": [
+ "cause",
+ "decisionTaskCompletedEventId"
+ ],
+ "members": {
+ "cause": {},
+ "decisionTaskCompletedEventId": {
+ "type": "long"
+ }
+ }
+ },
+ "workflowExecutionFailedEventAttributes": {
+ "type": "structure",
+ "required": [
+ "decisionTaskCompletedEventId"
+ ],
+ "members": {
+ "reason": {},
+ "details": {},
+ "decisionTaskCompletedEventId": {
+ "type": "long"
+ }
+ }
+ },
+ "failWorkflowExecutionFailedEventAttributes": {
+ "type": "structure",
+ "required": [
+ "cause",
+ "decisionTaskCompletedEventId"
+ ],
+ "members": {
+ "cause": {},
+ "decisionTaskCompletedEventId": {
+ "type": "long"
+ }
+ }
+ },
+ "workflowExecutionTimedOutEventAttributes": {
+ "type": "structure",
+ "required": [
+ "timeoutType",
+ "childPolicy"
+ ],
+ "members": {
+ "timeoutType": {},
+ "childPolicy": {}
+ }
+ },
+ "workflowExecutionCanceledEventAttributes": {
+ "type": "structure",
+ "required": [
+ "decisionTaskCompletedEventId"
+ ],
+ "members": {
+ "details": {},
+ "decisionTaskCompletedEventId": {
+ "type": "long"
+ }
+ }
+ },
+ "cancelWorkflowExecutionFailedEventAttributes": {
+ "type": "structure",
+ "required": [
+ "cause",
+ "decisionTaskCompletedEventId"
+ ],
+ "members": {
+ "cause": {},
+ "decisionTaskCompletedEventId": {
+ "type": "long"
+ }
+ }
+ },
+ "workflowExecutionContinuedAsNewEventAttributes": {
+ "type": "structure",
+ "required": [
+ "decisionTaskCompletedEventId",
+ "newExecutionRunId",
+ "taskList",
+ "childPolicy",
+ "workflowType"
+ ],
+ "members": {
+ "input": {},
+ "decisionTaskCompletedEventId": {
+ "type": "long"
+ },
+ "newExecutionRunId": {},
+ "executionStartToCloseTimeout": {},
+ "taskList": {
+ "shape": "Sj"
+ },
+ "taskPriority": {},
+ "taskStartToCloseTimeout": {},
+ "childPolicy": {},
+ "tagList": {
+ "shape": "S1b"
+ },
+ "workflowType": {
+ "shape": "Sr"
+ },
+ "lambdaRole": {}
+ }
+ },
+ "continueAsNewWorkflowExecutionFailedEventAttributes": {
+ "type": "structure",
+ "required": [
+ "cause",
+ "decisionTaskCompletedEventId"
+ ],
+ "members": {
+ "cause": {},
+ "decisionTaskCompletedEventId": {
+ "type": "long"
+ }
+ }
+ },
+ "workflowExecutionTerminatedEventAttributes": {
+ "type": "structure",
+ "required": [
+ "childPolicy"
+ ],
+ "members": {
+ "reason": {},
+ "details": {},
+ "childPolicy": {},
+ "cause": {}
+ }
+ },
+ "workflowExecutionCancelRequestedEventAttributes": {
+ "type": "structure",
+ "members": {
+ "externalWorkflowExecution": {
+ "shape": "S16"
+ },
+ "externalInitiatedEventId": {
+ "type": "long"
+ },
+ "cause": {}
+ }
+ },
+ "decisionTaskScheduledEventAttributes": {
+ "type": "structure",
+ "required": [
+ "taskList"
+ ],
+ "members": {
+ "taskList": {
+ "shape": "Sj"
+ },
+ "taskPriority": {},
+ "startToCloseTimeout": {}
+ }
+ },
+ "decisionTaskStartedEventAttributes": {
+ "type": "structure",
+ "required": [
+ "scheduledEventId"
+ ],
+ "members": {
+ "identity": {},
+ "scheduledEventId": {
+ "type": "long"
+ }
+ }
+ },
+ "decisionTaskCompletedEventAttributes": {
+ "type": "structure",
+ "required": [
+ "scheduledEventId",
+ "startedEventId"
+ ],
+ "members": {
+ "executionContext": {},
+ "scheduledEventId": {
+ "type": "long"
+ },
+ "startedEventId": {
+ "type": "long"
+ }
+ }
+ },
+ "decisionTaskTimedOutEventAttributes": {
+ "type": "structure",
+ "required": [
+ "timeoutType",
+ "scheduledEventId",
+ "startedEventId"
+ ],
+ "members": {
+ "timeoutType": {},
+ "scheduledEventId": {
+ "type": "long"
+ },
+ "startedEventId": {
+ "type": "long"
+ }
+ }
+ },
+ "activityTaskScheduledEventAttributes": {
+ "type": "structure",
+ "required": [
+ "activityType",
+ "activityId",
+ "taskList",
+ "decisionTaskCompletedEventId"
+ ],
+ "members": {
+ "activityType": {
+ "shape": "Sn"
+ },
+ "activityId": {},
+ "input": {},
+ "control": {},
+ "scheduleToStartTimeout": {},
+ "scheduleToCloseTimeout": {},
+ "startToCloseTimeout": {},
+ "taskList": {
+ "shape": "Sj"
+ },
+ "taskPriority": {},
+ "decisionTaskCompletedEventId": {
+ "type": "long"
+ },
+ "heartbeatTimeout": {}
+ }
+ },
+ "activityTaskStartedEventAttributes": {
+ "type": "structure",
+ "required": [
+ "scheduledEventId"
+ ],
+ "members": {
+ "identity": {},
+ "scheduledEventId": {
+ "type": "long"
+ }
+ }
+ },
+ "activityTaskCompletedEventAttributes": {
+ "type": "structure",
+ "required": [
+ "scheduledEventId",
+ "startedEventId"
+ ],
+ "members": {
+ "result": {},
+ "scheduledEventId": {
+ "type": "long"
+ },
+ "startedEventId": {
+ "type": "long"
+ }
+ }
+ },
+ "activityTaskFailedEventAttributes": {
+ "type": "structure",
+ "required": [
+ "scheduledEventId",
+ "startedEventId"
+ ],
+ "members": {
+ "reason": {},
+ "details": {},
+ "scheduledEventId": {
+ "type": "long"
+ },
+ "startedEventId": {
+ "type": "long"
+ }
+ }
+ },
+ "activityTaskTimedOutEventAttributes": {
+ "type": "structure",
+ "required": [
+ "timeoutType",
+ "scheduledEventId",
+ "startedEventId"
+ ],
+ "members": {
+ "timeoutType": {},
+ "scheduledEventId": {
+ "type": "long"
+ },
+ "startedEventId": {
+ "type": "long"
+ },
+ "details": {}
+ }
+ },
+ "activityTaskCanceledEventAttributes": {
+ "type": "structure",
+ "required": [
+ "scheduledEventId",
+ "startedEventId"
+ ],
+ "members": {
+ "details": {},
+ "scheduledEventId": {
+ "type": "long"
+ },
+ "startedEventId": {
+ "type": "long"
+ },
+ "latestCancelRequestedEventId": {
+ "type": "long"
+ }
+ }
+ },
+ "activityTaskCancelRequestedEventAttributes": {
+ "type": "structure",
+ "required": [
+ "decisionTaskCompletedEventId",
+ "activityId"
+ ],
+ "members": {
+ "decisionTaskCompletedEventId": {
+ "type": "long"
+ },
+ "activityId": {}
+ }
+ },
+ "workflowExecutionSignaledEventAttributes": {
+ "type": "structure",
+ "required": [
+ "signalName"
+ ],
+ "members": {
+ "signalName": {},
+ "input": {},
+ "externalWorkflowExecution": {
+ "shape": "S16"
+ },
+ "externalInitiatedEventId": {
+ "type": "long"
+ }
+ }
+ },
+ "markerRecordedEventAttributes": {
+ "type": "structure",
+ "required": [
+ "markerName",
+ "decisionTaskCompletedEventId"
+ ],
+ "members": {
+ "markerName": {},
+ "details": {},
+ "decisionTaskCompletedEventId": {
+ "type": "long"
+ }
+ }
+ },
+ "recordMarkerFailedEventAttributes": {
+ "type": "structure",
+ "required": [
+ "markerName",
+ "cause",
+ "decisionTaskCompletedEventId"
+ ],
+ "members": {
+ "markerName": {},
+ "cause": {},
+ "decisionTaskCompletedEventId": {
+ "type": "long"
+ }
+ }
+ },
+ "timerStartedEventAttributes": {
+ "type": "structure",
+ "required": [
+ "timerId",
+ "startToFireTimeout",
+ "decisionTaskCompletedEventId"
+ ],
+ "members": {
+ "timerId": {},
+ "control": {},
+ "startToFireTimeout": {},
+ "decisionTaskCompletedEventId": {
+ "type": "long"
+ }
+ }
+ },
+ "timerFiredEventAttributes": {
+ "type": "structure",
+ "required": [
+ "timerId",
+ "startedEventId"
+ ],
+ "members": {
+ "timerId": {},
+ "startedEventId": {
+ "type": "long"
+ }
+ }
+ },
+ "timerCanceledEventAttributes": {
+ "type": "structure",
+ "required": [
+ "timerId",
+ "startedEventId",
+ "decisionTaskCompletedEventId"
+ ],
+ "members": {
+ "timerId": {},
+ "startedEventId": {
+ "type": "long"
+ },
+ "decisionTaskCompletedEventId": {
+ "type": "long"
+ }
+ }
+ },
+ "startChildWorkflowExecutionInitiatedEventAttributes": {
+ "type": "structure",
+ "required": [
+ "workflowId",
+ "workflowType",
+ "taskList",
+ "decisionTaskCompletedEventId",
+ "childPolicy"
+ ],
+ "members": {
+ "workflowId": {},
+ "workflowType": {
+ "shape": "Sr"
+ },
+ "control": {},
+ "input": {},
+ "executionStartToCloseTimeout": {},
+ "taskList": {
+ "shape": "Sj"
+ },
+ "taskPriority": {},
+ "decisionTaskCompletedEventId": {
+ "type": "long"
+ },
+ "childPolicy": {},
+ "taskStartToCloseTimeout": {},
+ "tagList": {
+ "shape": "S1b"
+ },
+ "lambdaRole": {}
+ }
+ },
+ "childWorkflowExecutionStartedEventAttributes": {
+ "type": "structure",
+ "required": [
+ "workflowExecution",
+ "workflowType",
+ "initiatedEventId"
+ ],
+ "members": {
+ "workflowExecution": {
+ "shape": "S16"
+ },
+ "workflowType": {
+ "shape": "Sr"
+ },
+ "initiatedEventId": {
+ "type": "long"
+ }
+ }
+ },
+ "childWorkflowExecutionCompletedEventAttributes": {
+ "type": "structure",
+ "required": [
+ "workflowExecution",
+ "workflowType",
+ "initiatedEventId",
+ "startedEventId"
+ ],
+ "members": {
+ "workflowExecution": {
+ "shape": "S16"
+ },
+ "workflowType": {
+ "shape": "Sr"
+ },
+ "result": {},
+ "initiatedEventId": {
+ "type": "long"
+ },
+ "startedEventId": {
+ "type": "long"
+ }
+ }
+ },
+ "childWorkflowExecutionFailedEventAttributes": {
+ "type": "structure",
+ "required": [
+ "workflowExecution",
+ "workflowType",
+ "initiatedEventId",
+ "startedEventId"
+ ],
+ "members": {
+ "workflowExecution": {
+ "shape": "S16"
+ },
+ "workflowType": {
+ "shape": "Sr"
+ },
+ "reason": {},
+ "details": {},
+ "initiatedEventId": {
+ "type": "long"
+ },
+ "startedEventId": {
+ "type": "long"
+ }
+ }
+ },
+ "childWorkflowExecutionTimedOutEventAttributes": {
+ "type": "structure",
+ "required": [
+ "workflowExecution",
+ "workflowType",
+ "timeoutType",
+ "initiatedEventId",
+ "startedEventId"
+ ],
+ "members": {
+ "workflowExecution": {
+ "shape": "S16"
+ },
+ "workflowType": {
+ "shape": "Sr"
+ },
+ "timeoutType": {},
+ "initiatedEventId": {
+ "type": "long"
+ },
+ "startedEventId": {
+ "type": "long"
+ }
+ }
+ },
+ "childWorkflowExecutionCanceledEventAttributes": {
+ "type": "structure",
+ "required": [
+ "workflowExecution",
+ "workflowType",
+ "initiatedEventId",
+ "startedEventId"
+ ],
+ "members": {
+ "workflowExecution": {
+ "shape": "S16"
+ },
+ "workflowType": {
+ "shape": "Sr"
+ },
+ "details": {},
+ "initiatedEventId": {
+ "type": "long"
+ },
+ "startedEventId": {
+ "type": "long"
+ }
+ }
+ },
+ "childWorkflowExecutionTerminatedEventAttributes": {
+ "type": "structure",
+ "required": [
+ "workflowExecution",
+ "workflowType",
+ "initiatedEventId",
+ "startedEventId"
+ ],
+ "members": {
+ "workflowExecution": {
+ "shape": "S16"
+ },
+ "workflowType": {
+ "shape": "Sr"
+ },
+ "initiatedEventId": {
+ "type": "long"
+ },
+ "startedEventId": {
+ "type": "long"
+ }
+ }
+ },
+ "signalExternalWorkflowExecutionInitiatedEventAttributes": {
+ "type": "structure",
+ "required": [
+ "workflowId",
+ "signalName",
+ "decisionTaskCompletedEventId"
+ ],
+ "members": {
+ "workflowId": {},
+ "runId": {},
+ "signalName": {},
+ "input": {},
+ "decisionTaskCompletedEventId": {
+ "type": "long"
+ },
+ "control": {}
+ }
+ },
+ "externalWorkflowExecutionSignaledEventAttributes": {
+ "type": "structure",
+ "required": [
+ "workflowExecution",
+ "initiatedEventId"
+ ],
+ "members": {
+ "workflowExecution": {
+ "shape": "S16"
+ },
+ "initiatedEventId": {
+ "type": "long"
+ }
+ }
+ },
+ "signalExternalWorkflowExecutionFailedEventAttributes": {
+ "type": "structure",
+ "required": [
+ "workflowId",
+ "cause",
+ "initiatedEventId",
+ "decisionTaskCompletedEventId"
+ ],
+ "members": {
+ "workflowId": {},
+ "runId": {},
+ "cause": {},
+ "initiatedEventId": {
+ "type": "long"
+ },
+ "decisionTaskCompletedEventId": {
+ "type": "long"
+ },
+ "control": {}
+ }
+ },
+ "externalWorkflowExecutionCancelRequestedEventAttributes": {
+ "type": "structure",
+ "required": [
+ "workflowExecution",
+ "initiatedEventId"
+ ],
+ "members": {
+ "workflowExecution": {
+ "shape": "S16"
+ },
+ "initiatedEventId": {
+ "type": "long"
+ }
+ }
+ },
+ "requestCancelExternalWorkflowExecutionInitiatedEventAttributes": {
+ "type": "structure",
+ "required": [
+ "workflowId",
+ "decisionTaskCompletedEventId"
+ ],
+ "members": {
+ "workflowId": {},
+ "runId": {},
+ "decisionTaskCompletedEventId": {
+ "type": "long"
+ },
+ "control": {}
+ }
+ },
+ "requestCancelExternalWorkflowExecutionFailedEventAttributes": {
+ "type": "structure",
+ "required": [
+ "workflowId",
+ "cause",
+ "initiatedEventId",
+ "decisionTaskCompletedEventId"
+ ],
+ "members": {
+ "workflowId": {},
+ "runId": {},
+ "cause": {},
+ "initiatedEventId": {
+ "type": "long"
+ },
+ "decisionTaskCompletedEventId": {
+ "type": "long"
+ },
+ "control": {}
+ }
+ },
+ "scheduleActivityTaskFailedEventAttributes": {
+ "type": "structure",
+ "required": [
+ "activityType",
+ "activityId",
+ "cause",
+ "decisionTaskCompletedEventId"
+ ],
+ "members": {
+ "activityType": {
+ "shape": "Sn"
+ },
+ "activityId": {},
+ "cause": {},
+ "decisionTaskCompletedEventId": {
+ "type": "long"
+ }
+ }
+ },
+ "requestCancelActivityTaskFailedEventAttributes": {
+ "type": "structure",
+ "required": [
+ "activityId",
+ "cause",
+ "decisionTaskCompletedEventId"
+ ],
+ "members": {
+ "activityId": {},
+ "cause": {},
+ "decisionTaskCompletedEventId": {
+ "type": "long"
+ }
+ }
+ },
+ "startTimerFailedEventAttributes": {
+ "type": "structure",
+ "required": [
+ "timerId",
+ "cause",
+ "decisionTaskCompletedEventId"
+ ],
+ "members": {
+ "timerId": {},
+ "cause": {},
+ "decisionTaskCompletedEventId": {
+ "type": "long"
+ }
+ }
+ },
+ "cancelTimerFailedEventAttributes": {
+ "type": "structure",
+ "required": [
+ "timerId",
+ "cause",
+ "decisionTaskCompletedEventId"
+ ],
+ "members": {
+ "timerId": {},
+ "cause": {},
+ "decisionTaskCompletedEventId": {
+ "type": "long"
+ }
+ }
+ },
+ "startChildWorkflowExecutionFailedEventAttributes": {
+ "type": "structure",
+ "required": [
+ "workflowType",
+ "cause",
+ "workflowId",
+ "initiatedEventId",
+ "decisionTaskCompletedEventId"
+ ],
+ "members": {
+ "workflowType": {
+ "shape": "Sr"
+ },
+ "cause": {},
+ "workflowId": {},
+ "initiatedEventId": {
+ "type": "long"
+ },
+ "decisionTaskCompletedEventId": {
+ "type": "long"
+ },
+ "control": {}
+ }
+ },
+ "lambdaFunctionScheduledEventAttributes": {
+ "type": "structure",
+ "required": [
+ "id",
+ "name",
+ "decisionTaskCompletedEventId"
+ ],
+ "members": {
+ "id": {},
+ "name": {},
+ "input": {},
+ "startToCloseTimeout": {},
+ "decisionTaskCompletedEventId": {
+ "type": "long"
+ }
+ }
+ },
+ "lambdaFunctionStartedEventAttributes": {
+ "type": "structure",
+ "required": [
+ "scheduledEventId"
+ ],
+ "members": {
+ "scheduledEventId": {
+ "type": "long"
+ }
+ }
+ },
+ "lambdaFunctionCompletedEventAttributes": {
+ "type": "structure",
+ "required": [
+ "scheduledEventId",
+ "startedEventId"
+ ],
+ "members": {
+ "scheduledEventId": {
+ "type": "long"
+ },
+ "startedEventId": {
+ "type": "long"
+ },
+ "result": {}
+ }
+ },
+ "lambdaFunctionFailedEventAttributes": {
+ "type": "structure",
+ "required": [
+ "scheduledEventId",
+ "startedEventId"
+ ],
+ "members": {
+ "scheduledEventId": {
+ "type": "long"
+ },
+ "startedEventId": {
+ "type": "long"
+ },
+ "reason": {},
+ "details": {}
+ }
+ },
+ "lambdaFunctionTimedOutEventAttributes": {
+ "type": "structure",
+ "required": [
+ "scheduledEventId",
+ "startedEventId"
+ ],
+ "members": {
+ "scheduledEventId": {
+ "type": "long"
+ },
+ "startedEventId": {
+ "type": "long"
+ },
+ "timeoutType": {}
+ }
+ },
+ "scheduleLambdaFunctionFailedEventAttributes": {
+ "type": "structure",
+ "required": [
+ "id",
+ "name",
+ "cause",
+ "decisionTaskCompletedEventId"
+ ],
+ "members": {
+ "id": {},
+ "name": {},
+ "cause": {},
+ "decisionTaskCompletedEventId": {
+ "type": "long"
+ }
+ }
+ },
+ "startLambdaFunctionFailedEventAttributes": {
+ "type": "structure",
+ "members": {
+ "scheduledEventId": {
+ "type": "long"
+ },
+ "cause": {},
+ "message": {}
+ }
+ }
+ }
+ }
+ },
+ "S4g": {
+ "type": "structure",
+ "required": [
+ "executionInfos"
+ ],
+ "members": {
+ "executionInfos": {
+ "type": "list",
+ "member": {
+ "shape": "S19"
+ }
+ },
+ "nextPageToken": {}
+ }
+ }
+ },
+ "examples": {}
+}
\ No newline at end of file
diff --git a/node_modules/aws-sdk/apis/swf-2012-01-25.paginators.json b/node_modules/aws-sdk/apis/swf-2012-01-25.paginators.json
new file mode 100644
index 0000000000000000000000000000000000000000..892ee38b5a13be0c4c3896d52003c3f6734b1b3c
--- /dev/null
+++ b/node_modules/aws-sdk/apis/swf-2012-01-25.paginators.json
@@ -0,0 +1,46 @@
+{
+ "pagination": {
+ "GetWorkflowExecutionHistory": {
+ "limit_key": "maximumPageSize",
+ "input_token": "nextPageToken",
+ "output_token": "nextPageToken",
+ "result_key": "events"
+ },
+ "ListActivityTypes": {
+ "limit_key": "maximumPageSize",
+ "input_token": "nextPageToken",
+ "output_token": "nextPageToken",
+ "result_key": "typeInfos"
+ },
+ "ListClosedWorkflowExecutions": {
+ "limit_key": "maximumPageSize",
+ "input_token": "nextPageToken",
+ "output_token": "nextPageToken",
+ "result_key": "executionInfos"
+ },
+ "ListDomains": {
+ "limit_key": "maximumPageSize",
+ "input_token": "nextPageToken",
+ "output_token": "nextPageToken",
+ "result_key": "domainInfos"
+ },
+ "ListOpenWorkflowExecutions": {
+ "limit_key": "maximumPageSize",
+ "input_token": "nextPageToken",
+ "output_token": "nextPageToken",
+ "result_key": "executionInfos"
+ },
+ "ListWorkflowTypes": {
+ "limit_key": "maximumPageSize",
+ "input_token": "nextPageToken",
+ "output_token": "nextPageToken",
+ "result_key": "typeInfos"
+ },
+ "PollForDecisionTask": {
+ "limit_key": "maximumPageSize",
+ "input_token": "nextPageToken",
+ "output_token": "nextPageToken",
+ "result_key": "events"
+ }
+ }
+}
diff --git a/node_modules/aws-sdk/apis/waf-2015-08-24.min.json b/node_modules/aws-sdk/apis/waf-2015-08-24.min.json
new file mode 100644
index 0000000000000000000000000000000000000000..dfd79c0d0f515949b433265ae6cd2544d5faaf64
--- /dev/null
+++ b/node_modules/aws-sdk/apis/waf-2015-08-24.min.json
@@ -0,0 +1,1303 @@
+{
+ "version": "2.0",
+ "metadata": {
+ "apiVersion": "2015-08-24",
+ "endpointPrefix": "waf",
+ "jsonVersion": "1.1",
+ "protocol": "json",
+ "serviceAbbreviation": "WAF",
+ "serviceFullName": "AWS WAF",
+ "signatureVersion": "v4",
+ "targetPrefix": "AWSWAF_20150824"
+ },
+ "operations": {
+ "CreateByteMatchSet": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Name",
+ "ChangeToken"
+ ],
+ "members": {
+ "Name": {},
+ "ChangeToken": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "ByteMatchSet": {
+ "shape": "S5"
+ },
+ "ChangeToken": {}
+ }
+ }
+ },
+ "CreateIPSet": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Name",
+ "ChangeToken"
+ ],
+ "members": {
+ "Name": {},
+ "ChangeToken": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "IPSet": {
+ "shape": "Sh"
+ },
+ "ChangeToken": {}
+ }
+ }
+ },
+ "CreateRule": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Name",
+ "MetricName",
+ "ChangeToken"
+ ],
+ "members": {
+ "Name": {},
+ "MetricName": {},
+ "ChangeToken": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Rule": {
+ "shape": "Sp"
+ },
+ "ChangeToken": {}
+ }
+ }
+ },
+ "CreateSizeConstraintSet": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Name",
+ "ChangeToken"
+ ],
+ "members": {
+ "Name": {},
+ "ChangeToken": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "SizeConstraintSet": {
+ "shape": "Sw"
+ },
+ "ChangeToken": {}
+ }
+ }
+ },
+ "CreateSqlInjectionMatchSet": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Name",
+ "ChangeToken"
+ ],
+ "members": {
+ "Name": {},
+ "ChangeToken": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "SqlInjectionMatchSet": {
+ "shape": "S13"
+ },
+ "ChangeToken": {}
+ }
+ }
+ },
+ "CreateWebACL": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Name",
+ "MetricName",
+ "DefaultAction",
+ "ChangeToken"
+ ],
+ "members": {
+ "Name": {},
+ "MetricName": {},
+ "DefaultAction": {
+ "shape": "S17"
+ },
+ "ChangeToken": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "WebACL": {
+ "shape": "S1a"
+ },
+ "ChangeToken": {}
+ }
+ }
+ },
+ "CreateXssMatchSet": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Name",
+ "ChangeToken"
+ ],
+ "members": {
+ "Name": {},
+ "ChangeToken": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "XssMatchSet": {
+ "shape": "S1g"
+ },
+ "ChangeToken": {}
+ }
+ }
+ },
+ "DeleteByteMatchSet": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ByteMatchSetId",
+ "ChangeToken"
+ ],
+ "members": {
+ "ByteMatchSetId": {},
+ "ChangeToken": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "ChangeToken": {}
+ }
+ }
+ },
+ "DeleteIPSet": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "IPSetId",
+ "ChangeToken"
+ ],
+ "members": {
+ "IPSetId": {},
+ "ChangeToken": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "ChangeToken": {}
+ }
+ }
+ },
+ "DeleteRule": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "RuleId",
+ "ChangeToken"
+ ],
+ "members": {
+ "RuleId": {},
+ "ChangeToken": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "ChangeToken": {}
+ }
+ }
+ },
+ "DeleteSizeConstraintSet": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "SizeConstraintSetId",
+ "ChangeToken"
+ ],
+ "members": {
+ "SizeConstraintSetId": {},
+ "ChangeToken": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "ChangeToken": {}
+ }
+ }
+ },
+ "DeleteSqlInjectionMatchSet": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "SqlInjectionMatchSetId",
+ "ChangeToken"
+ ],
+ "members": {
+ "SqlInjectionMatchSetId": {},
+ "ChangeToken": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "ChangeToken": {}
+ }
+ }
+ },
+ "DeleteWebACL": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "WebACLId",
+ "ChangeToken"
+ ],
+ "members": {
+ "WebACLId": {},
+ "ChangeToken": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "ChangeToken": {}
+ }
+ }
+ },
+ "DeleteXssMatchSet": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "XssMatchSetId",
+ "ChangeToken"
+ ],
+ "members": {
+ "XssMatchSetId": {},
+ "ChangeToken": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "ChangeToken": {}
+ }
+ }
+ },
+ "GetByteMatchSet": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ByteMatchSetId"
+ ],
+ "members": {
+ "ByteMatchSetId": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "ByteMatchSet": {
+ "shape": "S5"
+ }
+ }
+ }
+ },
+ "GetChangeToken": {
+ "input": {
+ "type": "structure",
+ "members": {}
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "ChangeToken": {}
+ }
+ }
+ },
+ "GetChangeTokenStatus": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ChangeToken"
+ ],
+ "members": {
+ "ChangeToken": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "ChangeTokenStatus": {}
+ }
+ }
+ },
+ "GetIPSet": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "IPSetId"
+ ],
+ "members": {
+ "IPSetId": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "IPSet": {
+ "shape": "Sh"
+ }
+ }
+ }
+ },
+ "GetRule": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "RuleId"
+ ],
+ "members": {
+ "RuleId": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Rule": {
+ "shape": "Sp"
+ }
+ }
+ }
+ },
+ "GetSampledRequests": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "WebAclId",
+ "RuleId",
+ "TimeWindow",
+ "MaxItems"
+ ],
+ "members": {
+ "WebAclId": {},
+ "RuleId": {},
+ "TimeWindow": {
+ "shape": "S29"
+ },
+ "MaxItems": {
+ "type": "long"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "SampledRequests": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "Request",
+ "Weight"
+ ],
+ "members": {
+ "Request": {
+ "type": "structure",
+ "members": {
+ "ClientIP": {},
+ "Country": {},
+ "URI": {},
+ "Method": {},
+ "HTTPVersion": {},
+ "Headers": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "Name": {},
+ "Value": {}
+ }
+ }
+ }
+ }
+ },
+ "Weight": {
+ "type": "long"
+ },
+ "Timestamp": {
+ "type": "timestamp"
+ },
+ "Action": {}
+ }
+ }
+ },
+ "PopulationSize": {
+ "type": "long"
+ },
+ "TimeWindow": {
+ "shape": "S29"
+ }
+ }
+ }
+ },
+ "GetSizeConstraintSet": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "SizeConstraintSetId"
+ ],
+ "members": {
+ "SizeConstraintSetId": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "SizeConstraintSet": {
+ "shape": "Sw"
+ }
+ }
+ }
+ },
+ "GetSqlInjectionMatchSet": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "SqlInjectionMatchSetId"
+ ],
+ "members": {
+ "SqlInjectionMatchSetId": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "SqlInjectionMatchSet": {
+ "shape": "S13"
+ }
+ }
+ }
+ },
+ "GetWebACL": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "WebACLId"
+ ],
+ "members": {
+ "WebACLId": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "WebACL": {
+ "shape": "S1a"
+ }
+ }
+ }
+ },
+ "GetXssMatchSet": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "XssMatchSetId"
+ ],
+ "members": {
+ "XssMatchSetId": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "XssMatchSet": {
+ "shape": "S1g"
+ }
+ }
+ }
+ },
+ "ListByteMatchSets": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Limit"
+ ],
+ "members": {
+ "NextMarker": {},
+ "Limit": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "NextMarker": {},
+ "ByteMatchSets": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "ByteMatchSetId",
+ "Name"
+ ],
+ "members": {
+ "ByteMatchSetId": {},
+ "Name": {}
+ }
+ }
+ }
+ }
+ }
+ },
+ "ListIPSets": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Limit"
+ ],
+ "members": {
+ "NextMarker": {},
+ "Limit": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "NextMarker": {},
+ "IPSets": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "IPSetId",
+ "Name"
+ ],
+ "members": {
+ "IPSetId": {},
+ "Name": {}
+ }
+ }
+ }
+ }
+ }
+ },
+ "ListRules": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Limit"
+ ],
+ "members": {
+ "NextMarker": {},
+ "Limit": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "NextMarker": {},
+ "Rules": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "RuleId",
+ "Name"
+ ],
+ "members": {
+ "RuleId": {},
+ "Name": {}
+ }
+ }
+ }
+ }
+ }
+ },
+ "ListSizeConstraintSets": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Limit"
+ ],
+ "members": {
+ "NextMarker": {},
+ "Limit": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "NextMarker": {},
+ "SizeConstraintSets": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "SizeConstraintSetId",
+ "Name"
+ ],
+ "members": {
+ "SizeConstraintSetId": {},
+ "Name": {}
+ }
+ }
+ }
+ }
+ }
+ },
+ "ListSqlInjectionMatchSets": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Limit"
+ ],
+ "members": {
+ "NextMarker": {},
+ "Limit": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "NextMarker": {},
+ "SqlInjectionMatchSets": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "SqlInjectionMatchSetId",
+ "Name"
+ ],
+ "members": {
+ "SqlInjectionMatchSetId": {},
+ "Name": {}
+ }
+ }
+ }
+ }
+ }
+ },
+ "ListWebACLs": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Limit"
+ ],
+ "members": {
+ "NextMarker": {},
+ "Limit": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "NextMarker": {},
+ "WebACLs": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "WebACLId",
+ "Name"
+ ],
+ "members": {
+ "WebACLId": {},
+ "Name": {}
+ }
+ }
+ }
+ }
+ }
+ },
+ "ListXssMatchSets": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Limit"
+ ],
+ "members": {
+ "NextMarker": {},
+ "Limit": {
+ "type": "integer"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "NextMarker": {},
+ "XssMatchSets": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "XssMatchSetId",
+ "Name"
+ ],
+ "members": {
+ "XssMatchSetId": {},
+ "Name": {}
+ }
+ }
+ }
+ }
+ }
+ },
+ "UpdateByteMatchSet": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "ByteMatchSetId",
+ "ChangeToken",
+ "Updates"
+ ],
+ "members": {
+ "ByteMatchSetId": {},
+ "ChangeToken": {},
+ "Updates": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "Action",
+ "ByteMatchTuple"
+ ],
+ "members": {
+ "Action": {},
+ "ByteMatchTuple": {
+ "shape": "S8"
+ }
+ }
+ }
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "ChangeToken": {}
+ }
+ }
+ },
+ "UpdateIPSet": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "IPSetId",
+ "ChangeToken",
+ "Updates"
+ ],
+ "members": {
+ "IPSetId": {},
+ "ChangeToken": {},
+ "Updates": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "Action",
+ "IPSetDescriptor"
+ ],
+ "members": {
+ "Action": {},
+ "IPSetDescriptor": {
+ "shape": "Sj"
+ }
+ }
+ }
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "ChangeToken": {}
+ }
+ }
+ },
+ "UpdateRule": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "RuleId",
+ "ChangeToken",
+ "Updates"
+ ],
+ "members": {
+ "RuleId": {},
+ "ChangeToken": {},
+ "Updates": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "Action",
+ "Predicate"
+ ],
+ "members": {
+ "Action": {},
+ "Predicate": {
+ "shape": "Sr"
+ }
+ }
+ }
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "ChangeToken": {}
+ }
+ }
+ },
+ "UpdateSizeConstraintSet": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "SizeConstraintSetId",
+ "ChangeToken",
+ "Updates"
+ ],
+ "members": {
+ "SizeConstraintSetId": {},
+ "ChangeToken": {},
+ "Updates": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "Action",
+ "SizeConstraint"
+ ],
+ "members": {
+ "Action": {},
+ "SizeConstraint": {
+ "shape": "Sy"
+ }
+ }
+ }
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "ChangeToken": {}
+ }
+ }
+ },
+ "UpdateSqlInjectionMatchSet": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "SqlInjectionMatchSetId",
+ "ChangeToken",
+ "Updates"
+ ],
+ "members": {
+ "SqlInjectionMatchSetId": {},
+ "ChangeToken": {},
+ "Updates": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "Action",
+ "SqlInjectionMatchTuple"
+ ],
+ "members": {
+ "Action": {},
+ "SqlInjectionMatchTuple": {
+ "shape": "S15"
+ }
+ }
+ }
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "ChangeToken": {}
+ }
+ }
+ },
+ "UpdateWebACL": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "WebACLId",
+ "ChangeToken"
+ ],
+ "members": {
+ "WebACLId": {},
+ "ChangeToken": {},
+ "Updates": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "Action",
+ "ActivatedRule"
+ ],
+ "members": {
+ "Action": {},
+ "ActivatedRule": {
+ "shape": "S1c"
+ }
+ }
+ }
+ },
+ "DefaultAction": {
+ "shape": "S17"
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "ChangeToken": {}
+ }
+ }
+ },
+ "UpdateXssMatchSet": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "XssMatchSetId",
+ "ChangeToken",
+ "Updates"
+ ],
+ "members": {
+ "XssMatchSetId": {},
+ "ChangeToken": {},
+ "Updates": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "Action",
+ "XssMatchTuple"
+ ],
+ "members": {
+ "Action": {},
+ "XssMatchTuple": {
+ "shape": "S1i"
+ }
+ }
+ }
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "ChangeToken": {}
+ }
+ }
+ }
+ },
+ "shapes": {
+ "S5": {
+ "type": "structure",
+ "required": [
+ "ByteMatchSetId",
+ "ByteMatchTuples"
+ ],
+ "members": {
+ "ByteMatchSetId": {},
+ "Name": {},
+ "ByteMatchTuples": {
+ "type": "list",
+ "member": {
+ "shape": "S8"
+ }
+ }
+ }
+ },
+ "S8": {
+ "type": "structure",
+ "required": [
+ "FieldToMatch",
+ "TargetString",
+ "TextTransformation",
+ "PositionalConstraint"
+ ],
+ "members": {
+ "FieldToMatch": {
+ "shape": "S9"
+ },
+ "TargetString": {
+ "type": "blob"
+ },
+ "TextTransformation": {},
+ "PositionalConstraint": {}
+ }
+ },
+ "S9": {
+ "type": "structure",
+ "required": [
+ "Type"
+ ],
+ "members": {
+ "Type": {},
+ "Data": {}
+ }
+ },
+ "Sh": {
+ "type": "structure",
+ "required": [
+ "IPSetId",
+ "IPSetDescriptors"
+ ],
+ "members": {
+ "IPSetId": {},
+ "Name": {},
+ "IPSetDescriptors": {
+ "type": "list",
+ "member": {
+ "shape": "Sj"
+ }
+ }
+ }
+ },
+ "Sj": {
+ "type": "structure",
+ "required": [
+ "Type",
+ "Value"
+ ],
+ "members": {
+ "Type": {},
+ "Value": {}
+ }
+ },
+ "Sp": {
+ "type": "structure",
+ "required": [
+ "RuleId",
+ "Predicates"
+ ],
+ "members": {
+ "RuleId": {},
+ "Name": {},
+ "MetricName": {},
+ "Predicates": {
+ "type": "list",
+ "member": {
+ "shape": "Sr"
+ }
+ }
+ }
+ },
+ "Sr": {
+ "type": "structure",
+ "required": [
+ "Negated",
+ "Type",
+ "DataId"
+ ],
+ "members": {
+ "Negated": {
+ "type": "boolean"
+ },
+ "Type": {},
+ "DataId": {}
+ }
+ },
+ "Sw": {
+ "type": "structure",
+ "required": [
+ "SizeConstraintSetId",
+ "SizeConstraints"
+ ],
+ "members": {
+ "SizeConstraintSetId": {},
+ "Name": {},
+ "SizeConstraints": {
+ "type": "list",
+ "member": {
+ "shape": "Sy"
+ }
+ }
+ }
+ },
+ "Sy": {
+ "type": "structure",
+ "required": [
+ "FieldToMatch",
+ "TextTransformation",
+ "ComparisonOperator",
+ "Size"
+ ],
+ "members": {
+ "FieldToMatch": {
+ "shape": "S9"
+ },
+ "TextTransformation": {},
+ "ComparisonOperator": {},
+ "Size": {
+ "type": "long"
+ }
+ }
+ },
+ "S13": {
+ "type": "structure",
+ "required": [
+ "SqlInjectionMatchSetId",
+ "SqlInjectionMatchTuples"
+ ],
+ "members": {
+ "SqlInjectionMatchSetId": {},
+ "Name": {},
+ "SqlInjectionMatchTuples": {
+ "type": "list",
+ "member": {
+ "shape": "S15"
+ }
+ }
+ }
+ },
+ "S15": {
+ "type": "structure",
+ "required": [
+ "FieldToMatch",
+ "TextTransformation"
+ ],
+ "members": {
+ "FieldToMatch": {
+ "shape": "S9"
+ },
+ "TextTransformation": {}
+ }
+ },
+ "S17": {
+ "type": "structure",
+ "required": [
+ "Type"
+ ],
+ "members": {
+ "Type": {}
+ }
+ },
+ "S1a": {
+ "type": "structure",
+ "required": [
+ "WebACLId",
+ "DefaultAction",
+ "Rules"
+ ],
+ "members": {
+ "WebACLId": {},
+ "Name": {},
+ "MetricName": {},
+ "DefaultAction": {
+ "shape": "S17"
+ },
+ "Rules": {
+ "type": "list",
+ "member": {
+ "shape": "S1c"
+ }
+ }
+ }
+ },
+ "S1c": {
+ "type": "structure",
+ "required": [
+ "Priority",
+ "RuleId",
+ "Action"
+ ],
+ "members": {
+ "Priority": {
+ "type": "integer"
+ },
+ "RuleId": {},
+ "Action": {
+ "shape": "S17"
+ }
+ }
+ },
+ "S1g": {
+ "type": "structure",
+ "required": [
+ "XssMatchSetId",
+ "XssMatchTuples"
+ ],
+ "members": {
+ "XssMatchSetId": {},
+ "Name": {},
+ "XssMatchTuples": {
+ "type": "list",
+ "member": {
+ "shape": "S1i"
+ }
+ }
+ }
+ },
+ "S1i": {
+ "type": "structure",
+ "required": [
+ "FieldToMatch",
+ "TextTransformation"
+ ],
+ "members": {
+ "FieldToMatch": {
+ "shape": "S9"
+ },
+ "TextTransformation": {}
+ }
+ },
+ "S29": {
+ "type": "structure",
+ "required": [
+ "StartTime",
+ "EndTime"
+ ],
+ "members": {
+ "StartTime": {
+ "type": "timestamp"
+ },
+ "EndTime": {
+ "type": "timestamp"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/node_modules/aws-sdk/apis/workspaces-2015-04-08.min.json b/node_modules/aws-sdk/apis/workspaces-2015-04-08.min.json
new file mode 100644
index 0000000000000000000000000000000000000000..97a88faec5b137fc5c9711e8574c9d894d6e52d0
--- /dev/null
+++ b/node_modules/aws-sdk/apis/workspaces-2015-04-08.min.json
@@ -0,0 +1,335 @@
+{
+ "version": "2.0",
+ "metadata": {
+ "apiVersion": "2015-04-08",
+ "endpointPrefix": "workspaces",
+ "jsonVersion": "1.1",
+ "serviceFullName": "Amazon WorkSpaces",
+ "signatureVersion": "v4",
+ "targetPrefix": "WorkspacesService",
+ "protocol": "json"
+ },
+ "operations": {
+ "CreateWorkspaces": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "Workspaces"
+ ],
+ "members": {
+ "Workspaces": {
+ "type": "list",
+ "member": {
+ "shape": "S3"
+ }
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "FailedRequests": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "WorkspaceRequest": {
+ "shape": "S3"
+ },
+ "ErrorCode": {},
+ "ErrorMessage": {}
+ }
+ }
+ },
+ "PendingRequests": {
+ "shape": "Se"
+ }
+ }
+ }
+ },
+ "DescribeWorkspaceBundles": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "BundleIds": {
+ "type": "list",
+ "member": {}
+ },
+ "Owner": {},
+ "NextToken": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Bundles": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "BundleId": {},
+ "Name": {},
+ "Owner": {},
+ "Description": {},
+ "UserStorage": {
+ "type": "structure",
+ "members": {
+ "Capacity": {}
+ }
+ },
+ "ComputeType": {
+ "type": "structure",
+ "members": {
+ "Name": {}
+ }
+ }
+ }
+ }
+ },
+ "NextToken": {}
+ }
+ }
+ },
+ "DescribeWorkspaceDirectories": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "DirectoryIds": {
+ "type": "list",
+ "member": {}
+ },
+ "NextToken": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Directories": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "DirectoryId": {},
+ "Alias": {},
+ "DirectoryName": {},
+ "RegistrationCode": {},
+ "SubnetIds": {
+ "type": "list",
+ "member": {}
+ },
+ "DnsIpAddresses": {
+ "type": "list",
+ "member": {}
+ },
+ "CustomerUserName": {},
+ "IamRoleId": {},
+ "DirectoryType": {},
+ "WorkspaceSecurityGroupId": {},
+ "State": {},
+ "WorkspaceCreationProperties": {
+ "type": "structure",
+ "members": {
+ "EnableWorkDocs": {
+ "type": "boolean"
+ },
+ "EnableInternetAccess": {
+ "type": "boolean"
+ },
+ "DefaultOu": {},
+ "CustomSecurityGroupId": {},
+ "UserEnabledAsLocalAdministrator": {
+ "type": "boolean"
+ }
+ }
+ }
+ }
+ }
+ },
+ "NextToken": {}
+ }
+ }
+ },
+ "DescribeWorkspaces": {
+ "input": {
+ "type": "structure",
+ "members": {
+ "WorkspaceIds": {
+ "type": "list",
+ "member": {}
+ },
+ "DirectoryId": {},
+ "UserName": {},
+ "BundleId": {},
+ "Limit": {
+ "type": "integer"
+ },
+ "NextToken": {}
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "Workspaces": {
+ "shape": "Se"
+ },
+ "NextToken": {}
+ }
+ }
+ },
+ "RebootWorkspaces": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "RebootWorkspaceRequests"
+ ],
+ "members": {
+ "RebootWorkspaceRequests": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "WorkspaceId"
+ ],
+ "members": {
+ "WorkspaceId": {}
+ }
+ }
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "FailedRequests": {
+ "type": "list",
+ "member": {
+ "shape": "S1m"
+ }
+ }
+ }
+ }
+ },
+ "RebuildWorkspaces": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "RebuildWorkspaceRequests"
+ ],
+ "members": {
+ "RebuildWorkspaceRequests": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "WorkspaceId"
+ ],
+ "members": {
+ "WorkspaceId": {}
+ }
+ }
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "FailedRequests": {
+ "type": "list",
+ "member": {
+ "shape": "S1m"
+ }
+ }
+ }
+ }
+ },
+ "TerminateWorkspaces": {
+ "input": {
+ "type": "structure",
+ "required": [
+ "TerminateWorkspaceRequests"
+ ],
+ "members": {
+ "TerminateWorkspaceRequests": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "required": [
+ "WorkspaceId"
+ ],
+ "members": {
+ "WorkspaceId": {}
+ }
+ }
+ }
+ }
+ },
+ "output": {
+ "type": "structure",
+ "members": {
+ "FailedRequests": {
+ "type": "list",
+ "member": {
+ "shape": "S1m"
+ }
+ }
+ }
+ }
+ }
+ },
+ "shapes": {
+ "S3": {
+ "type": "structure",
+ "required": [
+ "DirectoryId",
+ "UserName",
+ "BundleId"
+ ],
+ "members": {
+ "DirectoryId": {},
+ "UserName": {},
+ "BundleId": {},
+ "VolumeEncryptionKey": {},
+ "UserVolumeEncryptionEnabled": {
+ "type": "boolean"
+ },
+ "RootVolumeEncryptionEnabled": {
+ "type": "boolean"
+ }
+ }
+ },
+ "Se": {
+ "type": "list",
+ "member": {
+ "type": "structure",
+ "members": {
+ "WorkspaceId": {},
+ "DirectoryId": {},
+ "UserName": {},
+ "IpAddress": {},
+ "State": {},
+ "BundleId": {},
+ "SubnetId": {},
+ "ErrorMessage": {},
+ "ErrorCode": {},
+ "ComputerName": {},
+ "VolumeEncryptionKey": {},
+ "UserVolumeEncryptionEnabled": {
+ "type": "boolean"
+ },
+ "RootVolumeEncryptionEnabled": {
+ "type": "boolean"
+ }
+ }
+ }
+ },
+ "S1m": {
+ "type": "structure",
+ "members": {
+ "WorkspaceId": {},
+ "ErrorCode": {},
+ "ErrorMessage": {}
+ }
+ }
+ },
+ "examples": {}
+}
\ No newline at end of file
diff --git a/node_modules/aws-sdk/apis/workspaces-2015-04-08.paginators.json b/node_modules/aws-sdk/apis/workspaces-2015-04-08.paginators.json
new file mode 100644
index 0000000000000000000000000000000000000000..efa8cbad2aa353779fada8065b3019cfbe6b1cc7
--- /dev/null
+++ b/node_modules/aws-sdk/apis/workspaces-2015-04-08.paginators.json
@@ -0,0 +1,20 @@
+{
+ "pagination": {
+ "DescribeWorkspaceBundles": {
+ "input_token": "NextToken",
+ "output_token": "NextToken",
+ "result_key": "Bundles"
+ },
+ "DescribeWorkspaceDirectories": {
+ "input_token": "NextToken",
+ "output_token": "NextToken",
+ "result_key": "Directories"
+ },
+ "DescribeWorkspaces": {
+ "limit_key": "Limit",
+ "input_token": "NextToken",
+ "output_token": "NextToken",
+ "result_key": "Workspaces"
+ }
+ }
+}
diff --git a/node_modules/aws-sdk/bower.json b/node_modules/aws-sdk/bower.json
new file mode 100644
index 0000000000000000000000000000000000000000..bda489f676a4da6ddacce4a48c2327d8a8c086a7
--- /dev/null
+++ b/node_modules/aws-sdk/bower.json
@@ -0,0 +1,9 @@
+{
+ "name": "aws-sdk",
+ "ignore": [
+ "apis", "doc-src", "dist-tools", "eslint-rules", "features", "lib",
+ "scripts", "tasks", "test", "Gemfile*", "configuration*",
+ "Rakefile", "package.json", "testem.json", ".*", "index.js"
+ ],
+ "main": "dist/aws-sdk.js"
+}
diff --git a/node_modules/aws-sdk/dist-tools/browser-builder.js b/node_modules/aws-sdk/dist-tools/browser-builder.js
new file mode 100644
index 0000000000000000000000000000000000000000..5dfb692c685ce60f8997f7e8f7c8ba808fe75208
--- /dev/null
+++ b/node_modules/aws-sdk/dist-tools/browser-builder.js
@@ -0,0 +1,87 @@
+#!/usr/bin/env node
+
+var path = require('path');
+
+var AWS = require('../');
+
+var license = [
+ '// AWS SDK for JavaScript v' + AWS.VERSION,
+ '// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.',
+ '// License at https://sdk.amazonaws.com/js/BUNDLE_LICENSE.txt'
+].join('\n') + '\n';
+
+function minify(code) {
+ var uglify = require('uglify-js');
+ var minified = uglify.minify(code, {fromString: true});
+ return minified.code;
+}
+
+function stripComments(code) {
+ var lines = code.split(/\r?\n/);
+ var multiLine = false;
+ lines = lines.map(function (line) {
+ var rLine = line;
+ if (line.match(/^\s*\/\//)) {
+ rLine = null;
+ } else if (line.match(/^\s*\/\*/)) {
+ multiLine = true;
+ rLine = null;
+ }
+
+ if (multiLine) {
+ var multiLineEnd = line.match(/\*\/(.*)/);
+ if (multiLineEnd) {
+ multiLine = false;
+ rLine = multiLineEnd[1];
+ } else {
+ rLine = null;
+ }
+ }
+
+ return rLine;
+ }).filter(function(l) { return l !== null; });
+
+ var newCode = lines.join('\n');
+ newCode = newCode.replace(/\/\*\*[\s\S]+?Copyright\s+.+?Amazon[\s\S]+?\*\//g, '');
+ return newCode;
+}
+
+function build(options, callback) {
+ if (arguments.length === 1) {
+ callback = options;
+ options = {};
+ }
+
+ var img = require('insert-module-globals');
+ img.vars.process = function() { return '{browser:true}'; };
+
+ if (options.services) process.env.AWS_SERVICES = options.services;
+
+ var browserify = require('browserify');
+ var brOpts = { basedir: path.resolve(__dirname, '..') };
+ browserify(brOpts).add('./').ignore('domain').bundle(function(err, data) {
+ if (err) return callback(err);
+
+ var code = (data || '').toString();
+ if (options.minify) code = minify(code);
+ else code = stripComments(code);
+
+ code = license + code;
+ callback(null, code);
+ });
+}
+
+// run if we called this tool directly
+if (require.main === module) {
+ var opts = {
+ services: process.argv[2] || process.env.SERVICES,
+ minify: process.env.MINIFY ? true : false
+ };
+ build(opts, function(err, code) {
+ if (err) console.error(err.message);
+ else console.log(code);
+ });
+}
+
+build.license = license;
+module.exports = build;
diff --git a/node_modules/aws-sdk/dist-tools/service-collector.js b/node_modules/aws-sdk/dist-tools/service-collector.js
new file mode 100644
index 0000000000000000000000000000000000000000..c2d3e42cbe62d791ff7ab9810154bc3e6fe71df9
--- /dev/null
+++ b/node_modules/aws-sdk/dist-tools/service-collector.js
@@ -0,0 +1,149 @@
+var fs = require('fs');
+var util = require('util');
+var path = require('path');
+
+var AWS = require('../');
+var apis = require('../lib/api_loader');
+
+var defaultServices = 'acm,cloudfront,cloudtrail,cloudwatch,cloudwatchlogs,codecommit,codepipeline,cognitoidentity,cognitosync,configservice,devicefarm,dynamodb,dynamodbstreams,ec2,elastictranscoder,firehose,inspector,kinesis,kms,lambda,marketplacecommerceanalytics,mobileanalytics,machinelearning,opsworks,route53,route53domains,s3,sns,sqs,ssm,storagegateway,sts,waf';
+var sanitizeRegex = /[^a-zA-Z0-9,-]/;
+
+var serviceClasses = {};
+Object.keys(AWS).forEach(function(name) {
+ if (AWS[name].serviceIdentifier) {
+ serviceClasses[AWS[name].serviceIdentifier] = AWS[name];
+ }
+});
+
+function getServiceHeader(service) {
+ if (service === 'all') {
+ return Object.keys(serviceClasses).map(function(name) {
+ return getServiceHeader(name);
+ }).join('\n');
+ }
+
+ if (!serviceClasses[service]) return null;
+ var versions = serviceClasses[service].apiVersions.map(function(version) {
+ return version.indexOf('*') >= 0 ? null : version;
+ }).filter(function(c) { return c !== null; });
+
+ var file = util.format(
+ 'AWS.apiLoader.services[\'%s\'] = {};\n' +
+ 'AWS.%s = AWS.Service.defineService(\'%s\', %s);\n',
+ service, apis.serviceName(service), service, util.inspect(versions));
+ var svcPath = path.join(__dirname, '..', 'lib', 'services', service + '.js');
+ if (fs.existsSync(svcPath)) {
+ file += 'require(\'./services/' + service + '\');\n';
+ }
+
+ return file;
+}
+
+function getService(service, version) {
+ if (service === 'all') {
+ return Object.keys(serviceClasses).map(function(name) {
+ var out = serviceClasses[name].apiVersions.map(function(svcVersion) {
+ if (svcVersion.indexOf('*') >= 0) return null;
+ return getService(name, svcVersion);
+ }).filter(function(c) { return c !== null; }).join('\n');
+
+ return out;
+ }).join('\n');
+ }
+
+ var svc, api;
+ if (!serviceClasses[service]) {
+ return null;
+ }
+
+ try {
+ var ClassName = serviceClasses[service];
+ svc = new ClassName({apiVersion: version, endpoint: 'localhost'});
+ api = apis.load(service, svc.api.apiVersion);
+ } catch (e) {
+ return null;
+ }
+
+ var line = util.format(
+ 'AWS.apiLoader.services[\'%s\'][\'%s\'] = %s;',
+ service, svc.api.apiVersion, JSON.stringify(api));
+
+ return line;
+}
+
+function ServiceCollector(services) {
+ var builtServices = {};
+
+ function buildService(name, usingDefaultServices) {
+ var match = name.match(/^(.+?)(?:-(.+?))?$/);
+ var service = match[1], version = match[2] || 'latest';
+ var contents = [];
+ var lines, err;
+
+ if (!builtServices[service]) {
+ builtServices[service] = {};
+
+ lines = getServiceHeader(service);
+ if (lines === null) {
+ if (!usingDefaultServices) {
+ err = new Error('Invalid module: ' + service);
+ err.name = 'InvalidModuleError';
+ throw err;
+ }
+ } else {
+ contents.push(lines);
+ }
+ }
+
+ if (!builtServices[service][version]) {
+ builtServices[service][version] = true;
+
+ lines = getService(service, version);
+ if (lines === null) {
+ if (!usingDefaultServices) {
+ err = new Error('Invalid module: ' + service + '-' + version);
+ err.name = 'InvalidModuleError';
+ throw err;
+ }
+ } else {
+ contents.push(lines);
+ }
+ }
+
+ return contents.join('\n');
+ }
+
+ var serviceCode = '';
+ var usingDefaultServicesToggle = false;
+ if (!services) {
+ usingDefaultServicesToggle = true;
+ services = defaultServices;
+ }
+ if (services.match(sanitizeRegex)) {
+ throw new Error('Incorrectly formatted service names');
+ }
+
+ var invalidModules = [];
+ var stsIncluded = false;
+ services.split(',').sort().forEach(function(name) {
+ if (name.match(/^sts\b/) || name === 'all') stsIncluded = true;
+ try {
+ serviceCode += buildService(name, usingDefaultServicesToggle) + '\n';
+ } catch (e) {
+ if (e.name === 'InvalidModuleError') invalidModules.push(name);
+ else throw e;
+ }
+ });
+
+ if (!stsIncluded) {
+ serviceCode += buildService('sts') + '\n';
+ }
+
+ if (invalidModules.length > 0) {
+ throw new Error('Missing modules: ' + invalidModules.join(', '));
+ }
+
+ return serviceCode;
+}
+
+module.exports = ServiceCollector;
diff --git a/node_modules/aws-sdk/dist-tools/transform.js b/node_modules/aws-sdk/dist-tools/transform.js
new file mode 100644
index 0000000000000000000000000000000000000000..cb980c35aac36bb153833eb4ffb6c8130d587ba9
--- /dev/null
+++ b/node_modules/aws-sdk/dist-tools/transform.js
@@ -0,0 +1,19 @@
+var Transform = require('stream').Transform;
+var collector = require('./service-collector');
+var license = require('./browser-builder').license;
+
+module.exports = function(file) {
+ var stream = new Transform();
+ stream._transform = function(data, encoding, callback) {
+ callback(null, data);
+ };
+
+ if (file.match(/[\/\\]lib[\/\\]browser\.js$/)) {
+ stream.push(license);
+
+ var src = collector(process.env.AWS_SERVICES);
+ stream._flush = function(callback) { stream.push(src); callback(); };
+ }
+
+ return stream;
+};
diff --git a/node_modules/aws-sdk/dist/BUNDLE_LICENSE.txt b/node_modules/aws-sdk/dist/BUNDLE_LICENSE.txt
new file mode 100644
index 0000000000000000000000000000000000000000..14e46589be4413882c284e8f7d5909590f9b03f0
--- /dev/null
+++ b/node_modules/aws-sdk/dist/BUNDLE_LICENSE.txt
@@ -0,0 +1,96 @@
+The bundled package of the AWS SDK for JavaScript is available under the
+Apache License, Version 2.0:
+
+ Copyright 2012-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+
+ Licensed under the Apache License, Version 2.0 (the "License"). You
+ may not use this file except in compliance with the License. A copy of
+ the License is located at
+
+ http://aws.amazon.com/apache2.0/
+
+ or in the "license" file accompanying this file. This file is
+ distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
+ ANY KIND, either express or implied. See the License for the specific
+ language governing permissions and limitations under the License.
+
+This product bundles browserify, which is available under a
+"3-clause BSD" license:
+
+ Copyright Joyent, Inc. and other Node contributors.
+
+ Permission is hereby granted, free of charge, to any person obtaining a
+ copy of this software and associated documentation files (the
+ "Software"), to deal in the Software without restriction, including
+ without limitation the rights to use, copy, modify, merge, publish,
+ distribute, sublicense, and/or sell copies of the Software, and to permit
+ persons to whom the Software is furnished to do so, subject to the
+ following conditions:
+
+ The above copyright notice and this permission notice shall be included
+ in all copies or substantial portions of the Software.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+ OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
+ NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
+ DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
+ OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
+ USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+This product bundles crypto-browserify, which is available under
+the MIT license:
+
+ Copyright (c) 2013 Dominic Tarr
+
+ Permission is hereby granted, free of charge,
+ to any person obtaining a copy of this software and
+ associated documentation files (the "Software"), to
+ deal in the Software without restriction, including
+ without limitation the rights to use, copy, modify,
+ merge, publish, distribute, sublicense, and/or sell
+ copies of the Software, and to permit persons to whom
+ the Software is furnished to do so,
+ subject to the following conditions:
+
+ The above copyright notice and this permission notice
+ shall be included in all copies or substantial portions of the Software.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+ OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR
+ ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+This product bundles MD5, SHA-1, and SHA-256 hashing algorithm components,
+which are available under a BSD license:
+
+ Copyright (c) 1998 - 2009, Paul Johnston & Contributors
+ All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+
+ Redistributions of source code must retain the above copyrightnotice,
+ this list of conditions and the following disclaimer. Redistributions
+ in binary form must reproduce the above copyright notice, this list of
+ conditions and the following disclaimer in the documentation and/or
+ other materials provided with the distribution.
+
+ Neither the name of the author nor the names of its contributors may
+ be used to endorse or promote products derived from this software
+ without specific prior written permission.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/node_modules/aws-sdk/dist/aws-sdk.js b/node_modules/aws-sdk/dist/aws-sdk.js
new file mode 100644
index 0000000000000000000000000000000000000000..8d35fe53eac4c91330baae63a5a10ccd6113fffe
--- /dev/null
+++ b/node_modules/aws-sdk/dist/aws-sdk.js
@@ -0,0 +1,14043 @@
+// AWS SDK for JavaScript v2.2.48
+// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+// License at https://sdk.amazonaws.com/js/BUNDLE_LICENSE.txt
+(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o this.expireTime) {
+ return true;
+ } else {
+ return this.expired || !this.accessKeyId || !this.secretAccessKey;
+ }
+ },
+
+
+ get: function get(callback) {
+ var self = this;
+ if (this.needsRefresh()) {
+ this.refresh(function(err) {
+ if (!err) self.expired = false; // reset expired flag
+ if (callback) callback(err);
+ });
+ } else if (callback) {
+ callback();
+ }
+ },
+
+
+ refresh: function refresh(callback) {
+ this.expired = false;
+ callback();
+ }
+});
+
+},{"./core":4}],6:[function(require,module,exports){
+var AWS = require('../core');
+
+
+AWS.CognitoIdentityCredentials = AWS.util.inherit(AWS.Credentials, {
+
+ localStorageKey: {
+ id: 'aws.cognito.identity-id.',
+ providers: 'aws.cognito.identity-providers.'
+ },
+
+
+ constructor: function CognitoIdentityCredentials(params) {
+ AWS.Credentials.call(this);
+ this.expired = true;
+ this.params = params;
+ this.data = null;
+ this.identityId = null;
+ this.loadCachedId();
+ },
+
+
+ refresh: function refresh(callback) {
+ var self = this;
+ self.createClients();
+ self.data = null;
+ self.identityId = null;
+ self.getId(function(err) {
+ if (!err) {
+ if (!self.params.RoleArn) {
+ self.getCredentialsForIdentity(callback);
+ } else {
+ self.getCredentialsFromSTS(callback);
+ }
+ } else {
+ self.clearCachedId();
+ callback(err);
+ }
+ });
+ },
+
+
+ clearCachedId: function clearCache() {
+ this.identityId = null;
+ delete this.params.IdentityId;
+
+ var poolId = this.params.IdentityPoolId;
+ var loginId = this.params.LoginId || '';
+ delete this.storage[this.localStorageKey.id + poolId + loginId];
+ delete this.storage[this.localStorageKey.providers + poolId + loginId];
+ },
+
+
+ getId: function getId(callback) {
+ var self = this;
+ if (typeof self.params.IdentityId === 'string') {
+ return callback(null, self.params.IdentityId);
+ }
+
+ self.cognito.getId(function(err, data) {
+ if (!err && data.IdentityId) {
+ self.params.IdentityId = data.IdentityId;
+ callback(null, data.IdentityId);
+ } else {
+ callback(err);
+ }
+ });
+ },
+
+
+
+ loadCredentials: function loadCredentials(data, credentials) {
+ if (!data || !credentials) return;
+ credentials.expired = false;
+ credentials.accessKeyId = data.Credentials.AccessKeyId;
+ credentials.secretAccessKey = data.Credentials.SecretKey;
+ credentials.sessionToken = data.Credentials.SessionToken;
+ credentials.expireTime = data.Credentials.Expiration;
+ },
+
+
+ getCredentialsForIdentity: function getCredentialsForIdentity(callback) {
+ var self = this;
+ self.cognito.getCredentialsForIdentity(function(err, data) {
+ if (!err) {
+ self.cacheId(data);
+ self.data = data;
+ self.loadCredentials(self.data, self);
+ } else {
+ self.clearCachedId();
+ }
+ callback(err);
+ });
+ },
+
+
+ getCredentialsFromSTS: function getCredentialsFromSTS(callback) {
+ var self = this;
+ self.cognito.getOpenIdToken(function(err, data) {
+ if (!err) {
+ self.cacheId(data);
+ self.params.WebIdentityToken = data.Token;
+ self.webIdentityCredentials.refresh(function(webErr) {
+ if (!webErr) {
+ self.data = self.webIdentityCredentials.data;
+ self.sts.credentialsFrom(self.data, self);
+ } else {
+ self.clearCachedId();
+ }
+ callback(webErr);
+ });
+ } else {
+ self.clearCachedId();
+ callback(err);
+ }
+ });
+ },
+
+
+ loadCachedId: function loadCachedId() {
+ var self = this;
+
+ if (AWS.util.isBrowser() && !self.params.IdentityId) {
+ var id = self.getStorage('id');
+ if (id && self.params.Logins) {
+ var actualProviders = Object.keys(self.params.Logins);
+ var cachedProviders =
+ (self.getStorage('providers') || '').split(',');
+
+ var intersect = cachedProviders.filter(function(n) {
+ return actualProviders.indexOf(n) !== -1;
+ });
+ if (intersect.length !== 0) {
+ self.params.IdentityId = id;
+ }
+ } else if (id) {
+ self.params.IdentityId = id;
+ }
+ }
+ },
+
+
+ createClients: function() {
+ this.webIdentityCredentials = this.webIdentityCredentials ||
+ new AWS.WebIdentityCredentials(this.params);
+ this.cognito = this.cognito ||
+ new AWS.CognitoIdentity({params: this.params});
+ this.sts = this.sts || new AWS.STS();
+ },
+
+
+ cacheId: function cacheId(data) {
+ this.identityId = data.IdentityId;
+ this.params.IdentityId = this.identityId;
+
+ if (AWS.util.isBrowser()) {
+ this.setStorage('id', data.IdentityId);
+
+ if (this.params.Logins) {
+ this.setStorage('providers', Object.keys(this.params.Logins).join(','));
+ }
+ }
+ },
+
+
+ getStorage: function getStorage(key) {
+ return this.storage[this.localStorageKey[key] + this.params.IdentityPoolId + (this.params.LoginId || '')];
+ },
+
+
+ setStorage: function setStorage(key, val) {
+ try {
+ this.storage[this.localStorageKey[key] + this.params.IdentityPoolId + (this.params.LoginId || '')] = val;
+ } catch (_) {}
+ },
+
+
+ storage: (function() {
+ try {
+ return AWS.util.isBrowser() && window.localStorage !== null && typeof window.localStorage === 'object' ?
+ window.localStorage : {};
+ } catch (_) {
+ return {};
+ }
+ })()
+});
+
+},{"../core":4}],7:[function(require,module,exports){
+var AWS = require('../core');
+
+
+AWS.CredentialProviderChain = AWS.util.inherit(AWS.Credentials, {
+
+
+ constructor: function CredentialProviderChain(providers) {
+ if (providers) {
+ this.providers = providers;
+ } else {
+ this.providers = AWS.CredentialProviderChain.defaultProviders.slice(0);
+ }
+ },
+
+
+ resolve: function resolve(callback) {
+ if (this.providers.length === 0) {
+ callback(new Error('No providers'));
+ return this;
+ }
+
+ var index = 0;
+ var providers = this.providers.slice(0);
+
+ function resolveNext(err, creds) {
+ if ((!err && creds) || index === providers.length) {
+ callback(err, creds);
+ return;
+ }
+
+ var provider = providers[index++];
+ if (typeof provider === 'function') {
+ creds = provider.call();
+ } else {
+ creds = provider;
+ }
+
+ if (creds.get) {
+ creds.get(function(getErr) {
+ resolveNext(getErr, getErr ? null : creds);
+ });
+ } else {
+ resolveNext(null, creds);
+ }
+ }
+
+ resolveNext();
+ return this;
+ }
+
+});
+
+
+AWS.CredentialProviderChain.defaultProviders = [];
+
+},{"../core":4}],8:[function(require,module,exports){
+var AWS = require('../core');
+
+
+AWS.SAMLCredentials = AWS.util.inherit(AWS.Credentials, {
+
+ constructor: function SAMLCredentials(params) {
+ AWS.Credentials.call(this);
+ this.expired = true;
+ this.params = params;
+ },
+
+
+ refresh: function refresh(callback) {
+ var self = this;
+ self.createClients();
+ if (!callback) callback = function(err) { if (err) throw err; };
+
+ self.service.assumeRoleWithSAML(function (err, data) {
+ if (!err) {
+ self.service.credentialsFrom(data, self);
+ }
+ callback(err);
+ });
+ },
+
+
+ createClients: function() {
+ this.service = this.service || new AWS.STS({params: this.params});
+ }
+
+});
+
+},{"../core":4}],9:[function(require,module,exports){
+var AWS = require('../core');
+
+
+AWS.TemporaryCredentials = AWS.util.inherit(AWS.Credentials, {
+
+ constructor: function TemporaryCredentials(params) {
+ AWS.Credentials.call(this);
+ this.loadMasterCredentials();
+ this.expired = true;
+
+ this.params = params || {};
+ if (this.params.RoleArn) {
+ this.params.RoleSessionName =
+ this.params.RoleSessionName || 'temporary-credentials';
+ }
+ },
+
+
+ refresh: function refresh(callback) {
+ var self = this;
+ self.createClients();
+ if (!callback) callback = function(err) { if (err) throw err; };
+
+ self.service.config.credentials = self.masterCredentials;
+ var operation = self.params.RoleArn ?
+ self.service.assumeRole : self.service.getSessionToken;
+ operation.call(self.service, function (err, data) {
+ if (!err) {
+ self.service.credentialsFrom(data, self);
+ }
+ callback(err);
+ });
+ },
+
+
+ loadMasterCredentials: function loadMasterCredentials() {
+ this.masterCredentials = AWS.config.credentials;
+ while (this.masterCredentials.masterCredentials) {
+ this.masterCredentials = this.masterCredentials.masterCredentials;
+ }
+ },
+
+
+ createClients: function() {
+ this.service = this.service || new AWS.STS({params: this.params});
+ }
+
+});
+
+},{"../core":4}],10:[function(require,module,exports){
+var AWS = require('../core');
+
+
+AWS.WebIdentityCredentials = AWS.util.inherit(AWS.Credentials, {
+
+ constructor: function WebIdentityCredentials(params) {
+ AWS.Credentials.call(this);
+ this.expired = true;
+ this.params = params;
+ this.params.RoleSessionName = this.params.RoleSessionName || 'web-identity';
+ this.data = null;
+ },
+
+
+ refresh: function refresh(callback) {
+ var self = this;
+ self.createClients();
+ if (!callback) callback = function(err) { if (err) throw err; };
+
+ self.service.assumeRoleWithWebIdentity(function (err, data) {
+ self.data = null;
+ if (!err) {
+ self.data = data;
+ self.service.credentialsFrom(data, self);
+ }
+ callback(err);
+ });
+ },
+
+
+ createClients: function() {
+ this.service = this.service || new AWS.STS({params: this.params});
+ }
+
+});
+
+},{"../core":4}],11:[function(require,module,exports){
+var util = require('../core').util;
+var typeOf = require('./types').typeOf;
+var DynamoDBSet = require('./set');
+
+function convertInput(data) {
+ if (typeOf(data) === 'Object') {
+ var map = {M: {}};
+ for (var key in data) {
+ map['M'][key] = convertInput(data[key]);
+ }
+ return map;
+ } else if (typeOf(data) === 'Array') {
+ var list = {L: []};
+ for (var i = 0; i < data.length; i++) {
+ list['L'].push(convertInput(data[i]));
+ }
+ return list;
+ } else if (typeOf(data) === 'Set') {
+ return formatSet(data);
+ } else if (typeOf(data) === 'String') {
+ return { 'S': data };
+ } else if (typeOf(data) === 'Number') {
+ return { 'N': data.toString() };
+ } else if (typeOf(data) === 'Binary') {
+ return { 'B': data };
+ } else if (typeOf(data) === 'Boolean') {
+ return {'BOOL': data};
+ } else if (typeOf(data) === 'null') {
+ return {'NULL': true};
+ }
+}
+
+function formatSet(data) {
+ var map = {};
+ switch (data.type) {
+ case 'String': map['SS'] = data.values; break;
+ case 'Binary': map['BS'] = data.values; break;
+ case 'Number': map['NS'] = data.values.map(function (value) {
+ return value.toString();
+ });
+ }
+ return map;
+}
+
+function convertOutput(data) {
+ var list, map, i;
+ for (var type in data) {
+ var values = data[type];
+ if (type === 'M') {
+ map = {};
+ for (var key in values) {
+ map[key] = convertOutput(values[key]);
+ }
+ return map;
+ } else if (type === 'L') {
+ list = [];
+ for (i = 0; i < values.length; i++) {
+ list.push(convertOutput(values[i]));
+ }
+ return list;
+ } else if (type === 'SS') {
+ list = [];
+ for (i = 0; i < values.length; i++) {
+ list.push(values[i] + '');
+ }
+ return new DynamoDBSet(list);
+ } else if (type === 'NS') {
+ list = [];
+ for (i = 0; i < values.length; i++) {
+ list.push(Number(values[i]));
+ }
+ return new DynamoDBSet(list);
+ } else if (type === 'BS') {
+ list = [];
+ for (i = 0; i < values.length; i++) {
+ list.push(new util.Buffer(values[i]));
+ }
+ return new DynamoDBSet(list);
+ } else if (type === 'S') {
+ return values + '';
+ } else if (type === 'N') {
+ return Number(values);
+ } else if (type === 'B') {
+ return new util.Buffer(values);
+ } else if (type === 'BOOL') {
+ return (values === 'true' || values === 'TRUE' || values === true);
+ } else if (type === 'NULL') {
+ return null;
+ }
+ }
+}
+
+module.exports = {
+ input: convertInput,
+ output: convertOutput
+};
+
+},{"../core":4,"./set":13,"./types":15}],12:[function(require,module,exports){
+var AWS = require('../core');
+var Translator = require('./translator');
+var DynamoDBSet = require('./set');
+
+
+AWS.DynamoDB.DocumentClient = AWS.util.inherit({
+
+
+ operations: {
+ batchGetItem: 'batchGet',
+ batchWriteItem: 'batchWrite',
+ putItem: 'put',
+ getItem: 'get',
+ deleteItem: 'delete',
+ updateItem: 'update',
+ scan: 'scan',
+ query: 'query'
+ },
+
+
+ constructor: function DocumentClient(options) {
+ var self = this;
+ self.options = options || {};
+ self.configure(self.options);
+ },
+
+
+ configure: function configure(options) {
+ var self = this;
+ self.service = options.service;
+ self.bindServiceObject(options);
+ self.attrValue =
+ self.service.api.operations.putItem.input.members.Item.value.shape;
+ },
+
+
+ bindServiceObject: function bindServiceObject(options) {
+ var self = this;
+ options = options || {};
+
+ if (!self.service) {
+ self.service = new AWS.DynamoDB(options);
+ } else {
+ var config = AWS.util.copy(self.service.config);
+ self.service = new self.service.constructor.__super__(config);
+ self.service.config.params =
+ AWS.util.merge(self.service.config.params || {}, options.params);
+ }
+ },
+
+
+ batchGet: function(params, callback) {
+ var self = this;
+ var request = self.service.batchGetItem(params);
+ self.setupRequest(request);
+ self.setupResponse(request);
+ if (typeof callback === 'function') {
+ request.send(callback);
+ }
+ return request;
+ },
+
+
+ batchWrite: function(params, callback) {
+ var self = this;
+ var request = self.service.batchWriteItem(params);
+ self.setupRequest(request);
+ self.setupResponse(request);
+ if (typeof callback === 'function') {
+ request.send(callback);
+ }
+ return request;
+ },
+
+
+ delete: function(params, callback) {
+ var self = this;
+ var request = self.service.deleteItem(params);
+ self.setupRequest(request);
+ self.setupResponse(request);
+ if (typeof callback === 'function') {
+ request.send(callback);
+ }
+ return request;
+ },
+
+
+ get: function(params, callback) {
+ var self = this;
+ var request = self.service.getItem(params);
+ self.setupRequest(request);
+ self.setupResponse(request);
+ if (typeof callback === 'function') {
+ request.send(callback);
+ }
+ return request;
+ },
+
+
+ put: function put(params, callback) {
+ var self = this;
+ var request = self.service.putItem(params);
+ self.setupRequest(request);
+ self.setupResponse(request);
+ if (typeof callback === 'function') {
+ request.send(callback);
+ }
+ return request;
+ },
+
+
+ update: function(params, callback) {
+ var self = this;
+ var request = self.service.updateItem(params);
+ self.setupRequest(request);
+ self.setupResponse(request);
+ if (typeof callback === 'function') {
+ request.send(callback);
+ }
+ return request;
+ },
+
+
+ scan: function(params, callback) {
+ var self = this;
+ var request = self.service.scan(params);
+ self.setupRequest(request);
+ self.setupResponse(request);
+ if (typeof callback === 'function') {
+ request.send(callback);
+ }
+ return request;
+ },
+
+
+ query: function(params, callback) {
+ var self = this;
+ var request = self.service.query(params);
+ self.setupRequest(request);
+ self.setupResponse(request);
+ if (typeof callback === 'function') {
+ request.send(callback);
+ }
+ return request;
+ },
+
+
+ createSet: function(list, options) {
+ options = options || {};
+ return new DynamoDBSet(list, options);
+ },
+
+
+ getTranslator: function() {
+ return new Translator({attrValue: this.attrValue});
+ },
+
+
+ setupRequest: function setupRequest(request) {
+ var self = this;
+ var translator = self.getTranslator();
+ var operation = request.operation;
+ var inputShape = request.service.api.operations[operation].input;
+ request._events.validate.unshift(function(req) {
+ req.rawParams = AWS.util.copy(req.params);
+ req.params = translator.translateInput(req.rawParams, inputShape);
+ });
+ },
+
+
+ setupResponse: function setupResponse(request) {
+ var self = this;
+ var translator = self.getTranslator();
+ var outputShape = self.service.api.operations[request.operation].output;
+ request.on('extractData', function(response) {
+ response.data = translator.translateOutput(response.data, outputShape);
+ });
+
+ var response = request.response;
+ response.nextPage = function(cb) {
+ var resp = this;
+ var req = resp.request;
+ var config;
+ var service = req.service;
+ var operation = req.operation;
+ try {
+ config = service.paginationConfig(operation, true);
+ } catch (e) { resp.error = e; }
+
+ if (!resp.hasNextPage()) {
+ if (cb) cb(resp.error, null);
+ else if (resp.error) throw resp.error;
+ return null;
+ }
+
+ var params = AWS.util.copy(req.rawParams);
+ if (!resp.nextPageTokens) {
+ return cb ? cb(null, null) : null;
+ } else {
+ var inputTokens = config.inputToken;
+ if (typeof inputTokens === 'string') inputTokens = [inputTokens];
+ for (var i = 0; i < inputTokens.length; i++) {
+ params[inputTokens[i]] = resp.nextPageTokens[i];
+ }
+ return self[operation](params, cb);
+ }
+ };
+ }
+
+});
+
+module.exports = AWS.DynamoDB.DocumentClient;
+
+},{"../core":4,"./set":13,"./translator":14}],13:[function(require,module,exports){
+var util = require('../core').util;
+var typeOf = require('./types').typeOf;
+
+var DynamoDBSet = util.inherit({
+
+ constructor: function Set(list, options) {
+ options = options || {};
+ this.initialize(list, options.validate);
+ },
+
+ initialize: function(list, validate) {
+ var self = this;
+ self.values = [].concat(list);
+ self.detectType();
+ if (validate) {
+ self.validate();
+ }
+ },
+
+ detectType: function() {
+ var self = this;
+ var value = self.values[0];
+ if (typeOf(value) === 'String') {
+ self.type = 'String';
+ } else if (typeOf(value) === 'Number') {
+ self.type = 'Number';
+ } else if (typeOf(value) === 'Binary') {
+ self.type = 'Binary';
+ } else {
+ throw util.error(new Error(), {
+ code: 'InvalidSetType',
+ message: 'Sets can contain string, number, or binary values'
+ });
+ }
+ },
+
+ validate: function() {
+ var self = this;
+ var length = self.values.length;
+ var values = self.values;
+ for (var i = 0; i < length; i++) {
+ if (typeOf(values[i]) !== self.type) {
+ throw util.error(new Error(), {
+ code: 'InvalidType',
+ message: self.type + ' Set contains ' + typeOf(values[i]) + ' value'
+ });
+ }
+ }
+ }
+
+});
+
+module.exports = DynamoDBSet;
+
+},{"../core":4,"./types":15}],14:[function(require,module,exports){
+var util = require('../core').util;
+var convert = require('./converter');
+
+var Translator = function(options) {
+ options = options || {};
+ this.attrValue = options.attrValue;
+};
+
+Translator.prototype.translateInput = function(value, shape) {
+ this.mode = 'input';
+ return this.translate(value, shape);
+};
+
+Translator.prototype.translateOutput = function(value, shape) {
+ this.mode = 'output';
+ return this.translate(value, shape);
+};
+
+Translator.prototype.translate = function(value, shape) {
+ var self = this;
+ if (!shape || value === undefined) return undefined;
+
+ if (shape.shape === self.attrValue) {
+ return convert[self.mode](value);
+ }
+ switch (shape.type) {
+ case 'structure': return self.translateStructure(value, shape);
+ case 'map': return self.translateMap(value, shape);
+ case 'list': return self.translateList(value, shape);
+ default: return self.translateScalar(value, shape);
+ }
+};
+
+Translator.prototype.translateStructure = function(structure, shape) {
+ var self = this;
+ if (structure == null) return undefined;
+
+ var struct = {};
+ util.each(structure, function(name, value) {
+ var memberShape = shape.members[name];
+ if (memberShape) {
+ var result = self.translate(value, memberShape);
+ if (result !== undefined) struct[name] = result;
+ }
+ });
+ return struct;
+};
+
+Translator.prototype.translateList = function(list, shape) {
+ var self = this;
+ if (list == null) return undefined;
+
+ var out = [];
+ util.arrayEach(list, function(value) {
+ var result = self.translate(value, shape.member);
+ if (result === undefined) out.push(null);
+ else out.push(result);
+ });
+ return out;
+};
+
+Translator.prototype.translateMap = function(map, shape) {
+ var self = this;
+ if (map == null) return undefined;
+
+ var out = {};
+ util.each(map, function(key, value) {
+ var result = self.translate(value, shape.value);
+ if (result === undefined) out[key] = null;
+ else out[key] = result;
+ });
+ return out;
+};
+
+Translator.prototype.translateScalar = function(value, shape) {
+ return shape.toType(value);
+};
+
+module.exports = Translator;
+
+},{"../core":4,"./converter":11}],15:[function(require,module,exports){
+var util = require('../core').util;
+
+function typeOf(data) {
+ if (data === null && typeof data === 'object') {
+ return 'null';
+ } else if (data !== undefined && isBinary(data)) {
+ return 'Binary';
+ } else if (data !== undefined && data.constructor) {
+ return util.typeName(data.constructor);
+ } else {
+ return 'undefined';
+ }
+}
+
+function isBinary(data) {
+ var types = [
+ 'Buffer', 'File', 'Blob', 'ArrayBuffer', 'DataView',
+ 'Int8Array', 'Uint8Array', 'Uint8ClampedArray',
+ 'Int16Array', 'Uint16Array', 'Int32Array', 'Uint32Array',
+ 'Float32Array', 'Float64Array'
+ ];
+ if (util.isNode()) {
+ var Stream = util.nodeRequire('stream').Stream;
+ if (util.Buffer.isBuffer(data) || data instanceof Stream)
+ return true;
+ } else {
+ for (var i = 0; i < types.length; i++) {
+ if (data !== undefined && data.constructor) {
+ if (util.isType(data, types[i])) return true;
+ if (util.typeName(data.constructor) === types[i]) return true;
+ }
+ }
+ }
+ return false;
+}
+
+module.exports = {
+ typeOf: typeOf,
+ isBinary: isBinary
+};
+
+},{"../core":4}],16:[function(require,module,exports){
+var AWS = require('./core');
+var SequentialExecutor = require('./sequential_executor');
+
+
+AWS.EventListeners = {
+
+ Core: {} /* doc hack */
+};
+
+AWS.EventListeners = {
+ Core: new SequentialExecutor().addNamedListeners(function(add, addAsync) {
+ addAsync('VALIDATE_CREDENTIALS', 'validate',
+ function VALIDATE_CREDENTIALS(req, done) {
+ if (!req.service.api.signatureVersion) return done(); // none
+ req.service.config.getCredentials(function(err) {
+ if (err) {
+ req.response.error = AWS.util.error(err,
+ {code: 'CredentialsError', message: 'Missing credentials in config'});
+ }
+ done();
+ });
+ });
+
+ add('VALIDATE_REGION', 'validate', function VALIDATE_REGION(req) {
+ if (!req.service.config.region && !req.service.isGlobalEndpoint) {
+ req.response.error = AWS.util.error(new Error(),
+ {code: 'ConfigError', message: 'Missing region in config'});
+ }
+ });
+
+ add('VALIDATE_PARAMETERS', 'validate', function VALIDATE_PARAMETERS(req) {
+ var rules = req.service.api.operations[req.operation].input;
+ var validation = req.service.config.paramValidation;
+ new AWS.ParamValidator(validation).validate(rules, req.params);
+ });
+
+ addAsync('COMPUTE_SHA256', 'afterBuild', function COMPUTE_SHA256(req, done) {
+ req.haltHandlersOnError();
+ if (!req.service.api.signatureVersion) return done(); // none
+ if (req.service.getSignerClass(req) === AWS.Signers.V4) {
+ var body = req.httpRequest.body || '';
+ AWS.util.computeSha256(body, function(err, sha) {
+ if (err) {
+ done(err);
+ }
+ else {
+ req.httpRequest.headers['X-Amz-Content-Sha256'] = sha;
+ done();
+ }
+ });
+ } else {
+ done();
+ }
+ });
+
+ add('SET_CONTENT_LENGTH', 'afterBuild', function SET_CONTENT_LENGTH(req) {
+ if (req.httpRequest.headers['Content-Length'] === undefined) {
+ var length = AWS.util.string.byteLength(req.httpRequest.body);
+ req.httpRequest.headers['Content-Length'] = length;
+ }
+ });
+
+ add('SET_HTTP_HOST', 'afterBuild', function SET_HTTP_HOST(req) {
+ req.httpRequest.headers['Host'] = req.httpRequest.endpoint.host;
+ });
+
+ add('RESTART', 'restart', function RESTART() {
+ var err = this.response.error;
+ if (!err || !err.retryable) return;
+
+ this.httpRequest = new AWS.HttpRequest(
+ this.service.endpoint,
+ this.service.region
+ );
+
+ if (this.response.retryCount < this.service.config.maxRetries) {
+ this.response.retryCount++;
+ } else {
+ this.response.error = null;
+ }
+ });
+
+ addAsync('SIGN', 'sign', function SIGN(req, done) {
+ if (!req.service.api.signatureVersion) return done(); // none
+
+ req.service.config.getCredentials(function (err, credentials) {
+ if (err) {
+ req.response.error = err;
+ return done();
+ }
+
+ try {
+ var date = AWS.util.date.getDate();
+ var SignerClass = req.service.getSignerClass(req);
+ var signer = new SignerClass(req.httpRequest,
+ req.service.api.signingName || req.service.api.endpointPrefix,
+ req.service.config.signatureCache);
+
+ delete req.httpRequest.headers['Authorization'];
+ delete req.httpRequest.headers['Date'];
+ delete req.httpRequest.headers['X-Amz-Date'];
+
+ signer.addAuthorization(credentials, date);
+ req.signedAt = date;
+ } catch (e) {
+ req.response.error = e;
+ }
+ done();
+ });
+ });
+
+ add('VALIDATE_RESPONSE', 'validateResponse', function VALIDATE_RESPONSE(resp) {
+ if (this.service.successfulResponse(resp, this)) {
+ resp.data = {};
+ resp.error = null;
+ } else {
+ resp.data = null;
+ resp.error = AWS.util.error(new Error(),
+ {code: 'UnknownError', message: 'An unknown error occurred.'});
+ }
+ });
+
+ addAsync('SEND', 'send', function SEND(resp, done) {
+ resp.httpResponse._abortCallback = done;
+ resp.error = null;
+ resp.data = null;
+
+ function callback(httpResp) {
+ resp.httpResponse.stream = httpResp;
+
+ httpResp.on('headers', function onHeaders(statusCode, headers) {
+ resp.request.emit('httpHeaders', [statusCode, headers, resp]);
+
+ if (!resp.httpResponse.streaming) {
+ if (AWS.HttpClient.streamsApiVersion === 2) { // streams2 API check
+ httpResp.on('readable', function onReadable() {
+ var data = httpResp.read();
+ if (data !== null) {
+ resp.request.emit('httpData', [data, resp]);
+ }
+ });
+ } else { // legacy streams API
+ httpResp.on('data', function onData(data) {
+ resp.request.emit('httpData', [data, resp]);
+ });
+ }
+ }
+ });
+
+ httpResp.on('end', function onEnd() {
+ resp.request.emit('httpDone');
+ done();
+ });
+ }
+
+ function progress(httpResp) {
+ httpResp.on('sendProgress', function onSendProgress(value) {
+ resp.request.emit('httpUploadProgress', [value, resp]);
+ });
+
+ httpResp.on('receiveProgress', function onReceiveProgress(value) {
+ resp.request.emit('httpDownloadProgress', [value, resp]);
+ });
+ }
+
+ function error(err) {
+ resp.error = AWS.util.error(err, {
+ code: 'NetworkingError',
+ region: resp.request.httpRequest.region,
+ hostname: resp.request.httpRequest.endpoint.hostname,
+ retryable: true
+ });
+ resp.request.emit('httpError', [resp.error, resp], function() {
+ done();
+ });
+ }
+
+ function executeSend() {
+ var http = AWS.HttpClient.getInstance();
+ var httpOptions = resp.request.service.config.httpOptions || {};
+ try {
+ var stream = http.handleRequest(resp.request.httpRequest, httpOptions,
+ callback, error);
+ progress(stream);
+ } catch (err) {
+ error(err);
+ }
+ }
+
+ var timeDiff = (AWS.util.date.getDate() - this.signedAt) / 1000;
+ if (timeDiff >= 60 * 10) { // if we signed 10min ago, re-sign
+ this.emit('sign', [this], function(err) {
+ if (err) done(err);
+ else executeSend();
+ });
+ } else {
+ executeSend();
+ }
+ });
+
+ add('HTTP_HEADERS', 'httpHeaders',
+ function HTTP_HEADERS(statusCode, headers, resp) {
+ resp.httpResponse.statusCode = statusCode;
+ resp.httpResponse.headers = headers;
+ resp.httpResponse.body = new AWS.util.Buffer('');
+ resp.httpResponse.buffers = [];
+ resp.httpResponse.numBytes = 0;
+ var dateHeader = headers.date || headers.Date;
+ if (dateHeader) {
+ var serverTime = Date.parse(dateHeader);
+ if (resp.request.service.config.correctClockSkew
+ && AWS.util.isClockSkewed(serverTime)) {
+ AWS.util.applyClockOffset(serverTime);
+ }
+ }
+ });
+
+ add('HTTP_DATA', 'httpData', function HTTP_DATA(chunk, resp) {
+ if (chunk) {
+ if (AWS.util.isNode()) {
+ resp.httpResponse.numBytes += chunk.length;
+
+ var total = resp.httpResponse.headers['content-length'];
+ var progress = { loaded: resp.httpResponse.numBytes, total: total };
+ resp.request.emit('httpDownloadProgress', [progress, resp]);
+ }
+
+ resp.httpResponse.buffers.push(new AWS.util.Buffer(chunk));
+ }
+ });
+
+ add('HTTP_DONE', 'httpDone', function HTTP_DONE(resp) {
+ if (resp.httpResponse.buffers && resp.httpResponse.buffers.length > 0) {
+ var body = AWS.util.buffer.concat(resp.httpResponse.buffers);
+ resp.httpResponse.body = body;
+ }
+ delete resp.httpResponse.numBytes;
+ delete resp.httpResponse.buffers;
+ });
+
+ add('FINALIZE_ERROR', 'retry', function FINALIZE_ERROR(resp) {
+ if (resp.httpResponse.statusCode) {
+ resp.error.statusCode = resp.httpResponse.statusCode;
+ if (resp.error.retryable === undefined) {
+ resp.error.retryable = this.service.retryableError(resp.error, this);
+ }
+ }
+ });
+
+ add('INVALIDATE_CREDENTIALS', 'retry', function INVALIDATE_CREDENTIALS(resp) {
+ if (!resp.error) return;
+ switch (resp.error.code) {
+ case 'RequestExpired': // EC2 only
+ case 'ExpiredTokenException':
+ case 'ExpiredToken':
+ resp.error.retryable = true;
+ resp.request.service.config.credentials.expired = true;
+ }
+ });
+
+ add('EXPIRED_SIGNATURE', 'retry', function EXPIRED_SIGNATURE(resp) {
+ var err = resp.error;
+ if (!err) return;
+ if (typeof err.code === 'string' && typeof err.message === 'string') {
+ if (err.code.match(/Signature/) && err.message.match(/expired/)) {
+ resp.error.retryable = true;
+ }
+ }
+ });
+
+ add('CLOCK_SKEWED', 'retry', function CLOCK_SKEWED(resp) {
+ if (!resp.error) return;
+ if (this.service.clockSkewError(resp.error)
+ && this.service.config.correctClockSkew
+ && AWS.config.isClockSkewed) {
+ resp.error.retryable = true;
+ }
+ });
+
+ add('REDIRECT', 'retry', function REDIRECT(resp) {
+ if (resp.error && resp.error.statusCode >= 300 &&
+ resp.error.statusCode < 400 && resp.httpResponse.headers['location']) {
+ this.httpRequest.endpoint =
+ new AWS.Endpoint(resp.httpResponse.headers['location']);
+ this.httpRequest.headers['Host'] = this.httpRequest.endpoint.host;
+ resp.error.redirect = true;
+ resp.error.retryable = true;
+ }
+ });
+
+ add('RETRY_CHECK', 'retry', function RETRY_CHECK(resp) {
+ if (resp.error) {
+ if (resp.error.redirect && resp.redirectCount < resp.maxRedirects) {
+ resp.error.retryDelay = 0;
+ } else if (resp.retryCount < resp.maxRetries) {
+ resp.error.retryDelay = this.service.retryDelays(resp.retryCount) || 0;
+ }
+ }
+ });
+
+ addAsync('RESET_RETRY_STATE', 'afterRetry', function RESET_RETRY_STATE(resp, done) {
+ var delay, willRetry = false;
+
+ if (resp.error) {
+ delay = resp.error.retryDelay || 0;
+ if (resp.error.retryable && resp.retryCount < resp.maxRetries) {
+ resp.retryCount++;
+ willRetry = true;
+ } else if (resp.error.redirect && resp.redirectCount < resp.maxRedirects) {
+ resp.redirectCount++;
+ willRetry = true;
+ }
+ }
+
+ if (willRetry) {
+ resp.error = null;
+ setTimeout(done, delay);
+ } else {
+ done();
+ }
+ });
+ }),
+
+ CorePost: new SequentialExecutor().addNamedListeners(function(add) {
+ add('EXTRACT_REQUEST_ID', 'extractData', AWS.util.extractRequestId);
+ add('EXTRACT_REQUEST_ID', 'extractError', AWS.util.extractRequestId);
+
+ add('ENOTFOUND_ERROR', 'httpError', function ENOTFOUND_ERROR(err) {
+ if (err.code === 'NetworkingError' && err.errno === 'ENOTFOUND') {
+ var message = 'Inaccessible host: `' + err.hostname +
+ '\'. This service may not be available in the `' + err.region +
+ '\' region.';
+ this.response.error = AWS.util.error(new Error(message), {
+ code: 'UnknownEndpoint',
+ region: err.region,
+ hostname: err.hostname,
+ retryable: true,
+ originalError: err
+ });
+ }
+ });
+ }),
+
+ Logger: new SequentialExecutor().addNamedListeners(function(add) {
+ add('LOG_REQUEST', 'complete', function LOG_REQUEST(resp) {
+ var req = resp.request;
+ var logger = req.service.config.logger;
+ if (!logger) return;
+
+ function buildMessage() {
+ var time = AWS.util.date.getDate().getTime();
+ var delta = (time - req.startTime.getTime()) / 1000;
+ var ansi = logger.isTTY ? true : false;
+ var status = resp.httpResponse.statusCode;
+ var params = require('util').inspect(req.params, true, null);
+
+ var message = '';
+ if (ansi) message += '\x1B[33m';
+ message += '[AWS ' + req.service.serviceIdentifier + ' ' + status;
+ message += ' ' + delta.toString() + 's ' + resp.retryCount + ' retries]';
+ if (ansi) message += '\x1B[0;1m';
+ message += ' ' + AWS.util.string.lowerFirst(req.operation);
+ message += '(' + params + ')';
+ if (ansi) message += '\x1B[0m';
+ return message;
+ }
+
+ var line = buildMessage();
+ if (typeof logger.log === 'function') {
+ logger.log(line);
+ } else if (typeof logger.write === 'function') {
+ logger.write(line + '\n');
+ }
+ });
+ }),
+
+ Json: new SequentialExecutor().addNamedListeners(function(add) {
+ var svc = require('./protocol/json');
+ add('BUILD', 'build', svc.buildRequest);
+ add('EXTRACT_DATA', 'extractData', svc.extractData);
+ add('EXTRACT_ERROR', 'extractError', svc.extractError);
+ }),
+
+ Rest: new SequentialExecutor().addNamedListeners(function(add) {
+ var svc = require('./protocol/rest');
+ add('BUILD', 'build', svc.buildRequest);
+ add('EXTRACT_DATA', 'extractData', svc.extractData);
+ add('EXTRACT_ERROR', 'extractError', svc.extractError);
+ }),
+
+ RestJson: new SequentialExecutor().addNamedListeners(function(add) {
+ var svc = require('./protocol/rest_json');
+ add('BUILD', 'build', svc.buildRequest);
+ add('EXTRACT_DATA', 'extractData', svc.extractData);
+ add('EXTRACT_ERROR', 'extractError', svc.extractError);
+ }),
+
+ RestXml: new SequentialExecutor().addNamedListeners(function(add) {
+ var svc = require('./protocol/rest_xml');
+ add('BUILD', 'build', svc.buildRequest);
+ add('EXTRACT_DATA', 'extractData', svc.extractData);
+ add('EXTRACT_ERROR', 'extractError', svc.extractError);
+ }),
+
+ Query: new SequentialExecutor().addNamedListeners(function(add) {
+ var svc = require('./protocol/query');
+ add('BUILD', 'build', svc.buildRequest);
+ add('EXTRACT_DATA', 'extractData', svc.extractData);
+ add('EXTRACT_ERROR', 'extractError', svc.extractError);
+ })
+};
+
+},{"./core":4,"./protocol/json":28,"./protocol/query":29,"./protocol/rest":30,"./protocol/rest_json":31,"./protocol/rest_xml":32,"./sequential_executor":40,"util":80}],17:[function(require,module,exports){
+var AWS = require('./core');
+var inherit = AWS.util.inherit;
+
+
+AWS.Endpoint = inherit({
+
+
+ constructor: function Endpoint(endpoint, config) {
+ AWS.util.hideProperties(this, ['slashes', 'auth', 'hash', 'search', 'query']);
+
+ if (typeof endpoint === 'undefined' || endpoint === null) {
+ throw new Error('Invalid endpoint: ' + endpoint);
+ } else if (typeof endpoint !== 'string') {
+ return AWS.util.copy(endpoint);
+ }
+
+ if (!endpoint.match(/^http/)) {
+ var useSSL = config && config.sslEnabled !== undefined ?
+ config.sslEnabled : AWS.config.sslEnabled;
+ endpoint = (useSSL ? 'https' : 'http') + '://' + endpoint;
+ }
+
+ AWS.util.update(this, AWS.util.urlParse(endpoint));
+
+ if (this.port) {
+ this.port = parseInt(this.port, 10);
+ } else {
+ this.port = this.protocol === 'https:' ? 443 : 80;
+ }
+ }
+
+});
+
+
+AWS.HttpRequest = inherit({
+
+
+ constructor: function HttpRequest(endpoint, region, customUserAgent) {
+ endpoint = new AWS.Endpoint(endpoint);
+ this.method = 'POST';
+ this.path = endpoint.path || '/';
+ this.headers = {};
+ this.body = '';
+ this.endpoint = endpoint;
+ this.region = region;
+ this.setUserAgent(customUserAgent);
+ },
+
+
+ setUserAgent: function setUserAgent(customUserAgent) {
+ var prefix = AWS.util.isBrowser() ? 'X-Amz-' : '';
+ var customSuffix = '';
+ if (typeof customUserAgent === 'string' && customUserAgent) {
+ customSuffix += ' ' + customUserAgent;
+ }
+ this.headers[prefix + 'User-Agent'] = AWS.util.userAgent() + customSuffix;
+ },
+
+
+ pathname: function pathname() {
+ return this.path.split('?', 1)[0];
+ },
+
+
+ search: function search() {
+ var query = this.path.split('?', 2)[1];
+ if (query) {
+ query = AWS.util.queryStringParse(query);
+ return AWS.util.queryParamsToString(query);
+ }
+ return '';
+ }
+
+});
+
+
+AWS.HttpResponse = inherit({
+
+
+ constructor: function HttpResponse() {
+ this.statusCode = undefined;
+ this.headers = {};
+ this.body = undefined;
+ this.streaming = false;
+ this.stream = null;
+ },
+
+
+ createUnbufferedStream: function createUnbufferedStream() {
+ this.streaming = true;
+ return this.stream;
+ }
+});
+
+
+AWS.HttpClient = inherit({});
+
+
+AWS.HttpClient.getInstance = function getInstance() {
+ if (this.singleton === undefined) {
+ this.singleton = new this();
+ }
+ return this.singleton;
+};
+
+},{"./core":4}],18:[function(require,module,exports){
+var AWS = require('../core');
+var EventEmitter = require('events').EventEmitter;
+require('../http');
+
+
+AWS.XHRClient = AWS.util.inherit({
+ handleRequest: function handleRequest(httpRequest, httpOptions, callback, errCallback) {
+ var self = this;
+ var endpoint = httpRequest.endpoint;
+ var emitter = new EventEmitter();
+ var href = endpoint.protocol + '//' + endpoint.hostname;
+ if (endpoint.port !== 80 && endpoint.port !== 443) {
+ href += ':' + endpoint.port;
+ }
+ href += httpRequest.path;
+
+ var xhr = new XMLHttpRequest(), headersEmitted = false;
+ httpRequest.stream = xhr;
+
+ xhr.addEventListener('readystatechange', function() {
+ try {
+ if (xhr.status === 0) return; // 0 code is invalid
+ } catch (e) { return; }
+
+ if (this.readyState >= this.HEADERS_RECEIVED && !headersEmitted) {
+ try { xhr.responseType = 'arraybuffer'; } catch (e) {}
+ emitter.statusCode = xhr.status;
+ emitter.headers = self.parseHeaders(xhr.getAllResponseHeaders());
+ emitter.emit('headers', emitter.statusCode, emitter.headers);
+ headersEmitted = true;
+ }
+ if (this.readyState === this.DONE) {
+ self.finishRequest(xhr, emitter);
+ }
+ }, false);
+ xhr.upload.addEventListener('progress', function (evt) {
+ emitter.emit('sendProgress', evt);
+ });
+ xhr.addEventListener('progress', function (evt) {
+ emitter.emit('receiveProgress', evt);
+ }, false);
+ xhr.addEventListener('timeout', function () {
+ errCallback(AWS.util.error(new Error('Timeout'), {code: 'TimeoutError'}));
+ }, false);
+ xhr.addEventListener('error', function () {
+ errCallback(AWS.util.error(new Error('Network Failure'), {
+ code: 'NetworkingError'
+ }));
+ }, false);
+
+ callback(emitter);
+ xhr.open(httpRequest.method, href, httpOptions.xhrAsync !== false);
+ AWS.util.each(httpRequest.headers, function (key, value) {
+ if (key !== 'Content-Length' && key !== 'User-Agent' && key !== 'Host') {
+ xhr.setRequestHeader(key, value);
+ }
+ });
+
+ if (httpOptions.timeout && httpOptions.xhrAsync !== false) {
+ xhr.timeout = httpOptions.timeout;
+ }
+
+ if (httpOptions.xhrWithCredentials) {
+ xhr.withCredentials = true;
+ }
+
+ try {
+ xhr.send(httpRequest.body);
+ } catch (err) {
+ if (httpRequest.body && typeof httpRequest.body.buffer === 'object') {
+ xhr.send(httpRequest.body.buffer); // send ArrayBuffer directly
+ } else {
+ throw err;
+ }
+ }
+
+ return emitter;
+ },
+
+ parseHeaders: function parseHeaders(rawHeaders) {
+ var headers = {};
+ AWS.util.arrayEach(rawHeaders.split(/\r?\n/), function (line) {
+ var key = line.split(':', 1)[0];
+ var value = line.substring(key.length + 2);
+ if (key.length > 0) headers[key.toLowerCase()] = value;
+ });
+ return headers;
+ },
+
+ finishRequest: function finishRequest(xhr, emitter) {
+ var buffer;
+ if (xhr.responseType === 'arraybuffer' && xhr.response) {
+ var ab = xhr.response;
+ buffer = new AWS.util.Buffer(ab.byteLength);
+ var view = new Uint8Array(ab);
+ for (var i = 0; i < buffer.length; ++i) {
+ buffer[i] = view[i];
+ }
+ }
+
+ try {
+ if (!buffer && typeof xhr.responseText === 'string') {
+ buffer = new AWS.util.Buffer(xhr.responseText);
+ }
+ } catch (e) {}
+
+ if (buffer) emitter.emit('data', buffer);
+ emitter.emit('end');
+ }
+});
+
+
+AWS.HttpClient.prototype = AWS.XHRClient.prototype;
+
+
+AWS.HttpClient.streamsApiVersion = 1;
+
+},{"../core":4,"../http":17,"events":71}],19:[function(require,module,exports){
+var util = require('../util');
+
+function JsonBuilder() { }
+
+JsonBuilder.prototype.build = function(value, shape) {
+ return JSON.stringify(translate(value, shape));
+};
+
+function translate(value, shape) {
+ if (!shape || value === undefined || value === null) return undefined;
+
+ switch (shape.type) {
+ case 'structure': return translateStructure(value, shape);
+ case 'map': return translateMap(value, shape);
+ case 'list': return translateList(value, shape);
+ default: return translateScalar(value, shape);
+ }
+}
+
+function translateStructure(structure, shape) {
+ var struct = {};
+ util.each(structure, function(name, value) {
+ var memberShape = shape.members[name];
+ if (memberShape) {
+ if (memberShape.location !== 'body') return;
+ var locationName = memberShape.isLocationName ? memberShape.name : name;
+ var result = translate(value, memberShape);
+ if (result !== undefined) struct[locationName] = result;
+ }
+ });
+ return struct;
+}
+
+function translateList(list, shape) {
+ var out = [];
+ util.arrayEach(list, function(value) {
+ var result = translate(value, shape.member);
+ if (result !== undefined) out.push(result);
+ });
+ return out;
+}
+
+function translateMap(map, shape) {
+ var out = {};
+ util.each(map, function(key, value) {
+ var result = translate(value, shape.value);
+ if (result !== undefined) out[key] = result;
+ });
+ return out;
+}
+
+function translateScalar(value, shape) {
+ return shape.toWireFormat(value);
+}
+
+module.exports = JsonBuilder;
+
+},{"../util":59}],20:[function(require,module,exports){
+var util = require('../util');
+
+function JsonParser() { }
+
+JsonParser.prototype.parse = function(value, shape) {
+ return translate(JSON.parse(value), shape);
+};
+
+function translate(value, shape) {
+ if (!shape || value === undefined) return undefined;
+
+ switch (shape.type) {
+ case 'structure': return translateStructure(value, shape);
+ case 'map': return translateMap(value, shape);
+ case 'list': return translateList(value, shape);
+ default: return translateScalar(value, shape);
+ }
+}
+
+function translateStructure(structure, shape) {
+ if (structure == null) return undefined;
+
+ var struct = {};
+ var shapeMembers = shape.members;
+ util.each(shapeMembers, function(name, memberShape) {
+ var locationName = memberShape.isLocationName ? memberShape.name : name;
+ if (structure.hasOwnProperty(locationName)) {
+ var value = structure[locationName];
+ var result = translate(value, memberShape);
+ if (result !== undefined) struct[name] = result;
+ }
+ });
+ return struct;
+}
+
+function translateList(list, shape) {
+ if (list == null) return undefined;
+
+ var out = [];
+ util.arrayEach(list, function(value) {
+ var result = translate(value, shape.member);
+ if (result === undefined) out.push(null);
+ else out.push(result);
+ });
+ return out;
+}
+
+function translateMap(map, shape) {
+ if (map == null) return undefined;
+
+ var out = {};
+ util.each(map, function(key, value) {
+ var result = translate(value, shape.value);
+ if (result === undefined) out[key] = null;
+ else out[key] = result;
+ });
+ return out;
+}
+
+function translateScalar(value, shape) {
+ return shape.toType(value);
+}
+
+module.exports = JsonParser;
+
+},{"../util":59}],21:[function(require,module,exports){
+var Collection = require('./collection');
+var Operation = require('./operation');
+var Shape = require('./shape');
+var Paginator = require('./paginator');
+var ResourceWaiter = require('./resource_waiter');
+
+var util = require('../util');
+var property = util.property;
+var memoizedProperty = util.memoizedProperty;
+
+function Api(api, options) {
+ api = api || {};
+ options = options || {};
+ options.api = this;
+
+ api.metadata = api.metadata || {};
+
+ property(this, 'isApi', true, false);
+ property(this, 'apiVersion', api.metadata.apiVersion);
+ property(this, 'endpointPrefix', api.metadata.endpointPrefix);
+ property(this, 'signingName', api.metadata.signingName);
+ property(this, 'globalEndpoint', api.metadata.globalEndpoint);
+ property(this, 'signatureVersion', api.metadata.signatureVersion);
+ property(this, 'jsonVersion', api.metadata.jsonVersion);
+ property(this, 'targetPrefix', api.metadata.targetPrefix);
+ property(this, 'protocol', api.metadata.protocol);
+ property(this, 'timestampFormat', api.metadata.timestampFormat);
+ property(this, 'xmlNamespaceUri', api.metadata.xmlNamespace);
+ property(this, 'abbreviation', api.metadata.serviceAbbreviation);
+ property(this, 'fullName', api.metadata.serviceFullName);
+
+ memoizedProperty(this, 'className', function() {
+ var name = api.metadata.serviceAbbreviation || api.metadata.serviceFullName;
+ if (!name) return null;
+
+ name = name.replace(/^Amazon|AWS\s*|\(.*|\s+|\W+/g, '');
+ if (name === 'ElasticLoadBalancing') name = 'ELB';
+ return name;
+ });
+
+ property(this, 'operations', new Collection(api.operations, options, function(name, operation) {
+ return new Operation(name, operation, options);
+ }, util.string.lowerFirst));
+
+ property(this, 'shapes', new Collection(api.shapes, options, function(name, shape) {
+ return Shape.create(shape, options);
+ }));
+
+ property(this, 'paginators', new Collection(api.paginators, options, function(name, paginator) {
+ return new Paginator(name, paginator, options);
+ }));
+
+ property(this, 'waiters', new Collection(api.waiters, options, function(name, waiter) {
+ return new ResourceWaiter(name, waiter, options);
+ }, util.string.lowerFirst));
+
+ if (options.documentation) {
+ property(this, 'documentation', api.documentation);
+ property(this, 'documentationUrl', api.documentationUrl);
+ }
+}
+
+module.exports = Api;
+
+},{"../util":59,"./collection":22,"./operation":23,"./paginator":24,"./resource_waiter":25,"./shape":26}],22:[function(require,module,exports){
+var memoizedProperty = require('../util').memoizedProperty;
+
+function memoize(name, value, fn, nameTr) {
+ memoizedProperty(this, nameTr(name), function() {
+ return fn(name, value);
+ });
+}
+
+function Collection(iterable, options, fn, nameTr) {
+ nameTr = nameTr || String;
+ var self = this;
+
+ for (var id in iterable) {
+ if (iterable.hasOwnProperty(id)) {
+ memoize.call(self, id, iterable[id], fn, nameTr);
+ }
+ }
+}
+
+module.exports = Collection;
+
+},{"../util":59}],23:[function(require,module,exports){
+var Shape = require('./shape');
+
+var util = require('../util');
+var property = util.property;
+var memoizedProperty = util.memoizedProperty;
+
+function Operation(name, operation, options) {
+ options = options || {};
+
+ property(this, 'name', operation.name || name);
+ property(this, 'api', options.api, false);
+
+ operation.http = operation.http || {};
+ property(this, 'httpMethod', operation.http.method || 'POST');
+ property(this, 'httpPath', operation.http.requestUri || '/');
+
+ memoizedProperty(this, 'input', function() {
+ if (!operation.input) {
+ return new Shape.create({type: 'structure'}, options);
+ }
+ return Shape.create(operation.input, options);
+ });
+
+ memoizedProperty(this, 'output', function() {
+ if (!operation.output) {
+ return new Shape.create({type: 'structure'}, options);
+ }
+ return Shape.create(operation.output, options);
+ });
+
+ memoizedProperty(this, 'errors', function() {
+ var list = [];
+ if (!operation.errors) return null;
+
+ for (var i = 0; i < operation.errors.length; i++) {
+ list.push(Shape.create(operation.errors[i], options));
+ }
+
+ return list;
+ });
+
+ memoizedProperty(this, 'paginator', function() {
+ return options.api.paginators[name];
+ });
+
+ if (options.documentation) {
+ property(this, 'documentation', operation.documentation);
+ property(this, 'documentationUrl', operation.documentationUrl);
+ }
+}
+
+module.exports = Operation;
+
+},{"../util":59,"./shape":26}],24:[function(require,module,exports){
+var property = require('../util').property;
+
+function Paginator(name, paginator) {
+ property(this, 'inputToken', paginator.input_token);
+ property(this, 'limitKey', paginator.limit_key);
+ property(this, 'moreResults', paginator.more_results);
+ property(this, 'outputToken', paginator.output_token);
+ property(this, 'resultKey', paginator.result_key);
+}
+
+module.exports = Paginator;
+
+},{"../util":59}],25:[function(require,module,exports){
+var util = require('../util');
+var property = util.property;
+
+function ResourceWaiter(name, waiter, options) {
+ options = options || {};
+
+ function InnerResourceWaiter() {
+ property(this, 'name', name);
+ property(this, 'api', options.api, false);
+
+ if (waiter.operation) {
+ property(this, 'operation', util.string.lowerFirst(waiter.operation));
+ }
+
+ var self = this, map = {
+ ignoreErrors: 'ignore_errors',
+ successType: 'success_type',
+ successValue: 'success_value',
+ successPath: 'success_path',
+ acceptorType: 'acceptor_type',
+ acceptorValue: 'acceptor_value',
+ acceptorPath: 'acceptor_path',
+ failureType: 'failure_type',
+ failureValue: 'failure_value',
+ failurePath: 'success_path',
+ interval: 'interval',
+ maxAttempts: 'max_attempts'
+ };
+ Object.keys(map).forEach(function(key) {
+ var value = waiter[map[key]];
+ if (value) property(self, key, value);
+ });
+ }
+
+ if (options.api) {
+ var proto = null;
+ if (waiter['extends']) {
+ proto = options.api.waiters[waiter['extends']];
+ } else if (name !== '__default__') {
+ proto = options.api.waiters['__default__'];
+ }
+
+ if (proto) InnerResourceWaiter.prototype = proto;
+ }
+
+ return new InnerResourceWaiter();
+}
+
+module.exports = ResourceWaiter;
+
+},{"../util":59}],26:[function(require,module,exports){
+var Collection = require('./collection');
+
+var util = require('../util');
+
+function property(obj, name, value) {
+ if (value !== null && value !== undefined) {
+ util.property.apply(this, arguments);
+ }
+}
+
+function memoizedProperty(obj, name) {
+ if (!obj.constructor.prototype[name]) {
+ util.memoizedProperty.apply(this, arguments);
+ }
+}
+
+function Shape(shape, options, memberName) {
+ options = options || {};
+
+ property(this, 'shape', shape.shape);
+ property(this, 'api', options.api, false);
+ property(this, 'type', shape.type);
+ property(this, 'enum', shape.enum);
+ property(this, 'min', shape.min);
+ property(this, 'max', shape.max);
+ property(this, 'pattern', shape.pattern);
+ property(this, 'location', shape.location || this.location || 'body');
+ property(this, 'name', this.name || shape.xmlName || shape.queryName ||
+ shape.locationName || memberName);
+ property(this, 'isStreaming', shape.streaming || this.isStreaming || false);
+ property(this, 'isComposite', shape.isComposite || false);
+ property(this, 'isShape', true, false);
+ property(this, 'isQueryName', shape.queryName ? true : false, false);
+ property(this, 'isLocationName', shape.locationName ? true : false, false);
+
+ if (options.documentation) {
+ property(this, 'documentation', shape.documentation);
+ property(this, 'documentationUrl', shape.documentationUrl);
+ }
+
+ if (shape.xmlAttribute) {
+ property(this, 'isXmlAttribute', shape.xmlAttribute || false);
+ }
+
+ property(this, 'defaultValue', null);
+ this.toWireFormat = function(value) {
+ if (value === null || value === undefined) return '';
+ return value;
+ };
+ this.toType = function(value) { return value; };
+}
+
+
+Shape.normalizedTypes = {
+ character: 'string',
+ double: 'float',
+ long: 'integer',
+ short: 'integer',
+ biginteger: 'integer',
+ bigdecimal: 'float',
+ blob: 'binary'
+};
+
+
+Shape.types = {
+ 'structure': StructureShape,
+ 'list': ListShape,
+ 'map': MapShape,
+ 'boolean': BooleanShape,
+ 'timestamp': TimestampShape,
+ 'float': FloatShape,
+ 'integer': IntegerShape,
+ 'string': StringShape,
+ 'base64': Base64Shape,
+ 'binary': BinaryShape
+};
+
+Shape.resolve = function resolve(shape, options) {
+ if (shape.shape) {
+ var refShape = options.api.shapes[shape.shape];
+ if (!refShape) {
+ throw new Error('Cannot find shape reference: ' + shape.shape);
+ }
+
+ return refShape;
+ } else {
+ return null;
+ }
+};
+
+Shape.create = function create(shape, options, memberName) {
+ if (shape.isShape) return shape;
+
+ var refShape = Shape.resolve(shape, options);
+ if (refShape) {
+ var filteredKeys = Object.keys(shape);
+ if (!options.documentation) {
+ filteredKeys = filteredKeys.filter(function(name) {
+ return !name.match(/documentation/);
+ });
+ }
+ if (filteredKeys === ['shape']) { // no inline customizations
+ return refShape;
+ }
+
+ var InlineShape = function() {
+ refShape.constructor.call(this, shape, options, memberName);
+ };
+ InlineShape.prototype = refShape;
+ return new InlineShape();
+ } else {
+ if (!shape.type) {
+ if (shape.members) shape.type = 'structure';
+ else if (shape.member) shape.type = 'list';
+ else if (shape.key) shape.type = 'map';
+ else shape.type = 'string';
+ }
+
+ var origType = shape.type;
+ if (Shape.normalizedTypes[shape.type]) {
+ shape.type = Shape.normalizedTypes[shape.type];
+ }
+
+ if (Shape.types[shape.type]) {
+ return new Shape.types[shape.type](shape, options, memberName);
+ } else {
+ throw new Error('Unrecognized shape type: ' + origType);
+ }
+ }
+};
+
+function CompositeShape(shape) {
+ Shape.apply(this, arguments);
+ property(this, 'isComposite', true);
+
+ if (shape.flattened) {
+ property(this, 'flattened', shape.flattened || false);
+ }
+}
+
+function StructureShape(shape, options) {
+ var requiredMap = null, firstInit = !this.isShape;
+
+ CompositeShape.apply(this, arguments);
+
+ if (firstInit) {
+ property(this, 'defaultValue', function() { return {}; });
+ property(this, 'members', {});
+ property(this, 'memberNames', []);
+ property(this, 'required', []);
+ property(this, 'isRequired', function() { return false; });
+ }
+
+ if (shape.members) {
+ property(this, 'members', new Collection(shape.members, options, function(name, member) {
+ return Shape.create(member, options, name);
+ }));
+ memoizedProperty(this, 'memberNames', function() {
+ return shape.xmlOrder || Object.keys(shape.members);
+ });
+ }
+
+ if (shape.required) {
+ property(this, 'required', shape.required);
+ property(this, 'isRequired', function(name) {
+ if (!requiredMap) {
+ requiredMap = {};
+ for (var i = 0; i < shape.required.length; i++) {
+ requiredMap[shape.required[i]] = true;
+ }
+ }
+
+ return requiredMap[name];
+ }, false, true);
+ }
+
+ property(this, 'resultWrapper', shape.resultWrapper || null);
+
+ if (shape.payload) {
+ property(this, 'payload', shape.payload);
+ }
+
+ if (typeof shape.xmlNamespace === 'string') {
+ property(this, 'xmlNamespaceUri', shape.xmlNamespace);
+ } else if (typeof shape.xmlNamespace === 'object') {
+ property(this, 'xmlNamespacePrefix', shape.xmlNamespace.prefix);
+ property(this, 'xmlNamespaceUri', shape.xmlNamespace.uri);
+ }
+}
+
+function ListShape(shape, options) {
+ var self = this, firstInit = !this.isShape;
+ CompositeShape.apply(this, arguments);
+
+ if (firstInit) {
+ property(this, 'defaultValue', function() { return []; });
+ }
+
+ if (shape.member) {
+ memoizedProperty(this, 'member', function() {
+ return Shape.create(shape.member, options);
+ });
+ }
+
+ if (this.flattened) {
+ var oldName = this.name;
+ memoizedProperty(this, 'name', function() {
+ return self.member.name || oldName;
+ });
+ }
+}
+
+function MapShape(shape, options) {
+ var firstInit = !this.isShape;
+ CompositeShape.apply(this, arguments);
+
+ if (firstInit) {
+ property(this, 'defaultValue', function() { return {}; });
+ property(this, 'key', Shape.create({type: 'string'}, options));
+ property(this, 'value', Shape.create({type: 'string'}, options));
+ }
+
+ if (shape.key) {
+ memoizedProperty(this, 'key', function() {
+ return Shape.create(shape.key, options);
+ });
+ }
+ if (shape.value) {
+ memoizedProperty(this, 'value', function() {
+ return Shape.create(shape.value, options);
+ });
+ }
+}
+
+function TimestampShape(shape) {
+ var self = this;
+ Shape.apply(this, arguments);
+
+ if (this.location === 'header') {
+ property(this, 'timestampFormat', 'rfc822');
+ } else if (shape.timestampFormat) {
+ property(this, 'timestampFormat', shape.timestampFormat);
+ } else if (this.api) {
+ if (this.api.timestampFormat) {
+ property(this, 'timestampFormat', this.api.timestampFormat);
+ } else {
+ switch (this.api.protocol) {
+ case 'json':
+ case 'rest-json':
+ property(this, 'timestampFormat', 'unixTimestamp');
+ break;
+ case 'rest-xml':
+ case 'query':
+ case 'ec2':
+ property(this, 'timestampFormat', 'iso8601');
+ break;
+ }
+ }
+ }
+
+ this.toType = function(value) {
+ if (value === null || value === undefined) return null;
+ if (typeof value.toUTCString === 'function') return value;
+ return typeof value === 'string' || typeof value === 'number' ?
+ util.date.parseTimestamp(value) : null;
+ };
+
+ this.toWireFormat = function(value) {
+ return util.date.format(value, self.timestampFormat);
+ };
+}
+
+function StringShape() {
+ Shape.apply(this, arguments);
+
+ if (this.api) {
+ switch (this.api.protocol) {
+ case 'rest-xml':
+ case 'query':
+ case 'ec2':
+ this.toType = function(value) { return value || ''; };
+ }
+ }
+}
+
+function FloatShape() {
+ Shape.apply(this, arguments);
+
+ this.toType = function(value) {
+ if (value === null || value === undefined) return null;
+ return parseFloat(value);
+ };
+ this.toWireFormat = this.toType;
+}
+
+function IntegerShape() {
+ Shape.apply(this, arguments);
+
+ this.toType = function(value) {
+ if (value === null || value === undefined) return null;
+ return parseInt(value, 10);
+ };
+ this.toWireFormat = this.toType;
+}
+
+function BinaryShape() {
+ Shape.apply(this, arguments);
+ this.toType = util.base64.decode;
+ this.toWireFormat = util.base64.encode;
+}
+
+function Base64Shape() {
+ BinaryShape.apply(this, arguments);
+}
+
+function BooleanShape() {
+ Shape.apply(this, arguments);
+
+ this.toType = function(value) {
+ if (typeof value === 'boolean') return value;
+ if (value === null || value === undefined) return null;
+ return value === 'true';
+ };
+}
+
+
+Shape.shapes = {
+ StructureShape: StructureShape,
+ ListShape: ListShape,
+ MapShape: MapShape,
+ StringShape: StringShape,
+ BooleanShape: BooleanShape,
+ Base64Shape: Base64Shape
+};
+
+module.exports = Shape;
+
+},{"../util":59,"./collection":22}],27:[function(require,module,exports){
+var AWS = require('./core');
+
+
+AWS.ParamValidator = AWS.util.inherit({
+
+ constructor: function ParamValidator(validation) {
+ if (validation === true || validation === undefined) {
+ validation = {'min': true};
+ }
+ this.validation = validation;
+ },
+
+ validate: function validate(shape, params, context) {
+ this.errors = [];
+ this.validateMember(shape, params || {}, context || 'params');
+
+ if (this.errors.length > 1) {
+ var msg = this.errors.join('\n* ');
+ msg = 'There were ' + this.errors.length +
+ ' validation errors:\n* ' + msg;
+ throw AWS.util.error(new Error(msg),
+ {code: 'MultipleValidationErrors', errors: this.errors});
+ } else if (this.errors.length === 1) {
+ throw this.errors[0];
+ } else {
+ return true;
+ }
+ },
+
+ fail: function fail(code, message) {
+ this.errors.push(AWS.util.error(new Error(message), {code: code}));
+ },
+
+ validateStructure: function validateStructure(shape, params, context) {
+ this.validateType(params, context, ['object'], 'structure');
+
+ var paramName;
+ for (var i = 0; shape.required && i < shape.required.length; i++) {
+ paramName = shape.required[i];
+ var value = params[paramName];
+ if (value === undefined || value === null) {
+ this.fail('MissingRequiredParameter',
+ 'Missing required key \'' + paramName + '\' in ' + context);
+ }
+ }
+
+ for (paramName in params) {
+ if (!params.hasOwnProperty(paramName)) continue;
+
+ var paramValue = params[paramName],
+ memberShape = shape.members[paramName];
+
+ if (memberShape !== undefined) {
+ var memberContext = [context, paramName].join('.');
+ this.validateMember(memberShape, paramValue, memberContext);
+ } else {
+ this.fail('UnexpectedParameter',
+ 'Unexpected key \'' + paramName + '\' found in ' + context);
+ }
+ }
+
+ return true;
+ },
+
+ validateMember: function validateMember(shape, param, context) {
+ switch (shape.type) {
+ case 'structure':
+ return this.validateStructure(shape, param, context);
+ case 'list':
+ return this.validateList(shape, param, context);
+ case 'map':
+ return this.validateMap(shape, param, context);
+ default:
+ return this.validateScalar(shape, param, context);
+ }
+ },
+
+ validateList: function validateList(shape, params, context) {
+ if (this.validateType(params, context, [Array])) {
+ this.validateRange(shape, params.length, context, 'list member count');
+ for (var i = 0; i < params.length; i++) {
+ this.validateMember(shape.member, params[i], context + '[' + i + ']');
+ }
+ }
+ },
+
+ validateMap: function validateMap(shape, params, context) {
+ if (this.validateType(params, context, ['object'], 'map')) {
+ var mapCount = 0;
+ for (var param in params) {
+ if (!params.hasOwnProperty(param)) continue;
+ this.validateMember(shape.key, param,
+ context + '[key=\'' + param + '\']')
+ this.validateMember(shape.value, params[param],
+ context + '[\'' + param + '\']');
+ mapCount++;
+ }
+ this.validateRange(shape, mapCount, context, 'map member count');
+ }
+ },
+
+ validateScalar: function validateScalar(shape, value, context) {
+ switch (shape.type) {
+ case null:
+ case undefined:
+ case 'string':
+ return this.validateString(shape, value, context);
+ case 'base64':
+ case 'binary':
+ return this.validatePayload(value, context);
+ case 'integer':
+ case 'float':
+ return this.validateNumber(shape, value, context);
+ case 'boolean':
+ return this.validateType(value, context, ['boolean']);
+ case 'timestamp':
+ return this.validateType(value, context, [Date,
+ /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d+)?Z$/, 'number'],
+ 'Date object, ISO-8601 string, or a UNIX timestamp');
+ default:
+ return this.fail('UnkownType', 'Unhandled type ' +
+ shape.type + ' for ' + context);
+ }
+ },
+
+ validateString: function validateString(shape, value, context) {
+ if (this.validateType(value, context, ['string'])) {
+ this.validateEnum(shape, value, context);
+ this.validateRange(shape, value.length, context, 'string length');
+ this.validatePattern(shape, value, context);
+ }
+ },
+
+ validatePattern: function validatePattern(shape, value, context) {
+ if (this.validation['pattern'] && shape['pattern'] !== undefined) {
+ if (!(new RegExp(shape['pattern'])).test(value)) {
+ this.fail('PatternMatchError', 'Provided value "' + value + '" '
+ + 'does not match regex pattern /' + shape['pattern'] + '/ for '
+ + context);
+ }
+ }
+ },
+
+ validateRange: function validateRange(shape, value, context, descriptor) {
+ if (this.validation['min']) {
+ if (shape['min'] !== undefined && value < shape['min']) {
+ this.fail('MinRangeError', 'Expected ' + descriptor + ' >= '
+ + shape['min'] + ', but found ' + value + ' for ' + context);
+ }
+ }
+ if (this.validation['max']) {
+ if (shape['max'] !== undefined && value > shape['max']) {
+ this.fail('MaxRangeError', 'Expected ' + descriptor + ' <= '
+ + shape['max'] + ', but found ' + value + ' for ' + context);
+ }
+ }
+ },
+
+ validateEnum: function validateRange(shape, value, context) {
+ if (this.validation['enum'] && shape['enum'] !== undefined) {
+ if (shape['enum'].indexOf(value) === -1) {
+ this.fail('EnumError', 'Found string value of ' + value + ', but '
+ + 'expected ' + shape['enum'].join('|') + ' for ' + context);
+ }
+ }
+ },
+
+ validateType: function validateType(value, context, acceptedTypes, type) {
+ if (value === null || value === undefined) return false;
+
+ var foundInvalidType = false;
+ for (var i = 0; i < acceptedTypes.length; i++) {
+ if (typeof acceptedTypes[i] === 'string') {
+ if (typeof value === acceptedTypes[i]) return true;
+ } else if (acceptedTypes[i] instanceof RegExp) {
+ if ((value || '').toString().match(acceptedTypes[i])) return true;
+ } else {
+ if (value instanceof acceptedTypes[i]) return true;
+ if (AWS.util.isType(value, acceptedTypes[i])) return true;
+ if (!type && !foundInvalidType) acceptedTypes = acceptedTypes.slice();
+ acceptedTypes[i] = AWS.util.typeName(acceptedTypes[i]);
+ }
+ foundInvalidType = true;
+ }
+
+ var acceptedType = type;
+ if (!acceptedType) {
+ acceptedType = acceptedTypes.join(', ').replace(/,([^,]+)$/, ', or$1');
+ }
+
+ var vowel = acceptedType.match(/^[aeiou]/i) ? 'n' : '';
+ this.fail('InvalidParameterType', 'Expected ' + context + ' to be a' +
+ vowel + ' ' + acceptedType);
+ return false;
+ },
+
+ validateNumber: function validateNumber(shape, value, context) {
+ if (value === null || value === undefined) return;
+ if (typeof value === 'string') {
+ var castedValue = parseFloat(value);
+ if (castedValue.toString() === value) value = castedValue;
+ }
+ if (this.validateType(value, context, ['number'])) {
+ this.validateRange(shape, value, context, 'numeric value');
+ }
+ },
+
+ validatePayload: function validatePayload(value, context) {
+ if (value === null || value === undefined) return;
+ if (typeof value === 'string') return;
+ if (value && typeof value.byteLength === 'number') return; // typed arrays
+ if (AWS.util.isNode()) { // special check for buffer/stream in Node.js
+ var Stream = AWS.util.nodeRequire('stream').Stream;
+ if (AWS.util.Buffer.isBuffer(value) || value instanceof Stream) return;
+ }
+
+ var types = ['Buffer', 'Stream', 'File', 'Blob', 'ArrayBuffer', 'DataView'];
+ if (value) {
+ for (var i = 0; i < types.length; i++) {
+ if (AWS.util.isType(value, types[i])) return;
+ if (AWS.util.typeName(value.constructor) === types[i]) return;
+ }
+ }
+
+ this.fail('InvalidParameterType', 'Expected ' + context + ' to be a ' +
+ 'string, Buffer, Stream, Blob, or typed array object');
+ }
+});
+
+},{"./core":4}],28:[function(require,module,exports){
+var util = require('../util');
+var JsonBuilder = require('../json/builder');
+var JsonParser = require('../json/parser');
+
+function buildRequest(req) {
+ var httpRequest = req.httpRequest;
+ var api = req.service.api;
+ var target = api.targetPrefix + '.' + api.operations[req.operation].name;
+ var version = api.jsonVersion || '1.0';
+ var input = api.operations[req.operation].input;
+ var builder = new JsonBuilder();
+
+ if (version === 1) version = '1.0';
+ httpRequest.body = builder.build(req.params || {}, input);
+ httpRequest.headers['Content-Type'] = 'application/x-amz-json-' + version;
+ httpRequest.headers['X-Amz-Target'] = target;
+}
+
+function extractError(resp) {
+ var error = {};
+ var httpResponse = resp.httpResponse;
+
+ error.code = httpResponse.headers['x-amzn-errortype'] || 'UnknownError';
+ if (typeof error.code === 'string') {
+ error.code = error.code.split(':')[0];
+ }
+
+ if (httpResponse.body.length > 0) {
+ var e = JSON.parse(httpResponse.body.toString());
+ if (e.__type || e.code) {
+ error.code = (e.__type || e.code).split('#').pop();
+ }
+ if (error.code === 'RequestEntityTooLarge') {
+ error.message = 'Request body must be less than 1 MB';
+ } else {
+ error.message = (e.message || e.Message || null);
+ }
+ } else {
+ error.statusCode = httpResponse.statusCode;
+ error.message = httpResponse.statusCode.toString();
+ }
+
+ resp.error = util.error(new Error(), error);
+}
+
+function extractData(resp) {
+ var body = resp.httpResponse.body.toString() || '{}';
+ if (resp.request.service.config.convertResponseTypes === false) {
+ resp.data = JSON.parse(body);
+ } else {
+ var operation = resp.request.service.api.operations[resp.request.operation];
+ var shape = operation.output || {};
+ var parser = new JsonParser();
+ resp.data = parser.parse(body, shape);
+ }
+}
+
+module.exports = {
+ buildRequest: buildRequest,
+ extractError: extractError,
+ extractData: extractData
+};
+
+},{"../json/builder":19,"../json/parser":20,"../util":59}],29:[function(require,module,exports){
+var AWS = require('../core');
+var util = require('../util');
+var QueryParamSerializer = require('../query/query_param_serializer');
+var Shape = require('../model/shape');
+
+function buildRequest(req) {
+ var operation = req.service.api.operations[req.operation];
+ var httpRequest = req.httpRequest;
+ httpRequest.headers['Content-Type'] =
+ 'application/x-www-form-urlencoded; charset=utf-8';
+ httpRequest.params = {
+ Version: req.service.api.apiVersion,
+ Action: operation.name
+ };
+
+ var builder = new QueryParamSerializer();
+ builder.serialize(req.params, operation.input, function(name, value) {
+ httpRequest.params[name] = value;
+ });
+ httpRequest.body = util.queryParamsToString(httpRequest.params);
+}
+
+function extractError(resp) {
+ var data, body = resp.httpResponse.body.toString();
+ if (body.match('= 0 ? '&' : '?');
+ var parts = [];
+ util.arrayEach(Object.keys(queryString).sort(), function(key) {
+ if (!Array.isArray(queryString[key])) {
+ queryString[key] = [queryString[key]];
+ }
+ for (var i = 0; i < queryString[key].length; i++) {
+ parts.push(util.uriEscape(String(key)) + '=' + queryString[key][i]);
+ }
+ });
+ uri += parts.join('&');
+ }
+
+ req.httpRequest.path = uri;
+}
+
+function populateHeaders(req) {
+ var operation = req.service.api.operations[req.operation];
+ util.each(operation.input.members, function (name, member) {
+ var value = req.params[name];
+ if (value === null || value === undefined) return;
+
+ if (member.location === 'headers' && member.type === 'map') {
+ util.each(value, function(key, memberValue) {
+ req.httpRequest.headers[member.name + key] = memberValue;
+ });
+ } else if (member.location === 'header') {
+ value = member.toWireFormat(value).toString();
+ req.httpRequest.headers[member.name] = value;
+ }
+ });
+}
+
+function buildRequest(req) {
+ populateMethod(req);
+ populateURI(req);
+ populateHeaders(req);
+}
+
+function extractError() {
+}
+
+function extractData(resp) {
+ var req = resp.request;
+ var data = {};
+ var r = resp.httpResponse;
+ var operation = req.service.api.operations[req.operation];
+ var output = operation.output;
+
+ var headers = {};
+ util.each(r.headers, function (k, v) {
+ headers[k.toLowerCase()] = v;
+ });
+
+ util.each(output.members, function(name, member) {
+ var header = (member.name || name).toLowerCase();
+ if (member.location === 'headers' && member.type === 'map') {
+ data[name] = {};
+ var location = member.isLocationName ? member.name : '';
+ var pattern = new RegExp('^' + location + '(.+)', 'i');
+ util.each(r.headers, function (k, v) {
+ var result = k.match(pattern);
+ if (result !== null) {
+ data[name][result[1]] = v;
+ }
+ });
+ } else if (member.location === 'header') {
+ if (headers[header] !== undefined) {
+ data[name] = headers[header];
+ }
+ } else if (member.location === 'statusCode') {
+ data[name] = parseInt(r.statusCode, 10);
+ }
+ });
+
+ resp.data = data;
+}
+
+module.exports = {
+ buildRequest: buildRequest,
+ extractError: extractError,
+ extractData: extractData
+};
+
+},{"../util":59}],31:[function(require,module,exports){
+var util = require('../util');
+var Rest = require('./rest');
+var Json = require('./json');
+var JsonBuilder = require('../json/builder');
+var JsonParser = require('../json/parser');
+
+function populateBody(req) {
+ var builder = new JsonBuilder();
+ var input = req.service.api.operations[req.operation].input;
+
+ if (input.payload) {
+ var params = {};
+ var payloadShape = input.members[input.payload];
+ params = req.params[input.payload];
+ if (params === undefined) return;
+
+ if (payloadShape.type === 'structure') {
+ req.httpRequest.body = builder.build(params, payloadShape);
+ } else { // non-JSON payload
+ req.httpRequest.body = params;
+ }
+ } else {
+ req.httpRequest.body = builder.build(req.params, input);
+ }
+}
+
+function buildRequest(req) {
+ Rest.buildRequest(req);
+
+ if (['GET', 'HEAD', 'DELETE'].indexOf(req.httpRequest.method) < 0) {
+ populateBody(req);
+ }
+}
+
+function extractError(resp) {
+ Json.extractError(resp);
+}
+
+function extractData(resp) {
+ Rest.extractData(resp);
+
+ var req = resp.request;
+ var rules = req.service.api.operations[req.operation].output || {};
+ if (rules.payload) {
+ var payloadMember = rules.members[rules.payload];
+ var body = resp.httpResponse.body;
+ if (payloadMember.isStreaming) {
+ resp.data[rules.payload] = body;
+ } else if (payloadMember.type === 'structure' || payloadMember.type === 'list') {
+ var parser = new JsonParser();
+ resp.data[rules.payload] = parser.parse(body, payloadMember);
+ } else {
+ resp.data[rules.payload] = body.toString();
+ }
+ } else {
+ var data = resp.data;
+ Json.extractData(resp);
+ resp.data = util.merge(data, resp.data);
+ }
+}
+
+module.exports = {
+ buildRequest: buildRequest,
+ extractError: extractError,
+ extractData: extractData
+};
+
+},{"../json/builder":19,"../json/parser":20,"../util":59,"./json":28,"./rest":30}],32:[function(require,module,exports){
+var AWS = require('../core');
+var util = require('../util');
+var Rest = require('./rest');
+
+function populateBody(req) {
+ var input = req.service.api.operations[req.operation].input;
+ var builder = new AWS.XML.Builder();
+ var params = req.params;
+
+ var payload = input.payload;
+ if (payload) {
+ var payloadMember = input.members[payload];
+ params = params[payload];
+ if (params === undefined) return;
+
+ if (payloadMember.type === 'structure') {
+ var rootElement = payloadMember.name;
+ req.httpRequest.body = builder.toXML(params, payloadMember, rootElement, true);
+ } else { // non-xml payload
+ req.httpRequest.body = params;
+ }
+ } else {
+ req.httpRequest.body = builder.toXML(params, input, input.name ||
+ input.shape || util.string.upperFirst(req.operation) + 'Request');
+ }
+}
+
+function buildRequest(req) {
+ Rest.buildRequest(req);
+
+ if (['GET', 'HEAD'].indexOf(req.httpRequest.method) < 0) {
+ populateBody(req);
+ }
+}
+
+function extractError(resp) {
+ Rest.extractError(resp);
+
+ var data = new AWS.XML.Parser().parse(resp.httpResponse.body.toString());
+ if (data.Errors) data = data.Errors;
+ if (data.Error) data = data.Error;
+ if (data.Code) {
+ resp.error = util.error(new Error(), {
+ code: data.Code,
+ message: data.Message
+ });
+ } else {
+ resp.error = util.error(new Error(), {
+ code: resp.httpResponse.statusCode,
+ message: null
+ });
+ }
+}
+
+function extractData(resp) {
+ Rest.extractData(resp);
+
+ var parser;
+ var req = resp.request;
+ var body = resp.httpResponse.body;
+ var operation = req.service.api.operations[req.operation];
+ var output = operation.output;
+
+ var payload = output.payload;
+ if (payload) {
+ var payloadMember = output.members[payload];
+ if (payloadMember.isStreaming) {
+ resp.data[payload] = body;
+ } else if (payloadMember.type === 'structure') {
+ parser = new AWS.XML.Parser();
+ resp.data[payload] = parser.parse(body.toString(), payloadMember);
+ } else {
+ resp.data[payload] = body.toString();
+ }
+ } else if (body.length > 0) {
+ parser = new AWS.XML.Parser();
+ var data = parser.parse(body.toString(), output);
+ util.update(resp.data, data);
+ }
+}
+
+module.exports = {
+ buildRequest: buildRequest,
+ extractError: extractError,
+ extractData: extractData
+};
+
+},{"../core":4,"../util":59,"./rest":30}],33:[function(require,module,exports){
+var util = require('../util');
+
+function QueryParamSerializer() {
+}
+
+QueryParamSerializer.prototype.serialize = function(params, shape, fn) {
+ serializeStructure('', params, shape, fn);
+};
+
+function ucfirst(shape) {
+ if (shape.isQueryName || shape.api.protocol !== 'ec2') {
+ return shape.name;
+ } else {
+ return shape.name[0].toUpperCase() + shape.name.substr(1);
+ }
+}
+
+function serializeStructure(prefix, struct, rules, fn) {
+ util.each(rules.members, function(name, member) {
+ var value = struct[name];
+ if (value === null || value === undefined) return;
+
+ var memberName = ucfirst(member);
+ memberName = prefix ? prefix + '.' + memberName : memberName;
+ serializeMember(memberName, value, member, fn);
+ });
+}
+
+function serializeMap(name, map, rules, fn) {
+ var i = 1;
+ util.each(map, function (key, value) {
+ var prefix = rules.flattened ? '.' : '.entry.';
+ var position = prefix + (i++) + '.';
+ var keyName = position + (rules.key.name || 'key');
+ var valueName = position + (rules.value.name || 'value');
+ serializeMember(name + keyName, key, rules.key, fn);
+ serializeMember(name + valueName, value, rules.value, fn);
+ });
+}
+
+function serializeList(name, list, rules, fn) {
+ var memberRules = rules.member || {};
+
+ if (list.length === 0) {
+ fn.call(this, name, null);
+ return;
+ }
+
+ util.arrayEach(list, function (v, n) {
+ var suffix = '.' + (n + 1);
+ if (rules.api.protocol === 'ec2') {
+ suffix = suffix + ''; // make linter happy
+ } else if (rules.flattened) {
+ if (memberRules.name) {
+ var parts = name.split('.');
+ parts.pop();
+ parts.push(ucfirst(memberRules));
+ name = parts.join('.');
+ }
+ } else {
+ suffix = '.member' + suffix;
+ }
+ serializeMember(name + suffix, v, memberRules, fn);
+ });
+}
+
+function serializeMember(name, value, rules, fn) {
+ if (value === null || value === undefined) return;
+ if (rules.type === 'structure') {
+ serializeStructure(name, value, rules, fn);
+ } else if (rules.type === 'list') {
+ serializeList(name, value, rules, fn);
+ } else if (rules.type === 'map') {
+ serializeMap(name, value, rules, fn);
+ } else {
+ fn(name, rules.toWireFormat(value).toString());
+ }
+}
+
+module.exports = QueryParamSerializer;
+
+},{"../util":59}],34:[function(require,module,exports){
+var util = require('./util');
+var regionConfig = require('./region_config.json');
+
+function generateRegionPrefix(region) {
+ if (!region) return null;
+
+ var parts = region.split('-');
+ if (parts.length < 3) return null;
+ return parts.slice(0, parts.length - 2).join('-') + '-*';
+}
+
+function derivedKeys(service) {
+ var region = service.config.region;
+ var regionPrefix = generateRegionPrefix(region);
+ var endpointPrefix = service.api.endpointPrefix;
+
+ return [
+ [region, endpointPrefix],
+ [regionPrefix, endpointPrefix],
+ [region, '*'],
+ [regionPrefix, '*'],
+ ['*', endpointPrefix],
+ ['*', '*']
+ ].map(function(item) {
+ return item[0] && item[1] ? item.join('/') : null;
+ });
+}
+
+function applyConfig(service, config) {
+ util.each(config, function(key, value) {
+ if (key === 'globalEndpoint') return;
+ if (service.config[key] === undefined || service.config[key] === null) {
+ service.config[key] = value;
+ }
+ });
+}
+
+function configureEndpoint(service) {
+ var keys = derivedKeys(service);
+ for (var i = 0; i < keys.length; i++) {
+ var key = keys[i];
+ if (!key) continue;
+
+ if (regionConfig.rules.hasOwnProperty(key)) {
+ var config = regionConfig.rules[key];
+ if (typeof config === 'string') {
+ config = regionConfig.patterns[config];
+ }
+
+ service.isGlobalEndpoint = !!config.globalEndpoint;
+
+ if (!config.signatureVersion) config.signatureVersion = 'v4';
+
+ applyConfig(service, config);
+ return;
+ }
+ }
+}
+
+module.exports = configureEndpoint;
+
+},{"./region_config.json":35,"./util":59}],35:[function(require,module,exports){
+module.exports={
+ "rules": {
+ "*/*": {
+ "endpoint": "{service}.{region}.amazonaws.com"
+ },
+ "cn-*/*": {
+ "endpoint": "{service}.{region}.amazonaws.com.cn"
+ },
+ "*/cloudfront": "globalSSL",
+ "*/iam": "globalSSL",
+ "*/sts": "globalSSL",
+ "*/importexport": {
+ "endpoint": "{service}.amazonaws.com",
+ "signatureVersion": "v2",
+ "globalEndpoint": true
+ },
+ "*/route53": {
+ "endpoint": "https://{service}.amazonaws.com",
+ "signatureVersion": "v3https",
+ "globalEndpoint": true
+ },
+ "*/waf": "globalSSL",
+ "us-gov-*/iam": "globalGovCloud",
+ "us-gov-*/sts": {
+ "endpoint": "{service}.{region}.amazonaws.com"
+ },
+ "us-gov-west-1/s3": "s3dash",
+ "us-west-1/s3": "s3dash",
+ "us-west-2/s3": "s3dash",
+ "eu-west-1/s3": "s3dash",
+ "ap-southeast-1/s3": "s3dash",
+ "ap-southeast-2/s3": "s3dash",
+ "ap-northeast-1/s3": "s3dash",
+ "sa-east-1/s3": "s3dash",
+ "us-east-1/s3": {
+ "endpoint": "{service}.amazonaws.com",
+ "signatureVersion": "s3"
+ },
+ "us-east-1/sdb": {
+ "endpoint": "{service}.amazonaws.com",
+ "signatureVersion": "v2"
+ },
+ "*/sdb": {
+ "endpoint": "{service}.{region}.amazonaws.com",
+ "signatureVersion": "v2"
+ }
+ },
+
+ "patterns": {
+ "globalSSL": {
+ "endpoint": "https://{service}.amazonaws.com",
+ "globalEndpoint": true
+ },
+ "globalGovCloud": {
+ "endpoint": "{service}.us-gov.amazonaws.com"
+ },
+ "s3dash": {
+ "endpoint": "{service}-{region}.amazonaws.com",
+ "signatureVersion": "s3"
+ }
+ }
+}
+
+},{}],36:[function(require,module,exports){
+(function (process){
+var AWS = require('./core');
+var AcceptorStateMachine = require('./state_machine');
+var inherit = AWS.util.inherit;
+var domain = AWS.util.nodeRequire('domain');
+
+
+var hardErrorStates = {success: 1, error: 1, complete: 1};
+
+function isTerminalState(machine) {
+ return hardErrorStates.hasOwnProperty(machine._asm.currentState);
+}
+
+var fsm = new AcceptorStateMachine();
+fsm.setupStates = function() {
+ var transition = function(_, done) {
+ var self = this;
+ self._haltHandlersOnError = false;
+
+ self.emit(self._asm.currentState, function(err) {
+ if (err) {
+ if (isTerminalState(self)) {
+ if (domain && self.domain instanceof domain.Domain) {
+ err.domainEmitter = self;
+ err.domain = self.domain;
+ err.domainThrown = false;
+ self.domain.emit('error', err);
+ } else {
+ throw err;
+ }
+ } else {
+ self.response.error = err;
+ done(err);
+ }
+ } else {
+ done(self.response.error);
+ }
+ });
+
+ };
+
+ this.addState('validate', 'build', 'error', transition);
+ this.addState('build', 'afterBuild', 'restart', transition);
+ this.addState('afterBuild', 'sign', 'restart', transition);
+ this.addState('sign', 'send', 'retry', transition);
+ this.addState('retry', 'afterRetry', 'afterRetry', transition);
+ this.addState('afterRetry', 'sign', 'error', transition);
+ this.addState('send', 'validateResponse', 'retry', transition);
+ this.addState('validateResponse', 'extractData', 'extractError', transition);
+ this.addState('extractError', 'extractData', 'retry', transition);
+ this.addState('extractData', 'success', 'retry', transition);
+ this.addState('restart', 'build', 'error', transition);
+ this.addState('success', 'complete', 'complete', transition);
+ this.addState('error', 'complete', 'complete', transition);
+ this.addState('complete', null, null, transition);
+};
+fsm.setupStates();
+
+
+AWS.Request = inherit({
+
+
+ constructor: function Request(service, operation, params) {
+ var endpoint = service.endpoint;
+ var region = service.config.region;
+ var customUserAgent = service.config.customUserAgent;
+
+ if (service.isGlobalEndpoint) region = 'us-east-1';
+
+ this.domain = domain && domain.active;
+ this.service = service;
+ this.operation = operation;
+ this.params = params || {};
+ this.httpRequest = new AWS.HttpRequest(endpoint, region, customUserAgent);
+ this.startTime = AWS.util.date.getDate();
+
+ this.response = new AWS.Response(this);
+ this._asm = new AcceptorStateMachine(fsm.states, 'validate');
+ this._haltHandlersOnError = false;
+
+ AWS.SequentialExecutor.call(this);
+ this.emit = this.emitEvent;
+ },
+
+
+
+
+ send: function send(callback) {
+ if (callback) {
+ this.on('complete', function (resp) {
+ callback.call(resp, resp.error, resp.data);
+ });
+ }
+ this.runTo();
+
+ return this.response;
+ },
+
+
+ build: function build(callback) {
+ return this.runTo('send', callback);
+ },
+
+
+ runTo: function runTo(state, done) {
+ this._asm.runTo(state, done, this);
+ return this;
+ },
+
+
+ abort: function abort() {
+ this.removeAllListeners('validateResponse');
+ this.removeAllListeners('extractError');
+ this.on('validateResponse', function addAbortedError(resp) {
+ resp.error = AWS.util.error(new Error('Request aborted by user'), {
+ code: 'RequestAbortedError', retryable: false
+ });
+ });
+
+ if (this.httpRequest.stream) { // abort HTTP stream
+ this.httpRequest.stream.abort();
+ if (this.httpRequest._abortCallback) {
+ this.httpRequest._abortCallback();
+ } else {
+ this.removeAllListeners('send'); // haven't sent yet, so let's not
+ }
+ }
+
+ return this;
+ },
+
+
+ eachPage: function eachPage(callback) {
+ callback = AWS.util.fn.makeAsync(callback, 3);
+
+ function wrappedCallback(response) {
+ callback.call(response, response.error, response.data, function (result) {
+ if (result === false) return;
+
+ if (response.hasNextPage()) {
+ response.nextPage().on('complete', wrappedCallback).send();
+ } else {
+ callback.call(response, null, null, AWS.util.fn.noop);
+ }
+ });
+ }
+
+ this.on('complete', wrappedCallback).send();
+ },
+
+
+ eachItem: function eachItem(callback) {
+ var self = this;
+ function wrappedCallback(err, data) {
+ if (err) return callback(err, null);
+ if (data === null) return callback(null, null);
+
+ var config = self.service.paginationConfig(self.operation);
+ var resultKey = config.resultKey;
+ if (Array.isArray(resultKey)) resultKey = resultKey[0];
+ var results = AWS.util.jamespath.query(resultKey, data);
+ AWS.util.arrayEach(results, function(result) {
+ AWS.util.arrayEach(result, function(item) { callback(null, item); });
+ });
+ }
+
+ this.eachPage(wrappedCallback);
+ },
+
+
+ isPageable: function isPageable() {
+ return this.service.paginationConfig(this.operation) ? true : false;
+ },
+
+
+ createReadStream: function createReadStream() {
+ var streams = AWS.util.nodeRequire('stream');
+ var req = this;
+ var stream = null;
+
+ if (AWS.HttpClient.streamsApiVersion === 2) {
+ stream = new streams.PassThrough();
+ req.send();
+ } else {
+ stream = new streams.Stream();
+ stream.readable = true;
+
+ stream.sent = false;
+ stream.on('newListener', function(event) {
+ if (!stream.sent && event === 'data') {
+ stream.sent = true;
+ process.nextTick(function() { req.send(); });
+ }
+ });
+ }
+
+ this.on('httpHeaders', function streamHeaders(statusCode, headers, resp) {
+ if (statusCode < 300) {
+ req.removeListener('httpData', AWS.EventListeners.Core.HTTP_DATA);
+ req.removeListener('httpError', AWS.EventListeners.Core.HTTP_ERROR);
+ req.on('httpError', function streamHttpError(error) {
+ resp.error = error;
+ resp.error.retryable = false;
+ });
+
+ var httpStream = resp.httpResponse.createUnbufferedStream();
+ if (AWS.HttpClient.streamsApiVersion === 2) {
+ httpStream.pipe(stream);
+ } else {
+ httpStream.on('data', function(arg) {
+ stream.emit('data', arg);
+ });
+ httpStream.on('end', function() {
+ stream.emit('end');
+ });
+ }
+
+ httpStream.on('error', function(err) {
+ stream.emit('error', err);
+ });
+ }
+ });
+
+ this.on('error', function(err) {
+ stream.emit('error', err);
+ });
+
+ return stream;
+ },
+
+
+ emitEvent: function emit(eventName, args, done) {
+ if (typeof args === 'function') { done = args; args = null; }
+ if (!done) done = function() { };
+ if (!args) args = this.eventParameters(eventName, this.response);
+
+ var origEmit = AWS.SequentialExecutor.prototype.emit;
+ origEmit.call(this, eventName, args, function (err) {
+ if (err) this.response.error = err;
+ done.call(this, err);
+ });
+ },
+
+
+ eventParameters: function eventParameters(eventName) {
+ switch (eventName) {
+ case 'restart':
+ case 'validate':
+ case 'sign':
+ case 'build':
+ case 'afterValidate':
+ case 'afterBuild':
+ return [this];
+ case 'error':
+ return [this.response.error, this.response];
+ default:
+ return [this.response];
+ }
+ },
+
+
+ presign: function presign(expires, callback) {
+ if (!callback && typeof expires === 'function') {
+ callback = expires;
+ expires = null;
+ }
+ return new AWS.Signers.Presign().sign(this.toGet(), expires, callback);
+ },
+
+
+ toUnauthenticated: function toUnauthenticated() {
+ this.removeListener('validate', AWS.EventListeners.Core.VALIDATE_CREDENTIALS);
+ this.removeListener('sign', AWS.EventListeners.Core.SIGN);
+ return this;
+ },
+
+
+ toGet: function toGet() {
+ if (this.service.api.protocol === 'query' ||
+ this.service.api.protocol === 'ec2') {
+ this.removeListener('build', this.buildAsGet);
+ this.addListener('build', this.buildAsGet);
+ }
+ return this;
+ },
+
+
+ buildAsGet: function buildAsGet(request) {
+ request.httpRequest.method = 'GET';
+ request.httpRequest.path = request.service.endpoint.path +
+ '?' + request.httpRequest.body;
+ request.httpRequest.body = '';
+
+ delete request.httpRequest.headers['Content-Length'];
+ delete request.httpRequest.headers['Content-Type'];
+ },
+
+
+ haltHandlersOnError: function haltHandlersOnError() {
+ this._haltHandlersOnError = true;
+ }
+});
+
+AWS.util.mixin(AWS.Request, AWS.SequentialExecutor);
+
+}).call(this,require("FWaASH"))
+},{"./core":4,"./state_machine":58,"FWaASH":73}],37:[function(require,module,exports){
+
+
+var AWS = require('./core');
+var inherit = AWS.util.inherit;
+
+
+AWS.ResourceWaiter = inherit({
+
+ constructor: function constructor(service, state) {
+ this.service = service;
+ this.state = state;
+
+ if (typeof this.state === 'object') {
+ AWS.util.each.call(this, this.state, function (key, value) {
+ this.state = key;
+ this.expectedValue = value;
+ });
+ }
+
+ this.loadWaiterConfig(this.state);
+ if (!this.expectedValue) {
+ this.expectedValue = this.config.successValue;
+ }
+ },
+
+ service: null,
+
+ state: null,
+
+ expectedValue: null,
+
+ config: null,
+
+ waitDone: false,
+
+ Listeners: {
+ retry: new AWS.SequentialExecutor().addNamedListeners(function(add) {
+ add('RETRY_CHECK', 'retry', function(resp) {
+ var waiter = resp.request._waiter;
+ if (resp.error && resp.error.code === 'ResourceNotReady') {
+ resp.error.retryDelay = waiter.config.interval * 1000;
+ }
+ });
+ }),
+
+ output: new AWS.SequentialExecutor().addNamedListeners(function(add) {
+ add('CHECK_OUT_ERROR', 'extractError', function CHECK_OUT_ERROR(resp) {
+ if (resp.error) {
+ resp.request._waiter.setError(resp, true);
+ }
+ });
+
+ add('CHECK_OUTPUT', 'extractData', function CHECK_OUTPUT(resp) {
+ var waiter = resp.request._waiter;
+ var success = waiter.checkSuccess(resp);
+ if (!success) {
+ waiter.setError(resp, success === null ? false : true);
+ } else {
+ resp.error = null;
+ }
+ });
+ }),
+
+ error: new AWS.SequentialExecutor().addNamedListeners(function(add) {
+ add('CHECK_ERROR', 'extractError', function CHECK_ERROR(resp) {
+ var waiter = resp.request._waiter;
+ var success = waiter.checkError(resp);
+ if (!success) {
+ waiter.setError(resp, success === null ? false : true);
+ } else {
+ resp.error = null;
+ resp.data = {};
+ resp.request.removeAllListeners('extractData');
+ }
+ });
+
+ add('CHECK_ERR_OUTPUT', 'extractData', function CHECK_ERR_OUTPUT(resp) {
+ resp.request._waiter.setError(resp, true);
+ });
+ })
+ },
+
+
+ wait: function wait(params, callback) {
+ if (typeof params === 'function') {
+ callback = params; params = undefined;
+ }
+
+ var request = this.service.makeRequest(this.config.operation, params);
+ var listeners = this.Listeners[this.config.successType];
+ request._waiter = this;
+ request.response.maxRetries = this.config.maxAttempts;
+ request.addListeners(this.Listeners.retry);
+ if (listeners) request.addListeners(listeners);
+
+ if (callback) request.send(callback);
+ return request;
+ },
+
+ setError: function setError(resp, retryable) {
+ resp.data = null;
+ resp.error = AWS.util.error(resp.error || new Error(), {
+ code: 'ResourceNotReady',
+ message: 'Resource is not in the state ' + this.state,
+ retryable: retryable
+ });
+ },
+
+
+ checkSuccess: function checkSuccess(resp) {
+ if (!this.config.successPath) {
+ return resp.httpResponse.statusCode < 300;
+ }
+
+ var r = AWS.util.jamespath.find(this.config.successPath, resp.data);
+
+ if (this.config.failureValue &&
+ this.config.failureValue.indexOf(r) >= 0) {
+ return null; // fast fail
+ }
+
+ if (this.expectedValue) {
+ return r === this.expectedValue;
+ } else {
+ return r ? true : false;
+ }
+ },
+
+
+ checkError: function checkError(resp) {
+ var value = this.config.successValue;
+ if (typeof value === 'number') {
+ return resp.httpResponse.statusCode === value;
+ } else {
+ return resp.error && resp.error.code === value;
+ }
+ },
+
+
+ loadWaiterConfig: function loadWaiterConfig(state, noException) {
+ if (!this.service.api.waiters[state]) {
+ if (noException) return;
+ throw new AWS.util.error(new Error(), {
+ code: 'StateNotFoundError',
+ message: 'State ' + state + ' not found.'
+ });
+ }
+
+ this.config = this.service.api.waiters[state];
+ var config = this.config;
+
+ (function () { // anonymous function to avoid max complexity count
+ config.successType = config.successType || config.acceptorType;
+ config.successPath = config.successPath || config.acceptorPath;
+ config.successValue = config.successValue || config.acceptorValue;
+ config.failureType = config.failureType || config.acceptorType;
+ config.failurePath = config.failurePath || config.acceptorPath;
+ config.failureValue = config.failureValue || config.acceptorValue;
+ })();
+ }
+});
+
+},{"./core":4}],38:[function(require,module,exports){
+var AWS = require('./core');
+var inherit = AWS.util.inherit;
+
+
+AWS.Response = inherit({
+
+
+ constructor: function Response(request) {
+ this.request = request;
+ this.data = null;
+ this.error = null;
+ this.retryCount = 0;
+ this.redirectCount = 0;
+ this.httpResponse = new AWS.HttpResponse();
+ if (request) {
+ this.maxRetries = request.service.numRetries();
+ this.maxRedirects = request.service.config.maxRedirects;
+ }
+ },
+
+
+ nextPage: function nextPage(callback) {
+ var config;
+ var service = this.request.service;
+ var operation = this.request.operation;
+ try {
+ config = service.paginationConfig(operation, true);
+ } catch (e) { this.error = e; }
+
+ if (!this.hasNextPage()) {
+ if (callback) callback(this.error, null);
+ else if (this.error) throw this.error;
+ return null;
+ }
+
+ var params = AWS.util.copy(this.request.params);
+ if (!this.nextPageTokens) {
+ return callback ? callback(null, null) : null;
+ } else {
+ var inputTokens = config.inputToken;
+ if (typeof inputTokens === 'string') inputTokens = [inputTokens];
+ for (var i = 0; i < inputTokens.length; i++) {
+ params[inputTokens[i]] = this.nextPageTokens[i];
+ }
+ return service.makeRequest(this.request.operation, params, callback);
+ }
+ },
+
+
+ hasNextPage: function hasNextPage() {
+ this.cacheNextPageTokens();
+ if (this.nextPageTokens) return true;
+ if (this.nextPageTokens === undefined) return undefined;
+ else return false;
+ },
+
+
+ cacheNextPageTokens: function cacheNextPageTokens() {
+ if (this.hasOwnProperty('nextPageTokens')) return this.nextPageTokens;
+ this.nextPageTokens = undefined;
+
+ var config = this.request.service.paginationConfig(this.request.operation);
+ if (!config) return this.nextPageTokens;
+
+ this.nextPageTokens = null;
+ if (config.moreResults) {
+ if (!AWS.util.jamespath.find(config.moreResults, this.data)) {
+ return this.nextPageTokens;
+ }
+ }
+
+ var exprs = config.outputToken;
+ if (typeof exprs === 'string') exprs = [exprs];
+ AWS.util.arrayEach.call(this, exprs, function (expr) {
+ var output = AWS.util.jamespath.find(expr, this.data);
+ if (output) {
+ this.nextPageTokens = this.nextPageTokens || [];
+ this.nextPageTokens.push(output);
+ }
+ });
+
+ return this.nextPageTokens;
+ }
+
+});
+
+},{"./core":4}],39:[function(require,module,exports){
+(function (Buffer){
+var AWS = require('../core');
+var byteLength = AWS.util.string.byteLength;
+
+
+AWS.S3.ManagedUpload = AWS.util.inherit({
+
+ constructor: function ManagedUpload(options) {
+ var self = this;
+ AWS.SequentialExecutor.call(self);
+ self.body = null;
+ self.sliceFn = null;
+ self.callback = null;
+ self.parts = {};
+ self.completeInfo = [];
+ self.fillQueue = function() {
+ self.callback(new Error('Unsupported body payload ' + typeof self.body));
+ };
+
+ self.configure(options);
+ },
+
+
+ configure: function configure(options) {
+ options = options || {};
+ this.partSize = this.minPartSize;
+
+ if (options.queueSize) this.queueSize = options.queueSize;
+ if (options.partSize) this.partSize = options.partSize;
+ if (options.leavePartsOnError) this.leavePartsOnError = true;
+
+ if (this.partSize < this.minPartSize) {
+ throw new Error('partSize must be greater than ' +
+ this.minPartSize);
+ }
+
+ this.service = options.service;
+ this.bindServiceObject(options.params);
+ this.validateBody();
+ this.adjustTotalBytes();
+ },
+
+
+ leavePartsOnError: false,
+
+
+ queueSize: 4,
+
+
+ partSize: null,
+
+
+ minPartSize: 1024 * 1024 * 5,
+
+
+ maxTotalParts: 10000,
+
+
+ send: function(callback) {
+ var self = this;
+ self.failed = false;
+ self.callback = callback || function(err) { if (err) throw err; };
+
+ var runFill = true;
+ if (self.sliceFn) {
+ self.fillQueue = self.fillBuffer;
+ } else if (AWS.util.isNode()) {
+ var Stream = AWS.util.nodeRequire('stream').Stream;
+ if (self.body instanceof Stream) {
+ runFill = false;
+ self.fillQueue = self.fillStream;
+ self.partBuffers = [];
+ self.body.
+ on('readable', function() { self.fillQueue(); }).
+ on('end', function() {
+ self.isDoneChunking = true;
+ self.numParts = self.totalPartNumbers;
+ self.fillQueue.call(self);
+ });
+ }
+ }
+
+ if (runFill) self.fillQueue.call(self);
+ },
+
+
+ abort: function() {
+ this.cleanup(AWS.util.error(new Error('Request aborted by user'), {
+ code: 'RequestAbortedError', retryable: false
+ }));
+ },
+
+
+ validateBody: function validateBody() {
+ var self = this;
+ self.body = self.service.config.params.Body;
+ if (!self.body) throw new Error('params.Body is required');
+ if (typeof self.body === 'string') {
+ self.body = new AWS.util.Buffer(self.body);
+ }
+ self.sliceFn = AWS.util.arraySliceFn(self.body);
+ },
+
+
+ bindServiceObject: function bindServiceObject(params) {
+ params = params || {};
+ var self = this;
+
+ if (!self.service) {
+ self.service = new AWS.S3({params: params});
+ } else {
+ var config = AWS.util.copy(self.service.config);
+ self.service = new self.service.constructor.__super__(config);
+ self.service.config.params =
+ AWS.util.merge(self.service.config.params || {}, params);
+ }
+ },
+
+
+ adjustTotalBytes: function adjustTotalBytes() {
+ var self = this;
+ try { // try to get totalBytes
+ self.totalBytes = byteLength(self.body);
+ } catch (e) { }
+
+ if (self.totalBytes) {
+ var newPartSize = Math.ceil(self.totalBytes / self.maxTotalParts);
+ if (newPartSize > self.partSize) self.partSize = newPartSize;
+ } else {
+ self.totalBytes = undefined;
+ }
+ },
+
+
+ isDoneChunking: false,
+
+
+ partPos: 0,
+
+
+ totalChunkedBytes: 0,
+
+
+ totalUploadedBytes: 0,
+
+
+ totalBytes: undefined,
+
+
+ numParts: 0,
+
+
+ totalPartNumbers: 0,
+
+
+ activeParts: 0,
+
+
+ doneParts: 0,
+
+
+ parts: null,
+
+
+ completeInfo: null,
+
+
+ failed: false,
+
+
+ multipartReq: null,
+
+
+ partBuffers: null,
+
+
+ partBufferLength: 0,
+
+
+ fillBuffer: function fillBuffer() {
+ var self = this;
+ var bodyLen = byteLength(self.body);
+
+ if (bodyLen === 0) {
+ self.isDoneChunking = true;
+ self.numParts = 1;
+ self.nextChunk(self.body);
+ return;
+ }
+
+ while (self.activeParts < self.queueSize && self.partPos < bodyLen) {
+ var endPos = Math.min(self.partPos + self.partSize, bodyLen);
+ var buf = self.sliceFn.call(self.body, self.partPos, endPos);
+ self.partPos += self.partSize;
+
+ if (byteLength(buf) < self.partSize || self.partPos === bodyLen) {
+ self.isDoneChunking = true;
+ self.numParts = self.totalPartNumbers + 1;
+ }
+ self.nextChunk(buf);
+ }
+ },
+
+
+ fillStream: function fillStream() {
+ var self = this;
+ if (self.activeParts >= self.queueSize) return;
+
+ var buf = self.body.read(self.partSize - self.partBufferLength) ||
+ self.body.read();
+ if (buf) {
+ self.partBuffers.push(buf);
+ self.partBufferLength += buf.length;
+ self.totalChunkedBytes += buf.length;
+ }
+
+ if (self.partBufferLength >= self.partSize) {
+ var pbuf = self.partBuffers.length === 1 ?
+ self.partBuffers[0] : Buffer.concat(self.partBuffers);
+ self.partBuffers = [];
+ self.partBufferLength = 0;
+
+ if (pbuf.length > self.partSize) {
+ var rest = pbuf.slice(self.partSize);
+ self.partBuffers.push(rest);
+ self.partBufferLength += rest.length;
+ pbuf = pbuf.slice(0, self.partSize);
+ }
+
+ self.nextChunk(pbuf);
+ }
+
+ if (self.isDoneChunking && !self.isDoneSending) {
+ pbuf = self.partBuffers.length === 1 ?
+ self.partBuffers[0] : Buffer.concat(self.partBuffers);
+ self.partBuffers = [];
+ self.partBufferLength = 0;
+ self.totalBytes = self.totalChunkedBytes;
+ self.isDoneSending = true;
+
+ if (self.numParts === 0 || pbuf.length > 0) {
+ self.numParts++;
+ self.nextChunk(pbuf);
+ }
+ }
+
+ self.body.read(0);
+ },
+
+
+ nextChunk: function nextChunk(chunk) {
+ var self = this;
+ if (self.failed) return null;
+
+ var partNumber = ++self.totalPartNumbers;
+ if (self.isDoneChunking && partNumber === 1) {
+ var req = self.service.putObject({Body: chunk});
+ req._managedUpload = self;
+ req.on('httpUploadProgress', self.progress).send(self.finishSinglePart);
+ return null;
+ } else if (self.service.config.params.ContentMD5) {
+ var err = AWS.util.error(new Error('The Content-MD5 you specified is invalid for multi-part uploads.'), {
+ code: 'InvalidDigest', retryable: false
+ });
+
+ self.cleanup(err);
+ return null;
+ }
+
+ if (self.completeInfo[partNumber] && self.completeInfo[partNumber].ETag !== null) {
+ return null; // Already uploaded this part.
+ }
+
+ self.activeParts++;
+ if (!self.service.config.params.UploadId) {
+
+ if (!self.multipartReq) { // create multipart
+ self.multipartReq = self.service.createMultipartUpload();
+ self.multipartReq.on('success', function(resp) {
+ self.service.config.params.UploadId = resp.data.UploadId;
+ self.multipartReq = null;
+ });
+ self.queueChunks(chunk, partNumber);
+ self.multipartReq.on('error', function(err) {
+ self.cleanup(err);
+ });
+ self.multipartReq.send();
+ } else {
+ self.queueChunks(chunk, partNumber);
+ }
+ } else { // multipart is created, just send
+ self.uploadPart(chunk, partNumber);
+ }
+ },
+
+
+ uploadPart: function uploadPart(chunk, partNumber) {
+ var self = this;
+
+ var partParams = {
+ Body: chunk,
+ ContentLength: AWS.util.string.byteLength(chunk),
+ PartNumber: partNumber
+ };
+
+ var partInfo = {ETag: null, PartNumber: partNumber};
+ self.completeInfo[partNumber] = partInfo;
+
+ var req = self.service.uploadPart(partParams);
+ self.parts[partNumber] = req;
+ req._lastUploadedBytes = 0;
+ req._managedUpload = self;
+ req.on('httpUploadProgress', self.progress);
+ req.send(function(err, data) {
+ delete self.parts[partParams.PartNumber];
+ self.activeParts--;
+
+ if (!err && (!data || !data.ETag)) {
+ var message = 'No access to ETag property on response.';
+ if (AWS.util.isBrowser()) {
+ message += ' Check CORS configuration to expose ETag header.';
+ }
+
+ err = AWS.util.error(new Error(message), {
+ code: 'ETagMissing', retryable: false
+ });
+ }
+ if (err) return self.cleanup(err);
+
+ partInfo.ETag = data.ETag;
+ self.doneParts++;
+ if (self.isDoneChunking && self.doneParts === self.numParts) {
+ self.finishMultiPart();
+ } else {
+ self.fillQueue.call(self);
+ }
+ });
+ },
+
+
+ queueChunks: function queueChunks(chunk, partNumber) {
+ var self = this;
+ self.multipartReq.on('success', function() {
+ self.uploadPart(chunk, partNumber);
+ });
+ },
+
+
+ cleanup: function cleanup(err) {
+ var self = this;
+ if (self.failed) return;
+
+ if (typeof self.body.removeAllListeners === 'function' &&
+ typeof self.body.resume === 'function') {
+ self.body.removeAllListeners('readable');
+ self.body.removeAllListeners('end');
+ self.body.resume();
+ }
+
+ if (self.service.config.params.UploadId && !self.leavePartsOnError) {
+ self.service.abortMultipartUpload().send();
+ }
+
+ AWS.util.each(self.parts, function(partNumber, part) {
+ part.removeAllListeners('complete');
+ part.abort();
+ });
+
+ self.activeParts = 0;
+ self.partPos = 0;
+ self.numParts = 0;
+ self.totalPartNumbers = 0;
+ self.parts = {};
+ self.failed = true;
+ self.callback(err);
+ },
+
+
+ finishMultiPart: function finishMultiPart() {
+ var self = this;
+ var completeParams = { MultipartUpload: { Parts: self.completeInfo.slice(1) } };
+ self.service.completeMultipartUpload(completeParams, function(err, data) {
+ if (err) return self.cleanup(err);
+ else self.callback(err, data);
+ });
+ },
+
+
+ finishSinglePart: function finishSinglePart(err, data) {
+ var upload = this.request._managedUpload;
+ var httpReq = this.request.httpRequest;
+ var endpoint = httpReq.endpoint;
+ if (err) return upload.callback(err);
+ data.Location =
+ [endpoint.protocol, '//', endpoint.host, httpReq.path].join('');
+ data.key = this.request.params.Key; // will stay undocumented
+ data.Key = this.request.params.Key;
+ data.Bucket = this.request.params.Bucket;
+ upload.callback(err, data);
+ },
+
+
+ progress: function progress(info) {
+ var upload = this._managedUpload;
+ if (this.operation === 'putObject') {
+ info.part = 1;
+ info.key = this.params.Key;
+ } else {
+ upload.totalUploadedBytes += info.loaded - this._lastUploadedBytes;
+ this._lastUploadedBytes = info.loaded;
+ info = {
+ loaded: upload.totalUploadedBytes,
+ total: upload.totalBytes,
+ part: this.params.PartNumber,
+ key: this.params.Key
+ };
+ }
+ upload.emit('httpUploadProgress', [info]);
+ }
+});
+
+AWS.util.mixin(AWS.S3.ManagedUpload, AWS.SequentialExecutor);
+module.exports = AWS.S3.ManagedUpload;
+
+}).call(this,require("buffer").Buffer)
+},{"../core":4,"buffer":62}],40:[function(require,module,exports){
+var AWS = require('./core');
+
+
+AWS.SequentialExecutor = AWS.util.inherit({
+
+ constructor: function SequentialExecutor() {
+ this._events = {};
+ },
+
+
+ listeners: function listeners(eventName) {
+ return this._events[eventName] ? this._events[eventName].slice(0) : [];
+ },
+
+ on: function on(eventName, listener) {
+ if (this._events[eventName]) {
+ this._events[eventName].push(listener);
+ } else {
+ this._events[eventName] = [listener];
+ }
+ return this;
+ },
+
+
+ onAsync: function onAsync(eventName, listener) {
+ listener._isAsync = true;
+ return this.on(eventName, listener);
+ },
+
+ removeListener: function removeListener(eventName, listener) {
+ var listeners = this._events[eventName];
+ if (listeners) {
+ var length = listeners.length;
+ var position = -1;
+ for (var i = 0; i < length; ++i) {
+ if (listeners[i] === listener) {
+ position = i;
+ }
+ }
+ if (position > -1) {
+ listeners.splice(position, 1);
+ }
+ }
+ return this;
+ },
+
+ removeAllListeners: function removeAllListeners(eventName) {
+ if (eventName) {
+ delete this._events[eventName];
+ } else {
+ this._events = {};
+ }
+ return this;
+ },
+
+
+ emit: function emit(eventName, eventArgs, doneCallback) {
+ if (!doneCallback) doneCallback = function() { };
+ var listeners = this.listeners(eventName);
+ var count = listeners.length;
+ this.callListeners(listeners, eventArgs, doneCallback);
+ return count > 0;
+ },
+
+
+ callListeners: function callListeners(listeners, args, doneCallback, prevError) {
+ var self = this;
+ var error = prevError || null;
+
+ function callNextListener(err) {
+ if (err) {
+ error = AWS.util.error(error || new Error(), err);
+ if (self._haltHandlersOnError) {
+ return doneCallback.call(self, error);
+ }
+ }
+ self.callListeners(listeners, args, doneCallback, error);
+ }
+
+ while (listeners.length > 0) {
+ var listener = listeners.shift();
+ if (listener._isAsync) { // asynchronous listener
+ listener.apply(self, args.concat([callNextListener]));
+ return; // stop here, callNextListener will continue
+ } else { // synchronous listener
+ try {
+ listener.apply(self, args);
+ } catch (err) {
+ error = AWS.util.error(error || new Error(), err);
+ }
+ if (error && self._haltHandlersOnError) {
+ doneCallback.call(self, error);
+ return;
+ }
+ }
+ }
+ doneCallback.call(self, error);
+ },
+
+
+ addListeners: function addListeners(listeners) {
+ var self = this;
+
+ if (listeners._events) listeners = listeners._events;
+
+ AWS.util.each(listeners, function(event, callbacks) {
+ if (typeof callbacks === 'function') callbacks = [callbacks];
+ AWS.util.arrayEach(callbacks, function(callback) {
+ self.on(event, callback);
+ });
+ });
+
+ return self;
+ },
+
+
+ addNamedListener: function addNamedListener(name, eventName, callback) {
+ this[name] = callback;
+ this.addListener(eventName, callback);
+ return this;
+ },
+
+
+ addNamedAsyncListener: function addNamedAsyncListener(name, eventName, callback) {
+ callback._isAsync = true;
+ return this.addNamedListener(name, eventName, callback);
+ },
+
+
+ addNamedListeners: function addNamedListeners(callback) {
+ var self = this;
+ callback(
+ function() {
+ self.addNamedListener.apply(self, arguments);
+ },
+ function() {
+ self.addNamedAsyncListener.apply(self, arguments);
+ }
+ );
+ return this;
+ }
+});
+
+
+AWS.SequentialExecutor.prototype.addListener = AWS.SequentialExecutor.prototype.on;
+
+module.exports = AWS.SequentialExecutor;
+
+},{"./core":4}],41:[function(require,module,exports){
+var AWS = require('./core');
+var Api = require('./model/api');
+var regionConfig = require('./region_config');
+var inherit = AWS.util.inherit;
+
+
+AWS.Service = inherit({
+
+ constructor: function Service(config) {
+ if (!this.loadServiceClass) {
+ throw AWS.util.error(new Error(),
+ 'Service must be constructed with `new\' operator');
+ }
+ var ServiceClass = this.loadServiceClass(config || {});
+ if (ServiceClass) return new ServiceClass(config);
+ this.initialize(config);
+ },
+
+
+ initialize: function initialize(config) {
+ var svcConfig = AWS.config[this.serviceIdentifier];
+
+ this.config = new AWS.Config(AWS.config);
+ if (svcConfig) this.config.update(svcConfig, true);
+ if (config) this.config.update(config, true);
+
+ this.validateService();
+ if (!this.config.endpoint) regionConfig(this);
+
+ this.config.endpoint = this.endpointFromTemplate(this.config.endpoint);
+ this.setEndpoint(this.config.endpoint);
+ },
+
+
+ validateService: function validateService() {
+ },
+
+
+ loadServiceClass: function loadServiceClass(serviceConfig) {
+ var config = serviceConfig;
+ if (!AWS.util.isEmpty(this.api)) {
+ return null;
+ } else if (config.apiConfig) {
+ return AWS.Service.defineServiceApi(this.constructor, config.apiConfig);
+ } else if (!this.constructor.services) {
+ return null;
+ } else {
+ config = new AWS.Config(AWS.config);
+ config.update(serviceConfig, true);
+ var version = config.apiVersions[this.constructor.serviceIdentifier];
+ version = version || config.apiVersion;
+ return this.getLatestServiceClass(version);
+ }
+ },
+
+
+ getLatestServiceClass: function getLatestServiceClass(version) {
+ version = this.getLatestServiceVersion(version);
+ if (this.constructor.services[version] === null) {
+ AWS.Service.defineServiceApi(this.constructor, version);
+ }
+
+ return this.constructor.services[version];
+ },
+
+
+ getLatestServiceVersion: function getLatestServiceVersion(version) {
+ if (!this.constructor.services || this.constructor.services.length === 0) {
+ throw new Error('No services defined on ' +
+ this.constructor.serviceIdentifier);
+ }
+
+ if (!version) {
+ version = 'latest';
+ } else if (AWS.util.isType(version, Date)) {
+ version = AWS.util.date.iso8601(version).split('T')[0];
+ }
+
+ if (Object.hasOwnProperty(this.constructor.services, version)) {
+ return version;
+ }
+
+ var keys = Object.keys(this.constructor.services).sort();
+ var selectedVersion = null;
+ for (var i = keys.length - 1; i >= 0; i--) {
+ if (keys[i][keys[i].length - 1] !== '*') {
+ selectedVersion = keys[i];
+ }
+ if (keys[i].substr(0, 10) <= version) {
+ return selectedVersion;
+ }
+ }
+
+ throw new Error('Could not find ' + this.constructor.serviceIdentifier +
+ ' API to satisfy version constraint `' + version + '\'');
+ },
+
+
+ api: {},
+
+
+ defaultRetryCount: 3,
+
+
+ makeRequest: function makeRequest(operation, params, callback) {
+ if (typeof params === 'function') {
+ callback = params;
+ params = null;
+ }
+
+ params = params || {};
+ if (this.config.params) { // copy only toplevel bound params
+ var rules = this.api.operations[operation];
+ if (rules) {
+ params = AWS.util.copy(params);
+ AWS.util.each(this.config.params, function(key, value) {
+ if (rules.input.members[key]) {
+ if (params[key] === undefined || params[key] === null) {
+ params[key] = value;
+ }
+ }
+ });
+ }
+ }
+
+ var request = new AWS.Request(this, operation, params);
+ this.addAllRequestListeners(request);
+
+ if (callback) request.send(callback);
+ return request;
+ },
+
+
+ makeUnauthenticatedRequest: function makeUnauthenticatedRequest(operation, params, callback) {
+ if (typeof params === 'function') {
+ callback = params;
+ params = {};
+ }
+
+ var request = this.makeRequest(operation, params).toUnauthenticated();
+ return callback ? request.send(callback) : request;
+ },
+
+
+ waitFor: function waitFor(state, params, callback) {
+ var waiter = new AWS.ResourceWaiter(this, state);
+ return waiter.wait(params, callback);
+ },
+
+
+ addAllRequestListeners: function addAllRequestListeners(request) {
+ var list = [AWS.events, AWS.EventListeners.Core, this.serviceInterface(),
+ AWS.EventListeners.CorePost];
+ for (var i = 0; i < list.length; i++) {
+ if (list[i]) request.addListeners(list[i]);
+ }
+
+ if (!this.config.paramValidation) {
+ request.removeListener('validate',
+ AWS.EventListeners.Core.VALIDATE_PARAMETERS);
+ }
+
+ if (this.config.logger) { // add logging events
+ request.addListeners(AWS.EventListeners.Logger);
+ }
+
+ this.setupRequestListeners(request);
+ },
+
+
+ setupRequestListeners: function setupRequestListeners() {
+ },
+
+
+ getSignerClass: function getSignerClass() {
+ var version;
+ if (this.config.signatureVersion) {
+ version = this.config.signatureVersion;
+ } else {
+ version = this.api.signatureVersion;
+ }
+ return AWS.Signers.RequestSigner.getVersion(version);
+ },
+
+
+ serviceInterface: function serviceInterface() {
+ switch (this.api.protocol) {
+ case 'ec2': return AWS.EventListeners.Query;
+ case 'query': return AWS.EventListeners.Query;
+ case 'json': return AWS.EventListeners.Json;
+ case 'rest-json': return AWS.EventListeners.RestJson;
+ case 'rest-xml': return AWS.EventListeners.RestXml;
+ }
+ if (this.api.protocol) {
+ throw new Error('Invalid service `protocol\' ' +
+ this.api.protocol + ' in API config');
+ }
+ },
+
+
+ successfulResponse: function successfulResponse(resp) {
+ return resp.httpResponse.statusCode < 300;
+ },
+
+
+ numRetries: function numRetries() {
+ if (this.config.maxRetries !== undefined) {
+ return this.config.maxRetries;
+ } else {
+ return this.defaultRetryCount;
+ }
+ },
+
+
+ retryDelays: function retryDelays(retryCount) {
+ var retryDelayOptions = this.config.retryDelayOptions || {};
+ var customBackoff = retryDelayOptions.customBackoff || null;
+ if (typeof customBackoff === 'function') {
+ return customBackoff(retryCount);
+ }
+ var base = retryDelayOptions.base || 30;
+ var delay = Math.random() * (Math.pow(2, retryCount) * base);
+ return delay;
+ },
+
+
+ retryableError: function retryableError(error) {
+ if (this.networkingError(error)) return true;
+ if (this.expiredCredentialsError(error)) return true;
+ if (this.throttledError(error)) return true;
+ if (error.statusCode >= 500) return true;
+ return false;
+ },
+
+
+ networkingError: function networkingError(error) {
+ return error.code === 'NetworkingError';
+ },
+
+
+ expiredCredentialsError: function expiredCredentialsError(error) {
+ return (error.code === 'ExpiredTokenException');
+ },
+
+
+ clockSkewError: function clockSkewError(error) {
+ switch (error.code) {
+ case 'RequestTimeTooSkewed':
+ case 'RequestExpired':
+ case 'InvalidSignatureException':
+ case 'SignatureDoesNotMatch':
+ case 'AuthFailure':
+ case 'RequestInTheFuture':
+ return true;
+ default: return false;
+ }
+ },
+
+
+ throttledError: function throttledError(error) {
+ switch (error.code) {
+ case 'ProvisionedThroughputExceededException':
+ case 'Throttling':
+ case 'ThrottlingException':
+ case 'RequestLimitExceeded':
+ case 'RequestThrottled':
+ return true;
+ default:
+ return false;
+ }
+ },
+
+
+ endpointFromTemplate: function endpointFromTemplate(endpoint) {
+ if (typeof endpoint !== 'string') return endpoint;
+
+ var e = endpoint;
+ e = e.replace(/\{service\}/g, this.api.endpointPrefix);
+ e = e.replace(/\{region\}/g, this.config.region);
+ e = e.replace(/\{scheme\}/g, this.config.sslEnabled ? 'https' : 'http');
+ return e;
+ },
+
+
+ setEndpoint: function setEndpoint(endpoint) {
+ this.endpoint = new AWS.Endpoint(endpoint, this.config);
+ },
+
+
+ paginationConfig: function paginationConfig(operation, throwException) {
+ var paginator = this.api.operations[operation].paginator;
+ if (!paginator) {
+ if (throwException) {
+ var e = new Error();
+ throw AWS.util.error(e, 'No pagination configuration for ' + operation);
+ }
+ return null;
+ }
+
+ return paginator;
+ }
+});
+
+AWS.util.update(AWS.Service, {
+
+
+ defineMethods: function defineMethods(svc) {
+ AWS.util.each(svc.prototype.api.operations, function iterator(method) {
+ if (svc.prototype[method]) return;
+ svc.prototype[method] = function (params, callback) {
+ return this.makeRequest(method, params, callback);
+ };
+ });
+ },
+
+
+ defineService: function defineService(serviceIdentifier, versions, features) {
+ AWS.Service._serviceMap[serviceIdentifier] = true;
+ if (!Array.isArray(versions)) {
+ features = versions;
+ versions = [];
+ }
+
+ var svc = inherit(AWS.Service, features || {});
+
+ if (typeof serviceIdentifier === 'string') {
+ AWS.Service.addVersions(svc, versions);
+
+ var identifier = svc.serviceIdentifier || serviceIdentifier;
+ svc.serviceIdentifier = identifier;
+ } else { // defineService called with an API
+ svc.prototype.api = serviceIdentifier;
+ AWS.Service.defineMethods(svc);
+ }
+
+ return svc;
+ },
+
+
+ addVersions: function addVersions(svc, versions) {
+ if (!Array.isArray(versions)) versions = [versions];
+
+ svc.services = svc.services || {};
+ for (var i = 0; i < versions.length; i++) {
+ if (svc.services[versions[i]] === undefined) {
+ svc.services[versions[i]] = null;
+ }
+ }
+
+ svc.apiVersions = Object.keys(svc.services).sort();
+ },
+
+
+ defineServiceApi: function defineServiceApi(superclass, version, apiConfig) {
+ var svc = inherit(superclass, {
+ serviceIdentifier: superclass.serviceIdentifier
+ });
+
+ function setApi(api) {
+ if (api.isApi) {
+ svc.prototype.api = api;
+ } else {
+ svc.prototype.api = new Api(api);
+ }
+ }
+
+ if (typeof version === 'string') {
+ if (apiConfig) {
+ setApi(apiConfig);
+ } else {
+ try {
+ setApi(AWS.apiLoader(superclass.serviceIdentifier, version));
+ } catch (err) {
+ throw AWS.util.error(err, {
+ message: 'Could not find API configuration ' +
+ superclass.serviceIdentifier + '-' + version
+ });
+ }
+ }
+ if (!superclass.services.hasOwnProperty(version)) {
+ superclass.apiVersions = superclass.apiVersions.concat(version).sort();
+ }
+ superclass.services[version] = svc;
+ } else {
+ setApi(version);
+ }
+
+ AWS.Service.defineMethods(svc);
+ return svc;
+ },
+
+
+ hasService: function(identifier) {
+ return AWS.Service._serviceMap.hasOwnProperty(identifier);
+ },
+
+
+ _serviceMap: {}
+});
+
+},{"./core":4,"./model/api":21,"./region_config":34}],42:[function(require,module,exports){
+var AWS = require('../core');
+
+require('../cloudfront/signer');
+
+AWS.util.update(AWS.CloudFront.prototype, {
+
+ setupRequestListeners: function setupRequestListeners(request) {
+ request.addListener('extractData', AWS.util.hoistPayloadMember);
+ }
+
+});
+
+},{"../cloudfront/signer":2,"../core":4}],43:[function(require,module,exports){
+var AWS = require('../core');
+
+AWS.util.update(AWS.CognitoIdentity.prototype, {
+ getOpenIdToken: function getOpenIdToken(params, callback) {
+ return this.makeUnauthenticatedRequest('getOpenIdToken', params, callback);
+ },
+
+ getId: function getId(params, callback) {
+ return this.makeUnauthenticatedRequest('getId', params, callback);
+ },
+
+ getCredentialsForIdentity: function getCredentialsForIdentity(params, callback) {
+ return this.makeUnauthenticatedRequest('getCredentialsForIdentity', params, callback);
+ }
+});
+
+},{"../core":4}],44:[function(require,module,exports){
+var AWS = require('../core');
+require('../dynamodb/document_client');
+
+AWS.util.update(AWS.DynamoDB.prototype, {
+
+ setupRequestListeners: function setupRequestListeners(request) {
+ if (request.service.config.dynamoDbCrc32) {
+ request.removeListener('extractData', AWS.EventListeners.Json.EXTRACT_DATA);
+ request.addListener('extractData', this.checkCrc32);
+ request.addListener('extractData', AWS.EventListeners.Json.EXTRACT_DATA);
+ }
+ },
+
+
+ checkCrc32: function checkCrc32(resp) {
+ if (!resp.httpResponse.streaming && !resp.request.service.crc32IsValid(resp)) {
+ resp.error = AWS.util.error(new Error(), {
+ code: 'CRC32CheckFailed',
+ message: 'CRC32 integrity check failed',
+ retryable: true
+ });
+ resp.request.haltHandlersOnError();
+ throw (resp.error);
+ }
+ },
+
+
+ crc32IsValid: function crc32IsValid(resp) {
+ var crc = resp.httpResponse.headers['x-amz-crc32'];
+ if (!crc) return true; // no (valid) CRC32 header
+ return parseInt(crc, 10) === AWS.util.crypto.crc32(resp.httpResponse.body);
+ },
+
+
+ defaultRetryCount: 10,
+
+
+ retryDelays: function retryDelays(retryCount) {
+ var delay = retryCount > 0 ? (50 * Math.pow(2, retryCount - 1)) : 0;
+ return delay;
+ }
+});
+
+},{"../core":4,"../dynamodb/document_client":12}],45:[function(require,module,exports){
+var AWS = require('../core');
+
+AWS.util.update(AWS.EC2.prototype, {
+
+ setupRequestListeners: function setupRequestListeners(request) {
+ request.removeListener('extractError', AWS.EventListeners.Query.EXTRACT_ERROR);
+ request.addListener('extractError', this.extractError);
+
+ if (request.operation === 'copySnapshot') {
+ request.onAsync('validate', this.buildCopySnapshotPresignedUrl);
+ }
+ },
+
+
+ buildCopySnapshotPresignedUrl: function buildCopySnapshotPresignedUrl(req, done) {
+ if (req.params.PresignedUrl || req._subRequest) {
+ return done();
+ }
+
+ req.params = AWS.util.copy(req.params);
+ req.params.DestinationRegion = req.service.config.region;
+
+ var config = AWS.util.copy(req.service.config);
+ delete config.endpoint;
+ config.region = req.params.SourceRegion;
+ var svc = new req.service.constructor(config);
+ var newReq = svc[req.operation](req.params);
+ newReq._subRequest = true;
+ newReq.presign(function(err, url) {
+ if (err) done(err);
+ else {
+ req.params.PresignedUrl = url;
+ done();
+ }
+ });
+ },
+
+
+ extractError: function extractError(resp) {
+ var httpResponse = resp.httpResponse;
+ var data = new AWS.XML.Parser().parse(httpResponse.body.toString() || '');
+ if (data.Errors) {
+ resp.error = AWS.util.error(new Error(), {
+ code: data.Errors.Error.Code,
+ message: data.Errors.Error.Message
+ });
+ } else {
+ resp.error = AWS.util.error(new Error(), {
+ code: httpResponse.statusCode,
+ message: null
+ });
+ }
+ resp.error.requestId = data.RequestID || null;
+ }
+});
+
+},{"../core":4}],46:[function(require,module,exports){
+var AWS = require('../core');
+
+AWS.util.update(AWS.MachineLearning.prototype, {
+
+ setupRequestListeners: function setupRequestListeners(request) {
+ if (request.operation === 'predict') {
+ request.addListener('build', this.buildEndpoint);
+ }
+ },
+
+
+ buildEndpoint: function buildEndpoint(request) {
+ var url = request.params.PredictEndpoint;
+ if (url) {
+ request.httpRequest.endpoint = new AWS.Endpoint(url);
+ }
+ }
+
+});
+
+},{"../core":4}],47:[function(require,module,exports){
+var AWS = require('../core');
+
+AWS.util.update(AWS.Route53.prototype, {
+
+ setupRequestListeners: function setupRequestListeners(request) {
+ request.on('build', this.sanitizeUrl);
+ },
+
+
+ sanitizeUrl: function sanitizeUrl(request) {
+ var path = request.httpRequest.path;
+ request.httpRequest.path = path.replace(/\/%2F\w+%2F/, '/');
+ }
+});
+
+},{"../core":4}],48:[function(require,module,exports){
+var AWS = require('../core');
+
+require('../s3/managed_upload');
+
+var operationsWith200StatusCodeError = {
+ 'completeMultipartUpload': true,
+ 'copyObject': true,
+ 'uploadPartCopy': true
+};
+
+AWS.util.update(AWS.S3.prototype, {
+
+ validateService: function validateService() {
+ if (!this.config.region) this.config.region = 'us-east-1';
+
+ if (!this.config.endpoint && this.config.s3BucketEndpoint) {
+ var msg = 'An endpoint must be provided when configuring ' +
+ '`s3BucketEndpoint` to true.';
+ throw AWS.util.error(new Error(),
+ {name: 'InvalidEndpoint', message: msg});
+ }
+ },
+
+
+ setupRequestListeners: function setupRequestListeners(request) {
+ request.addListener('validate', this.validateScheme);
+ request.addListener('validate', this.validateBucketEndpoint);
+ request.addListener('build', this.addContentType);
+ request.addListener('build', this.populateURI);
+ request.addListener('build', this.computeContentMd5);
+ request.addListener('build', this.computeSseCustomerKeyMd5);
+ request.addListener('afterBuild', this.addExpect100Continue);
+ request.removeListener('validate',
+ AWS.EventListeners.Core.VALIDATE_REGION);
+ request.addListener('extractError', this.extractError);
+ request.addListener('extractData', this.extractData);
+ request.addListener('extractData', AWS.util.hoistPayloadMember);
+ request.addListener('beforePresign', this.prepareSignedUrl);
+ },
+
+
+ validateScheme: function(req) {
+ var params = req.params,
+ scheme = req.httpRequest.endpoint.protocol,
+ sensitive = params.SSECustomerKey || params.CopySourceSSECustomerKey;
+ if (sensitive && scheme !== 'https:') {
+ var msg = 'Cannot send SSE keys over HTTP. Set \'sslEnabled\'' +
+ 'to \'true\' in your configuration';
+ throw AWS.util.error(new Error(),
+ { code: 'ConfigError', message: msg });
+ }
+ },
+
+
+ validateBucketEndpoint: function(req) {
+ if (!req.params.Bucket && req.service.config.s3BucketEndpoint) {
+ var msg = 'Cannot send requests to root API with `s3BucketEndpoint` set.';
+ throw AWS.util.error(new Error(),
+ { code: 'ConfigError', message: msg });
+ }
+ },
+
+
+ populateURI: function populateURI(req) {
+ var httpRequest = req.httpRequest;
+ var b = req.params.Bucket;
+
+ if (b) {
+ if (!req.service.pathStyleBucketName(b)) {
+ if (!req.service.config.s3BucketEndpoint) {
+ httpRequest.endpoint.hostname =
+ b + '.' + httpRequest.endpoint.hostname;
+
+ var port = httpRequest.endpoint.port;
+ if (port !== 80 && port !== 443) {
+ httpRequest.endpoint.host = httpRequest.endpoint.hostname + ':' +
+ httpRequest.endpoint.port;
+ } else {
+ httpRequest.endpoint.host = httpRequest.endpoint.hostname;
+ }
+ }
+
+ httpRequest.virtualHostedBucket = b; // needed for signing the request
+ httpRequest.path = httpRequest.path.replace(new RegExp('/' + b), '');
+ if (httpRequest.path[0] !== '/') {
+ httpRequest.path = '/' + httpRequest.path;
+ }
+ }
+ }
+ },
+
+
+ addExpect100Continue: function addExpect100Continue(req) {
+ var len = req.httpRequest.headers['Content-Length'];
+ if (AWS.util.isNode() && len >= 1024 * 1024) {
+ req.httpRequest.headers['Expect'] = '100-continue';
+ }
+ },
+
+
+ addContentType: function addContentType(req) {
+ var httpRequest = req.httpRequest;
+ if (httpRequest.method === 'GET' || httpRequest.method === 'HEAD') {
+ delete httpRequest.headers['Content-Type'];
+ return;
+ }
+
+ if (!httpRequest.headers['Content-Type']) { // always have a Content-Type
+ httpRequest.headers['Content-Type'] = 'application/octet-stream';
+ }
+
+ var contentType = httpRequest.headers['Content-Type'];
+ if (AWS.util.isBrowser()) {
+ if (typeof httpRequest.body === 'string' && !contentType.match(/;\s*charset=/)) {
+ var charset = '; charset=UTF-8';
+ httpRequest.headers['Content-Type'] += charset;
+ } else {
+ var replaceFn = function(_, prefix, charsetName) {
+ return prefix + charsetName.toUpperCase();
+ };
+
+ httpRequest.headers['Content-Type'] =
+ contentType.replace(/(;\s*charset=)(.+)$/, replaceFn);
+ }
+ }
+ },
+
+
+ computableChecksumOperations: {
+ putBucketCors: true,
+ putBucketLifecycle: true,
+ putBucketLifecycleConfiguration: true,
+ putBucketTagging: true,
+ deleteObjects: true,
+ putBucketReplication: true
+ },
+
+
+ willComputeChecksums: function willComputeChecksums(req) {
+ if (this.computableChecksumOperations[req.operation]) return true;
+ if (!this.config.computeChecksums) return false;
+
+ if (!AWS.util.Buffer.isBuffer(req.httpRequest.body) &&
+ typeof req.httpRequest.body !== 'string') {
+ return false;
+ }
+
+ var rules = req.service.api.operations[req.operation].input.members;
+
+ if (req.service.getSignerClass(req) === AWS.Signers.V4) {
+ if (rules.ContentMD5 && !rules.ContentMD5.required) return false;
+ }
+
+ if (rules.ContentMD5 && !req.params.ContentMD5) return true;
+ },
+
+
+ computeContentMd5: function computeContentMd5(req) {
+ if (req.service.willComputeChecksums(req)) {
+ var md5 = AWS.util.crypto.md5(req.httpRequest.body, 'base64');
+ req.httpRequest.headers['Content-MD5'] = md5;
+ }
+ },
+
+
+ computeSseCustomerKeyMd5: function computeSseCustomerKeyMd5(req) {
+ var keys = {
+ SSECustomerKey: 'x-amz-server-side-encryption-customer-key-MD5',
+ CopySourceSSECustomerKey: 'x-amz-copy-source-server-side-encryption-customer-key-MD5'
+ };
+ AWS.util.each(keys, function(key, header) {
+ if (req.params[key]) {
+ var value = AWS.util.crypto.md5(req.params[key], 'base64');
+ req.httpRequest.headers[header] = value;
+ }
+ });
+ },
+
+
+ pathStyleBucketName: function pathStyleBucketName(bucketName) {
+ if (this.config.s3ForcePathStyle) return true;
+ if (this.config.s3BucketEndpoint) return false;
+
+ if (this.dnsCompatibleBucketName(bucketName)) {
+ return (this.config.sslEnabled && bucketName.match(/\./)) ? true : false;
+ } else {
+ return true; // not dns compatible names must always use path style
+ }
+ },
+
+
+ dnsCompatibleBucketName: function dnsCompatibleBucketName(bucketName) {
+ var b = bucketName;
+ var domain = new RegExp(/^[a-z0-9][a-z0-9\.\-]{1,61}[a-z0-9]$/);
+ var ipAddress = new RegExp(/(\d+\.){3}\d+/);
+ var dots = new RegExp(/\.\./);
+ return (b.match(domain) && !b.match(ipAddress) && !b.match(dots)) ? true : false;
+ },
+
+
+ successfulResponse: function successfulResponse(resp) {
+ var req = resp.request;
+ var httpResponse = resp.httpResponse;
+ if (operationsWith200StatusCodeError[req.operation] &&
+ httpResponse.body.toString().match('')) {
+ return false;
+ } else {
+ return httpResponse.statusCode < 300;
+ }
+ },
+
+
+ retryableError: function retryableError(error, request) {
+ if (operationsWith200StatusCodeError[request.operation] &&
+ error.statusCode === 200) {
+ return true;
+ } else if (error && error.code === 'RequestTimeout') {
+ return true;
+ } else if (error && error.code === 'AuthorizationHeaderMalformed' &&
+ error.region && error.region != request.httpRequest.region) {
+ request.httpRequest.region = error.region;
+ return true;
+ } else {
+ var _super = AWS.Service.prototype.retryableError;
+ return _super.call(this, error, request);
+ }
+ },
+
+
+ extractData: function extractData(resp) {
+ var req = resp.request;
+ if (req.operation === 'getBucketLocation') {
+ var match = resp.httpResponse.body.toString().match(/>(.+)<\/Location/);
+ delete resp.data['_'];
+ if (match) {
+ resp.data.LocationConstraint = match[1];
+ } else {
+ resp.data.LocationConstraint = '';
+ }
+ }
+ },
+
+
+ extractError: function extractError(resp) {
+ var codes = {
+ 304: 'NotModified',
+ 403: 'Forbidden',
+ 400: 'BadRequest',
+ 404: 'NotFound'
+ };
+
+ var code = resp.httpResponse.statusCode;
+ var body = resp.httpResponse.body || '';
+ var requestId = resp.requestId;
+ var extendedRequestId = resp.httpResponse.headers ? resp.httpResponse.headers['x-amz-id-2'] : null;
+ if (codes[code] && body.length === 0) {
+ resp.error = AWS.util.error(new Error(), {
+ code: codes[resp.httpResponse.statusCode],
+ message: null
+ });
+ } else {
+ var data = new AWS.XML.Parser().parse(body.toString());
+ resp.error = AWS.util.error(new Error(), {
+ code: data.Code || code,
+ message: data.Message || null,
+ region: data.Region || null
+ });
+ }
+ resp.error.requestId = requestId || null;
+ resp.error.extendedRequestId = extendedRequestId || null;
+ },
+
+
+ getSignedUrl: function getSignedUrl(operation, params, callback) {
+ params = AWS.util.copy(params || {});
+ var expires = params.Expires || 900;
+ delete params.Expires; // we can't validate this
+ var request = this.makeRequest(operation, params);
+ return request.presign(expires, callback);
+ },
+
+
+ prepareSignedUrl: function prepareSignedUrl(request) {
+ request.addListener('validate', request.service.noPresignedContentLength);
+ request.removeListener('build', request.service.addContentType);
+ if (!request.params.Body) {
+ request.removeListener('build', request.service.computeContentMd5);
+ } else {
+ request.addListener('afterBuild', AWS.EventListeners.Core.COMPUTE_SHA256);
+ }
+ },
+
+ noPresignedContentLength: function noPresignedContentLength(request) {
+ if (request.params.ContentLength !== undefined) {
+ throw AWS.util.error(new Error(), {code: 'UnexpectedParameter',
+ message: 'ContentLength is not supported in pre-signed URLs.'});
+ }
+ },
+
+ createBucket: function createBucket(params, callback) {
+ if (typeof params === 'function' || !params) {
+ callback = callback || params;
+ params = {};
+ }
+ var hostname = this.endpoint.hostname;
+ if (hostname !== this.api.globalEndpoint && !params.CreateBucketConfiguration) {
+ params.CreateBucketConfiguration = { LocationConstraint: this.config.region };
+ }
+ return this.makeRequest('createBucket', params, callback);
+ },
+
+
+ upload: function upload(params, options, callback) {
+ if (typeof options === 'function' && callback === undefined) {
+ callback = options;
+ options = null;
+ }
+
+ options = options || {};
+ options = AWS.util.merge(options || {}, {service: this, params: params});
+
+ var uploader = new AWS.S3.ManagedUpload(options);
+ if (typeof callback === 'function') uploader.send(callback);
+ return uploader;
+ }
+});
+
+},{"../core":4,"../s3/managed_upload":39}],49:[function(require,module,exports){
+var AWS = require('../core');
+
+AWS.util.update(AWS.SQS.prototype, {
+
+ setupRequestListeners: function setupRequestListeners(request) {
+ request.addListener('build', this.buildEndpoint);
+
+ if (request.service.config.computeChecksums) {
+ if (request.operation === 'sendMessage') {
+ request.addListener('extractData', this.verifySendMessageChecksum);
+ } else if (request.operation === 'sendMessageBatch') {
+ request.addListener('extractData', this.verifySendMessageBatchChecksum);
+ } else if (request.operation === 'receiveMessage') {
+ request.addListener('extractData', this.verifyReceiveMessageChecksum);
+ }
+ }
+ },
+
+
+ verifySendMessageChecksum: function verifySendMessageChecksum(response) {
+ if (!response.data) return;
+
+ var md5 = response.data.MD5OfMessageBody;
+ var body = this.params.MessageBody;
+ var calculatedMd5 = this.service.calculateChecksum(body);
+ if (calculatedMd5 !== md5) {
+ var msg = 'Got "' + response.data.MD5OfMessageBody +
+ '", expecting "' + calculatedMd5 + '".';
+ this.service.throwInvalidChecksumError(response,
+ [response.data.MessageId], msg);
+ }
+ },
+
+
+ verifySendMessageBatchChecksum: function verifySendMessageBatchChecksum(response) {
+ if (!response.data) return;
+
+ var service = this.service;
+ var entries = {};
+ var errors = [];
+ var messageIds = [];
+ AWS.util.arrayEach(response.data.Successful, function (entry) {
+ entries[entry.Id] = entry;
+ });
+ AWS.util.arrayEach(this.params.Entries, function (entry) {
+ if (entries[entry.Id]) {
+ var md5 = entries[entry.Id].MD5OfMessageBody;
+ var body = entry.MessageBody;
+ if (!service.isChecksumValid(md5, body)) {
+ errors.push(entry.Id);
+ messageIds.push(entries[entry.Id].MessageId);
+ }
+ }
+ });
+
+ if (errors.length > 0) {
+ service.throwInvalidChecksumError(response, messageIds,
+ 'Invalid messages: ' + errors.join(', '));
+ }
+ },
+
+
+ verifyReceiveMessageChecksum: function verifyReceiveMessageChecksum(response) {
+ if (!response.data) return;
+
+ var service = this.service;
+ var messageIds = [];
+ AWS.util.arrayEach(response.data.Messages, function(message) {
+ var md5 = message.MD5OfBody;
+ var body = message.Body;
+ if (!service.isChecksumValid(md5, body)) {
+ messageIds.push(message.MessageId);
+ }
+ });
+
+ if (messageIds.length > 0) {
+ service.throwInvalidChecksumError(response, messageIds,
+ 'Invalid messages: ' + messageIds.join(', '));
+ }
+ },
+
+
+ throwInvalidChecksumError: function throwInvalidChecksumError(response, ids, message) {
+ response.error = AWS.util.error(new Error(), {
+ retryable: true,
+ code: 'InvalidChecksum',
+ messageIds: ids,
+ message: response.request.operation +
+ ' returned an invalid MD5 response. ' + message
+ });
+ },
+
+
+ isChecksumValid: function isChecksumValid(checksum, data) {
+ return this.calculateChecksum(data) === checksum;
+ },
+
+
+ calculateChecksum: function calculateChecksum(data) {
+ return AWS.util.crypto.md5(data, 'hex');
+ },
+
+
+ buildEndpoint: function buildEndpoint(request) {
+ var url = request.httpRequest.params.QueueUrl;
+ if (url) {
+ request.httpRequest.endpoint = new AWS.Endpoint(url);
+
+ var matches = request.httpRequest.endpoint.host.match(/^sqs\.(.+?)\./);
+ if (matches) request.httpRequest.region = matches[1];
+ }
+ }
+});
+
+},{"../core":4}],50:[function(require,module,exports){
+var AWS = require('../core');
+
+AWS.util.update(AWS.STS.prototype, {
+
+ credentialsFrom: function credentialsFrom(data, credentials) {
+ if (!data) return null;
+ if (!credentials) credentials = new AWS.TemporaryCredentials();
+ credentials.expired = false;
+ credentials.accessKeyId = data.Credentials.AccessKeyId;
+ credentials.secretAccessKey = data.Credentials.SecretAccessKey;
+ credentials.sessionToken = data.Credentials.SessionToken;
+ credentials.expireTime = data.Credentials.Expiration;
+ return credentials;
+ },
+
+ assumeRoleWithWebIdentity: function assumeRoleWithWebIdentity(params, callback) {
+ return this.makeUnauthenticatedRequest('assumeRoleWithWebIdentity', params, callback);
+ },
+
+ assumeRoleWithSAML: function assumeRoleWithSAML(params, callback) {
+ return this.makeUnauthenticatedRequest('assumeRoleWithSAML', params, callback);
+ }
+});
+
+},{"../core":4}],51:[function(require,module,exports){
+var AWS = require('../core');
+var inherit = AWS.util.inherit;
+
+
+var expiresHeader = 'presigned-expires';
+
+
+function signedUrlBuilder(request) {
+ var expires = request.httpRequest.headers[expiresHeader];
+
+ delete request.httpRequest.headers['User-Agent'];
+ delete request.httpRequest.headers['X-Amz-User-Agent'];
+
+ if (request.service.getSignerClass() === AWS.Signers.V4) {
+ if (expires > 604800) { // one week expiry is invalid
+ var message = 'Presigning does not support expiry time greater ' +
+ 'than a week with SigV4 signing.';
+ throw AWS.util.error(new Error(), {
+ code: 'InvalidExpiryTime', message: message, retryable: false
+ });
+ }
+ request.httpRequest.headers[expiresHeader] = expires;
+ } else if (request.service.getSignerClass() === AWS.Signers.S3) {
+ request.httpRequest.headers[expiresHeader] = parseInt(
+ AWS.util.date.unixTimestamp() + expires, 10).toString();
+ } else {
+ throw AWS.util.error(new Error(), {
+ message: 'Presigning only supports S3 or SigV4 signing.',
+ code: 'UnsupportedSigner', retryable: false
+ });
+ }
+}
+
+
+function signedUrlSigner(request) {
+ var endpoint = request.httpRequest.endpoint;
+ var parsedUrl = AWS.util.urlParse(request.httpRequest.path);
+ var queryParams = {};
+
+ if (parsedUrl.search) {
+ queryParams = AWS.util.queryStringParse(parsedUrl.search.substr(1));
+ }
+
+ AWS.util.each(request.httpRequest.headers, function (key, value) {
+ if (key === expiresHeader) key = 'Expires';
+ if (key.indexOf('x-amz-meta-') === 0) {
+ key = key.toLowerCase();
+ }
+ queryParams[key] = value;
+ });
+ delete request.httpRequest.headers[expiresHeader];
+
+ var auth = queryParams['Authorization'].split(' ');
+ if (auth[0] === 'AWS') {
+ auth = auth[1].split(':');
+ queryParams['AWSAccessKeyId'] = auth[0];
+ queryParams['Signature'] = auth[1];
+ } else if (auth[0] === 'AWS4-HMAC-SHA256') { // SigV4 signing
+ auth.shift();
+ var rest = auth.join(' ');
+ var signature = rest.match(/Signature=(.*?)(?:,|\s|\r?\n|$)/)[1];
+ queryParams['X-Amz-Signature'] = signature;
+ delete queryParams['Expires'];
+ }
+ delete queryParams['Authorization'];
+ delete queryParams['Host'];
+
+ endpoint.pathname = parsedUrl.pathname;
+ endpoint.search = AWS.util.queryParamsToString(queryParams);
+}
+
+
+AWS.Signers.Presign = inherit({
+
+ sign: function sign(request, expireTime, callback) {
+ request.httpRequest.headers[expiresHeader] = expireTime || 3600;
+ request.on('build', signedUrlBuilder);
+ request.on('sign', signedUrlSigner);
+ request.removeListener('afterBuild',
+ AWS.EventListeners.Core.SET_CONTENT_LENGTH);
+ request.removeListener('afterBuild',
+ AWS.EventListeners.Core.COMPUTE_SHA256);
+
+ request.emit('beforePresign', [request]);
+
+ if (callback) {
+ request.build(function() {
+ if (this.response.error) callback(this.response.error);
+ else {
+ callback(null, AWS.util.urlFormat(request.httpRequest.endpoint));
+ }
+ });
+ } else {
+ request.build();
+ if (request.response.error) throw request.response.error;
+ return AWS.util.urlFormat(request.httpRequest.endpoint);
+ }
+ }
+});
+
+module.exports = AWS.Signers.Presign;
+
+},{"../core":4}],52:[function(require,module,exports){
+var AWS = require('../core');
+var inherit = AWS.util.inherit;
+
+
+AWS.Signers.RequestSigner = inherit({
+ constructor: function RequestSigner(request) {
+ this.request = request;
+ }
+});
+
+AWS.Signers.RequestSigner.getVersion = function getVersion(version) {
+ switch (version) {
+ case 'v2': return AWS.Signers.V2;
+ case 'v3': return AWS.Signers.V3;
+ case 'v4': return AWS.Signers.V4;
+ case 's3': return AWS.Signers.S3;
+ case 'v3https': return AWS.Signers.V3Https;
+ }
+ throw new Error('Unknown signing version ' + version);
+};
+
+require('./v2');
+require('./v3');
+require('./v3https');
+require('./v4');
+require('./s3');
+require('./presign');
+
+},{"../core":4,"./presign":51,"./s3":53,"./v2":54,"./v3":55,"./v3https":56,"./v4":57}],53:[function(require,module,exports){
+var AWS = require('../core');
+var inherit = AWS.util.inherit;
+
+
+AWS.Signers.S3 = inherit(AWS.Signers.RequestSigner, {
+
+ subResources: {
+ 'acl': 1,
+ 'cors': 1,
+ 'lifecycle': 1,
+ 'delete': 1,
+ 'location': 1,
+ 'logging': 1,
+ 'notification': 1,
+ 'partNumber': 1,
+ 'policy': 1,
+ 'requestPayment': 1,
+ 'replication': 1,
+ 'restore': 1,
+ 'tagging': 1,
+ 'torrent': 1,
+ 'uploadId': 1,
+ 'uploads': 1,
+ 'versionId': 1,
+ 'versioning': 1,
+ 'versions': 1,
+ 'website': 1
+ },
+
+ responseHeaders: {
+ 'response-content-type': 1,
+ 'response-content-language': 1,
+ 'response-expires': 1,
+ 'response-cache-control': 1,
+ 'response-content-disposition': 1,
+ 'response-content-encoding': 1
+ },
+
+ addAuthorization: function addAuthorization(credentials, date) {
+ if (!this.request.headers['presigned-expires']) {
+ this.request.headers['X-Amz-Date'] = AWS.util.date.rfc822(date);
+ }
+
+ if (credentials.sessionToken) {
+ this.request.headers['x-amz-security-token'] = credentials.sessionToken;
+ }
+
+ var signature = this.sign(credentials.secretAccessKey, this.stringToSign());
+ var auth = 'AWS ' + credentials.accessKeyId + ':' + signature;
+
+ this.request.headers['Authorization'] = auth;
+ },
+
+ stringToSign: function stringToSign() {
+ var r = this.request;
+
+ var parts = [];
+ parts.push(r.method);
+ parts.push(r.headers['Content-MD5'] || '');
+ parts.push(r.headers['Content-Type'] || '');
+
+ parts.push(r.headers['presigned-expires'] || '');
+
+ var headers = this.canonicalizedAmzHeaders();
+ if (headers) parts.push(headers);
+ parts.push(this.canonicalizedResource());
+
+ return parts.join('\n');
+
+ },
+
+ canonicalizedAmzHeaders: function canonicalizedAmzHeaders() {
+
+ var amzHeaders = [];
+
+ AWS.util.each(this.request.headers, function (name) {
+ if (name.match(/^x-amz-/i))
+ amzHeaders.push(name);
+ });
+
+ amzHeaders.sort(function (a, b) {
+ return a.toLowerCase() < b.toLowerCase() ? -1 : 1;
+ });
+
+ var parts = [];
+ AWS.util.arrayEach.call(this, amzHeaders, function (name) {
+ parts.push(name.toLowerCase() + ':' + String(this.request.headers[name]));
+ });
+
+ return parts.join('\n');
+
+ },
+
+ canonicalizedResource: function canonicalizedResource() {
+
+ var r = this.request;
+
+ var parts = r.path.split('?');
+ var path = parts[0];
+ var querystring = parts[1];
+
+ var resource = '';
+
+ if (r.virtualHostedBucket)
+ resource += '/' + r.virtualHostedBucket;
+
+ resource += path;
+
+ if (querystring) {
+
+ var resources = [];
+
+ AWS.util.arrayEach.call(this, querystring.split('&'), function (param) {
+ var name = param.split('=')[0];
+ var value = param.split('=')[1];
+ if (this.subResources[name] || this.responseHeaders[name]) {
+ var subresource = { name: name };
+ if (value !== undefined) {
+ if (this.subResources[name]) {
+ subresource.value = value;
+ } else {
+ subresource.value = decodeURIComponent(value);
+ }
+ }
+ resources.push(subresource);
+ }
+ });
+
+ resources.sort(function (a, b) { return a.name < b.name ? -1 : 1; });
+
+ if (resources.length) {
+
+ querystring = [];
+ AWS.util.arrayEach(resources, function (res) {
+ if (res.value === undefined) {
+ querystring.push(res.name);
+ } else {
+ querystring.push(res.name + '=' + res.value);
+ }
+ });
+
+ resource += '?' + querystring.join('&');
+ }
+
+ }
+
+ return resource;
+
+ },
+
+ sign: function sign(secret, string) {
+ return AWS.util.crypto.hmac(secret, string, 'base64', 'sha1');
+ }
+});
+
+module.exports = AWS.Signers.S3;
+
+},{"../core":4}],54:[function(require,module,exports){
+var AWS = require('../core');
+var inherit = AWS.util.inherit;
+
+
+AWS.Signers.V2 = inherit(AWS.Signers.RequestSigner, {
+ addAuthorization: function addAuthorization(credentials, date) {
+
+ if (!date) date = AWS.util.date.getDate();
+
+ var r = this.request;
+
+ r.params.Timestamp = AWS.util.date.iso8601(date);
+ r.params.SignatureVersion = '2';
+ r.params.SignatureMethod = 'HmacSHA256';
+ r.params.AWSAccessKeyId = credentials.accessKeyId;
+
+ if (credentials.sessionToken) {
+ r.params.SecurityToken = credentials.sessionToken;
+ }
+
+ delete r.params.Signature; // delete old Signature for re-signing
+ r.params.Signature = this.signature(credentials);
+
+ r.body = AWS.util.queryParamsToString(r.params);
+ r.headers['Content-Length'] = r.body.length;
+ },
+
+ signature: function signature(credentials) {
+ return AWS.util.crypto.hmac(credentials.secretAccessKey, this.stringToSign(), 'base64');
+ },
+
+ stringToSign: function stringToSign() {
+ var parts = [];
+ parts.push(this.request.method);
+ parts.push(this.request.endpoint.host.toLowerCase());
+ parts.push(this.request.pathname());
+ parts.push(AWS.util.queryParamsToString(this.request.params));
+ return parts.join('\n');
+ }
+
+});
+
+module.exports = AWS.Signers.V2;
+
+},{"../core":4}],55:[function(require,module,exports){
+var AWS = require('../core');
+var inherit = AWS.util.inherit;
+
+
+AWS.Signers.V3 = inherit(AWS.Signers.RequestSigner, {
+ addAuthorization: function addAuthorization(credentials, date) {
+
+ var datetime = AWS.util.date.rfc822(date);
+
+ this.request.headers['X-Amz-Date'] = datetime;
+
+ if (credentials.sessionToken) {
+ this.request.headers['x-amz-security-token'] = credentials.sessionToken;
+ }
+
+ this.request.headers['X-Amzn-Authorization'] =
+ this.authorization(credentials, datetime);
+
+ },
+
+ authorization: function authorization(credentials) {
+ return 'AWS3 ' +
+ 'AWSAccessKeyId=' + credentials.accessKeyId + ',' +
+ 'Algorithm=HmacSHA256,' +
+ 'SignedHeaders=' + this.signedHeaders() + ',' +
+ 'Signature=' + this.signature(credentials);
+ },
+
+ signedHeaders: function signedHeaders() {
+ var headers = [];
+ AWS.util.arrayEach(this.headersToSign(), function iterator(h) {
+ headers.push(h.toLowerCase());
+ });
+ return headers.sort().join(';');
+ },
+
+ canonicalHeaders: function canonicalHeaders() {
+ var headers = this.request.headers;
+ var parts = [];
+ AWS.util.arrayEach(this.headersToSign(), function iterator(h) {
+ parts.push(h.toLowerCase().trim() + ':' + String(headers[h]).trim());
+ });
+ return parts.sort().join('\n') + '\n';
+ },
+
+ headersToSign: function headersToSign() {
+ var headers = [];
+ AWS.util.each(this.request.headers, function iterator(k) {
+ if (k === 'Host' || k === 'Content-Encoding' || k.match(/^X-Amz/i)) {
+ headers.push(k);
+ }
+ });
+ return headers;
+ },
+
+ signature: function signature(credentials) {
+ return AWS.util.crypto.hmac(credentials.secretAccessKey, this.stringToSign(), 'base64');
+ },
+
+ stringToSign: function stringToSign() {
+ var parts = [];
+ parts.push(this.request.method);
+ parts.push('/');
+ parts.push('');
+ parts.push(this.canonicalHeaders());
+ parts.push(this.request.body);
+ return AWS.util.crypto.sha256(parts.join('\n'));
+ }
+
+});
+
+module.exports = AWS.Signers.V3;
+
+},{"../core":4}],56:[function(require,module,exports){
+var AWS = require('../core');
+var inherit = AWS.util.inherit;
+
+require('./v3');
+
+
+AWS.Signers.V3Https = inherit(AWS.Signers.V3, {
+ authorization: function authorization(credentials) {
+ return 'AWS3-HTTPS ' +
+ 'AWSAccessKeyId=' + credentials.accessKeyId + ',' +
+ 'Algorithm=HmacSHA256,' +
+ 'Signature=' + this.signature(credentials);
+ },
+
+ stringToSign: function stringToSign() {
+ return this.request.headers['X-Amz-Date'];
+ }
+});
+
+module.exports = AWS.Signers.V3Https;
+
+},{"../core":4,"./v3":55}],57:[function(require,module,exports){
+var AWS = require('../core');
+var inherit = AWS.util.inherit;
+
+
+var cachedSecret = {};
+
+
+var expiresHeader = 'presigned-expires';
+
+
+AWS.Signers.V4 = inherit(AWS.Signers.RequestSigner, {
+ constructor: function V4(request, serviceName, signatureCache) {
+ AWS.Signers.RequestSigner.call(this, request);
+ this.serviceName = serviceName;
+ this.signatureCache = signatureCache;
+ },
+
+ algorithm: 'AWS4-HMAC-SHA256',
+
+ addAuthorization: function addAuthorization(credentials, date) {
+ var datetime = AWS.util.date.iso8601(date).replace(/[:\-]|\.\d{3}/g, '');
+
+ if (this.isPresigned()) {
+ this.updateForPresigned(credentials, datetime);
+ } else {
+ this.addHeaders(credentials, datetime);
+ }
+
+ this.request.headers['Authorization'] =
+ this.authorization(credentials, datetime);
+ },
+
+ addHeaders: function addHeaders(credentials, datetime) {
+ this.request.headers['X-Amz-Date'] = datetime;
+ if (credentials.sessionToken) {
+ this.request.headers['x-amz-security-token'] = credentials.sessionToken;
+ }
+ },
+
+ updateForPresigned: function updateForPresigned(credentials, datetime) {
+ var credString = this.credentialString(datetime);
+ var qs = {
+ 'X-Amz-Date': datetime,
+ 'X-Amz-Algorithm': this.algorithm,
+ 'X-Amz-Credential': credentials.accessKeyId + '/' + credString,
+ 'X-Amz-Expires': this.request.headers[expiresHeader],
+ 'X-Amz-SignedHeaders': this.signedHeaders()
+ };
+
+ if (credentials.sessionToken) {
+ qs['X-Amz-Security-Token'] = credentials.sessionToken;
+ }
+
+ if (this.request.headers['Content-Type']) {
+ qs['Content-Type'] = this.request.headers['Content-Type'];
+ }
+ if (this.request.headers['Content-MD5']) {
+ qs['Content-MD5'] = this.request.headers['Content-MD5'];
+ }
+ if (this.request.headers['Cache-Control']) {
+ qs['Cache-Control'] = this.request.headers['Cache-Control'];
+ }
+
+ AWS.util.each.call(this, this.request.headers, function(key, value) {
+ if (key === expiresHeader) return;
+ if (this.isSignableHeader(key) &&
+ key.toLowerCase().indexOf('x-amz-') === 0) {
+ qs[key] = value;
+ }
+ });
+
+ var sep = this.request.path.indexOf('?') >= 0 ? '&' : '?';
+ this.request.path += sep + AWS.util.queryParamsToString(qs);
+ },
+
+ authorization: function authorization(credentials, datetime) {
+ var parts = [];
+ var credString = this.credentialString(datetime);
+ parts.push(this.algorithm + ' Credential=' +
+ credentials.accessKeyId + '/' + credString);
+ parts.push('SignedHeaders=' + this.signedHeaders());
+ parts.push('Signature=' + this.signature(credentials, datetime));
+ return parts.join(', ');
+ },
+
+ signature: function signature(credentials, datetime) {
+ var cache = null;
+ if (this.signatureCache) {
+ var cache = cachedSecret[this.serviceName];
+ }
+ var date = datetime.substr(0, 8);
+
+ if (!cache ||
+ cache.akid !== credentials.accessKeyId ||
+ cache.region !== this.request.region ||
+ cache.date !== date) {
+
+ var kSecret = credentials.secretAccessKey;
+ var kDate = AWS.util.crypto.hmac('AWS4' + kSecret, date, 'buffer');
+ var kRegion = AWS.util.crypto.hmac(kDate, this.request.region, 'buffer');
+ var kService = AWS.util.crypto.hmac(kRegion, this.serviceName, 'buffer');
+ var kCredentials = AWS.util.crypto.hmac(kService, 'aws4_request', 'buffer');
+
+ if (!this.signatureCache) {
+ return AWS.util.crypto.hmac(kCredentials, this.stringToSign(datetime), 'hex');
+ }
+
+ cachedSecret[this.serviceName] = {
+ region: this.request.region, date: date,
+ key: kCredentials, akid: credentials.accessKeyId
+ };
+ }
+
+ var key = cachedSecret[this.serviceName].key;
+ return AWS.util.crypto.hmac(key, this.stringToSign(datetime), 'hex');
+ },
+
+ stringToSign: function stringToSign(datetime) {
+ var parts = [];
+ parts.push('AWS4-HMAC-SHA256');
+ parts.push(datetime);
+ parts.push(this.credentialString(datetime));
+ parts.push(this.hexEncodedHash(this.canonicalString()));
+ return parts.join('\n');
+ },
+
+ canonicalString: function canonicalString() {
+ var parts = [], pathname = this.request.pathname();
+ if (this.serviceName !== 's3') pathname = AWS.util.uriEscapePath(pathname);
+
+ parts.push(this.request.method);
+ parts.push(pathname);
+ parts.push(this.request.search());
+ parts.push(this.canonicalHeaders() + '\n');
+ parts.push(this.signedHeaders());
+ parts.push(this.hexEncodedBodyHash());
+ return parts.join('\n');
+ },
+
+ canonicalHeaders: function canonicalHeaders() {
+ var headers = [];
+ AWS.util.each.call(this, this.request.headers, function (key, item) {
+ headers.push([key, item]);
+ });
+ headers.sort(function (a, b) {
+ return a[0].toLowerCase() < b[0].toLowerCase() ? -1 : 1;
+ });
+ var parts = [];
+ AWS.util.arrayEach.call(this, headers, function (item) {
+ var key = item[0].toLowerCase();
+ if (this.isSignableHeader(key)) {
+ parts.push(key + ':' +
+ this.canonicalHeaderValues(item[1].toString()));
+ }
+ });
+ return parts.join('\n');
+ },
+
+ canonicalHeaderValues: function canonicalHeaderValues(values) {
+ return values.replace(/\s+/g, ' ').replace(/^\s+|\s+$/g, '');
+ },
+
+ signedHeaders: function signedHeaders() {
+ var keys = [];
+ AWS.util.each.call(this, this.request.headers, function (key) {
+ key = key.toLowerCase();
+ if (this.isSignableHeader(key)) keys.push(key);
+ });
+ return keys.sort().join(';');
+ },
+
+ credentialString: function credentialString(datetime) {
+ var parts = [];
+ parts.push(datetime.substr(0, 8));
+ parts.push(this.request.region);
+ parts.push(this.serviceName);
+ parts.push('aws4_request');
+ return parts.join('/');
+ },
+
+ hexEncodedHash: function hash(string) {
+ return AWS.util.crypto.sha256(string, 'hex');
+ },
+
+ hexEncodedBodyHash: function hexEncodedBodyHash() {
+ if (this.isPresigned() && this.serviceName === 's3') {
+ return 'UNSIGNED-PAYLOAD';
+ } else if (this.request.headers['X-Amz-Content-Sha256']) {
+ return this.request.headers['X-Amz-Content-Sha256'];
+ } else {
+ return this.hexEncodedHash(this.request.body || '');
+ }
+ },
+
+ unsignableHeaders: ['authorization', 'content-type', 'content-length',
+ 'user-agent', expiresHeader],
+
+ isSignableHeader: function isSignableHeader(key) {
+ if (key.toLowerCase().indexOf('x-amz-') === 0) return true;
+ return this.unsignableHeaders.indexOf(key) < 0;
+ },
+
+ isPresigned: function isPresigned() {
+ return this.request.headers[expiresHeader] ? true : false;
+ }
+
+});
+
+module.exports = AWS.Signers.V4;
+
+},{"../core":4}],58:[function(require,module,exports){
+function AcceptorStateMachine(states, state) {
+ this.currentState = state || null;
+ this.states = states || {};
+}
+
+AcceptorStateMachine.prototype.runTo = function runTo(finalState, done, bindObject, inputError) {
+ if (typeof finalState === 'function') {
+ inputError = bindObject; bindObject = done;
+ done = finalState; finalState = null;
+ }
+
+ var self = this;
+ var state = self.states[self.currentState];
+ state.fn.call(bindObject || self, inputError, function(err) {
+ if (err) {
+ if (state.fail) self.currentState = state.fail;
+ else return done ? done.call(bindObject, err) : null;
+ } else {
+ if (state.accept) self.currentState = state.accept;
+ else return done ? done.call(bindObject) : null;
+ }
+ if (self.currentState === finalState) {
+ return done ? done.call(bindObject, err) : null;
+ }
+
+ self.runTo(finalState, done, bindObject, err);
+ });
+};
+
+AcceptorStateMachine.prototype.addState = function addState(name, acceptState, failState, fn) {
+ if (typeof acceptState === 'function') {
+ fn = acceptState; acceptState = null; failState = null;
+ } else if (typeof failState === 'function') {
+ fn = failState; failState = null;
+ }
+
+ if (!this.currentState) this.currentState = name;
+ this.states[name] = { accept: acceptState, fail: failState, fn: fn };
+ return this;
+};
+
+module.exports = AcceptorStateMachine;
+
+},{}],59:[function(require,module,exports){
+(function (process){
+
+
+var cryptoLib = require('crypto');
+var Buffer = require('buffer').Buffer;
+var AWS;
+
+
+var util = {
+ engine: function engine() {
+ if (util.isBrowser() && typeof navigator !== 'undefined') {
+ return navigator.userAgent;
+ } else {
+ return process.platform + '/' + process.version;
+ }
+ },
+
+ userAgent: function userAgent() {
+ var name = util.isBrowser() ? 'js' : 'nodejs';
+ var agent = 'aws-sdk-' + name + '/' + require('./core').VERSION;
+ if (name === 'nodejs') agent += ' ' + util.engine();
+ return agent;
+ },
+
+ isBrowser: function isBrowser() { return process && process.browser; },
+ isNode: function isNode() { return !util.isBrowser(); },
+ nodeRequire: function nodeRequire(module) {
+ if (util.isNode()) return require(module);
+ },
+ multiRequire: function multiRequire(module1, module2) {
+ return require(util.isNode() ? module1 : module2);
+ },
+
+ uriEscape: function uriEscape(string) {
+ var output = encodeURIComponent(string);
+ output = output.replace(/[^A-Za-z0-9_.~\-%]+/g, escape);
+
+ output = output.replace(/[*]/g, function(ch) {
+ return '%' + ch.charCodeAt(0).toString(16).toUpperCase();
+ });
+
+ return output;
+ },
+
+ uriEscapePath: function uriEscapePath(string) {
+ var parts = [];
+ util.arrayEach(string.split('/'), function (part) {
+ parts.push(util.uriEscape(part));
+ });
+ return parts.join('/');
+ },
+
+ urlParse: function urlParse(url) {
+ return require('url').parse(url);
+ },
+
+ urlFormat: function urlFormat(url) {
+ return require('url').format(url);
+ },
+
+ queryStringParse: function queryStringParse(qs) {
+ return require('querystring').parse(qs);
+ },
+
+ queryParamsToString: function queryParamsToString(params) {
+ var items = [];
+ var escape = util.uriEscape;
+ var sortedKeys = Object.keys(params).sort();
+
+ util.arrayEach(sortedKeys, function(name) {
+ var value = params[name];
+ var ename = escape(name);
+ var result = ename + '=';
+ if (Array.isArray(value)) {
+ var vals = [];
+ util.arrayEach(value, function(item) { vals.push(escape(item)); });
+ result = ename + '=' + vals.sort().join('&' + ename + '=');
+ } else if (value !== undefined && value !== null) {
+ result = ename + '=' + escape(value);
+ }
+ items.push(result);
+ });
+
+ return items.join('&');
+ },
+
+ readFileSync: function readFileSync(path) {
+ if (typeof window !== 'undefined') return null;
+ return util.nodeRequire('fs').readFileSync(path, 'utf-8');
+ },
+
+ base64: {
+
+ encode: function encode64(string) {
+ return new Buffer(string).toString('base64');
+ },
+
+ decode: function decode64(string) {
+ return new Buffer(string, 'base64');
+ }
+
+ },
+
+ Buffer: Buffer,
+
+ buffer: {
+ toStream: function toStream(buffer) {
+ if (!util.Buffer.isBuffer(buffer)) buffer = new util.Buffer(buffer);
+
+ var readable = new (util.nodeRequire('stream').Readable)();
+ var pos = 0;
+ readable._read = function(size) {
+ if (pos >= buffer.length) return readable.push(null);
+
+ var end = pos + size;
+ if (end > buffer.length) end = buffer.length;
+ readable.push(buffer.slice(pos, end));
+ pos = end;
+ };
+
+ return readable;
+ },
+
+
+ concat: function(buffers) {
+ var length = 0,
+ offset = 0,
+ buffer = null, i;
+
+ for (i = 0; i < buffers.length; i++) {
+ length += buffers[i].length;
+ }
+
+ buffer = new Buffer(length);
+
+ for (i = 0; i < buffers.length; i++) {
+ buffers[i].copy(buffer, offset);
+ offset += buffers[i].length;
+ }
+
+ return buffer;
+ }
+ },
+
+ string: {
+ byteLength: function byteLength(string) {
+ if (string === null || string === undefined) return 0;
+ if (typeof string === 'string') string = new Buffer(string);
+
+ if (typeof string.byteLength === 'number') {
+ return string.byteLength;
+ } else if (typeof string.length === 'number') {
+ return string.length;
+ } else if (typeof string.size === 'number') {
+ return string.size;
+ } else if (typeof string.path === 'string') {
+ return util.nodeRequire('fs').lstatSync(string.path).size;
+ } else {
+ throw util.error(new Error('Cannot determine length of ' + string),
+ { object: string });
+ }
+ },
+
+ upperFirst: function upperFirst(string) {
+ return string[0].toUpperCase() + string.substr(1);
+ },
+
+ lowerFirst: function lowerFirst(string) {
+ return string[0].toLowerCase() + string.substr(1);
+ }
+ },
+
+ ini: {
+ parse: function string(ini) {
+ var currentSection, map = {};
+ util.arrayEach(ini.split(/\r?\n/), function(line) {
+ line = line.split(/(^|\s);/)[0]; // remove comments
+ var section = line.match(/^\s*\[([^\[\]]+)\]\s*$/);
+ if (section) {
+ currentSection = section[1];
+ } else if (currentSection) {
+ var item = line.match(/^\s*(.+?)\s*=\s*(.+?)\s*$/);
+ if (item) {
+ map[currentSection] = map[currentSection] || {};
+ map[currentSection][item[1]] = item[2];
+ }
+ }
+ });
+
+ return map;
+ }
+ },
+
+ fn: {
+ noop: function() {},
+
+
+ makeAsync: function makeAsync(fn, expectedArgs) {
+ if (expectedArgs && expectedArgs <= fn.length) {
+ return fn;
+ }
+
+ return function() {
+ var args = Array.prototype.slice.call(arguments, 0);
+ var callback = args.pop();
+ var result = fn.apply(null, args);
+ callback(result);
+ };
+ }
+ },
+
+ jamespath: {
+ query: function query(expression, data) {
+ if (!data) return [];
+
+ var results = [];
+ var expressions = expression.split(/\s+\|\|\s+/);
+ util.arrayEach.call(this, expressions, function (expr) {
+ var objects = [data];
+ var tokens = expr.split('.');
+ util.arrayEach.call(this, tokens, function (token) {
+ var match = token.match('^(.+?)(?:\\[(-?\\d+|\\*|)\\])?$');
+ var newObjects = [];
+ util.arrayEach.call(this, objects, function (obj) {
+ if (match[1] === '*') {
+ util.arrayEach.call(this, obj, function (value) {
+ newObjects.push(value);
+ });
+ } else if (obj.hasOwnProperty(match[1])) {
+ newObjects.push(obj[match[1]]);
+ }
+ });
+ objects = newObjects;
+
+ if (match[2] !== undefined) {
+ newObjects = [];
+ util.arrayEach.call(this, objects, function (obj) {
+ if (Array.isArray(obj)) {
+ if (match[2] === '*' || match[2] === '') {
+ newObjects = newObjects.concat(obj);
+ } else {
+ var idx = parseInt(match[2], 10);
+ if (idx < 0) idx = obj.length + idx; // negative indexing
+ newObjects.push(obj[idx]);
+ }
+ }
+ });
+ objects = newObjects;
+ }
+
+ if (objects.length === 0) return util.abort;
+ });
+
+ if (objects.length > 0) {
+ results = objects;
+ return util.abort;
+ }
+ });
+
+ return results;
+ },
+
+ find: function find(expression, data) {
+ return util.jamespath.query(expression, data)[0];
+ }
+ },
+
+
+ date: {
+
+
+ getDate: function getDate() {
+ if (!AWS) AWS = require('./core');
+ if (AWS.config.systemClockOffset) { // use offset when non-zero
+ return new Date(new Date().getTime() + AWS.config.systemClockOffset);
+ } else {
+ return new Date();
+ }
+ },
+
+
+ iso8601: function iso8601(date) {
+ if (date === undefined) { date = util.date.getDate(); }
+ return date.toISOString().replace(/\.\d{3}Z$/, 'Z');
+ },
+
+
+ rfc822: function rfc822(date) {
+ if (date === undefined) { date = util.date.getDate(); }
+ return date.toUTCString();
+ },
+
+
+ unixTimestamp: function unixTimestamp(date) {
+ if (date === undefined) { date = util.date.getDate(); }
+ return date.getTime() / 1000;
+ },
+
+
+ from: function format(date) {
+ if (typeof date === 'number') {
+ return new Date(date * 1000); // unix timestamp
+ } else {
+ return new Date(date);
+ }
+ },
+
+
+ format: function format(date, formatter) {
+ if (!formatter) formatter = 'iso8601';
+ return util.date[formatter](util.date.from(date));
+ },
+
+ parseTimestamp: function parseTimestamp(value) {
+ if (typeof value === 'number') { // unix timestamp (number)
+ return new Date(value * 1000);
+ } else if (value.match(/^\d+$/)) { // unix timestamp
+ return new Date(value * 1000);
+ } else if (value.match(/^\d{4}/)) { // iso8601
+ return new Date(value);
+ } else if (value.match(/^\w{3},/)) { // rfc822
+ return new Date(value);
+ } else {
+ throw util.error(
+ new Error('unhandled timestamp format: ' + value),
+ {code: 'TimestampParserError'});
+ }
+ }
+
+ },
+
+ crypto: {
+ crc32Table: [
+ 0x00000000, 0x77073096, 0xEE0E612C, 0x990951BA, 0x076DC419,
+ 0x706AF48F, 0xE963A535, 0x9E6495A3, 0x0EDB8832, 0x79DCB8A4,
+ 0xE0D5E91E, 0x97D2D988, 0x09B64C2B, 0x7EB17CBD, 0xE7B82D07,
+ 0x90BF1D91, 0x1DB71064, 0x6AB020F2, 0xF3B97148, 0x84BE41DE,
+ 0x1ADAD47D, 0x6DDDE4EB, 0xF4D4B551, 0x83D385C7, 0x136C9856,
+ 0x646BA8C0, 0xFD62F97A, 0x8A65C9EC, 0x14015C4F, 0x63066CD9,
+ 0xFA0F3D63, 0x8D080DF5, 0x3B6E20C8, 0x4C69105E, 0xD56041E4,
+ 0xA2677172, 0x3C03E4D1, 0x4B04D447, 0xD20D85FD, 0xA50AB56B,
+ 0x35B5A8FA, 0x42B2986C, 0xDBBBC9D6, 0xACBCF940, 0x32D86CE3,
+ 0x45DF5C75, 0xDCD60DCF, 0xABD13D59, 0x26D930AC, 0x51DE003A,
+ 0xC8D75180, 0xBFD06116, 0x21B4F4B5, 0x56B3C423, 0xCFBA9599,
+ 0xB8BDA50F, 0x2802B89E, 0x5F058808, 0xC60CD9B2, 0xB10BE924,
+ 0x2F6F7C87, 0x58684C11, 0xC1611DAB, 0xB6662D3D, 0x76DC4190,
+ 0x01DB7106, 0x98D220BC, 0xEFD5102A, 0x71B18589, 0x06B6B51F,
+ 0x9FBFE4A5, 0xE8B8D433, 0x7807C9A2, 0x0F00F934, 0x9609A88E,
+ 0xE10E9818, 0x7F6A0DBB, 0x086D3D2D, 0x91646C97, 0xE6635C01,
+ 0x6B6B51F4, 0x1C6C6162, 0x856530D8, 0xF262004E, 0x6C0695ED,
+ 0x1B01A57B, 0x8208F4C1, 0xF50FC457, 0x65B0D9C6, 0x12B7E950,
+ 0x8BBEB8EA, 0xFCB9887C, 0x62DD1DDF, 0x15DA2D49, 0x8CD37CF3,
+ 0xFBD44C65, 0x4DB26158, 0x3AB551CE, 0xA3BC0074, 0xD4BB30E2,
+ 0x4ADFA541, 0x3DD895D7, 0xA4D1C46D, 0xD3D6F4FB, 0x4369E96A,
+ 0x346ED9FC, 0xAD678846, 0xDA60B8D0, 0x44042D73, 0x33031DE5,
+ 0xAA0A4C5F, 0xDD0D7CC9, 0x5005713C, 0x270241AA, 0xBE0B1010,
+ 0xC90C2086, 0x5768B525, 0x206F85B3, 0xB966D409, 0xCE61E49F,
+ 0x5EDEF90E, 0x29D9C998, 0xB0D09822, 0xC7D7A8B4, 0x59B33D17,
+ 0x2EB40D81, 0xB7BD5C3B, 0xC0BA6CAD, 0xEDB88320, 0x9ABFB3B6,
+ 0x03B6E20C, 0x74B1D29A, 0xEAD54739, 0x9DD277AF, 0x04DB2615,
+ 0x73DC1683, 0xE3630B12, 0x94643B84, 0x0D6D6A3E, 0x7A6A5AA8,
+ 0xE40ECF0B, 0x9309FF9D, 0x0A00AE27, 0x7D079EB1, 0xF00F9344,
+ 0x8708A3D2, 0x1E01F268, 0x6906C2FE, 0xF762575D, 0x806567CB,
+ 0x196C3671, 0x6E6B06E7, 0xFED41B76, 0x89D32BE0, 0x10DA7A5A,
+ 0x67DD4ACC, 0xF9B9DF6F, 0x8EBEEFF9, 0x17B7BE43, 0x60B08ED5,
+ 0xD6D6A3E8, 0xA1D1937E, 0x38D8C2C4, 0x4FDFF252, 0xD1BB67F1,
+ 0xA6BC5767, 0x3FB506DD, 0x48B2364B, 0xD80D2BDA, 0xAF0A1B4C,
+ 0x36034AF6, 0x41047A60, 0xDF60EFC3, 0xA867DF55, 0x316E8EEF,
+ 0x4669BE79, 0xCB61B38C, 0xBC66831A, 0x256FD2A0, 0x5268E236,
+ 0xCC0C7795, 0xBB0B4703, 0x220216B9, 0x5505262F, 0xC5BA3BBE,
+ 0xB2BD0B28, 0x2BB45A92, 0x5CB36A04, 0xC2D7FFA7, 0xB5D0CF31,
+ 0x2CD99E8B, 0x5BDEAE1D, 0x9B64C2B0, 0xEC63F226, 0x756AA39C,
+ 0x026D930A, 0x9C0906A9, 0xEB0E363F, 0x72076785, 0x05005713,
+ 0x95BF4A82, 0xE2B87A14, 0x7BB12BAE, 0x0CB61B38, 0x92D28E9B,
+ 0xE5D5BE0D, 0x7CDCEFB7, 0x0BDBDF21, 0x86D3D2D4, 0xF1D4E242,
+ 0x68DDB3F8, 0x1FDA836E, 0x81BE16CD, 0xF6B9265B, 0x6FB077E1,
+ 0x18B74777, 0x88085AE6, 0xFF0F6A70, 0x66063BCA, 0x11010B5C,
+ 0x8F659EFF, 0xF862AE69, 0x616BFFD3, 0x166CCF45, 0xA00AE278,
+ 0xD70DD2EE, 0x4E048354, 0x3903B3C2, 0xA7672661, 0xD06016F7,
+ 0x4969474D, 0x3E6E77DB, 0xAED16A4A, 0xD9D65ADC, 0x40DF0B66,
+ 0x37D83BF0, 0xA9BCAE53, 0xDEBB9EC5, 0x47B2CF7F, 0x30B5FFE9,
+ 0xBDBDF21C, 0xCABAC28A, 0x53B39330, 0x24B4A3A6, 0xBAD03605,
+ 0xCDD70693, 0x54DE5729, 0x23D967BF, 0xB3667A2E, 0xC4614AB8,
+ 0x5D681B02, 0x2A6F2B94, 0xB40BBE37, 0xC30C8EA1, 0x5A05DF1B,
+ 0x2D02EF8D],
+
+ crc32: function crc32(data) {
+ var tbl = util.crypto.crc32Table;
+ var crc = 0 ^ -1;
+
+ if (typeof data === 'string') {
+ data = new Buffer(data);
+ }
+
+ for (var i = 0; i < data.length; i++) {
+ var code = data.readUInt8(i);
+ crc = (crc >>> 8) ^ tbl[(crc ^ code) & 0xFF];
+ }
+ return (crc ^ -1) >>> 0;
+ },
+
+ hmac: function hmac(key, string, digest, fn) {
+ if (!digest) digest = 'binary';
+ if (digest === 'buffer') { digest = undefined; }
+ if (!fn) fn = 'sha256';
+ if (typeof string === 'string') string = new Buffer(string);
+ return cryptoLib.createHmac(fn, key).update(string).digest(digest);
+ },
+
+ md5: function md5(data, digest, callback) {
+ return util.crypto.hash('md5', data, digest, callback);
+ },
+
+ sha256: function sha256(data, digest, callback) {
+ return util.crypto.hash('sha256', data, digest, callback);
+ },
+
+ hash: function(algorithm, data, digest, callback) {
+ var hash = util.crypto.createHash(algorithm);
+ if (!digest) { digest = 'binary'; }
+ if (digest === 'buffer') { digest = undefined; }
+ if (typeof data === 'string') data = new Buffer(data);
+ var sliceFn = util.arraySliceFn(data);
+ var isBuffer = Buffer.isBuffer(data);
+ if (util.isBrowser() && typeof ArrayBuffer !== 'undefined' && data && data.buffer instanceof ArrayBuffer) isBuffer = true;
+
+ if (callback && typeof data === 'object' &&
+ typeof data.on === 'function' && !isBuffer) {
+ data.on('data', function(chunk) { hash.update(chunk); });
+ data.on('error', function(err) { callback(err); });
+ data.on('end', function() { callback(null, hash.digest(digest)); });
+ } else if (callback && sliceFn && !isBuffer &&
+ typeof FileReader !== 'undefined') {
+ var index = 0, size = 1024 * 512;
+ var reader = new FileReader();
+ reader.onerror = function() {
+ callback(new Error('Failed to read data.'));
+ };
+ reader.onload = function() {
+ var buf = new Buffer(new Uint8Array(reader.result));
+ hash.update(buf);
+ index += buf.length;
+ reader._continueReading();
+ };
+ reader._continueReading = function() {
+ if (index >= data.size) {
+ callback(null, hash.digest(digest));
+ return;
+ }
+
+ var back = index + size;
+ if (back > data.size) back = data.size;
+ reader.readAsArrayBuffer(sliceFn.call(data, index, back));
+ };
+
+ reader._continueReading();
+ } else {
+ if (util.isBrowser() && typeof data === 'object' && !isBuffer) {
+ data = new Buffer(new Uint8Array(data));
+ }
+ var out = hash.update(data).digest(digest);
+ if (callback) callback(null, out);
+ return out;
+ }
+ },
+
+ toHex: function toHex(data) {
+ var out = [];
+ for (var i = 0; i < data.length; i++) {
+ out.push(('0' + data.charCodeAt(i).toString(16)).substr(-2, 2));
+ }
+ return out.join('');
+ },
+
+ createHash: function createHash(algorithm) {
+ return cryptoLib.createHash(algorithm);
+ }
+
+ },
+
+
+
+
+ abort: {},
+
+ each: function each(object, iterFunction) {
+ for (var key in object) {
+ if (Object.prototype.hasOwnProperty.call(object, key)) {
+ var ret = iterFunction.call(this, key, object[key]);
+ if (ret === util.abort) break;
+ }
+ }
+ },
+
+ arrayEach: function arrayEach(array, iterFunction) {
+ for (var idx in array) {
+ if (array.hasOwnProperty(idx)) {
+ var ret = iterFunction.call(this, array[idx], parseInt(idx, 10));
+ if (ret === util.abort) break;
+ }
+ }
+ },
+
+ update: function update(obj1, obj2) {
+ util.each(obj2, function iterator(key, item) {
+ obj1[key] = item;
+ });
+ return obj1;
+ },
+
+ merge: function merge(obj1, obj2) {
+ return util.update(util.copy(obj1), obj2);
+ },
+
+ copy: function copy(object) {
+ if (object === null || object === undefined) return object;
+ var dupe = {};
+ for (var key in object) {
+ dupe[key] = object[key];
+ }
+ return dupe;
+ },
+
+ isEmpty: function isEmpty(obj) {
+ for (var prop in obj) {
+ if (obj.hasOwnProperty(prop)) {
+ return false;
+ }
+ }
+ return true;
+ },
+
+ arraySliceFn: function arraySliceFn(obj) {
+ var fn = obj.slice || obj.webkitSlice || obj.mozSlice;
+ return typeof fn === 'function' ? fn : null;
+ },
+
+ isType: function isType(obj, type) {
+ if (typeof type === 'function') type = util.typeName(type);
+ return Object.prototype.toString.call(obj) === '[object ' + type + ']';
+ },
+
+ typeName: function typeName(type) {
+ if (type.hasOwnProperty('name')) return type.name;
+ var str = type.toString();
+ var match = str.match(/^\s*function (.+)\(/);
+ return match ? match[1] : str;
+ },
+
+ error: function error(err, options) {
+ var originalError = null;
+ if (typeof err.message === 'string' && err.message !== '') {
+ if (typeof options === 'string' || (options && options.message)) {
+ originalError = util.copy(err);
+ originalError.message = err.message;
+ }
+ }
+ err.message = err.message || null;
+
+ if (typeof options === 'string') {
+ err.message = options;
+ } else if (typeof options === 'object' && options !== null) {
+ util.update(err, options);
+ if (options.message)
+ err.message = options.message;
+ if (options.code || options.name)
+ err.code = options.code || options.name;
+ if (options.stack)
+ err.stack = options.stack;
+ }
+
+ if (typeof Object.defineProperty === 'function') {
+ Object.defineProperty(err, 'name', {writable: true, enumerable: false});
+ Object.defineProperty(err, 'message', {enumerable: true});
+ }
+
+ err.name = options && options.name || err.name || err.code || 'Error';
+ err.time = new Date();
+
+ if (originalError) err.originalError = originalError;
+
+ return err;
+ },
+
+
+ inherit: function inherit(klass, features) {
+ var newObject = null;
+ if (features === undefined) {
+ features = klass;
+ klass = Object;
+ newObject = {};
+ } else {
+ var ctor = function ConstructorWrapper() {};
+ ctor.prototype = klass.prototype;
+ newObject = new ctor();
+ }
+
+ if (features.constructor === Object) {
+ features.constructor = function() {
+ if (klass !== Object) {
+ return klass.apply(this, arguments);
+ }
+ };
+ }
+
+ features.constructor.prototype = newObject;
+ util.update(features.constructor.prototype, features);
+ features.constructor.__super__ = klass;
+ return features.constructor;
+ },
+
+
+ mixin: function mixin() {
+ var klass = arguments[0];
+ for (var i = 1; i < arguments.length; i++) {
+ for (var prop in arguments[i].prototype) {
+ var fn = arguments[i].prototype[prop];
+ if (prop !== 'constructor') {
+ klass.prototype[prop] = fn;
+ }
+ }
+ }
+ return klass;
+ },
+
+
+ hideProperties: function hideProperties(obj, props) {
+ if (typeof Object.defineProperty !== 'function') return;
+
+ util.arrayEach(props, function (key) {
+ Object.defineProperty(obj, key, {
+ enumerable: false, writable: true, configurable: true });
+ });
+ },
+
+
+ property: function property(obj, name, value, enumerable, isValue) {
+ var opts = {
+ configurable: true,
+ enumerable: enumerable !== undefined ? enumerable : true
+ };
+ if (typeof value === 'function' && !isValue) {
+ opts.get = value;
+ }
+ else {
+ opts.value = value; opts.writable = true;
+ }
+
+ Object.defineProperty(obj, name, opts);
+ },
+
+
+ memoizedProperty: function memoizedProperty(obj, name, get, enumerable) {
+ var cachedValue = null;
+
+ util.property(obj, name, function() {
+ if (cachedValue === null) {
+ cachedValue = get();
+ }
+ return cachedValue;
+ }, enumerable);
+ },
+
+
+ hoistPayloadMember: function hoistPayloadMember(resp) {
+ var req = resp.request;
+ var operation = req.operation;
+ var output = req.service.api.operations[operation].output;
+ if (output.payload) {
+ var payloadMember = output.members[output.payload];
+ var responsePayload = resp.data[output.payload];
+ if (payloadMember.type === 'structure') {
+ util.each(responsePayload, function(key, value) {
+ util.property(resp.data, key, value, false);
+ });
+ }
+ }
+ },
+
+
+ computeSha256: function computeSha256(body, done) {
+ if (util.isNode()) {
+ var Stream = util.nodeRequire('stream').Stream;
+ var fs = util.nodeRequire('fs');
+ if (body instanceof Stream) {
+ if (typeof body.path === 'string') { // assume file object
+ body = fs.createReadStream(body.path);
+ } else { // TODO support other stream types
+ return done(new Error('Non-file stream objects are ' +
+ 'not supported with SigV4'));
+ }
+ }
+ }
+
+ util.crypto.sha256(body, 'hex', function(err, sha) {
+ if (err) done(err);
+ else done(null, sha);
+ });
+ },
+
+
+ isClockSkewed: function isClockSkewed(serverTime) {
+ if (serverTime) {
+ util.property(AWS.config, 'isClockSkewed',
+ Math.abs(new Date().getTime() - serverTime) >= 300000, false);
+ return AWS.config.isClockSkewed;
+ }
+ },
+
+ applyClockOffset: function applyClockOffset(serverTime) {
+ if (serverTime)
+ AWS.config.systemClockOffset = serverTime - new Date().getTime();
+ },
+
+
+ extractRequestId: function extractRequestId(resp) {
+ var requestId = resp.httpResponse.headers['x-amz-request-id'] ||
+ resp.httpResponse.headers['x-amzn-requestid'];
+
+ if (!requestId && resp.data && resp.data.ResponseMetadata) {
+ requestId = resp.data.ResponseMetadata.RequestId;
+ }
+
+ if (requestId) {
+ resp.requestId = requestId;
+ }
+
+ if (resp.error) {
+ resp.error.requestId = requestId;
+ }
+ }
+};
+
+module.exports = util;
+
+}).call(this,require("FWaASH"))
+},{"./core":4,"FWaASH":73,"buffer":62,"crypto":66,"querystring":77,"url":78}],60:[function(require,module,exports){
+var util = require('../util');
+var Shape = require('../model/shape');
+
+function DomXmlParser() { }
+
+DomXmlParser.prototype.parse = function(xml, shape) {
+ if (xml.replace(/^\s+/, '') === '') return {};
+
+ var result, error;
+ try {
+ if (window.DOMParser) {
+ try {
+ var parser = new DOMParser();
+ result = parser.parseFromString(xml, 'text/xml');
+ } catch (syntaxError) {
+ throw util.error(new Error('Parse error in document'),
+ {
+ originalError: syntaxError,
+ code: 'XMLParserError',
+ retryable: true
+ });
+ }
+
+ if (result.documentElement === null) {
+ throw util.error(new Error('Cannot parse empty document.'),
+ {
+ code: 'XMLParserError',
+ retryable: true
+ });
+ }
+
+ var isError = result.getElementsByTagName('parsererror')[0];
+ if (isError && (isError.parentNode === result ||
+ isError.parentNode.nodeName === 'body' ||
+ isError.parentNode.parentNode === result ||
+ isError.parentNode.parentNode.nodeName === 'body')) {
+ var errorElement = isError.getElementsByTagName('div')[0] || isError;
+ throw util.error(new Error(errorElement.textContent || 'Parser error in document'),
+ {
+ code: 'XMLParserError',
+ retryable: true
+ });
+ }
+ } else if (window.ActiveXObject) {
+ result = new window.ActiveXObject('Microsoft.XMLDOM');
+ result.async = false;
+
+ if (!result.loadXML(xml)) {
+ throw util.error(new Error('Parse error in document'),
+ {
+ code: 'XMLParserError',
+ retryable: true
+ });
+ }
+ } else {
+ throw new Error('Cannot load XML parser');
+ }
+ } catch (e) {
+ error = e;
+ }
+
+ if (result && result.documentElement && !error) {
+ var data = parseXml(result.documentElement, shape);
+ var metadata = result.getElementsByTagName('ResponseMetadata')[0];
+ if (metadata) {
+ data.ResponseMetadata = parseXml(metadata, {});
+ }
+ return data;
+ } else if (error) {
+ throw util.error(error || new Error(), {code: 'XMLParserError', retryable: true});
+ } else { // empty xml document
+ return {};
+ }
+};
+
+function parseXml(xml, shape) {
+ if (!shape) shape = {};
+ switch (shape.type) {
+ case 'structure': return parseStructure(xml, shape);
+ case 'map': return parseMap(xml, shape);
+ case 'list': return parseList(xml, shape);
+ case undefined: case null: return parseUnknown(xml);
+ default: return parseScalar(xml, shape);
+ }
+}
+
+function parseStructure(xml, shape) {
+ var data = {};
+ if (xml === null) return data;
+
+ util.each(shape.members, function(memberName, memberShape) {
+ if (memberShape.isXmlAttribute) {
+ if (xml.attributes.hasOwnProperty(memberShape.name)) {
+ var value = xml.attributes[memberShape.name].value;
+ data[memberName] = parseXml({textContent: value}, memberShape);
+ }
+ } else {
+ var xmlChild = memberShape.flattened ? xml :
+ xml.getElementsByTagName(memberShape.name)[0];
+ if (xmlChild) {
+ data[memberName] = parseXml(xmlChild, memberShape);
+ } else if (!memberShape.flattened && memberShape.type === 'list') {
+ data[memberName] = memberShape.defaultValue;
+ }
+ }
+ });
+
+ return data;
+}
+
+function parseMap(xml, shape) {
+ var data = {};
+ var xmlKey = shape.key.name || 'key';
+ var xmlValue = shape.value.name || 'value';
+ var tagName = shape.flattened ? shape.name : 'entry';
+
+ var child = xml.firstElementChild;
+ while (child) {
+ if (child.nodeName === tagName) {
+ var key = child.getElementsByTagName(xmlKey)[0].textContent;
+ var value = child.getElementsByTagName(xmlValue)[0];
+ data[key] = parseXml(value, shape.value);
+ }
+ child = child.nextElementSibling;
+ }
+ return data;
+}
+
+function parseList(xml, shape) {
+ var data = [];
+ var tagName = shape.flattened ? shape.name : (shape.member.name || 'member');
+
+ var child = xml.firstElementChild;
+ while (child) {
+ if (child.nodeName === tagName) {
+ data.push(parseXml(child, shape.member));
+ }
+ child = child.nextElementSibling;
+ }
+ return data;
+}
+
+function parseScalar(xml, shape) {
+ if (xml.getAttribute) {
+ var encoding = xml.getAttribute('encoding');
+ if (encoding === 'base64') {
+ shape = new Shape.create({type: encoding});
+ }
+ }
+
+ var text = xml.textContent;
+ if (text === '') text = null;
+ if (typeof shape.toType === 'function') {
+ return shape.toType(text);
+ } else {
+ return text;
+ }
+}
+
+function parseUnknown(xml) {
+ if (xml === undefined || xml === null) return '';
+
+ if (!xml.firstElementChild) {
+ if (xml.parentNode.parentNode === null) return {};
+ if (xml.childNodes.length === 0) return '';
+ else return xml.textContent;
+ }
+
+ var shape = {type: 'structure', members: {}};
+ var child = xml.firstElementChild;
+ while (child) {
+ var tag = child.nodeName;
+ if (shape.members.hasOwnProperty(tag)) {
+ shape.members[tag].type = 'list';
+ } else {
+ shape.members[tag] = {name: tag};
+ }
+ child = child.nextElementSibling;
+ }
+ return parseStructure(xml, shape);
+}
+
+module.exports = DomXmlParser;
+
+},{"../model/shape":26,"../util":59}],61:[function(require,module,exports){
+var util = require('../util');
+var builder = require('xmlbuilder');
+
+function XmlBuilder() { }
+
+XmlBuilder.prototype.toXML = function(params, shape, rootElement, noEmpty) {
+ var xml = builder.create(rootElement);
+ applyNamespaces(xml, shape);
+ serialize(xml, params, shape);
+ return xml.children.length > 0 || noEmpty ? xml.root().toString() : '';
+};
+
+function serialize(xml, value, shape) {
+ switch (shape.type) {
+ case 'structure': return serializeStructure(xml, value, shape);
+ case 'map': return serializeMap(xml, value, shape);
+ case 'list': return serializeList(xml, value, shape);
+ default: return serializeScalar(xml, value, shape);
+ }
+}
+
+function serializeStructure(xml, params, shape) {
+ util.arrayEach(shape.memberNames, function(memberName) {
+ var memberShape = shape.members[memberName];
+ if (memberShape.location !== 'body') return;
+
+ var value = params[memberName];
+ var name = memberShape.name;
+ if (value !== undefined && value !== null) {
+ if (memberShape.isXmlAttribute) {
+ xml.att(name, value);
+ } else if (memberShape.flattened) {
+ serialize(xml, value, memberShape);
+ } else {
+ var element = xml.ele(name);
+ applyNamespaces(element, memberShape);
+ serialize(element, value, memberShape);
+ }
+ }
+ });
+}
+
+function serializeMap(xml, map, shape) {
+ var xmlKey = shape.key.name || 'key';
+ var xmlValue = shape.value.name || 'value';
+
+ util.each(map, function(key, value) {
+ var entry = xml.ele(shape.flattened ? shape.name : 'entry');
+ serialize(entry.ele(xmlKey), key, shape.key);
+ serialize(entry.ele(xmlValue), value, shape.value);
+ });
+}
+
+function serializeList(xml, list, shape) {
+ if (shape.flattened) {
+ util.arrayEach(list, function(value) {
+ var name = shape.member.name || shape.name;
+ var element = xml.ele(name);
+ serialize(element, value, shape.member);
+ });
+ } else {
+ util.arrayEach(list, function(value) {
+ var name = shape.member.name || 'member';
+ var element = xml.ele(name);
+ serialize(element, value, shape.member);
+ });
+ }
+}
+
+function serializeScalar(xml, value, shape) {
+ xml.txt(shape.toWireFormat(value));
+}
+
+function applyNamespaces(xml, shape) {
+ var uri, prefix = 'xmlns';
+ if (shape.xmlNamespaceUri) {
+ uri = shape.xmlNamespaceUri;
+ if (shape.xmlNamespacePrefix) prefix += ':' + shape.xmlNamespacePrefix;
+ } else if (xml.isRoot && shape.api.xmlNamespaceUri) {
+ uri = shape.api.xmlNamespaceUri;
+ }
+
+ if (uri) xml.att(prefix, uri);
+}
+
+module.exports = XmlBuilder;
+
+},{"../util":59,"xmlbuilder":97}],62:[function(require,module,exports){
+
+
+var base64 = require('base64-js')
+var ieee754 = require('ieee754')
+
+exports.Buffer = Buffer
+exports.SlowBuffer = Buffer
+exports.INSPECT_MAX_BYTES = 50
+Buffer.poolSize = 8192
+
+
+Buffer._useTypedArrays = (function () {
+ try {
+ var buf = new ArrayBuffer(0)
+ var arr = new Uint8Array(buf)
+ arr.foo = function () { return 42 }
+ return 42 === arr.foo() &&
+ typeof arr.subarray === 'function' // Chrome 9-10 lack `subarray`
+ } catch (e) {
+ return false
+ }
+})()
+
+
+function Buffer (subject, encoding, noZero) {
+ if (!(this instanceof Buffer))
+ return new Buffer(subject, encoding, noZero)
+
+ var type = typeof subject
+
+ if (encoding === 'base64' && type === 'string') {
+ subject = stringtrim(subject)
+ while (subject.length % 4 !== 0) {
+ subject = subject + '='
+ }
+ }
+
+ var length
+ if (type === 'number')
+ length = coerce(subject)
+ else if (type === 'string')
+ length = Buffer.byteLength(subject, encoding)
+ else if (type === 'object')
+ length = coerce(subject.length) // assume that object is array-like
+ else
+ throw new Error('First argument needs to be a number, array or string.')
+
+ var buf
+ if (Buffer._useTypedArrays) {
+ buf = Buffer._augment(new Uint8Array(length))
+ } else {
+ buf = this
+ buf.length = length
+ buf._isBuffer = true
+ }
+
+ var i
+ if (Buffer._useTypedArrays && typeof subject.byteLength === 'number') {
+ buf._set(subject)
+ } else if (isArrayish(subject)) {
+ for (i = 0; i < length; i++) {
+ if (Buffer.isBuffer(subject))
+ buf[i] = subject.readUInt8(i)
+ else
+ buf[i] = subject[i]
+ }
+ } else if (type === 'string') {
+ buf.write(subject, 0, encoding)
+ } else if (type === 'number' && !Buffer._useTypedArrays && !noZero) {
+ for (i = 0; i < length; i++) {
+ buf[i] = 0
+ }
+ }
+
+ return buf
+}
+
+
+Buffer.isEncoding = function (encoding) {
+ switch (String(encoding).toLowerCase()) {
+ case 'hex':
+ case 'utf8':
+ case 'utf-8':
+ case 'ascii':
+ case 'binary':
+ case 'base64':
+ case 'raw':
+ case 'ucs2':
+ case 'ucs-2':
+ case 'utf16le':
+ case 'utf-16le':
+ return true
+ default:
+ return false
+ }
+}
+
+Buffer.isBuffer = function (b) {
+ return !!(b !== null && b !== undefined && b._isBuffer)
+}
+
+Buffer.byteLength = function (str, encoding) {
+ var ret
+ str = str + ''
+ switch (encoding || 'utf8') {
+ case 'hex':
+ ret = str.length / 2
+ break
+ case 'utf8':
+ case 'utf-8':
+ ret = utf8ToBytes(str).length
+ break
+ case 'ascii':
+ case 'binary':
+ case 'raw':
+ ret = str.length
+ break
+ case 'base64':
+ ret = base64ToBytes(str).length
+ break
+ case 'ucs2':
+ case 'ucs-2':
+ case 'utf16le':
+ case 'utf-16le':
+ ret = str.length * 2
+ break
+ default:
+ throw new Error('Unknown encoding')
+ }
+ return ret
+}
+
+Buffer.concat = function (list, totalLength) {
+ assert(isArray(list), 'Usage: Buffer.concat(list, [totalLength])\n' +
+ 'list should be an Array.')
+
+ if (list.length === 0) {
+ return new Buffer(0)
+ } else if (list.length === 1) {
+ return list[0]
+ }
+
+ var i
+ if (typeof totalLength !== 'number') {
+ totalLength = 0
+ for (i = 0; i < list.length; i++) {
+ totalLength += list[i].length
+ }
+ }
+
+ var buf = new Buffer(totalLength)
+ var pos = 0
+ for (i = 0; i < list.length; i++) {
+ var item = list[i]
+ item.copy(buf, pos)
+ pos += item.length
+ }
+ return buf
+}
+
+
+function _hexWrite (buf, string, offset, length) {
+ offset = Number(offset) || 0
+ var remaining = buf.length - offset
+ if (!length) {
+ length = remaining
+ } else {
+ length = Number(length)
+ if (length > remaining) {
+ length = remaining
+ }
+ }
+
+ var strLen = string.length
+ assert(strLen % 2 === 0, 'Invalid hex string')
+
+ if (length > strLen / 2) {
+ length = strLen / 2
+ }
+ for (var i = 0; i < length; i++) {
+ var byte = parseInt(string.substr(i * 2, 2), 16)
+ assert(!isNaN(byte), 'Invalid hex string')
+ buf[offset + i] = byte
+ }
+ Buffer._charsWritten = i * 2
+ return i
+}
+
+function _utf8Write (buf, string, offset, length) {
+ var charsWritten = Buffer._charsWritten =
+ blitBuffer(utf8ToBytes(string), buf, offset, length)
+ return charsWritten
+}
+
+function _asciiWrite (buf, string, offset, length) {
+ var charsWritten = Buffer._charsWritten =
+ blitBuffer(asciiToBytes(string), buf, offset, length)
+ return charsWritten
+}
+
+function _binaryWrite (buf, string, offset, length) {
+ return _asciiWrite(buf, string, offset, length)
+}
+
+function _base64Write (buf, string, offset, length) {
+ var charsWritten = Buffer._charsWritten =
+ blitBuffer(base64ToBytes(string), buf, offset, length)
+ return charsWritten
+}
+
+function _utf16leWrite (buf, string, offset, length) {
+ var charsWritten = Buffer._charsWritten =
+ blitBuffer(utf16leToBytes(string), buf, offset, length)
+ return charsWritten
+}
+
+Buffer.prototype.write = function (string, offset, length, encoding) {
+ if (isFinite(offset)) {
+ if (!isFinite(length)) {
+ encoding = length
+ length = undefined
+ }
+ } else { // legacy
+ var swap = encoding
+ encoding = offset
+ offset = length
+ length = swap
+ }
+
+ offset = Number(offset) || 0
+ var remaining = this.length - offset
+ if (!length) {
+ length = remaining
+ } else {
+ length = Number(length)
+ if (length > remaining) {
+ length = remaining
+ }
+ }
+ encoding = String(encoding || 'utf8').toLowerCase()
+
+ var ret
+ switch (encoding) {
+ case 'hex':
+ ret = _hexWrite(this, string, offset, length)
+ break
+ case 'utf8':
+ case 'utf-8':
+ ret = _utf8Write(this, string, offset, length)
+ break
+ case 'ascii':
+ ret = _asciiWrite(this, string, offset, length)
+ break
+ case 'binary':
+ ret = _binaryWrite(this, string, offset, length)
+ break
+ case 'base64':
+ ret = _base64Write(this, string, offset, length)
+ break
+ case 'ucs2':
+ case 'ucs-2':
+ case 'utf16le':
+ case 'utf-16le':
+ ret = _utf16leWrite(this, string, offset, length)
+ break
+ default:
+ throw new Error('Unknown encoding')
+ }
+ return ret
+}
+
+Buffer.prototype.toString = function (encoding, start, end) {
+ var self = this
+
+ encoding = String(encoding || 'utf8').toLowerCase()
+ start = Number(start) || 0
+ end = (end !== undefined)
+ ? Number(end)
+ : end = self.length
+
+ if (end === start)
+ return ''
+
+ var ret
+ switch (encoding) {
+ case 'hex':
+ ret = _hexSlice(self, start, end)
+ break
+ case 'utf8':
+ case 'utf-8':
+ ret = _utf8Slice(self, start, end)
+ break
+ case 'ascii':
+ ret = _asciiSlice(self, start, end)
+ break
+ case 'binary':
+ ret = _binarySlice(self, start, end)
+ break
+ case 'base64':
+ ret = _base64Slice(self, start, end)
+ break
+ case 'ucs2':
+ case 'ucs-2':
+ case 'utf16le':
+ case 'utf-16le':
+ ret = _utf16leSlice(self, start, end)
+ break
+ default:
+ throw new Error('Unknown encoding')
+ }
+ return ret
+}
+
+Buffer.prototype.toJSON = function () {
+ return {
+ type: 'Buffer',
+ data: Array.prototype.slice.call(this._arr || this, 0)
+ }
+}
+
+Buffer.prototype.copy = function (target, target_start, start, end) {
+ var source = this
+
+ if (!start) start = 0
+ if (!end && end !== 0) end = this.length
+ if (!target_start) target_start = 0
+
+ if (end === start) return
+ if (target.length === 0 || source.length === 0) return
+
+ assert(end >= start, 'sourceEnd < sourceStart')
+ assert(target_start >= 0 && target_start < target.length,
+ 'targetStart out of bounds')
+ assert(start >= 0 && start < source.length, 'sourceStart out of bounds')
+ assert(end >= 0 && end <= source.length, 'sourceEnd out of bounds')
+
+ if (end > this.length)
+ end = this.length
+ if (target.length - target_start < end - start)
+ end = target.length - target_start + start
+
+ var len = end - start
+
+ if (len < 100 || !Buffer._useTypedArrays) {
+ for (var i = 0; i < len; i++)
+ target[i + target_start] = this[i + start]
+ } else {
+ target._set(this.subarray(start, start + len), target_start)
+ }
+}
+
+function _base64Slice (buf, start, end) {
+ if (start === 0 && end === buf.length) {
+ return base64.fromByteArray(buf)
+ } else {
+ return base64.fromByteArray(buf.slice(start, end))
+ }
+}
+
+function _utf8Slice (buf, start, end) {
+ var res = ''
+ var tmp = ''
+ end = Math.min(buf.length, end)
+
+ for (var i = start; i < end; i++) {
+ if (buf[i] <= 0x7F) {
+ res += decodeUtf8Char(tmp) + String.fromCharCode(buf[i])
+ tmp = ''
+ } else {
+ tmp += '%' + buf[i].toString(16)
+ }
+ }
+
+ return res + decodeUtf8Char(tmp)
+}
+
+function _asciiSlice (buf, start, end) {
+ var ret = ''
+ end = Math.min(buf.length, end)
+
+ for (var i = start; i < end; i++)
+ ret += String.fromCharCode(buf[i])
+ return ret
+}
+
+function _binarySlice (buf, start, end) {
+ return _asciiSlice(buf, start, end)
+}
+
+function _hexSlice (buf, start, end) {
+ var len = buf.length
+
+ if (!start || start < 0) start = 0
+ if (!end || end < 0 || end > len) end = len
+
+ var out = ''
+ for (var i = start; i < end; i++) {
+ out += toHex(buf[i])
+ }
+ return out
+}
+
+function _utf16leSlice (buf, start, end) {
+ var bytes = buf.slice(start, end)
+ var res = ''
+ for (var i = 0; i < bytes.length; i += 2) {
+ res += String.fromCharCode(bytes[i] + bytes[i+1] * 256)
+ }
+ return res
+}
+
+Buffer.prototype.slice = function (start, end) {
+ var len = this.length
+ start = clamp(start, len, 0)
+ end = clamp(end, len, len)
+
+ if (Buffer._useTypedArrays) {
+ return Buffer._augment(this.subarray(start, end))
+ } else {
+ var sliceLen = end - start
+ var newBuf = new Buffer(sliceLen, undefined, true)
+ for (var i = 0; i < sliceLen; i++) {
+ newBuf[i] = this[i + start]
+ }
+ return newBuf
+ }
+}
+
+Buffer.prototype.get = function (offset) {
+ console.log('.get() is deprecated. Access using array indexes instead.')
+ return this.readUInt8(offset)
+}
+
+Buffer.prototype.set = function (v, offset) {
+ console.log('.set() is deprecated. Access using array indexes instead.')
+ return this.writeUInt8(v, offset)
+}
+
+Buffer.prototype.readUInt8 = function (offset, noAssert) {
+ if (!noAssert) {
+ assert(offset !== undefined && offset !== null, 'missing offset')
+ assert(offset < this.length, 'Trying to read beyond buffer length')
+ }
+
+ if (offset >= this.length)
+ return
+
+ return this[offset]
+}
+
+function _readUInt16 (buf, offset, littleEndian, noAssert) {
+ if (!noAssert) {
+ assert(typeof littleEndian === 'boolean', 'missing or invalid endian')
+ assert(offset !== undefined && offset !== null, 'missing offset')
+ assert(offset + 1 < buf.length, 'Trying to read beyond buffer length')
+ }
+
+ var len = buf.length
+ if (offset >= len)
+ return
+
+ var val
+ if (littleEndian) {
+ val = buf[offset]
+ if (offset + 1 < len)
+ val |= buf[offset + 1] << 8
+ } else {
+ val = buf[offset] << 8
+ if (offset + 1 < len)
+ val |= buf[offset + 1]
+ }
+ return val
+}
+
+Buffer.prototype.readUInt16LE = function (offset, noAssert) {
+ return _readUInt16(this, offset, true, noAssert)
+}
+
+Buffer.prototype.readUInt16BE = function (offset, noAssert) {
+ return _readUInt16(this, offset, false, noAssert)
+}
+
+function _readUInt32 (buf, offset, littleEndian, noAssert) {
+ if (!noAssert) {
+ assert(typeof littleEndian === 'boolean', 'missing or invalid endian')
+ assert(offset !== undefined && offset !== null, 'missing offset')
+ assert(offset + 3 < buf.length, 'Trying to read beyond buffer length')
+ }
+
+ var len = buf.length
+ if (offset >= len)
+ return
+
+ var val
+ if (littleEndian) {
+ if (offset + 2 < len)
+ val = buf[offset + 2] << 16
+ if (offset + 1 < len)
+ val |= buf[offset + 1] << 8
+ val |= buf[offset]
+ if (offset + 3 < len)
+ val = val + (buf[offset + 3] << 24 >>> 0)
+ } else {
+ if (offset + 1 < len)
+ val = buf[offset + 1] << 16
+ if (offset + 2 < len)
+ val |= buf[offset + 2] << 8
+ if (offset + 3 < len)
+ val |= buf[offset + 3]
+ val = val + (buf[offset] << 24 >>> 0)
+ }
+ return val
+}
+
+Buffer.prototype.readUInt32LE = function (offset, noAssert) {
+ return _readUInt32(this, offset, true, noAssert)
+}
+
+Buffer.prototype.readUInt32BE = function (offset, noAssert) {
+ return _readUInt32(this, offset, false, noAssert)
+}
+
+Buffer.prototype.readInt8 = function (offset, noAssert) {
+ if (!noAssert) {
+ assert(offset !== undefined && offset !== null,
+ 'missing offset')
+ assert(offset < this.length, 'Trying to read beyond buffer length')
+ }
+
+ if (offset >= this.length)
+ return
+
+ var neg = this[offset] & 0x80
+ if (neg)
+ return (0xff - this[offset] + 1) * -1
+ else
+ return this[offset]
+}
+
+function _readInt16 (buf, offset, littleEndian, noAssert) {
+ if (!noAssert) {
+ assert(typeof littleEndian === 'boolean', 'missing or invalid endian')
+ assert(offset !== undefined && offset !== null, 'missing offset')
+ assert(offset + 1 < buf.length, 'Trying to read beyond buffer length')
+ }
+
+ var len = buf.length
+ if (offset >= len)
+ return
+
+ var val = _readUInt16(buf, offset, littleEndian, true)
+ var neg = val & 0x8000
+ if (neg)
+ return (0xffff - val + 1) * -1
+ else
+ return val
+}
+
+Buffer.prototype.readInt16LE = function (offset, noAssert) {
+ return _readInt16(this, offset, true, noAssert)
+}
+
+Buffer.prototype.readInt16BE = function (offset, noAssert) {
+ return _readInt16(this, offset, false, noAssert)
+}
+
+function _readInt32 (buf, offset, littleEndian, noAssert) {
+ if (!noAssert) {
+ assert(typeof littleEndian === 'boolean', 'missing or invalid endian')
+ assert(offset !== undefined && offset !== null, 'missing offset')
+ assert(offset + 3 < buf.length, 'Trying to read beyond buffer length')
+ }
+
+ var len = buf.length
+ if (offset >= len)
+ return
+
+ var val = _readUInt32(buf, offset, littleEndian, true)
+ var neg = val & 0x80000000
+ if (neg)
+ return (0xffffffff - val + 1) * -1
+ else
+ return val
+}
+
+Buffer.prototype.readInt32LE = function (offset, noAssert) {
+ return _readInt32(this, offset, true, noAssert)
+}
+
+Buffer.prototype.readInt32BE = function (offset, noAssert) {
+ return _readInt32(this, offset, false, noAssert)
+}
+
+function _readFloat (buf, offset, littleEndian, noAssert) {
+ if (!noAssert) {
+ assert(typeof littleEndian === 'boolean', 'missing or invalid endian')
+ assert(offset + 3 < buf.length, 'Trying to read beyond buffer length')
+ }
+
+ return ieee754.read(buf, offset, littleEndian, 23, 4)
+}
+
+Buffer.prototype.readFloatLE = function (offset, noAssert) {
+ return _readFloat(this, offset, true, noAssert)
+}
+
+Buffer.prototype.readFloatBE = function (offset, noAssert) {
+ return _readFloat(this, offset, false, noAssert)
+}
+
+function _readDouble (buf, offset, littleEndian, noAssert) {
+ if (!noAssert) {
+ assert(typeof littleEndian === 'boolean', 'missing or invalid endian')
+ assert(offset + 7 < buf.length, 'Trying to read beyond buffer length')
+ }
+
+ return ieee754.read(buf, offset, littleEndian, 52, 8)
+}
+
+Buffer.prototype.readDoubleLE = function (offset, noAssert) {
+ return _readDouble(this, offset, true, noAssert)
+}
+
+Buffer.prototype.readDoubleBE = function (offset, noAssert) {
+ return _readDouble(this, offset, false, noAssert)
+}
+
+Buffer.prototype.writeUInt8 = function (value, offset, noAssert) {
+ if (!noAssert) {
+ assert(value !== undefined && value !== null, 'missing value')
+ assert(offset !== undefined && offset !== null, 'missing offset')
+ assert(offset < this.length, 'trying to write beyond buffer length')
+ verifuint(value, 0xff)
+ }
+
+ if (offset >= this.length) return
+
+ this[offset] = value
+}
+
+function _writeUInt16 (buf, value, offset, littleEndian, noAssert) {
+ if (!noAssert) {
+ assert(value !== undefined && value !== null, 'missing value')
+ assert(typeof littleEndian === 'boolean', 'missing or invalid endian')
+ assert(offset !== undefined && offset !== null, 'missing offset')
+ assert(offset + 1 < buf.length, 'trying to write beyond buffer length')
+ verifuint(value, 0xffff)
+ }
+
+ var len = buf.length
+ if (offset >= len)
+ return
+
+ for (var i = 0, j = Math.min(len - offset, 2); i < j; i++) {
+ buf[offset + i] =
+ (value & (0xff << (8 * (littleEndian ? i : 1 - i)))) >>>
+ (littleEndian ? i : 1 - i) * 8
+ }
+}
+
+Buffer.prototype.writeUInt16LE = function (value, offset, noAssert) {
+ _writeUInt16(this, value, offset, true, noAssert)
+}
+
+Buffer.prototype.writeUInt16BE = function (value, offset, noAssert) {
+ _writeUInt16(this, value, offset, false, noAssert)
+}
+
+function _writeUInt32 (buf, value, offset, littleEndian, noAssert) {
+ if (!noAssert) {
+ assert(value !== undefined && value !== null, 'missing value')
+ assert(typeof littleEndian === 'boolean', 'missing or invalid endian')
+ assert(offset !== undefined && offset !== null, 'missing offset')
+ assert(offset + 3 < buf.length, 'trying to write beyond buffer length')
+ verifuint(value, 0xffffffff)
+ }
+
+ var len = buf.length
+ if (offset >= len)
+ return
+
+ for (var i = 0, j = Math.min(len - offset, 4); i < j; i++) {
+ buf[offset + i] =
+ (value >>> (littleEndian ? i : 3 - i) * 8) & 0xff
+ }
+}
+
+Buffer.prototype.writeUInt32LE = function (value, offset, noAssert) {
+ _writeUInt32(this, value, offset, true, noAssert)
+}
+
+Buffer.prototype.writeUInt32BE = function (value, offset, noAssert) {
+ _writeUInt32(this, value, offset, false, noAssert)
+}
+
+Buffer.prototype.writeInt8 = function (value, offset, noAssert) {
+ if (!noAssert) {
+ assert(value !== undefined && value !== null, 'missing value')
+ assert(offset !== undefined && offset !== null, 'missing offset')
+ assert(offset < this.length, 'Trying to write beyond buffer length')
+ verifsint(value, 0x7f, -0x80)
+ }
+
+ if (offset >= this.length)
+ return
+
+ if (value >= 0)
+ this.writeUInt8(value, offset, noAssert)
+ else
+ this.writeUInt8(0xff + value + 1, offset, noAssert)
+}
+
+function _writeInt16 (buf, value, offset, littleEndian, noAssert) {
+ if (!noAssert) {
+ assert(value !== undefined && value !== null, 'missing value')
+ assert(typeof littleEndian === 'boolean', 'missing or invalid endian')
+ assert(offset !== undefined && offset !== null, 'missing offset')
+ assert(offset + 1 < buf.length, 'Trying to write beyond buffer length')
+ verifsint(value, 0x7fff, -0x8000)
+ }
+
+ var len = buf.length
+ if (offset >= len)
+ return
+
+ if (value >= 0)
+ _writeUInt16(buf, value, offset, littleEndian, noAssert)
+ else
+ _writeUInt16(buf, 0xffff + value + 1, offset, littleEndian, noAssert)
+}
+
+Buffer.prototype.writeInt16LE = function (value, offset, noAssert) {
+ _writeInt16(this, value, offset, true, noAssert)
+}
+
+Buffer.prototype.writeInt16BE = function (value, offset, noAssert) {
+ _writeInt16(this, value, offset, false, noAssert)
+}
+
+function _writeInt32 (buf, value, offset, littleEndian, noAssert) {
+ if (!noAssert) {
+ assert(value !== undefined && value !== null, 'missing value')
+ assert(typeof littleEndian === 'boolean', 'missing or invalid endian')
+ assert(offset !== undefined && offset !== null, 'missing offset')
+ assert(offset + 3 < buf.length, 'Trying to write beyond buffer length')
+ verifsint(value, 0x7fffffff, -0x80000000)
+ }
+
+ var len = buf.length
+ if (offset >= len)
+ return
+
+ if (value >= 0)
+ _writeUInt32(buf, value, offset, littleEndian, noAssert)
+ else
+ _writeUInt32(buf, 0xffffffff + value + 1, offset, littleEndian, noAssert)
+}
+
+Buffer.prototype.writeInt32LE = function (value, offset, noAssert) {
+ _writeInt32(this, value, offset, true, noAssert)
+}
+
+Buffer.prototype.writeInt32BE = function (value, offset, noAssert) {
+ _writeInt32(this, value, offset, false, noAssert)
+}
+
+function _writeFloat (buf, value, offset, littleEndian, noAssert) {
+ if (!noAssert) {
+ assert(value !== undefined && value !== null, 'missing value')
+ assert(typeof littleEndian === 'boolean', 'missing or invalid endian')
+ assert(offset !== undefined && offset !== null, 'missing offset')
+ assert(offset + 3 < buf.length, 'Trying to write beyond buffer length')
+ verifIEEE754(value, 3.4028234663852886e+38, -3.4028234663852886e+38)
+ }
+
+ var len = buf.length
+ if (offset >= len)
+ return
+
+ ieee754.write(buf, value, offset, littleEndian, 23, 4)
+}
+
+Buffer.prototype.writeFloatLE = function (value, offset, noAssert) {
+ _writeFloat(this, value, offset, true, noAssert)
+}
+
+Buffer.prototype.writeFloatBE = function (value, offset, noAssert) {
+ _writeFloat(this, value, offset, false, noAssert)
+}
+
+function _writeDouble (buf, value, offset, littleEndian, noAssert) {
+ if (!noAssert) {
+ assert(value !== undefined && value !== null, 'missing value')
+ assert(typeof littleEndian === 'boolean', 'missing or invalid endian')
+ assert(offset !== undefined && offset !== null, 'missing offset')
+ assert(offset + 7 < buf.length,
+ 'Trying to write beyond buffer length')
+ verifIEEE754(value, 1.7976931348623157E+308, -1.7976931348623157E+308)
+ }
+
+ var len = buf.length
+ if (offset >= len)
+ return
+
+ ieee754.write(buf, value, offset, littleEndian, 52, 8)
+}
+
+Buffer.prototype.writeDoubleLE = function (value, offset, noAssert) {
+ _writeDouble(this, value, offset, true, noAssert)
+}
+
+Buffer.prototype.writeDoubleBE = function (value, offset, noAssert) {
+ _writeDouble(this, value, offset, false, noAssert)
+}
+
+Buffer.prototype.fill = function (value, start, end) {
+ if (!value) value = 0
+ if (!start) start = 0
+ if (!end) end = this.length
+
+ if (typeof value === 'string') {
+ value = value.charCodeAt(0)
+ }
+
+ assert(typeof value === 'number' && !isNaN(value), 'value is not a number')
+ assert(end >= start, 'end < start')
+
+ if (end === start) return
+ if (this.length === 0) return
+
+ assert(start >= 0 && start < this.length, 'start out of bounds')
+ assert(end >= 0 && end <= this.length, 'end out of bounds')
+
+ for (var i = start; i < end; i++) {
+ this[i] = value
+ }
+}
+
+Buffer.prototype.inspect = function () {
+ var out = []
+ var len = this.length
+ for (var i = 0; i < len; i++) {
+ out[i] = toHex(this[i])
+ if (i === exports.INSPECT_MAX_BYTES) {
+ out[i + 1] = '...'
+ break
+ }
+ }
+ return ''
+}
+
+
+Buffer.prototype.toArrayBuffer = function () {
+ if (typeof Uint8Array !== 'undefined') {
+ if (Buffer._useTypedArrays) {
+ return (new Buffer(this)).buffer
+ } else {
+ var buf = new Uint8Array(this.length)
+ for (var i = 0, len = buf.length; i < len; i += 1)
+ buf[i] = this[i]
+ return buf.buffer
+ }
+ } else {
+ throw new Error('Buffer.toArrayBuffer not supported in this browser')
+ }
+}
+
+
+function stringtrim (str) {
+ if (str.trim) return str.trim()
+ return str.replace(/^\s+|\s+$/g, '')
+}
+
+var BP = Buffer.prototype
+
+
+Buffer._augment = function (arr) {
+ arr._isBuffer = true
+
+ arr._get = arr.get
+ arr._set = arr.set
+
+ arr.get = BP.get
+ arr.set = BP.set
+
+ arr.write = BP.write
+ arr.toString = BP.toString
+ arr.toLocaleString = BP.toString
+ arr.toJSON = BP.toJSON
+ arr.copy = BP.copy
+ arr.slice = BP.slice
+ arr.readUInt8 = BP.readUInt8
+ arr.readUInt16LE = BP.readUInt16LE
+ arr.readUInt16BE = BP.readUInt16BE
+ arr.readUInt32LE = BP.readUInt32LE
+ arr.readUInt32BE = BP.readUInt32BE
+ arr.readInt8 = BP.readInt8
+ arr.readInt16LE = BP.readInt16LE
+ arr.readInt16BE = BP.readInt16BE
+ arr.readInt32LE = BP.readInt32LE
+ arr.readInt32BE = BP.readInt32BE
+ arr.readFloatLE = BP.readFloatLE
+ arr.readFloatBE = BP.readFloatBE
+ arr.readDoubleLE = BP.readDoubleLE
+ arr.readDoubleBE = BP.readDoubleBE
+ arr.writeUInt8 = BP.writeUInt8
+ arr.writeUInt16LE = BP.writeUInt16LE
+ arr.writeUInt16BE = BP.writeUInt16BE
+ arr.writeUInt32LE = BP.writeUInt32LE
+ arr.writeUInt32BE = BP.writeUInt32BE
+ arr.writeInt8 = BP.writeInt8
+ arr.writeInt16LE = BP.writeInt16LE
+ arr.writeInt16BE = BP.writeInt16BE
+ arr.writeInt32LE = BP.writeInt32LE
+ arr.writeInt32BE = BP.writeInt32BE
+ arr.writeFloatLE = BP.writeFloatLE
+ arr.writeFloatBE = BP.writeFloatBE
+ arr.writeDoubleLE = BP.writeDoubleLE
+ arr.writeDoubleBE = BP.writeDoubleBE
+ arr.fill = BP.fill
+ arr.inspect = BP.inspect
+ arr.toArrayBuffer = BP.toArrayBuffer
+
+ return arr
+}
+
+function clamp (index, len, defaultValue) {
+ if (typeof index !== 'number') return defaultValue
+ index = ~~index; // Coerce to integer.
+ if (index >= len) return len
+ if (index >= 0) return index
+ index += len
+ if (index >= 0) return index
+ return 0
+}
+
+function coerce (length) {
+ length = ~~Math.ceil(+length)
+ return length < 0 ? 0 : length
+}
+
+function isArray (subject) {
+ return (Array.isArray || function (subject) {
+ return Object.prototype.toString.call(subject) === '[object Array]'
+ })(subject)
+}
+
+function isArrayish (subject) {
+ return isArray(subject) || Buffer.isBuffer(subject) ||
+ subject && typeof subject === 'object' &&
+ typeof subject.length === 'number'
+}
+
+function toHex (n) {
+ if (n < 16) return '0' + n.toString(16)
+ return n.toString(16)
+}
+
+function utf8ToBytes (str) {
+ var byteArray = []
+ for (var i = 0; i < str.length; i++) {
+ var b = str.charCodeAt(i)
+ if (b <= 0x7F)
+ byteArray.push(str.charCodeAt(i))
+ else {
+ var start = i
+ if (b >= 0xD800 && b <= 0xDFFF) i++
+ var h = encodeURIComponent(str.slice(start, i+1)).substr(1).split('%')
+ for (var j = 0; j < h.length; j++)
+ byteArray.push(parseInt(h[j], 16))
+ }
+ }
+ return byteArray
+}
+
+function asciiToBytes (str) {
+ var byteArray = []
+ for (var i = 0; i < str.length; i++) {
+ byteArray.push(str.charCodeAt(i) & 0xFF)
+ }
+ return byteArray
+}
+
+function utf16leToBytes (str) {
+ var c, hi, lo
+ var byteArray = []
+ for (var i = 0; i < str.length; i++) {
+ c = str.charCodeAt(i)
+ hi = c >> 8
+ lo = c % 256
+ byteArray.push(lo)
+ byteArray.push(hi)
+ }
+
+ return byteArray
+}
+
+function base64ToBytes (str) {
+ return base64.toByteArray(str)
+}
+
+function blitBuffer (src, dst, offset, length) {
+ var pos
+ for (var i = 0; i < length; i++) {
+ if ((i + offset >= dst.length) || (i >= src.length))
+ break
+ dst[i + offset] = src[i]
+ }
+ return i
+}
+
+function decodeUtf8Char (str) {
+ try {
+ return decodeURIComponent(str)
+ } catch (err) {
+ return String.fromCharCode(0xFFFD) // UTF 8 invalid char
+ }
+}
+
+
+function verifuint (value, max) {
+ assert(typeof value === 'number', 'cannot write a non-number as a number')
+ assert(value >= 0, 'specified a negative value for writing an unsigned value')
+ assert(value <= max, 'value is larger than maximum value for type')
+ assert(Math.floor(value) === value, 'value has a fractional component')
+}
+
+function verifsint (value, max, min) {
+ assert(typeof value === 'number', 'cannot write a non-number as a number')
+ assert(value <= max, 'value larger than maximum allowed value')
+ assert(value >= min, 'value smaller than minimum allowed value')
+ assert(Math.floor(value) === value, 'value has a fractional component')
+}
+
+function verifIEEE754 (value, max, min) {
+ assert(typeof value === 'number', 'cannot write a non-number as a number')
+ assert(value <= max, 'value larger than maximum allowed value')
+ assert(value >= min, 'value smaller than minimum allowed value')
+}
+
+function assert (test, message) {
+ if (!test) throw new Error(message || 'Failed assertion')
+}
+
+},{"base64-js":63,"ieee754":64}],63:[function(require,module,exports){
+var lookup = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
+
+;(function (exports) {
+ 'use strict';
+
+ var Arr = (typeof Uint8Array !== 'undefined')
+ ? Uint8Array
+ : Array
+
+ var PLUS = '+'.charCodeAt(0)
+ var SLASH = '/'.charCodeAt(0)
+ var NUMBER = '0'.charCodeAt(0)
+ var LOWER = 'a'.charCodeAt(0)
+ var UPPER = 'A'.charCodeAt(0)
+ var PLUS_URL_SAFE = '-'.charCodeAt(0)
+ var SLASH_URL_SAFE = '_'.charCodeAt(0)
+
+ function decode (elt) {
+ var code = elt.charCodeAt(0)
+ if (code === PLUS ||
+ code === PLUS_URL_SAFE)
+ return 62 // '+'
+ if (code === SLASH ||
+ code === SLASH_URL_SAFE)
+ return 63 // '/'
+ if (code < NUMBER)
+ return -1 //no match
+ if (code < NUMBER + 10)
+ return code - NUMBER + 26 + 26
+ if (code < UPPER + 26)
+ return code - UPPER
+ if (code < LOWER + 26)
+ return code - LOWER + 26
+ }
+
+ function b64ToByteArray (b64) {
+ var i, j, l, tmp, placeHolders, arr
+
+ if (b64.length % 4 > 0) {
+ throw new Error('Invalid string. Length must be a multiple of 4')
+ }
+
+ var len = b64.length
+ placeHolders = '=' === b64.charAt(len - 2) ? 2 : '=' === b64.charAt(len - 1) ? 1 : 0
+
+ arr = new Arr(b64.length * 3 / 4 - placeHolders)
+
+ l = placeHolders > 0 ? b64.length - 4 : b64.length
+
+ var L = 0
+
+ function push (v) {
+ arr[L++] = v
+ }
+
+ for (i = 0, j = 0; i < l; i += 4, j += 3) {
+ tmp = (decode(b64.charAt(i)) << 18) | (decode(b64.charAt(i + 1)) << 12) | (decode(b64.charAt(i + 2)) << 6) | decode(b64.charAt(i + 3))
+ push((tmp & 0xFF0000) >> 16)
+ push((tmp & 0xFF00) >> 8)
+ push(tmp & 0xFF)
+ }
+
+ if (placeHolders === 2) {
+ tmp = (decode(b64.charAt(i)) << 2) | (decode(b64.charAt(i + 1)) >> 4)
+ push(tmp & 0xFF)
+ } else if (placeHolders === 1) {
+ tmp = (decode(b64.charAt(i)) << 10) | (decode(b64.charAt(i + 1)) << 4) | (decode(b64.charAt(i + 2)) >> 2)
+ push((tmp >> 8) & 0xFF)
+ push(tmp & 0xFF)
+ }
+
+ return arr
+ }
+
+ function uint8ToBase64 (uint8) {
+ var i,
+ extraBytes = uint8.length % 3, // if we have 1 byte left, pad 2 bytes
+ output = "",
+ temp, length
+
+ function encode (num) {
+ return lookup.charAt(num)
+ }
+
+ function tripletToBase64 (num) {
+ return encode(num >> 18 & 0x3F) + encode(num >> 12 & 0x3F) + encode(num >> 6 & 0x3F) + encode(num & 0x3F)
+ }
+
+ for (i = 0, length = uint8.length - extraBytes; i < length; i += 3) {
+ temp = (uint8[i] << 16) + (uint8[i + 1] << 8) + (uint8[i + 2])
+ output += tripletToBase64(temp)
+ }
+
+ switch (extraBytes) {
+ case 1:
+ temp = uint8[uint8.length - 1]
+ output += encode(temp >> 2)
+ output += encode((temp << 4) & 0x3F)
+ output += '=='
+ break
+ case 2:
+ temp = (uint8[uint8.length - 2] << 8) + (uint8[uint8.length - 1])
+ output += encode(temp >> 10)
+ output += encode((temp >> 4) & 0x3F)
+ output += encode((temp << 2) & 0x3F)
+ output += '='
+ break
+ }
+
+ return output
+ }
+
+ exports.toByteArray = b64ToByteArray
+ exports.fromByteArray = uint8ToBase64
+}(typeof exports === 'undefined' ? (this.base64js = {}) : exports))
+
+},{}],64:[function(require,module,exports){
+exports.read = function (buffer, offset, isLE, mLen, nBytes) {
+ var e, m
+ var eLen = nBytes * 8 - mLen - 1
+ var eMax = (1 << eLen) - 1
+ var eBias = eMax >> 1
+ var nBits = -7
+ var i = isLE ? (nBytes - 1) : 0
+ var d = isLE ? -1 : 1
+ var s = buffer[offset + i]
+
+ i += d
+
+ e = s & ((1 << (-nBits)) - 1)
+ s >>= (-nBits)
+ nBits += eLen
+ for (; nBits > 0; e = e * 256 + buffer[offset + i], i += d, nBits -= 8) {}
+
+ m = e & ((1 << (-nBits)) - 1)
+ e >>= (-nBits)
+ nBits += mLen
+ for (; nBits > 0; m = m * 256 + buffer[offset + i], i += d, nBits -= 8) {}
+
+ if (e === 0) {
+ e = 1 - eBias
+ } else if (e === eMax) {
+ return m ? NaN : ((s ? -1 : 1) * Infinity)
+ } else {
+ m = m + Math.pow(2, mLen)
+ e = e - eBias
+ }
+ return (s ? -1 : 1) * m * Math.pow(2, e - mLen)
+}
+
+exports.write = function (buffer, value, offset, isLE, mLen, nBytes) {
+ var e, m, c
+ var eLen = nBytes * 8 - mLen - 1
+ var eMax = (1 << eLen) - 1
+ var eBias = eMax >> 1
+ var rt = (mLen === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0)
+ var i = isLE ? 0 : (nBytes - 1)
+ var d = isLE ? 1 : -1
+ var s = value < 0 || (value === 0 && 1 / value < 0) ? 1 : 0
+
+ value = Math.abs(value)
+
+ if (isNaN(value) || value === Infinity) {
+ m = isNaN(value) ? 1 : 0
+ e = eMax
+ } else {
+ e = Math.floor(Math.log(value) / Math.LN2)
+ if (value * (c = Math.pow(2, -e)) < 1) {
+ e--
+ c *= 2
+ }
+ if (e + eBias >= 1) {
+ value += rt / c
+ } else {
+ value += rt * Math.pow(2, 1 - eBias)
+ }
+ if (value * c >= 2) {
+ e++
+ c /= 2
+ }
+
+ if (e + eBias >= eMax) {
+ m = 0
+ e = eMax
+ } else if (e + eBias >= 1) {
+ m = (value * c - 1) * Math.pow(2, mLen)
+ e = e + eBias
+ } else {
+ m = value * Math.pow(2, eBias - 1) * Math.pow(2, mLen)
+ e = 0
+ }
+ }
+
+ for (; mLen >= 8; buffer[offset + i] = m & 0xff, i += d, m /= 256, mLen -= 8) {}
+
+ e = (e << mLen) | m
+ eLen += mLen
+ for (; eLen > 0; buffer[offset + i] = e & 0xff, i += d, e /= 256, eLen -= 8) {}
+
+ buffer[offset + i - d] |= s * 128
+}
+
+},{}],65:[function(require,module,exports){
+var Buffer = require('buffer').Buffer;
+var intSize = 4;
+var zeroBuffer = new Buffer(intSize); zeroBuffer.fill(0);
+var chrsz = 8;
+
+function toArray(buf, bigEndian) {
+ if ((buf.length % intSize) !== 0) {
+ var len = buf.length + (intSize - (buf.length % intSize));
+ buf = Buffer.concat([buf, zeroBuffer], len);
+ }
+
+ var arr = [];
+ var fn = bigEndian ? buf.readInt32BE : buf.readInt32LE;
+ for (var i = 0; i < buf.length; i += intSize) {
+ arr.push(fn.call(buf, i));
+ }
+ return arr;
+}
+
+function toBuffer(arr, size, bigEndian) {
+ var buf = new Buffer(size);
+ var fn = bigEndian ? buf.writeInt32BE : buf.writeInt32LE;
+ for (var i = 0; i < arr.length; i++) {
+ fn.call(buf, arr[i], i * 4, true);
+ }
+ return buf;
+}
+
+function hash(buf, fn, hashSize, bigEndian) {
+ if (!Buffer.isBuffer(buf)) buf = new Buffer(buf);
+ var arr = fn(toArray(buf, bigEndian), buf.length * chrsz);
+ return toBuffer(arr, hashSize, bigEndian);
+}
+
+module.exports = { hash: hash };
+
+},{"buffer":62}],66:[function(require,module,exports){
+var Buffer = require('buffer').Buffer
+var sha = require('./sha')
+var sha256 = require('./sha256')
+var rng = require('./rng')
+var md5 = require('./md5')
+
+var algorithms = {
+ sha1: sha,
+ sha256: sha256,
+ md5: md5
+}
+
+var blocksize = 64
+var zeroBuffer = new Buffer(blocksize); zeroBuffer.fill(0)
+function hmac(fn, key, data) {
+ if(!Buffer.isBuffer(key)) key = new Buffer(key)
+ if(!Buffer.isBuffer(data)) data = new Buffer(data)
+
+ if(key.length > blocksize) {
+ key = fn(key)
+ } else if(key.length < blocksize) {
+ key = Buffer.concat([key, zeroBuffer], blocksize)
+ }
+
+ var ipad = new Buffer(blocksize), opad = new Buffer(blocksize)
+ for(var i = 0; i < blocksize; i++) {
+ ipad[i] = key[i] ^ 0x36
+ opad[i] = key[i] ^ 0x5C
+ }
+
+ var hash = fn(Buffer.concat([ipad, data]))
+ return fn(Buffer.concat([opad, hash]))
+}
+
+function hash(alg, key) {
+ alg = alg || 'sha1'
+ var fn = algorithms[alg]
+ var bufs = []
+ var length = 0
+ if(!fn) error('algorithm:', alg, 'is not yet supported')
+ return {
+ update: function (data) {
+ if(!Buffer.isBuffer(data)) data = new Buffer(data)
+
+ bufs.push(data)
+ length += data.length
+ return this
+ },
+ digest: function (enc) {
+ var buf = Buffer.concat(bufs)
+ var r = key ? hmac(fn, key, buf) : fn(buf)
+ bufs = null
+ return enc ? r.toString(enc) : r
+ }
+ }
+}
+
+function error () {
+ var m = [].slice.call(arguments).join(' ')
+ throw new Error([
+ m,
+ 'we accept pull requests',
+ 'http://github.com/dominictarr/crypto-browserify'
+ ].join('\n'))
+}
+
+exports.createHash = function (alg) { return hash(alg) }
+exports.createHmac = function (alg, key) { return hash(alg, key) }
+exports.randomBytes = function(size, callback) {
+ if (callback && callback.call) {
+ try {
+ callback.call(this, undefined, new Buffer(rng(size)))
+ } catch (err) { callback(err) }
+ } else {
+ return new Buffer(rng(size))
+ }
+}
+
+function each(a, f) {
+ for(var i in a)
+ f(a[i], i)
+}
+
+each(['createCredentials'
+, 'createCipher'
+, 'createCipheriv'
+, 'createDecipher'
+, 'createDecipheriv'
+, 'createSign'
+, 'createVerify'
+, 'createDiffieHellman'
+, 'pbkdf2'], function (name) {
+ exports[name] = function () {
+ error('sorry,', name, 'is not implemented yet')
+ }
+})
+
+},{"./md5":67,"./rng":68,"./sha":69,"./sha256":70,"buffer":62}],67:[function(require,module,exports){
+
+
+var helpers = require('./helpers');
+
+
+function md5_vm_test()
+{
+ return hex_md5("abc") == "900150983cd24fb0d6963f7d28e17f72";
+}
+
+
+function core_md5(x, len)
+{
+
+ x[len >> 5] |= 0x80 << ((len) % 32);
+ x[(((len + 64) >>> 9) << 4) + 14] = len;
+
+ var a = 1732584193;
+ var b = -271733879;
+ var c = -1732584194;
+ var d = 271733878;
+
+ for(var i = 0; i < x.length; i += 16)
+ {
+ var olda = a;
+ var oldb = b;
+ var oldc = c;
+ var oldd = d;
+
+ a = md5_ff(a, b, c, d, x[i+ 0], 7 , -680876936);
+ d = md5_ff(d, a, b, c, x[i+ 1], 12, -389564586);
+ c = md5_ff(c, d, a, b, x[i+ 2], 17, 606105819);
+ b = md5_ff(b, c, d, a, x[i+ 3], 22, -1044525330);
+ a = md5_ff(a, b, c, d, x[i+ 4], 7 , -176418897);
+ d = md5_ff(d, a, b, c, x[i+ 5], 12, 1200080426);
+ c = md5_ff(c, d, a, b, x[i+ 6], 17, -1473231341);
+ b = md5_ff(b, c, d, a, x[i+ 7], 22, -45705983);
+ a = md5_ff(a, b, c, d, x[i+ 8], 7 , 1770035416);
+ d = md5_ff(d, a, b, c, x[i+ 9], 12, -1958414417);
+ c = md5_ff(c, d, a, b, x[i+10], 17, -42063);
+ b = md5_ff(b, c, d, a, x[i+11], 22, -1990404162);
+ a = md5_ff(a, b, c, d, x[i+12], 7 , 1804603682);
+ d = md5_ff(d, a, b, c, x[i+13], 12, -40341101);
+ c = md5_ff(c, d, a, b, x[i+14], 17, -1502002290);
+ b = md5_ff(b, c, d, a, x[i+15], 22, 1236535329);
+
+ a = md5_gg(a, b, c, d, x[i+ 1], 5 , -165796510);
+ d = md5_gg(d, a, b, c, x[i+ 6], 9 , -1069501632);
+ c = md5_gg(c, d, a, b, x[i+11], 14, 643717713);
+ b = md5_gg(b, c, d, a, x[i+ 0], 20, -373897302);
+ a = md5_gg(a, b, c, d, x[i+ 5], 5 , -701558691);
+ d = md5_gg(d, a, b, c, x[i+10], 9 , 38016083);
+ c = md5_gg(c, d, a, b, x[i+15], 14, -660478335);
+ b = md5_gg(b, c, d, a, x[i+ 4], 20, -405537848);
+ a = md5_gg(a, b, c, d, x[i+ 9], 5 , 568446438);
+ d = md5_gg(d, a, b, c, x[i+14], 9 , -1019803690);
+ c = md5_gg(c, d, a, b, x[i+ 3], 14, -187363961);
+ b = md5_gg(b, c, d, a, x[i+ 8], 20, 1163531501);
+ a = md5_gg(a, b, c, d, x[i+13], 5 , -1444681467);
+ d = md5_gg(d, a, b, c, x[i+ 2], 9 , -51403784);
+ c = md5_gg(c, d, a, b, x[i+ 7], 14, 1735328473);
+ b = md5_gg(b, c, d, a, x[i+12], 20, -1926607734);
+
+ a = md5_hh(a, b, c, d, x[i+ 5], 4 , -378558);
+ d = md5_hh(d, a, b, c, x[i+ 8], 11, -2022574463);
+ c = md5_hh(c, d, a, b, x[i+11], 16, 1839030562);
+ b = md5_hh(b, c, d, a, x[i+14], 23, -35309556);
+ a = md5_hh(a, b, c, d, x[i+ 1], 4 , -1530992060);
+ d = md5_hh(d, a, b, c, x[i+ 4], 11, 1272893353);
+ c = md5_hh(c, d, a, b, x[i+ 7], 16, -155497632);
+ b = md5_hh(b, c, d, a, x[i+10], 23, -1094730640);
+ a = md5_hh(a, b, c, d, x[i+13], 4 , 681279174);
+ d = md5_hh(d, a, b, c, x[i+ 0], 11, -358537222);
+ c = md5_hh(c, d, a, b, x[i+ 3], 16, -722521979);
+ b = md5_hh(b, c, d, a, x[i+ 6], 23, 76029189);
+ a = md5_hh(a, b, c, d, x[i+ 9], 4 , -640364487);
+ d = md5_hh(d, a, b, c, x[i+12], 11, -421815835);
+ c = md5_hh(c, d, a, b, x[i+15], 16, 530742520);
+ b = md5_hh(b, c, d, a, x[i+ 2], 23, -995338651);
+
+ a = md5_ii(a, b, c, d, x[i+ 0], 6 , -198630844);
+ d = md5_ii(d, a, b, c, x[i+ 7], 10, 1126891415);
+ c = md5_ii(c, d, a, b, x[i+14], 15, -1416354905);
+ b = md5_ii(b, c, d, a, x[i+ 5], 21, -57434055);
+ a = md5_ii(a, b, c, d, x[i+12], 6 , 1700485571);
+ d = md5_ii(d, a, b, c, x[i+ 3], 10, -1894986606);
+ c = md5_ii(c, d, a, b, x[i+10], 15, -1051523);
+ b = md5_ii(b, c, d, a, x[i+ 1], 21, -2054922799);
+ a = md5_ii(a, b, c, d, x[i+ 8], 6 , 1873313359);
+ d = md5_ii(d, a, b, c, x[i+15], 10, -30611744);
+ c = md5_ii(c, d, a, b, x[i+ 6], 15, -1560198380);
+ b = md5_ii(b, c, d, a, x[i+13], 21, 1309151649);
+ a = md5_ii(a, b, c, d, x[i+ 4], 6 , -145523070);
+ d = md5_ii(d, a, b, c, x[i+11], 10, -1120210379);
+ c = md5_ii(c, d, a, b, x[i+ 2], 15, 718787259);
+ b = md5_ii(b, c, d, a, x[i+ 9], 21, -343485551);
+
+ a = safe_add(a, olda);
+ b = safe_add(b, oldb);
+ c = safe_add(c, oldc);
+ d = safe_add(d, oldd);
+ }
+ return Array(a, b, c, d);
+
+}
+
+
+function md5_cmn(q, a, b, x, s, t)
+{
+ return safe_add(bit_rol(safe_add(safe_add(a, q), safe_add(x, t)), s),b);
+}
+function md5_ff(a, b, c, d, x, s, t)
+{
+ return md5_cmn((b & c) | ((~b) & d), a, b, x, s, t);
+}
+function md5_gg(a, b, c, d, x, s, t)
+{
+ return md5_cmn((b & d) | (c & (~d)), a, b, x, s, t);
+}
+function md5_hh(a, b, c, d, x, s, t)
+{
+ return md5_cmn(b ^ c ^ d, a, b, x, s, t);
+}
+function md5_ii(a, b, c, d, x, s, t)
+{
+ return md5_cmn(c ^ (b | (~d)), a, b, x, s, t);
+}
+
+
+function safe_add(x, y)
+{
+ var lsw = (x & 0xFFFF) + (y & 0xFFFF);
+ var msw = (x >> 16) + (y >> 16) + (lsw >> 16);
+ return (msw << 16) | (lsw & 0xFFFF);
+}
+
+
+function bit_rol(num, cnt)
+{
+ return (num << cnt) | (num >>> (32 - cnt));
+}
+
+module.exports = function md5(buf) {
+ return helpers.hash(buf, core_md5, 16);
+};
+
+},{"./helpers":65}],68:[function(require,module,exports){
+(function() {
+ var _global = this;
+
+ var mathRNG, whatwgRNG;
+
+ mathRNG = function(size) {
+ var bytes = new Array(size);
+ var r;
+
+ for (var i = 0, r; i < size; i++) {
+ if ((i & 0x03) == 0) r = Math.random() * 0x100000000;
+ bytes[i] = r >>> ((i & 0x03) << 3) & 0xff;
+ }
+
+ return bytes;
+ }
+
+ if (_global.crypto && crypto.getRandomValues) {
+ whatwgRNG = function(size) {
+ var bytes = new Uint8Array(size);
+ crypto.getRandomValues(bytes);
+ return bytes;
+ }
+ }
+
+ module.exports = whatwgRNG || mathRNG;
+
+}())
+
+},{}],69:[function(require,module,exports){
+
+
+var helpers = require('./helpers');
+
+
+function core_sha1(x, len)
+{
+
+ x[len >> 5] |= 0x80 << (24 - len % 32);
+ x[((len + 64 >> 9) << 4) + 15] = len;
+
+ var w = Array(80);
+ var a = 1732584193;
+ var b = -271733879;
+ var c = -1732584194;
+ var d = 271733878;
+ var e = -1009589776;
+
+ for(var i = 0; i < x.length; i += 16)
+ {
+ var olda = a;
+ var oldb = b;
+ var oldc = c;
+ var oldd = d;
+ var olde = e;
+
+ for(var j = 0; j < 80; j++)
+ {
+ if(j < 16) w[j] = x[i + j];
+ else w[j] = rol(w[j-3] ^ w[j-8] ^ w[j-14] ^ w[j-16], 1);
+ var t = safe_add(safe_add(rol(a, 5), sha1_ft(j, b, c, d)),
+ safe_add(safe_add(e, w[j]), sha1_kt(j)));
+ e = d;
+ d = c;
+ c = rol(b, 30);
+ b = a;
+ a = t;
+ }
+
+ a = safe_add(a, olda);
+ b = safe_add(b, oldb);
+ c = safe_add(c, oldc);
+ d = safe_add(d, oldd);
+ e = safe_add(e, olde);
+ }
+ return Array(a, b, c, d, e);
+
+}
+
+
+function sha1_ft(t, b, c, d)
+{
+ if(t < 20) return (b & c) | ((~b) & d);
+ if(t < 40) return b ^ c ^ d;
+ if(t < 60) return (b & c) | (b & d) | (c & d);
+ return b ^ c ^ d;
+}
+
+
+function sha1_kt(t)
+{
+ return (t < 20) ? 1518500249 : (t < 40) ? 1859775393 :
+ (t < 60) ? -1894007588 : -899497514;
+}
+
+
+function safe_add(x, y)
+{
+ var lsw = (x & 0xFFFF) + (y & 0xFFFF);
+ var msw = (x >> 16) + (y >> 16) + (lsw >> 16);
+ return (msw << 16) | (lsw & 0xFFFF);
+}
+
+
+function rol(num, cnt)
+{
+ return (num << cnt) | (num >>> (32 - cnt));
+}
+
+module.exports = function sha1(buf) {
+ return helpers.hash(buf, core_sha1, 20, true);
+};
+
+},{"./helpers":65}],70:[function(require,module,exports){
+
+
+
+var helpers = require('./helpers');
+
+var safe_add = function(x, y) {
+ var lsw = (x & 0xFFFF) + (y & 0xFFFF);
+ var msw = (x >> 16) + (y >> 16) + (lsw >> 16);
+ return (msw << 16) | (lsw & 0xFFFF);
+};
+
+var S = function(X, n) {
+ return (X >>> n) | (X << (32 - n));
+};
+
+var R = function(X, n) {
+ return (X >>> n);
+};
+
+var Ch = function(x, y, z) {
+ return ((x & y) ^ ((~x) & z));
+};
+
+var Maj = function(x, y, z) {
+ return ((x & y) ^ (x & z) ^ (y & z));
+};
+
+var Sigma0256 = function(x) {
+ return (S(x, 2) ^ S(x, 13) ^ S(x, 22));
+};
+
+var Sigma1256 = function(x) {
+ return (S(x, 6) ^ S(x, 11) ^ S(x, 25));
+};
+
+var Gamma0256 = function(x) {
+ return (S(x, 7) ^ S(x, 18) ^ R(x, 3));
+};
+
+var Gamma1256 = function(x) {
+ return (S(x, 17) ^ S(x, 19) ^ R(x, 10));
+};
+
+var core_sha256 = function(m, l) {
+ var K = new Array(0x428A2F98,0x71374491,0xB5C0FBCF,0xE9B5DBA5,0x3956C25B,0x59F111F1,0x923F82A4,0xAB1C5ED5,0xD807AA98,0x12835B01,0x243185BE,0x550C7DC3,0x72BE5D74,0x80DEB1FE,0x9BDC06A7,0xC19BF174,0xE49B69C1,0xEFBE4786,0xFC19DC6,0x240CA1CC,0x2DE92C6F,0x4A7484AA,0x5CB0A9DC,0x76F988DA,0x983E5152,0xA831C66D,0xB00327C8,0xBF597FC7,0xC6E00BF3,0xD5A79147,0x6CA6351,0x14292967,0x27B70A85,0x2E1B2138,0x4D2C6DFC,0x53380D13,0x650A7354,0x766A0ABB,0x81C2C92E,0x92722C85,0xA2BFE8A1,0xA81A664B,0xC24B8B70,0xC76C51A3,0xD192E819,0xD6990624,0xF40E3585,0x106AA070,0x19A4C116,0x1E376C08,0x2748774C,0x34B0BCB5,0x391C0CB3,0x4ED8AA4A,0x5B9CCA4F,0x682E6FF3,0x748F82EE,0x78A5636F,0x84C87814,0x8CC70208,0x90BEFFFA,0xA4506CEB,0xBEF9A3F7,0xC67178F2);
+ var HASH = new Array(0x6A09E667, 0xBB67AE85, 0x3C6EF372, 0xA54FF53A, 0x510E527F, 0x9B05688C, 0x1F83D9AB, 0x5BE0CD19);
+ var W = new Array(64);
+ var a, b, c, d, e, f, g, h, i, j;
+ var T1, T2;
+
+ m[l >> 5] |= 0x80 << (24 - l % 32);
+ m[((l + 64 >> 9) << 4) + 15] = l;
+ for (var i = 0; i < m.length; i += 16) {
+ a = HASH[0]; b = HASH[1]; c = HASH[2]; d = HASH[3]; e = HASH[4]; f = HASH[5]; g = HASH[6]; h = HASH[7];
+ for (var j = 0; j < 64; j++) {
+ if (j < 16) {
+ W[j] = m[j + i];
+ } else {
+ W[j] = safe_add(safe_add(safe_add(Gamma1256(W[j - 2]), W[j - 7]), Gamma0256(W[j - 15])), W[j - 16]);
+ }
+ T1 = safe_add(safe_add(safe_add(safe_add(h, Sigma1256(e)), Ch(e, f, g)), K[j]), W[j]);
+ T2 = safe_add(Sigma0256(a), Maj(a, b, c));
+ h = g; g = f; f = e; e = safe_add(d, T1); d = c; c = b; b = a; a = safe_add(T1, T2);
+ }
+ HASH[0] = safe_add(a, HASH[0]); HASH[1] = safe_add(b, HASH[1]); HASH[2] = safe_add(c, HASH[2]); HASH[3] = safe_add(d, HASH[3]);
+ HASH[4] = safe_add(e, HASH[4]); HASH[5] = safe_add(f, HASH[5]); HASH[6] = safe_add(g, HASH[6]); HASH[7] = safe_add(h, HASH[7]);
+ }
+ return HASH;
+};
+
+module.exports = function sha256(buf) {
+ return helpers.hash(buf, core_sha256, 32, true);
+};
+
+},{"./helpers":65}],71:[function(require,module,exports){
+
+function EventEmitter() {
+ this._events = this._events || {};
+ this._maxListeners = this._maxListeners || undefined;
+}
+module.exports = EventEmitter;
+
+EventEmitter.EventEmitter = EventEmitter;
+
+EventEmitter.prototype._events = undefined;
+EventEmitter.prototype._maxListeners = undefined;
+
+EventEmitter.defaultMaxListeners = 10;
+
+EventEmitter.prototype.setMaxListeners = function(n) {
+ if (!isNumber(n) || n < 0 || isNaN(n))
+ throw TypeError('n must be a positive number');
+ this._maxListeners = n;
+ return this;
+};
+
+EventEmitter.prototype.emit = function(type) {
+ var er, handler, len, args, i, listeners;
+
+ if (!this._events)
+ this._events = {};
+
+ if (type === 'error') {
+ if (!this._events.error ||
+ (isObject(this._events.error) && !this._events.error.length)) {
+ er = arguments[1];
+ if (er instanceof Error) {
+ throw er; // Unhandled 'error' event
+ }
+ throw TypeError('Uncaught, unspecified "error" event.');
+ }
+ }
+
+ handler = this._events[type];
+
+ if (isUndefined(handler))
+ return false;
+
+ if (isFunction(handler)) {
+ switch (arguments.length) {
+ case 1:
+ handler.call(this);
+ break;
+ case 2:
+ handler.call(this, arguments[1]);
+ break;
+ case 3:
+ handler.call(this, arguments[1], arguments[2]);
+ break;
+ default:
+ len = arguments.length;
+ args = new Array(len - 1);
+ for (i = 1; i < len; i++)
+ args[i - 1] = arguments[i];
+ handler.apply(this, args);
+ }
+ } else if (isObject(handler)) {
+ len = arguments.length;
+ args = new Array(len - 1);
+ for (i = 1; i < len; i++)
+ args[i - 1] = arguments[i];
+
+ listeners = handler.slice();
+ len = listeners.length;
+ for (i = 0; i < len; i++)
+ listeners[i].apply(this, args);
+ }
+
+ return true;
+};
+
+EventEmitter.prototype.addListener = function(type, listener) {
+ var m;
+
+ if (!isFunction(listener))
+ throw TypeError('listener must be a function');
+
+ if (!this._events)
+ this._events = {};
+
+ if (this._events.newListener)
+ this.emit('newListener', type,
+ isFunction(listener.listener) ?
+ listener.listener : listener);
+
+ if (!this._events[type])
+ this._events[type] = listener;
+ else if (isObject(this._events[type]))
+ this._events[type].push(listener);
+ else
+ this._events[type] = [this._events[type], listener];
+
+ if (isObject(this._events[type]) && !this._events[type].warned) {
+ var m;
+ if (!isUndefined(this._maxListeners)) {
+ m = this._maxListeners;
+ } else {
+ m = EventEmitter.defaultMaxListeners;
+ }
+
+ if (m && m > 0 && this._events[type].length > m) {
+ this._events[type].warned = true;
+ console.error('(node) warning: possible EventEmitter memory ' +
+ 'leak detected. %d listeners added. ' +
+ 'Use emitter.setMaxListeners() to increase limit.',
+ this._events[type].length);
+ if (typeof console.trace === 'function') {
+ console.trace();
+ }
+ }
+ }
+
+ return this;
+};
+
+EventEmitter.prototype.on = EventEmitter.prototype.addListener;
+
+EventEmitter.prototype.once = function(type, listener) {
+ if (!isFunction(listener))
+ throw TypeError('listener must be a function');
+
+ var fired = false;
+
+ function g() {
+ this.removeListener(type, g);
+
+ if (!fired) {
+ fired = true;
+ listener.apply(this, arguments);
+ }
+ }
+
+ g.listener = listener;
+ this.on(type, g);
+
+ return this;
+};
+
+EventEmitter.prototype.removeListener = function(type, listener) {
+ var list, position, length, i;
+
+ if (!isFunction(listener))
+ throw TypeError('listener must be a function');
+
+ if (!this._events || !this._events[type])
+ return this;
+
+ list = this._events[type];
+ length = list.length;
+ position = -1;
+
+ if (list === listener ||
+ (isFunction(list.listener) && list.listener === listener)) {
+ delete this._events[type];
+ if (this._events.removeListener)
+ this.emit('removeListener', type, listener);
+
+ } else if (isObject(list)) {
+ for (i = length; i-- > 0;) {
+ if (list[i] === listener ||
+ (list[i].listener && list[i].listener === listener)) {
+ position = i;
+ break;
+ }
+ }
+
+ if (position < 0)
+ return this;
+
+ if (list.length === 1) {
+ list.length = 0;
+ delete this._events[type];
+ } else {
+ list.splice(position, 1);
+ }
+
+ if (this._events.removeListener)
+ this.emit('removeListener', type, listener);
+ }
+
+ return this;
+};
+
+EventEmitter.prototype.removeAllListeners = function(type) {
+ var key, listeners;
+
+ if (!this._events)
+ return this;
+
+ if (!this._events.removeListener) {
+ if (arguments.length === 0)
+ this._events = {};
+ else if (this._events[type])
+ delete this._events[type];
+ return this;
+ }
+
+ if (arguments.length === 0) {
+ for (key in this._events) {
+ if (key === 'removeListener') continue;
+ this.removeAllListeners(key);
+ }
+ this.removeAllListeners('removeListener');
+ this._events = {};
+ return this;
+ }
+
+ listeners = this._events[type];
+
+ if (isFunction(listeners)) {
+ this.removeListener(type, listeners);
+ } else {
+ while (listeners.length)
+ this.removeListener(type, listeners[listeners.length - 1]);
+ }
+ delete this._events[type];
+
+ return this;
+};
+
+EventEmitter.prototype.listeners = function(type) {
+ var ret;
+ if (!this._events || !this._events[type])
+ ret = [];
+ else if (isFunction(this._events[type]))
+ ret = [this._events[type]];
+ else
+ ret = this._events[type].slice();
+ return ret;
+};
+
+EventEmitter.listenerCount = function(emitter, type) {
+ var ret;
+ if (!emitter._events || !emitter._events[type])
+ ret = 0;
+ else if (isFunction(emitter._events[type]))
+ ret = 1;
+ else
+ ret = emitter._events[type].length;
+ return ret;
+};
+
+function isFunction(arg) {
+ return typeof arg === 'function';
+}
+
+function isNumber(arg) {
+ return typeof arg === 'number';
+}
+
+function isObject(arg) {
+ return typeof arg === 'object' && arg !== null;
+}
+
+function isUndefined(arg) {
+ return arg === void 0;
+}
+
+},{}],72:[function(require,module,exports){
+if (typeof Object.create === 'function') {
+ module.exports = function inherits(ctor, superCtor) {
+ ctor.super_ = superCtor
+ ctor.prototype = Object.create(superCtor.prototype, {
+ constructor: {
+ value: ctor,
+ enumerable: false,
+ writable: true,
+ configurable: true
+ }
+ });
+ };
+} else {
+ module.exports = function inherits(ctor, superCtor) {
+ ctor.super_ = superCtor
+ var TempCtor = function () {}
+ TempCtor.prototype = superCtor.prototype
+ ctor.prototype = new TempCtor()
+ ctor.prototype.constructor = ctor
+ }
+}
+
+},{}],73:[function(require,module,exports){
+
+var process = module.exports = {};
+
+process.nextTick = (function () {
+ var canSetImmediate = typeof window !== 'undefined'
+ && window.setImmediate;
+ var canPost = typeof window !== 'undefined'
+ && window.postMessage && window.addEventListener
+ ;
+
+ if (canSetImmediate) {
+ return function (f) { return window.setImmediate(f) };
+ }
+
+ if (canPost) {
+ var queue = [];
+ window.addEventListener('message', function (ev) {
+ var source = ev.source;
+ if ((source === window || source === null) && ev.data === 'process-tick') {
+ ev.stopPropagation();
+ if (queue.length > 0) {
+ var fn = queue.shift();
+ fn();
+ }
+ }
+ }, true);
+
+ return function nextTick(fn) {
+ queue.push(fn);
+ window.postMessage('process-tick', '*');
+ };
+ }
+
+ return function nextTick(fn) {
+ setTimeout(fn, 0);
+ };
+})();
+
+process.title = 'browser';
+process.browser = true;
+process.env = {};
+process.argv = [];
+
+function noop() {}
+
+process.on = noop;
+process.addListener = noop;
+process.once = noop;
+process.off = noop;
+process.removeListener = noop;
+process.removeAllListeners = noop;
+process.emit = noop;
+
+process.binding = function (name) {
+ throw new Error('process.binding is not supported');
+}
+
+process.cwd = function () { return '/' };
+process.chdir = function (dir) {
+ throw new Error('process.chdir is not supported');
+};
+
+},{}],74:[function(require,module,exports){
+(function (global){
+
+;(function(root) {
+
+
+ var freeExports = typeof exports == 'object' && exports;
+ var freeModule = typeof module == 'object' && module &&
+ module.exports == freeExports && module;
+ var freeGlobal = typeof global == 'object' && global;
+ if (freeGlobal.global === freeGlobal || freeGlobal.window === freeGlobal) {
+ root = freeGlobal;
+ }
+
+
+ var punycode,
+
+
+ maxInt = 2147483647, // aka. 0x7FFFFFFF or 2^31-1
+
+
+ base = 36,
+ tMin = 1,
+ tMax = 26,
+ skew = 38,
+ damp = 700,
+ initialBias = 72,
+ initialN = 128, // 0x80
+ delimiter = '-', // '\x2D'
+
+
+ regexPunycode = /^xn--/,
+ regexNonASCII = /[^ -~]/, // unprintable ASCII chars + non-ASCII chars
+ regexSeparators = /\x2E|\u3002|\uFF0E|\uFF61/g, // RFC 3490 separators
+
+
+ errors = {
+ 'overflow': 'Overflow: input needs wider integers to process',
+ 'not-basic': 'Illegal input >= 0x80 (not a basic code point)',
+ 'invalid-input': 'Invalid input'
+ },
+
+
+ baseMinusTMin = base - tMin,
+ floor = Math.floor,
+ stringFromCharCode = String.fromCharCode,
+
+
+ key;
+
+
+
+
+ function error(type) {
+ throw RangeError(errors[type]);
+ }
+
+
+ function map(array, fn) {
+ var length = array.length;
+ while (length--) {
+ array[length] = fn(array[length]);
+ }
+ return array;
+ }
+
+
+ function mapDomain(string, fn) {
+ return map(string.split(regexSeparators), fn).join('.');
+ }
+
+
+ function ucs2decode(string) {
+ var output = [],
+ counter = 0,
+ length = string.length,
+ value,
+ extra;
+ while (counter < length) {
+ value = string.charCodeAt(counter++);
+ if (value >= 0xD800 && value <= 0xDBFF && counter < length) {
+ extra = string.charCodeAt(counter++);
+ if ((extra & 0xFC00) == 0xDC00) { // low surrogate
+ output.push(((value & 0x3FF) << 10) + (extra & 0x3FF) + 0x10000);
+ } else {
+ output.push(value);
+ counter--;
+ }
+ } else {
+ output.push(value);
+ }
+ }
+ return output;
+ }
+
+
+ function ucs2encode(array) {
+ return map(array, function(value) {
+ var output = '';
+ if (value > 0xFFFF) {
+ value -= 0x10000;
+ output += stringFromCharCode(value >>> 10 & 0x3FF | 0xD800);
+ value = 0xDC00 | value & 0x3FF;
+ }
+ output += stringFromCharCode(value);
+ return output;
+ }).join('');
+ }
+
+
+ function basicToDigit(codePoint) {
+ if (codePoint - 48 < 10) {
+ return codePoint - 22;
+ }
+ if (codePoint - 65 < 26) {
+ return codePoint - 65;
+ }
+ if (codePoint - 97 < 26) {
+ return codePoint - 97;
+ }
+ return base;
+ }
+
+
+ function digitToBasic(digit, flag) {
+ return digit + 22 + 75 * (digit < 26) - ((flag != 0) << 5);
+ }
+
+
+ function adapt(delta, numPoints, firstTime) {
+ var k = 0;
+ delta = firstTime ? floor(delta / damp) : delta >> 1;
+ delta += floor(delta / numPoints);
+ for (/* no initialization */; delta > baseMinusTMin * tMax >> 1; k += base) {
+ delta = floor(delta / baseMinusTMin);
+ }
+ return floor(k + (baseMinusTMin + 1) * delta / (delta + skew));
+ }
+
+
+ function decode(input) {
+ var output = [],
+ inputLength = input.length,
+ out,
+ i = 0,
+ n = initialN,
+ bias = initialBias,
+ basic,
+ j,
+ index,
+ oldi,
+ w,
+ k,
+ digit,
+ t,
+
+ baseMinusT;
+
+
+ basic = input.lastIndexOf(delimiter);
+ if (basic < 0) {
+ basic = 0;
+ }
+
+ for (j = 0; j < basic; ++j) {
+ if (input.charCodeAt(j) >= 0x80) {
+ error('not-basic');
+ }
+ output.push(input.charCodeAt(j));
+ }
+
+
+ for (index = basic > 0 ? basic + 1 : 0; index < inputLength; /* no final expression */) {
+
+ for (oldi = i, w = 1, k = base; /* no condition */; k += base) {
+
+ if (index >= inputLength) {
+ error('invalid-input');
+ }
+
+ digit = basicToDigit(input.charCodeAt(index++));
+
+ if (digit >= base || digit > floor((maxInt - i) / w)) {
+ error('overflow');
+ }
+
+ i += digit * w;
+ t = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - bias);
+
+ if (digit < t) {
+ break;
+ }
+
+ baseMinusT = base - t;
+ if (w > floor(maxInt / baseMinusT)) {
+ error('overflow');
+ }
+
+ w *= baseMinusT;
+
+ }
+
+ out = output.length + 1;
+ bias = adapt(i - oldi, out, oldi == 0);
+
+ if (floor(i / out) > maxInt - n) {
+ error('overflow');
+ }
+
+ n += floor(i / out);
+ i %= out;
+
+ output.splice(i++, 0, n);
+
+ }
+
+ return ucs2encode(output);
+ }
+
+
+ function encode(input) {
+ var n,
+ delta,
+ handledCPCount,
+ basicLength,
+ bias,
+ j,
+ m,
+ q,
+ k,
+ t,
+ currentValue,
+ output = [],
+
+ inputLength,
+
+ handledCPCountPlusOne,
+ baseMinusT,
+ qMinusT;
+
+ input = ucs2decode(input);
+
+ inputLength = input.length;
+
+ n = initialN;
+ delta = 0;
+ bias = initialBias;
+
+ for (j = 0; j < inputLength; ++j) {
+ currentValue = input[j];
+ if (currentValue < 0x80) {
+ output.push(stringFromCharCode(currentValue));
+ }
+ }
+
+ handledCPCount = basicLength = output.length;
+
+
+ if (basicLength) {
+ output.push(delimiter);
+ }
+
+ while (handledCPCount < inputLength) {
+
+ for (m = maxInt, j = 0; j < inputLength; ++j) {
+ currentValue = input[j];
+ if (currentValue >= n && currentValue < m) {
+ m = currentValue;
+ }
+ }
+
+ handledCPCountPlusOne = handledCPCount + 1;
+ if (m - n > floor((maxInt - delta) / handledCPCountPlusOne)) {
+ error('overflow');
+ }
+
+ delta += (m - n) * handledCPCountPlusOne;
+ n = m;
+
+ for (j = 0; j < inputLength; ++j) {
+ currentValue = input[j];
+
+ if (currentValue < n && ++delta > maxInt) {
+ error('overflow');
+ }
+
+ if (currentValue == n) {
+ for (q = delta, k = base; /* no condition */; k += base) {
+ t = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - bias);
+ if (q < t) {
+ break;
+ }
+ qMinusT = q - t;
+ baseMinusT = base - t;
+ output.push(
+ stringFromCharCode(digitToBasic(t + qMinusT % baseMinusT, 0))
+ );
+ q = floor(qMinusT / baseMinusT);
+ }
+
+ output.push(stringFromCharCode(digitToBasic(q, 0)));
+ bias = adapt(delta, handledCPCountPlusOne, handledCPCount == basicLength);
+ delta = 0;
+ ++handledCPCount;
+ }
+ }
+
+ ++delta;
+ ++n;
+
+ }
+ return output.join('');
+ }
+
+
+ function toUnicode(domain) {
+ return mapDomain(domain, function(string) {
+ return regexPunycode.test(string)
+ ? decode(string.slice(4).toLowerCase())
+ : string;
+ });
+ }
+
+
+ function toASCII(domain) {
+ return mapDomain(domain, function(string) {
+ return regexNonASCII.test(string)
+ ? 'xn--' + encode(string)
+ : string;
+ });
+ }
+
+
+
+
+ punycode = {
+
+ 'version': '1.2.4',
+
+ 'ucs2': {
+ 'decode': ucs2decode,
+ 'encode': ucs2encode
+ },
+ 'decode': decode,
+ 'encode': encode,
+ 'toASCII': toASCII,
+ 'toUnicode': toUnicode
+ };
+
+
+ if (
+ typeof define == 'function' &&
+ typeof define.amd == 'object' &&
+ define.amd
+ ) {
+ define('punycode', function() {
+ return punycode;
+ });
+ } else if (freeExports && !freeExports.nodeType) {
+ if (freeModule) { // in Node.js or RingoJS v0.8.0+
+ freeModule.exports = punycode;
+ } else { // in Narwhal or RingoJS v0.7.0-
+ for (key in punycode) {
+ punycode.hasOwnProperty(key) && (freeExports[key] = punycode[key]);
+ }
+ }
+ } else { // in Rhino or a web browser
+ root.punycode = punycode;
+ }
+
+}(this));
+
+}).call(this,typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
+},{}],75:[function(require,module,exports){
+
+'use strict';
+
+function hasOwnProperty(obj, prop) {
+ return Object.prototype.hasOwnProperty.call(obj, prop);
+}
+
+module.exports = function(qs, sep, eq, options) {
+ sep = sep || '&';
+ eq = eq || '=';
+ var obj = {};
+
+ if (typeof qs !== 'string' || qs.length === 0) {
+ return obj;
+ }
+
+ var regexp = /\+/g;
+ qs = qs.split(sep);
+
+ var maxKeys = 1000;
+ if (options && typeof options.maxKeys === 'number') {
+ maxKeys = options.maxKeys;
+ }
+
+ var len = qs.length;
+ if (maxKeys > 0 && len > maxKeys) {
+ len = maxKeys;
+ }
+
+ for (var i = 0; i < len; ++i) {
+ var x = qs[i].replace(regexp, '%20'),
+ idx = x.indexOf(eq),
+ kstr, vstr, k, v;
+
+ if (idx >= 0) {
+ kstr = x.substr(0, idx);
+ vstr = x.substr(idx + 1);
+ } else {
+ kstr = x;
+ vstr = '';
+ }
+
+ k = decodeURIComponent(kstr);
+ v = decodeURIComponent(vstr);
+
+ if (!hasOwnProperty(obj, k)) {
+ obj[k] = v;
+ } else if (isArray(obj[k])) {
+ obj[k].push(v);
+ } else {
+ obj[k] = [obj[k], v];
+ }
+ }
+
+ return obj;
+};
+
+var isArray = Array.isArray || function (xs) {
+ return Object.prototype.toString.call(xs) === '[object Array]';
+};
+
+},{}],76:[function(require,module,exports){
+
+'use strict';
+
+var stringifyPrimitive = function(v) {
+ switch (typeof v) {
+ case 'string':
+ return v;
+
+ case 'boolean':
+ return v ? 'true' : 'false';
+
+ case 'number':
+ return isFinite(v) ? v : '';
+
+ default:
+ return '';
+ }
+};
+
+module.exports = function(obj, sep, eq, name) {
+ sep = sep || '&';
+ eq = eq || '=';
+ if (obj === null) {
+ obj = undefined;
+ }
+
+ if (typeof obj === 'object') {
+ return map(objectKeys(obj), function(k) {
+ var ks = encodeURIComponent(stringifyPrimitive(k)) + eq;
+ if (isArray(obj[k])) {
+ return obj[k].map(function(v) {
+ return ks + encodeURIComponent(stringifyPrimitive(v));
+ }).join(sep);
+ } else {
+ return ks + encodeURIComponent(stringifyPrimitive(obj[k]));
+ }
+ }).join(sep);
+
+ }
+
+ if (!name) return '';
+ return encodeURIComponent(stringifyPrimitive(name)) + eq +
+ encodeURIComponent(stringifyPrimitive(obj));
+};
+
+var isArray = Array.isArray || function (xs) {
+ return Object.prototype.toString.call(xs) === '[object Array]';
+};
+
+function map (xs, f) {
+ if (xs.map) return xs.map(f);
+ var res = [];
+ for (var i = 0; i < xs.length; i++) {
+ res.push(f(xs[i], i));
+ }
+ return res;
+}
+
+var objectKeys = Object.keys || function (obj) {
+ var res = [];
+ for (var key in obj) {
+ if (Object.prototype.hasOwnProperty.call(obj, key)) res.push(key);
+ }
+ return res;
+};
+
+},{}],77:[function(require,module,exports){
+'use strict';
+
+exports.decode = exports.parse = require('./decode');
+exports.encode = exports.stringify = require('./encode');
+
+},{"./decode":75,"./encode":76}],78:[function(require,module,exports){
+
+var punycode = require('punycode');
+
+exports.parse = urlParse;
+exports.resolve = urlResolve;
+exports.resolveObject = urlResolveObject;
+exports.format = urlFormat;
+
+exports.Url = Url;
+
+function Url() {
+ this.protocol = null;
+ this.slashes = null;
+ this.auth = null;
+ this.host = null;
+ this.port = null;
+ this.hostname = null;
+ this.hash = null;
+ this.search = null;
+ this.query = null;
+ this.pathname = null;
+ this.path = null;
+ this.href = null;
+}
+
+
+var protocolPattern = /^([a-z0-9.+-]+:)/i,
+ portPattern = /:[0-9]*$/,
+
+ delims = ['<', '>', '"', '`', ' ', '\r', '\n', '\t'],
+
+ unwise = ['{', '}', '|', '\\', '^', '`'].concat(delims),
+
+ autoEscape = ['\''].concat(unwise),
+ nonHostChars = ['%', '/', '?', ';', '#'].concat(autoEscape),
+ hostEndingChars = ['/', '?', '#'],
+ hostnameMaxLen = 255,
+ hostnamePartPattern = /^[a-z0-9A-Z_-]{0,63}$/,
+ hostnamePartStart = /^([a-z0-9A-Z_-]{0,63})(.*)$/,
+ unsafeProtocol = {
+ 'javascript': true,
+ 'javascript:': true
+ },
+ hostlessProtocol = {
+ 'javascript': true,
+ 'javascript:': true
+ },
+ slashedProtocol = {
+ 'http': true,
+ 'https': true,
+ 'ftp': true,
+ 'gopher': true,
+ 'file': true,
+ 'http:': true,
+ 'https:': true,
+ 'ftp:': true,
+ 'gopher:': true,
+ 'file:': true
+ },
+ querystring = require('querystring');
+
+function urlParse(url, parseQueryString, slashesDenoteHost) {
+ if (url && isObject(url) && url instanceof Url) return url;
+
+ var u = new Url;
+ u.parse(url, parseQueryString, slashesDenoteHost);
+ return u;
+}
+
+Url.prototype.parse = function(url, parseQueryString, slashesDenoteHost) {
+ if (!isString(url)) {
+ throw new TypeError("Parameter 'url' must be a string, not " + typeof url);
+ }
+
+ var rest = url;
+
+ rest = rest.trim();
+
+ var proto = protocolPattern.exec(rest);
+ if (proto) {
+ proto = proto[0];
+ var lowerProto = proto.toLowerCase();
+ this.protocol = lowerProto;
+ rest = rest.substr(proto.length);
+ }
+
+ if (slashesDenoteHost || proto || rest.match(/^\/\/[^@\/]+@[^@\/]+/)) {
+ var slashes = rest.substr(0, 2) === '//';
+ if (slashes && !(proto && hostlessProtocol[proto])) {
+ rest = rest.substr(2);
+ this.slashes = true;
+ }
+ }
+
+ if (!hostlessProtocol[proto] &&
+ (slashes || (proto && !slashedProtocol[proto]))) {
+
+
+
+ var hostEnd = -1;
+ for (var i = 0; i < hostEndingChars.length; i++) {
+ var hec = rest.indexOf(hostEndingChars[i]);
+ if (hec !== -1 && (hostEnd === -1 || hec < hostEnd))
+ hostEnd = hec;
+ }
+
+ var auth, atSign;
+ if (hostEnd === -1) {
+ atSign = rest.lastIndexOf('@');
+ } else {
+ atSign = rest.lastIndexOf('@', hostEnd);
+ }
+
+ if (atSign !== -1) {
+ auth = rest.slice(0, atSign);
+ rest = rest.slice(atSign + 1);
+ this.auth = decodeURIComponent(auth);
+ }
+
+ hostEnd = -1;
+ for (var i = 0; i < nonHostChars.length; i++) {
+ var hec = rest.indexOf(nonHostChars[i]);
+ if (hec !== -1 && (hostEnd === -1 || hec < hostEnd))
+ hostEnd = hec;
+ }
+ if (hostEnd === -1)
+ hostEnd = rest.length;
+
+ this.host = rest.slice(0, hostEnd);
+ rest = rest.slice(hostEnd);
+
+ this.parseHost();
+
+ this.hostname = this.hostname || '';
+
+ var ipv6Hostname = this.hostname[0] === '[' &&
+ this.hostname[this.hostname.length - 1] === ']';
+
+ if (!ipv6Hostname) {
+ var hostparts = this.hostname.split(/\./);
+ for (var i = 0, l = hostparts.length; i < l; i++) {
+ var part = hostparts[i];
+ if (!part) continue;
+ if (!part.match(hostnamePartPattern)) {
+ var newpart = '';
+ for (var j = 0, k = part.length; j < k; j++) {
+ if (part.charCodeAt(j) > 127) {
+ newpart += 'x';
+ } else {
+ newpart += part[j];
+ }
+ }
+ if (!newpart.match(hostnamePartPattern)) {
+ var validParts = hostparts.slice(0, i);
+ var notHost = hostparts.slice(i + 1);
+ var bit = part.match(hostnamePartStart);
+ if (bit) {
+ validParts.push(bit[1]);
+ notHost.unshift(bit[2]);
+ }
+ if (notHost.length) {
+ rest = '/' + notHost.join('.') + rest;
+ }
+ this.hostname = validParts.join('.');
+ break;
+ }
+ }
+ }
+ }
+
+ if (this.hostname.length > hostnameMaxLen) {
+ this.hostname = '';
+ } else {
+ this.hostname = this.hostname.toLowerCase();
+ }
+
+ if (!ipv6Hostname) {
+ var domainArray = this.hostname.split('.');
+ var newOut = [];
+ for (var i = 0; i < domainArray.length; ++i) {
+ var s = domainArray[i];
+ newOut.push(s.match(/[^A-Za-z0-9_-]/) ?
+ 'xn--' + punycode.encode(s) : s);
+ }
+ this.hostname = newOut.join('.');
+ }
+
+ var p = this.port ? ':' + this.port : '';
+ var h = this.hostname || '';
+ this.host = h + p;
+ this.href += this.host;
+
+ if (ipv6Hostname) {
+ this.hostname = this.hostname.substr(1, this.hostname.length - 2);
+ if (rest[0] !== '/') {
+ rest = '/' + rest;
+ }
+ }
+ }
+
+ if (!unsafeProtocol[lowerProto]) {
+
+ for (var i = 0, l = autoEscape.length; i < l; i++) {
+ var ae = autoEscape[i];
+ var esc = encodeURIComponent(ae);
+ if (esc === ae) {
+ esc = escape(ae);
+ }
+ rest = rest.split(ae).join(esc);
+ }
+ }
+
+
+ var hash = rest.indexOf('#');
+ if (hash !== -1) {
+ this.hash = rest.substr(hash);
+ rest = rest.slice(0, hash);
+ }
+ var qm = rest.indexOf('?');
+ if (qm !== -1) {
+ this.search = rest.substr(qm);
+ this.query = rest.substr(qm + 1);
+ if (parseQueryString) {
+ this.query = querystring.parse(this.query);
+ }
+ rest = rest.slice(0, qm);
+ } else if (parseQueryString) {
+ this.search = '';
+ this.query = {};
+ }
+ if (rest) this.pathname = rest;
+ if (slashedProtocol[lowerProto] &&
+ this.hostname && !this.pathname) {
+ this.pathname = '/';
+ }
+
+ if (this.pathname || this.search) {
+ var p = this.pathname || '';
+ var s = this.search || '';
+ this.path = p + s;
+ }
+
+ this.href = this.format();
+ return this;
+};
+
+function urlFormat(obj) {
+ if (isString(obj)) obj = urlParse(obj);
+ if (!(obj instanceof Url)) return Url.prototype.format.call(obj);
+ return obj.format();
+}
+
+Url.prototype.format = function() {
+ var auth = this.auth || '';
+ if (auth) {
+ auth = encodeURIComponent(auth);
+ auth = auth.replace(/%3A/i, ':');
+ auth += '@';
+ }
+
+ var protocol = this.protocol || '',
+ pathname = this.pathname || '',
+ hash = this.hash || '',
+ host = false,
+ query = '';
+
+ if (this.host) {
+ host = auth + this.host;
+ } else if (this.hostname) {
+ host = auth + (this.hostname.indexOf(':') === -1 ?
+ this.hostname :
+ '[' + this.hostname + ']');
+ if (this.port) {
+ host += ':' + this.port;
+ }
+ }
+
+ if (this.query &&
+ isObject(this.query) &&
+ Object.keys(this.query).length) {
+ query = querystring.stringify(this.query);
+ }
+
+ var search = this.search || (query && ('?' + query)) || '';
+
+ if (protocol && protocol.substr(-1) !== ':') protocol += ':';
+
+ if (this.slashes ||
+ (!protocol || slashedProtocol[protocol]) && host !== false) {
+ host = '//' + (host || '');
+ if (pathname && pathname.charAt(0) !== '/') pathname = '/' + pathname;
+ } else if (!host) {
+ host = '';
+ }
+
+ if (hash && hash.charAt(0) !== '#') hash = '#' + hash;
+ if (search && search.charAt(0) !== '?') search = '?' + search;
+
+ pathname = pathname.replace(/[?#]/g, function(match) {
+ return encodeURIComponent(match);
+ });
+ search = search.replace('#', '%23');
+
+ return protocol + host + pathname + search + hash;
+};
+
+function urlResolve(source, relative) {
+ return urlParse(source, false, true).resolve(relative);
+}
+
+Url.prototype.resolve = function(relative) {
+ return this.resolveObject(urlParse(relative, false, true)).format();
+};
+
+function urlResolveObject(source, relative) {
+ if (!source) return relative;
+ return urlParse(source, false, true).resolveObject(relative);
+}
+
+Url.prototype.resolveObject = function(relative) {
+ if (isString(relative)) {
+ var rel = new Url();
+ rel.parse(relative, false, true);
+ relative = rel;
+ }
+
+ var result = new Url();
+ Object.keys(this).forEach(function(k) {
+ result[k] = this[k];
+ }, this);
+
+ result.hash = relative.hash;
+
+ if (relative.href === '') {
+ result.href = result.format();
+ return result;
+ }
+
+ if (relative.slashes && !relative.protocol) {
+ Object.keys(relative).forEach(function(k) {
+ if (k !== 'protocol')
+ result[k] = relative[k];
+ });
+
+ if (slashedProtocol[result.protocol] &&
+ result.hostname && !result.pathname) {
+ result.path = result.pathname = '/';
+ }
+
+ result.href = result.format();
+ return result;
+ }
+
+ if (relative.protocol && relative.protocol !== result.protocol) {
+ if (!slashedProtocol[relative.protocol]) {
+ Object.keys(relative).forEach(function(k) {
+ result[k] = relative[k];
+ });
+ result.href = result.format();
+ return result;
+ }
+
+ result.protocol = relative.protocol;
+ if (!relative.host && !hostlessProtocol[relative.protocol]) {
+ var relPath = (relative.pathname || '').split('/');
+ while (relPath.length && !(relative.host = relPath.shift()));
+ if (!relative.host) relative.host = '';
+ if (!relative.hostname) relative.hostname = '';
+ if (relPath[0] !== '') relPath.unshift('');
+ if (relPath.length < 2) relPath.unshift('');
+ result.pathname = relPath.join('/');
+ } else {
+ result.pathname = relative.pathname;
+ }
+ result.search = relative.search;
+ result.query = relative.query;
+ result.host = relative.host || '';
+ result.auth = relative.auth;
+ result.hostname = relative.hostname || relative.host;
+ result.port = relative.port;
+ if (result.pathname || result.search) {
+ var p = result.pathname || '';
+ var s = result.search || '';
+ result.path = p + s;
+ }
+ result.slashes = result.slashes || relative.slashes;
+ result.href = result.format();
+ return result;
+ }
+
+ var isSourceAbs = (result.pathname && result.pathname.charAt(0) === '/'),
+ isRelAbs = (
+ relative.host ||
+ relative.pathname && relative.pathname.charAt(0) === '/'
+ ),
+ mustEndAbs = (isRelAbs || isSourceAbs ||
+ (result.host && relative.pathname)),
+ removeAllDots = mustEndAbs,
+ srcPath = result.pathname && result.pathname.split('/') || [],
+ relPath = relative.pathname && relative.pathname.split('/') || [],
+ psychotic = result.protocol && !slashedProtocol[result.protocol];
+
+ if (psychotic) {
+ result.hostname = '';
+ result.port = null;
+ if (result.host) {
+ if (srcPath[0] === '') srcPath[0] = result.host;
+ else srcPath.unshift(result.host);
+ }
+ result.host = '';
+ if (relative.protocol) {
+ relative.hostname = null;
+ relative.port = null;
+ if (relative.host) {
+ if (relPath[0] === '') relPath[0] = relative.host;
+ else relPath.unshift(relative.host);
+ }
+ relative.host = null;
+ }
+ mustEndAbs = mustEndAbs && (relPath[0] === '' || srcPath[0] === '');
+ }
+
+ if (isRelAbs) {
+ result.host = (relative.host || relative.host === '') ?
+ relative.host : result.host;
+ result.hostname = (relative.hostname || relative.hostname === '') ?
+ relative.hostname : result.hostname;
+ result.search = relative.search;
+ result.query = relative.query;
+ srcPath = relPath;
+ } else if (relPath.length) {
+ if (!srcPath) srcPath = [];
+ srcPath.pop();
+ srcPath = srcPath.concat(relPath);
+ result.search = relative.search;
+ result.query = relative.query;
+ } else if (!isNullOrUndefined(relative.search)) {
+ if (psychotic) {
+ result.hostname = result.host = srcPath.shift();
+ var authInHost = result.host && result.host.indexOf('@') > 0 ?
+ result.host.split('@') : false;
+ if (authInHost) {
+ result.auth = authInHost.shift();
+ result.host = result.hostname = authInHost.shift();
+ }
+ }
+ result.search = relative.search;
+ result.query = relative.query;
+ if (!isNull(result.pathname) || !isNull(result.search)) {
+ result.path = (result.pathname ? result.pathname : '') +
+ (result.search ? result.search : '');
+ }
+ result.href = result.format();
+ return result;
+ }
+
+ if (!srcPath.length) {
+ result.pathname = null;
+ if (result.search) {
+ result.path = '/' + result.search;
+ } else {
+ result.path = null;
+ }
+ result.href = result.format();
+ return result;
+ }
+
+ var last = srcPath.slice(-1)[0];
+ var hasTrailingSlash = (
+ (result.host || relative.host) && (last === '.' || last === '..') ||
+ last === '');
+
+ var up = 0;
+ for (var i = srcPath.length; i >= 0; i--) {
+ last = srcPath[i];
+ if (last == '.') {
+ srcPath.splice(i, 1);
+ } else if (last === '..') {
+ srcPath.splice(i, 1);
+ up++;
+ } else if (up) {
+ srcPath.splice(i, 1);
+ up--;
+ }
+ }
+
+ if (!mustEndAbs && !removeAllDots) {
+ for (; up--; up) {
+ srcPath.unshift('..');
+ }
+ }
+
+ if (mustEndAbs && srcPath[0] !== '' &&
+ (!srcPath[0] || srcPath[0].charAt(0) !== '/')) {
+ srcPath.unshift('');
+ }
+
+ if (hasTrailingSlash && (srcPath.join('/').substr(-1) !== '/')) {
+ srcPath.push('');
+ }
+
+ var isAbsolute = srcPath[0] === '' ||
+ (srcPath[0] && srcPath[0].charAt(0) === '/');
+
+ if (psychotic) {
+ result.hostname = result.host = isAbsolute ? '' :
+ srcPath.length ? srcPath.shift() : '';
+ var authInHost = result.host && result.host.indexOf('@') > 0 ?
+ result.host.split('@') : false;
+ if (authInHost) {
+ result.auth = authInHost.shift();
+ result.host = result.hostname = authInHost.shift();
+ }
+ }
+
+ mustEndAbs = mustEndAbs || (result.host && srcPath.length);
+
+ if (mustEndAbs && !isAbsolute) {
+ srcPath.unshift('');
+ }
+
+ if (!srcPath.length) {
+ result.pathname = null;
+ result.path = null;
+ } else {
+ result.pathname = srcPath.join('/');
+ }
+
+ if (!isNull(result.pathname) || !isNull(result.search)) {
+ result.path = (result.pathname ? result.pathname : '') +
+ (result.search ? result.search : '');
+ }
+ result.auth = relative.auth || result.auth;
+ result.slashes = result.slashes || relative.slashes;
+ result.href = result.format();
+ return result;
+};
+
+Url.prototype.parseHost = function() {
+ var host = this.host;
+ var port = portPattern.exec(host);
+ if (port) {
+ port = port[0];
+ if (port !== ':') {
+ this.port = port.substr(1);
+ }
+ host = host.substr(0, host.length - port.length);
+ }
+ if (host) this.hostname = host;
+};
+
+function isString(arg) {
+ return typeof arg === "string";
+}
+
+function isObject(arg) {
+ return typeof arg === 'object' && arg !== null;
+}
+
+function isNull(arg) {
+ return arg === null;
+}
+function isNullOrUndefined(arg) {
+ return arg == null;
+}
+
+},{"punycode":74,"querystring":77}],79:[function(require,module,exports){
+module.exports = function isBuffer(arg) {
+ return arg && typeof arg === 'object'
+ && typeof arg.copy === 'function'
+ && typeof arg.fill === 'function'
+ && typeof arg.readUInt8 === 'function';
+}
+},{}],80:[function(require,module,exports){
+(function (process,global){
+
+var formatRegExp = /%[sdj%]/g;
+exports.format = function(f) {
+ if (!isString(f)) {
+ var objects = [];
+ for (var i = 0; i < arguments.length; i++) {
+ objects.push(inspect(arguments[i]));
+ }
+ return objects.join(' ');
+ }
+
+ var i = 1;
+ var args = arguments;
+ var len = args.length;
+ var str = String(f).replace(formatRegExp, function(x) {
+ if (x === '%') return '%';
+ if (i >= len) return x;
+ switch (x) {
+ case '%s': return String(args[i++]);
+ case '%d': return Number(args[i++]);
+ case '%j':
+ try {
+ return JSON.stringify(args[i++]);
+ } catch (_) {
+ return '[Circular]';
+ }
+ default:
+ return x;
+ }
+ });
+ for (var x = args[i]; i < len; x = args[++i]) {
+ if (isNull(x) || !isObject(x)) {
+ str += ' ' + x;
+ } else {
+ str += ' ' + inspect(x);
+ }
+ }
+ return str;
+};
+
+
+exports.deprecate = function(fn, msg) {
+ if (isUndefined(global.process)) {
+ return function() {
+ return exports.deprecate(fn, msg).apply(this, arguments);
+ };
+ }
+
+ if (process.noDeprecation === true) {
+ return fn;
+ }
+
+ var warned = false;
+ function deprecated() {
+ if (!warned) {
+ if (process.throwDeprecation) {
+ throw new Error(msg);
+ } else if (process.traceDeprecation) {
+ console.trace(msg);
+ } else {
+ console.error(msg);
+ }
+ warned = true;
+ }
+ return fn.apply(this, arguments);
+ }
+
+ return deprecated;
+};
+
+
+var debugs = {};
+var debugEnviron;
+exports.debuglog = function(set) {
+ if (isUndefined(debugEnviron))
+ debugEnviron = process.env.NODE_DEBUG || '';
+ set = set.toUpperCase();
+ if (!debugs[set]) {
+ if (new RegExp('\\b' + set + '\\b', 'i').test(debugEnviron)) {
+ var pid = process.pid;
+ debugs[set] = function() {
+ var msg = exports.format.apply(exports, arguments);
+ console.error('%s %d: %s', set, pid, msg);
+ };
+ } else {
+ debugs[set] = function() {};
+ }
+ }
+ return debugs[set];
+};
+
+
+
+
+function inspect(obj, opts) {
+ var ctx = {
+ seen: [],
+ stylize: stylizeNoColor
+ };
+ if (arguments.length >= 3) ctx.depth = arguments[2];
+ if (arguments.length >= 4) ctx.colors = arguments[3];
+ if (isBoolean(opts)) {
+ ctx.showHidden = opts;
+ } else if (opts) {
+ exports._extend(ctx, opts);
+ }
+ if (isUndefined(ctx.showHidden)) ctx.showHidden = false;
+ if (isUndefined(ctx.depth)) ctx.depth = 2;
+ if (isUndefined(ctx.colors)) ctx.colors = false;
+ if (isUndefined(ctx.customInspect)) ctx.customInspect = true;
+ if (ctx.colors) ctx.stylize = stylizeWithColor;
+ return formatValue(ctx, obj, ctx.depth);
+}
+exports.inspect = inspect;
+
+
+inspect.colors = {
+ 'bold' : [1, 22],
+ 'italic' : [3, 23],
+ 'underline' : [4, 24],
+ 'inverse' : [7, 27],
+ 'white' : [37, 39],
+ 'grey' : [90, 39],
+ 'black' : [30, 39],
+ 'blue' : [34, 39],
+ 'cyan' : [36, 39],
+ 'green' : [32, 39],
+ 'magenta' : [35, 39],
+ 'red' : [31, 39],
+ 'yellow' : [33, 39]
+};
+
+inspect.styles = {
+ 'special': 'cyan',
+ 'number': 'yellow',
+ 'boolean': 'yellow',
+ 'undefined': 'grey',
+ 'null': 'bold',
+ 'string': 'green',
+ 'date': 'magenta',
+ 'regexp': 'red'
+};
+
+
+function stylizeWithColor(str, styleType) {
+ var style = inspect.styles[styleType];
+
+ if (style) {
+ return '\u001b[' + inspect.colors[style][0] + 'm' + str +
+ '\u001b[' + inspect.colors[style][1] + 'm';
+ } else {
+ return str;
+ }
+}
+
+
+function stylizeNoColor(str, styleType) {
+ return str;
+}
+
+
+function arrayToHash(array) {
+ var hash = {};
+
+ array.forEach(function(val, idx) {
+ hash[val] = true;
+ });
+
+ return hash;
+}
+
+
+function formatValue(ctx, value, recurseTimes) {
+ if (ctx.customInspect &&
+ value &&
+ isFunction(value.inspect) &&
+ value.inspect !== exports.inspect &&
+ !(value.constructor && value.constructor.prototype === value)) {
+ var ret = value.inspect(recurseTimes, ctx);
+ if (!isString(ret)) {
+ ret = formatValue(ctx, ret, recurseTimes);
+ }
+ return ret;
+ }
+
+ var primitive = formatPrimitive(ctx, value);
+ if (primitive) {
+ return primitive;
+ }
+
+ var keys = Object.keys(value);
+ var visibleKeys = arrayToHash(keys);
+
+ if (ctx.showHidden) {
+ keys = Object.getOwnPropertyNames(value);
+ }
+
+ if (isError(value)
+ && (keys.indexOf('message') >= 0 || keys.indexOf('description') >= 0)) {
+ return formatError(value);
+ }
+
+ if (keys.length === 0) {
+ if (isFunction(value)) {
+ var name = value.name ? ': ' + value.name : '';
+ return ctx.stylize('[Function' + name + ']', 'special');
+ }
+ if (isRegExp(value)) {
+ return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp');
+ }
+ if (isDate(value)) {
+ return ctx.stylize(Date.prototype.toString.call(value), 'date');
+ }
+ if (isError(value)) {
+ return formatError(value);
+ }
+ }
+
+ var base = '', array = false, braces = ['{', '}'];
+
+ if (isArray(value)) {
+ array = true;
+ braces = ['[', ']'];
+ }
+
+ if (isFunction(value)) {
+ var n = value.name ? ': ' + value.name : '';
+ base = ' [Function' + n + ']';
+ }
+
+ if (isRegExp(value)) {
+ base = ' ' + RegExp.prototype.toString.call(value);
+ }
+
+ if (isDate(value)) {
+ base = ' ' + Date.prototype.toUTCString.call(value);
+ }
+
+ if (isError(value)) {
+ base = ' ' + formatError(value);
+ }
+
+ if (keys.length === 0 && (!array || value.length == 0)) {
+ return braces[0] + base + braces[1];
+ }
+
+ if (recurseTimes < 0) {
+ if (isRegExp(value)) {
+ return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp');
+ } else {
+ return ctx.stylize('[Object]', 'special');
+ }
+ }
+
+ ctx.seen.push(value);
+
+ var output;
+ if (array) {
+ output = formatArray(ctx, value, recurseTimes, visibleKeys, keys);
+ } else {
+ output = keys.map(function(key) {
+ return formatProperty(ctx, value, recurseTimes, visibleKeys, key, array);
+ });
+ }
+
+ ctx.seen.pop();
+
+ return reduceToSingleString(output, base, braces);
+}
+
+
+function formatPrimitive(ctx, value) {
+ if (isUndefined(value))
+ return ctx.stylize('undefined', 'undefined');
+ if (isString(value)) {
+ var simple = '\'' + JSON.stringify(value).replace(/^"|"$/g, '')
+ .replace(/'/g, "\\'")
+ .replace(/\\"/g, '"') + '\'';
+ return ctx.stylize(simple, 'string');
+ }
+ if (isNumber(value))
+ return ctx.stylize('' + value, 'number');
+ if (isBoolean(value))
+ return ctx.stylize('' + value, 'boolean');
+ if (isNull(value))
+ return ctx.stylize('null', 'null');
+}
+
+
+function formatError(value) {
+ return '[' + Error.prototype.toString.call(value) + ']';
+}
+
+
+function formatArray(ctx, value, recurseTimes, visibleKeys, keys) {
+ var output = [];
+ for (var i = 0, l = value.length; i < l; ++i) {
+ if (hasOwnProperty(value, String(i))) {
+ output.push(formatProperty(ctx, value, recurseTimes, visibleKeys,
+ String(i), true));
+ } else {
+ output.push('');
+ }
+ }
+ keys.forEach(function(key) {
+ if (!key.match(/^\d+$/)) {
+ output.push(formatProperty(ctx, value, recurseTimes, visibleKeys,
+ key, true));
+ }
+ });
+ return output;
+}
+
+
+function formatProperty(ctx, value, recurseTimes, visibleKeys, key, array) {
+ var name, str, desc;
+ desc = Object.getOwnPropertyDescriptor(value, key) || { value: value[key] };
+ if (desc.get) {
+ if (desc.set) {
+ str = ctx.stylize('[Getter/Setter]', 'special');
+ } else {
+ str = ctx.stylize('[Getter]', 'special');
+ }
+ } else {
+ if (desc.set) {
+ str = ctx.stylize('[Setter]', 'special');
+ }
+ }
+ if (!hasOwnProperty(visibleKeys, key)) {
+ name = '[' + key + ']';
+ }
+ if (!str) {
+ if (ctx.seen.indexOf(desc.value) < 0) {
+ if (isNull(recurseTimes)) {
+ str = formatValue(ctx, desc.value, null);
+ } else {
+ str = formatValue(ctx, desc.value, recurseTimes - 1);
+ }
+ if (str.indexOf('\n') > -1) {
+ if (array) {
+ str = str.split('\n').map(function(line) {
+ return ' ' + line;
+ }).join('\n').substr(2);
+ } else {
+ str = '\n' + str.split('\n').map(function(line) {
+ return ' ' + line;
+ }).join('\n');
+ }
+ }
+ } else {
+ str = ctx.stylize('[Circular]', 'special');
+ }
+ }
+ if (isUndefined(name)) {
+ if (array && key.match(/^\d+$/)) {
+ return str;
+ }
+ name = JSON.stringify('' + key);
+ if (name.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)) {
+ name = name.substr(1, name.length - 2);
+ name = ctx.stylize(name, 'name');
+ } else {
+ name = name.replace(/'/g, "\\'")
+ .replace(/\\"/g, '"')
+ .replace(/(^"|"$)/g, "'");
+ name = ctx.stylize(name, 'string');
+ }
+ }
+
+ return name + ': ' + str;
+}
+
+
+function reduceToSingleString(output, base, braces) {
+ var numLinesEst = 0;
+ var length = output.reduce(function(prev, cur) {
+ numLinesEst++;
+ if (cur.indexOf('\n') >= 0) numLinesEst++;
+ return prev + cur.replace(/\u001b\[\d\d?m/g, '').length + 1;
+ }, 0);
+
+ if (length > 60) {
+ return braces[0] +
+ (base === '' ? '' : base + '\n ') +
+ ' ' +
+ output.join(',\n ') +
+ ' ' +
+ braces[1];
+ }
+
+ return braces[0] + base + ' ' + output.join(', ') + ' ' + braces[1];
+}
+
+
+function isArray(ar) {
+ return Array.isArray(ar);
+}
+exports.isArray = isArray;
+
+function isBoolean(arg) {
+ return typeof arg === 'boolean';
+}
+exports.isBoolean = isBoolean;
+
+function isNull(arg) {
+ return arg === null;
+}
+exports.isNull = isNull;
+
+function isNullOrUndefined(arg) {
+ return arg == null;
+}
+exports.isNullOrUndefined = isNullOrUndefined;
+
+function isNumber(arg) {
+ return typeof arg === 'number';
+}
+exports.isNumber = isNumber;
+
+function isString(arg) {
+ return typeof arg === 'string';
+}
+exports.isString = isString;
+
+function isSymbol(arg) {
+ return typeof arg === 'symbol';
+}
+exports.isSymbol = isSymbol;
+
+function isUndefined(arg) {
+ return arg === void 0;
+}
+exports.isUndefined = isUndefined;
+
+function isRegExp(re) {
+ return isObject(re) && objectToString(re) === '[object RegExp]';
+}
+exports.isRegExp = isRegExp;
+
+function isObject(arg) {
+ return typeof arg === 'object' && arg !== null;
+}
+exports.isObject = isObject;
+
+function isDate(d) {
+ return isObject(d) && objectToString(d) === '[object Date]';
+}
+exports.isDate = isDate;
+
+function isError(e) {
+ return isObject(e) &&
+ (objectToString(e) === '[object Error]' || e instanceof Error);
+}
+exports.isError = isError;
+
+function isFunction(arg) {
+ return typeof arg === 'function';
+}
+exports.isFunction = isFunction;
+
+function isPrimitive(arg) {
+ return arg === null ||
+ typeof arg === 'boolean' ||
+ typeof arg === 'number' ||
+ typeof arg === 'string' ||
+ typeof arg === 'symbol' || // ES6 symbol
+ typeof arg === 'undefined';
+}
+exports.isPrimitive = isPrimitive;
+
+exports.isBuffer = require('./support/isBuffer');
+
+function objectToString(o) {
+ return Object.prototype.toString.call(o);
+}
+
+
+function pad(n) {
+ return n < 10 ? '0' + n.toString(10) : n.toString(10);
+}
+
+
+var months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep',
+ 'Oct', 'Nov', 'Dec'];
+
+function timestamp() {
+ var d = new Date();
+ var time = [pad(d.getHours()),
+ pad(d.getMinutes()),
+ pad(d.getSeconds())].join(':');
+ return [d.getDate(), months[d.getMonth()], time].join(' ');
+}
+
+
+exports.log = function() {
+ console.log('%s - %s', timestamp(), exports.format.apply(exports, arguments));
+};
+
+
+
+exports.inherits = require('inherits');
+
+exports._extend = function(origin, add) {
+ if (!add || !isObject(add)) return origin;
+
+ var keys = Object.keys(add);
+ var i = keys.length;
+ while (i--) {
+ origin[keys[i]] = add[keys[i]];
+ }
+ return origin;
+};
+
+function hasOwnProperty(obj, prop) {
+ return Object.prototype.hasOwnProperty.call(obj, prop);
+}
+
+}).call(this,require("FWaASH"),typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
+},{"./support/isBuffer":79,"FWaASH":73,"inherits":72}],81:[function(require,module,exports){
+(function() {
+ var XMLAttribute, create;
+
+ create = require('lodash/object/create');
+
+ module.exports = XMLAttribute = (function() {
+ function XMLAttribute(parent, name, value) {
+ this.stringify = parent.stringify;
+ if (name == null) {
+ throw new Error("Missing attribute name of element " + parent.name);
+ }
+ if (value == null) {
+ throw new Error("Missing attribute value for attribute " + name + " of element " + parent.name);
+ }
+ this.name = this.stringify.attName(name);
+ this.value = this.stringify.attValue(value);
+ }
+
+ XMLAttribute.prototype.clone = function() {
+ return create(XMLAttribute.prototype, this);
+ };
+
+ XMLAttribute.prototype.toString = function(options, level) {
+ return ' ' + this.name + '="' + this.value + '"';
+ };
+
+ return XMLAttribute;
+
+ })();
+
+}).call(this);
+
+},{"lodash/object/create":140}],82:[function(require,module,exports){
+(function() {
+ var XMLBuilder, XMLDeclaration, XMLDocType, XMLElement, XMLStringifier;
+
+ XMLStringifier = require('./XMLStringifier');
+
+ XMLDeclaration = require('./XMLDeclaration');
+
+ XMLDocType = require('./XMLDocType');
+
+ XMLElement = require('./XMLElement');
+
+ module.exports = XMLBuilder = (function() {
+ function XMLBuilder(name, options) {
+ var root, temp;
+ if (name == null) {
+ throw new Error("Root element needs a name");
+ }
+ if (options == null) {
+ options = {};
+ }
+ this.options = options;
+ this.stringify = new XMLStringifier(options);
+ temp = new XMLElement(this, 'doc');
+ root = temp.element(name);
+ root.isRoot = true;
+ root.documentObject = this;
+ this.rootObject = root;
+ if (!options.headless) {
+ root.declaration(options);
+ if ((options.pubID != null) || (options.sysID != null)) {
+ root.doctype(options);
+ }
+ }
+ }
+
+ XMLBuilder.prototype.root = function() {
+ return this.rootObject;
+ };
+
+ XMLBuilder.prototype.end = function(options) {
+ return this.toString(options);
+ };
+
+ XMLBuilder.prototype.toString = function(options) {
+ var indent, newline, offset, pretty, r, ref, ref1, ref2;
+ pretty = (options != null ? options.pretty : void 0) || false;
+ indent = (ref = options != null ? options.indent : void 0) != null ? ref : ' ';
+ offset = (ref1 = options != null ? options.offset : void 0) != null ? ref1 : 0;
+ newline = (ref2 = options != null ? options.newline : void 0) != null ? ref2 : '\n';
+ r = '';
+ if (this.xmldec != null) {
+ r += this.xmldec.toString(options);
+ }
+ if (this.doctype != null) {
+ r += this.doctype.toString(options);
+ }
+ r += this.rootObject.toString(options);
+ if (pretty && r.slice(-newline.length) === newline) {
+ r = r.slice(0, -newline.length);
+ }
+ return r;
+ };
+
+ return XMLBuilder;
+
+ })();
+
+}).call(this);
+
+},{"./XMLDeclaration":89,"./XMLDocType":90,"./XMLElement":91,"./XMLStringifier":95}],83:[function(require,module,exports){
+(function() {
+ var XMLCData, XMLNode, create,
+ extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
+ hasProp = {}.hasOwnProperty;
+
+ create = require('lodash/object/create');
+
+ XMLNode = require('./XMLNode');
+
+ module.exports = XMLCData = (function(superClass) {
+ extend(XMLCData, superClass);
+
+ function XMLCData(parent, text) {
+ XMLCData.__super__.constructor.call(this, parent);
+ if (text == null) {
+ throw new Error("Missing CDATA text");
+ }
+ this.text = this.stringify.cdata(text);
+ }
+
+ XMLCData.prototype.clone = function() {
+ return create(XMLCData.prototype, this);
+ };
+
+ XMLCData.prototype.toString = function(options, level) {
+ var indent, newline, offset, pretty, r, ref, ref1, ref2, space;
+ pretty = (options != null ? options.pretty : void 0) || false;
+ indent = (ref = options != null ? options.indent : void 0) != null ? ref : ' ';
+ offset = (ref1 = options != null ? options.offset : void 0) != null ? ref1 : 0;
+ newline = (ref2 = options != null ? options.newline : void 0) != null ? ref2 : '\n';
+ level || (level = 0);
+ space = new Array(level + offset + 1).join(indent);
+ r = '';
+ if (pretty) {
+ r += space;
+ }
+ r += '';
+ if (pretty) {
+ r += newline;
+ }
+ return r;
+ };
+
+ return XMLCData;
+
+ })(XMLNode);
+
+}).call(this);
+
+},{"./XMLNode":92,"lodash/object/create":140}],84:[function(require,module,exports){
+(function() {
+ var XMLComment, XMLNode, create,
+ extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
+ hasProp = {}.hasOwnProperty;
+
+ create = require('lodash/object/create');
+
+ XMLNode = require('./XMLNode');
+
+ module.exports = XMLComment = (function(superClass) {
+ extend(XMLComment, superClass);
+
+ function XMLComment(parent, text) {
+ XMLComment.__super__.constructor.call(this, parent);
+ if (text == null) {
+ throw new Error("Missing comment text");
+ }
+ this.text = this.stringify.comment(text);
+ }
+
+ XMLComment.prototype.clone = function() {
+ return create(XMLComment.prototype, this);
+ };
+
+ XMLComment.prototype.toString = function(options, level) {
+ var indent, newline, offset, pretty, r, ref, ref1, ref2, space;
+ pretty = (options != null ? options.pretty : void 0) || false;
+ indent = (ref = options != null ? options.indent : void 0) != null ? ref : ' ';
+ offset = (ref1 = options != null ? options.offset : void 0) != null ? ref1 : 0;
+ newline = (ref2 = options != null ? options.newline : void 0) != null ? ref2 : '\n';
+ level || (level = 0);
+ space = new Array(level + offset + 1).join(indent);
+ r = '';
+ if (pretty) {
+ r += space;
+ }
+ r += '';
+ if (pretty) {
+ r += newline;
+ }
+ return r;
+ };
+
+ return XMLComment;
+
+ })(XMLNode);
+
+}).call(this);
+
+},{"./XMLNode":92,"lodash/object/create":140}],85:[function(require,module,exports){
+(function() {
+ var XMLDTDAttList, create;
+
+ create = require('lodash/object/create');
+
+ module.exports = XMLDTDAttList = (function() {
+ function XMLDTDAttList(parent, elementName, attributeName, attributeType, defaultValueType, defaultValue) {
+ this.stringify = parent.stringify;
+ if (elementName == null) {
+ throw new Error("Missing DTD element name");
+ }
+ if (attributeName == null) {
+ throw new Error("Missing DTD attribute name");
+ }
+ if (!attributeType) {
+ throw new Error("Missing DTD attribute type");
+ }
+ if (!defaultValueType) {
+ throw new Error("Missing DTD attribute default");
+ }
+ if (defaultValueType.indexOf('#') !== 0) {
+ defaultValueType = '#' + defaultValueType;
+ }
+ if (!defaultValueType.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/)) {
+ throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT");
+ }
+ if (defaultValue && !defaultValueType.match(/^(#FIXED|#DEFAULT)$/)) {
+ throw new Error("Default value only applies to #FIXED or #DEFAULT");
+ }
+ this.elementName = this.stringify.eleName(elementName);
+ this.attributeName = this.stringify.attName(attributeName);
+ this.attributeType = this.stringify.dtdAttType(attributeType);
+ this.defaultValue = this.stringify.dtdAttDefault(defaultValue);
+ this.defaultValueType = defaultValueType;
+ }
+
+ XMLDTDAttList.prototype.clone = function() {
+ return create(XMLDTDAttList.prototype, this);
+ };
+
+ XMLDTDAttList.prototype.toString = function(options, level) {
+ var indent, newline, offset, pretty, r, ref, ref1, ref2, space;
+ pretty = (options != null ? options.pretty : void 0) || false;
+ indent = (ref = options != null ? options.indent : void 0) != null ? ref : ' ';
+ offset = (ref1 = options != null ? options.offset : void 0) != null ? ref1 : 0;
+ newline = (ref2 = options != null ? options.newline : void 0) != null ? ref2 : '\n';
+ level || (level = 0);
+ space = new Array(level + offset + 1).join(indent);
+ r = '';
+ if (pretty) {
+ r += space;
+ }
+ r += '';
+ if (pretty) {
+ r += newline;
+ }
+ return r;
+ };
+
+ return XMLDTDAttList;
+
+ })();
+
+}).call(this);
+
+},{"lodash/object/create":140}],86:[function(require,module,exports){
+(function() {
+ var XMLDTDElement, create, isArray;
+
+ create = require('lodash/object/create');
+
+ isArray = require('lodash/lang/isArray');
+
+ module.exports = XMLDTDElement = (function() {
+ function XMLDTDElement(parent, name, value) {
+ this.stringify = parent.stringify;
+ if (name == null) {
+ throw new Error("Missing DTD element name");
+ }
+ if (!value) {
+ value = '(#PCDATA)';
+ }
+ if (isArray(value)) {
+ value = '(' + value.join(',') + ')';
+ }
+ this.name = this.stringify.eleName(name);
+ this.value = this.stringify.dtdElementValue(value);
+ }
+
+ XMLDTDElement.prototype.clone = function() {
+ return create(XMLDTDElement.prototype, this);
+ };
+
+ XMLDTDElement.prototype.toString = function(options, level) {
+ var indent, newline, offset, pretty, r, ref, ref1, ref2, space;
+ pretty = (options != null ? options.pretty : void 0) || false;
+ indent = (ref = options != null ? options.indent : void 0) != null ? ref : ' ';
+ offset = (ref1 = options != null ? options.offset : void 0) != null ? ref1 : 0;
+ newline = (ref2 = options != null ? options.newline : void 0) != null ? ref2 : '\n';
+ level || (level = 0);
+ space = new Array(level + offset + 1).join(indent);
+ r = '';
+ if (pretty) {
+ r += space;
+ }
+ r += '';
+ if (pretty) {
+ r += newline;
+ }
+ return r;
+ };
+
+ return XMLDTDElement;
+
+ })();
+
+}).call(this);
+
+},{"lodash/lang/isArray":132,"lodash/object/create":140}],87:[function(require,module,exports){
+(function() {
+ var XMLDTDEntity, create, isObject;
+
+ create = require('lodash/object/create');
+
+ isObject = require('lodash/lang/isObject');
+
+ module.exports = XMLDTDEntity = (function() {
+ function XMLDTDEntity(parent, pe, name, value) {
+ this.stringify = parent.stringify;
+ if (name == null) {
+ throw new Error("Missing entity name");
+ }
+ if (value == null) {
+ throw new Error("Missing entity value");
+ }
+ this.pe = !!pe;
+ this.name = this.stringify.eleName(name);
+ if (!isObject(value)) {
+ this.value = this.stringify.dtdEntityValue(value);
+ } else {
+ if (!value.pubID && !value.sysID) {
+ throw new Error("Public and/or system identifiers are required for an external entity");
+ }
+ if (value.pubID && !value.sysID) {
+ throw new Error("System identifier is required for a public external entity");
+ }
+ if (value.pubID != null) {
+ this.pubID = this.stringify.dtdPubID(value.pubID);
+ }
+ if (value.sysID != null) {
+ this.sysID = this.stringify.dtdSysID(value.sysID);
+ }
+ if (value.nData != null) {
+ this.nData = this.stringify.dtdNData(value.nData);
+ }
+ if (this.pe && this.nData) {
+ throw new Error("Notation declaration is not allowed in a parameter entity");
+ }
+ }
+ }
+
+ XMLDTDEntity.prototype.clone = function() {
+ return create(XMLDTDEntity.prototype, this);
+ };
+
+ XMLDTDEntity.prototype.toString = function(options, level) {
+ var indent, newline, offset, pretty, r, ref, ref1, ref2, space;
+ pretty = (options != null ? options.pretty : void 0) || false;
+ indent = (ref = options != null ? options.indent : void 0) != null ? ref : ' ';
+ offset = (ref1 = options != null ? options.offset : void 0) != null ? ref1 : 0;
+ newline = (ref2 = options != null ? options.newline : void 0) != null ? ref2 : '\n';
+ level || (level = 0);
+ space = new Array(level + offset + 1).join(indent);
+ r = '';
+ if (pretty) {
+ r += space;
+ }
+ r += '';
+ if (pretty) {
+ r += newline;
+ }
+ return r;
+ };
+
+ return XMLDTDEntity;
+
+ })();
+
+}).call(this);
+
+},{"lodash/lang/isObject":136,"lodash/object/create":140}],88:[function(require,module,exports){
+(function() {
+ var XMLDTDNotation, create;
+
+ create = require('lodash/object/create');
+
+ module.exports = XMLDTDNotation = (function() {
+ function XMLDTDNotation(parent, name, value) {
+ this.stringify = parent.stringify;
+ if (name == null) {
+ throw new Error("Missing notation name");
+ }
+ if (!value.pubID && !value.sysID) {
+ throw new Error("Public or system identifiers are required for an external entity");
+ }
+ this.name = this.stringify.eleName(name);
+ if (value.pubID != null) {
+ this.pubID = this.stringify.dtdPubID(value.pubID);
+ }
+ if (value.sysID != null) {
+ this.sysID = this.stringify.dtdSysID(value.sysID);
+ }
+ }
+
+ XMLDTDNotation.prototype.clone = function() {
+ return create(XMLDTDNotation.prototype, this);
+ };
+
+ XMLDTDNotation.prototype.toString = function(options, level) {
+ var indent, newline, offset, pretty, r, ref, ref1, ref2, space;
+ pretty = (options != null ? options.pretty : void 0) || false;
+ indent = (ref = options != null ? options.indent : void 0) != null ? ref : ' ';
+ offset = (ref1 = options != null ? options.offset : void 0) != null ? ref1 : 0;
+ newline = (ref2 = options != null ? options.newline : void 0) != null ? ref2 : '\n';
+ level || (level = 0);
+ space = new Array(level + offset + 1).join(indent);
+ r = '';
+ if (pretty) {
+ r += space;
+ }
+ r += '';
+ if (pretty) {
+ r += newline;
+ }
+ return r;
+ };
+
+ return XMLDTDNotation;
+
+ })();
+
+}).call(this);
+
+},{"lodash/object/create":140}],89:[function(require,module,exports){
+(function() {
+ var XMLDeclaration, XMLNode, create, isObject,
+ extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
+ hasProp = {}.hasOwnProperty;
+
+ create = require('lodash/object/create');
+
+ isObject = require('lodash/lang/isObject');
+
+ XMLNode = require('./XMLNode');
+
+ module.exports = XMLDeclaration = (function(superClass) {
+ extend(XMLDeclaration, superClass);
+
+ function XMLDeclaration(parent, version, encoding, standalone) {
+ var ref;
+ XMLDeclaration.__super__.constructor.call(this, parent);
+ if (isObject(version)) {
+ ref = version, version = ref.version, encoding = ref.encoding, standalone = ref.standalone;
+ }
+ if (!version) {
+ version = '1.0';
+ }
+ if (version != null) {
+ this.version = this.stringify.xmlVersion(version);
+ }
+ if (encoding != null) {
+ this.encoding = this.stringify.xmlEncoding(encoding);
+ }
+ if (standalone != null) {
+ this.standalone = this.stringify.xmlStandalone(standalone);
+ }
+ }
+
+ XMLDeclaration.prototype.clone = function() {
+ return create(XMLDeclaration.prototype, this);
+ };
+
+ XMLDeclaration.prototype.toString = function(options, level) {
+ var indent, newline, offset, pretty, r, ref, ref1, ref2, space;
+ pretty = (options != null ? options.pretty : void 0) || false;
+ indent = (ref = options != null ? options.indent : void 0) != null ? ref : ' ';
+ offset = (ref1 = options != null ? options.offset : void 0) != null ? ref1 : 0;
+ newline = (ref2 = options != null ? options.newline : void 0) != null ? ref2 : '\n';
+ level || (level = 0);
+ space = new Array(level + offset + 1).join(indent);
+ r = '';
+ if (pretty) {
+ r += space;
+ }
+ r += '';
+ if (pretty) {
+ r += newline;
+ }
+ return r;
+ };
+
+ return XMLDeclaration;
+
+ })(XMLNode);
+
+}).call(this);
+
+},{"./XMLNode":92,"lodash/lang/isObject":136,"lodash/object/create":140}],90:[function(require,module,exports){
+(function() {
+ var XMLCData, XMLComment, XMLDTDAttList, XMLDTDElement, XMLDTDEntity, XMLDTDNotation, XMLDocType, XMLProcessingInstruction, create, isObject;
+
+ create = require('lodash/object/create');
+
+ isObject = require('lodash/lang/isObject');
+
+ XMLCData = require('./XMLCData');
+
+ XMLComment = require('./XMLComment');
+
+ XMLDTDAttList = require('./XMLDTDAttList');
+
+ XMLDTDEntity = require('./XMLDTDEntity');
+
+ XMLDTDElement = require('./XMLDTDElement');
+
+ XMLDTDNotation = require('./XMLDTDNotation');
+
+ XMLProcessingInstruction = require('./XMLProcessingInstruction');
+
+ module.exports = XMLDocType = (function() {
+ function XMLDocType(parent, pubID, sysID) {
+ var ref, ref1;
+ this.documentObject = parent;
+ this.stringify = this.documentObject.stringify;
+ this.children = [];
+ if (isObject(pubID)) {
+ ref = pubID, pubID = ref.pubID, sysID = ref.sysID;
+ }
+ if (sysID == null) {
+ ref1 = [pubID, sysID], sysID = ref1[0], pubID = ref1[1];
+ }
+ if (pubID != null) {
+ this.pubID = this.stringify.dtdPubID(pubID);
+ }
+ if (sysID != null) {
+ this.sysID = this.stringify.dtdSysID(sysID);
+ }
+ }
+
+ XMLDocType.prototype.clone = function() {
+ return create(XMLDocType.prototype, this);
+ };
+
+ XMLDocType.prototype.element = function(name, value) {
+ var child;
+ child = new XMLDTDElement(this, name, value);
+ this.children.push(child);
+ return this;
+ };
+
+ XMLDocType.prototype.attList = function(elementName, attributeName, attributeType, defaultValueType, defaultValue) {
+ var child;
+ child = new XMLDTDAttList(this, elementName, attributeName, attributeType, defaultValueType, defaultValue);
+ this.children.push(child);
+ return this;
+ };
+
+ XMLDocType.prototype.entity = function(name, value) {
+ var child;
+ child = new XMLDTDEntity(this, false, name, value);
+ this.children.push(child);
+ return this;
+ };
+
+ XMLDocType.prototype.pEntity = function(name, value) {
+ var child;
+ child = new XMLDTDEntity(this, true, name, value);
+ this.children.push(child);
+ return this;
+ };
+
+ XMLDocType.prototype.notation = function(name, value) {
+ var child;
+ child = new XMLDTDNotation(this, name, value);
+ this.children.push(child);
+ return this;
+ };
+
+ XMLDocType.prototype.cdata = function(value) {
+ var child;
+ child = new XMLCData(this, value);
+ this.children.push(child);
+ return this;
+ };
+
+ XMLDocType.prototype.comment = function(value) {
+ var child;
+ child = new XMLComment(this, value);
+ this.children.push(child);
+ return this;
+ };
+
+ XMLDocType.prototype.instruction = function(target, value) {
+ var child;
+ child = new XMLProcessingInstruction(this, target, value);
+ this.children.push(child);
+ return this;
+ };
+
+ XMLDocType.prototype.root = function() {
+ return this.documentObject.root();
+ };
+
+ XMLDocType.prototype.document = function() {
+ return this.documentObject;
+ };
+
+ XMLDocType.prototype.toString = function(options, level) {
+ var child, i, indent, len, newline, offset, pretty, r, ref, ref1, ref2, ref3, space;
+ pretty = (options != null ? options.pretty : void 0) || false;
+ indent = (ref = options != null ? options.indent : void 0) != null ? ref : ' ';
+ offset = (ref1 = options != null ? options.offset : void 0) != null ? ref1 : 0;
+ newline = (ref2 = options != null ? options.newline : void 0) != null ? ref2 : '\n';
+ level || (level = 0);
+ space = new Array(level + offset + 1).join(indent);
+ r = '';
+ if (pretty) {
+ r += space;
+ }
+ r += ' 0) {
+ r += ' [';
+ if (pretty) {
+ r += newline;
+ }
+ ref3 = this.children;
+ for (i = 0, len = ref3.length; i < len; i++) {
+ child = ref3[i];
+ r += child.toString(options, level + 1);
+ }
+ r += ']';
+ }
+ r += '>';
+ if (pretty) {
+ r += newline;
+ }
+ return r;
+ };
+
+ XMLDocType.prototype.ele = function(name, value) {
+ return this.element(name, value);
+ };
+
+ XMLDocType.prototype.att = function(elementName, attributeName, attributeType, defaultValueType, defaultValue) {
+ return this.attList(elementName, attributeName, attributeType, defaultValueType, defaultValue);
+ };
+
+ XMLDocType.prototype.ent = function(name, value) {
+ return this.entity(name, value);
+ };
+
+ XMLDocType.prototype.pent = function(name, value) {
+ return this.pEntity(name, value);
+ };
+
+ XMLDocType.prototype.not = function(name, value) {
+ return this.notation(name, value);
+ };
+
+ XMLDocType.prototype.dat = function(value) {
+ return this.cdata(value);
+ };
+
+ XMLDocType.prototype.com = function(value) {
+ return this.comment(value);
+ };
+
+ XMLDocType.prototype.ins = function(target, value) {
+ return this.instruction(target, value);
+ };
+
+ XMLDocType.prototype.up = function() {
+ return this.root();
+ };
+
+ XMLDocType.prototype.doc = function() {
+ return this.document();
+ };
+
+ return XMLDocType;
+
+ })();
+
+}).call(this);
+
+},{"./XMLCData":83,"./XMLComment":84,"./XMLDTDAttList":85,"./XMLDTDElement":86,"./XMLDTDEntity":87,"./XMLDTDNotation":88,"./XMLProcessingInstruction":93,"lodash/lang/isObject":136,"lodash/object/create":140}],91:[function(require,module,exports){
+(function() {
+ var XMLAttribute, XMLElement, XMLNode, XMLProcessingInstruction, create, every, isArray, isFunction, isObject,
+ extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
+ hasProp = {}.hasOwnProperty;
+
+ create = require('lodash/object/create');
+
+ isObject = require('lodash/lang/isObject');
+
+ isArray = require('lodash/lang/isArray');
+
+ isFunction = require('lodash/lang/isFunction');
+
+ every = require('lodash/collection/every');
+
+ XMLNode = require('./XMLNode');
+
+ XMLAttribute = require('./XMLAttribute');
+
+ XMLProcessingInstruction = require('./XMLProcessingInstruction');
+
+ module.exports = XMLElement = (function(superClass) {
+ extend(XMLElement, superClass);
+
+ function XMLElement(parent, name, attributes) {
+ XMLElement.__super__.constructor.call(this, parent);
+ if (name == null) {
+ throw new Error("Missing element name");
+ }
+ this.name = this.stringify.eleName(name);
+ this.children = [];
+ this.instructions = [];
+ this.attributes = {};
+ if (attributes != null) {
+ this.attribute(attributes);
+ }
+ }
+
+ XMLElement.prototype.clone = function() {
+ var att, attName, clonedSelf, i, len, pi, ref, ref1;
+ clonedSelf = create(XMLElement.prototype, this);
+ if (clonedSelf.isRoot) {
+ clonedSelf.documentObject = null;
+ }
+ clonedSelf.attributes = {};
+ ref = this.attributes;
+ for (attName in ref) {
+ if (!hasProp.call(ref, attName)) continue;
+ att = ref[attName];
+ clonedSelf.attributes[attName] = att.clone();
+ }
+ clonedSelf.instructions = [];
+ ref1 = this.instructions;
+ for (i = 0, len = ref1.length; i < len; i++) {
+ pi = ref1[i];
+ clonedSelf.instructions.push(pi.clone());
+ }
+ clonedSelf.children = [];
+ this.children.forEach(function(child) {
+ var clonedChild;
+ clonedChild = child.clone();
+ clonedChild.parent = clonedSelf;
+ return clonedSelf.children.push(clonedChild);
+ });
+ return clonedSelf;
+ };
+
+ XMLElement.prototype.attribute = function(name, value) {
+ var attName, attValue;
+ if (name != null) {
+ name = name.valueOf();
+ }
+ if (isObject(name)) {
+ for (attName in name) {
+ if (!hasProp.call(name, attName)) continue;
+ attValue = name[attName];
+ this.attribute(attName, attValue);
+ }
+ } else {
+ if (isFunction(value)) {
+ value = value.apply();
+ }
+ if (!this.options.skipNullAttributes || (value != null)) {
+ this.attributes[name] = new XMLAttribute(this, name, value);
+ }
+ }
+ return this;
+ };
+
+ XMLElement.prototype.removeAttribute = function(name) {
+ var attName, i, len;
+ if (name == null) {
+ throw new Error("Missing attribute name");
+ }
+ name = name.valueOf();
+ if (isArray(name)) {
+ for (i = 0, len = name.length; i < len; i++) {
+ attName = name[i];
+ delete this.attributes[attName];
+ }
+ } else {
+ delete this.attributes[name];
+ }
+ return this;
+ };
+
+ XMLElement.prototype.instruction = function(target, value) {
+ var i, insTarget, insValue, instruction, len;
+ if (target != null) {
+ target = target.valueOf();
+ }
+ if (value != null) {
+ value = value.valueOf();
+ }
+ if (isArray(target)) {
+ for (i = 0, len = target.length; i < len; i++) {
+ insTarget = target[i];
+ this.instruction(insTarget);
+ }
+ } else if (isObject(target)) {
+ for (insTarget in target) {
+ if (!hasProp.call(target, insTarget)) continue;
+ insValue = target[insTarget];
+ this.instruction(insTarget, insValue);
+ }
+ } else {
+ if (isFunction(value)) {
+ value = value.apply();
+ }
+ instruction = new XMLProcessingInstruction(this, target, value);
+ this.instructions.push(instruction);
+ }
+ return this;
+ };
+
+ XMLElement.prototype.toString = function(options, level) {
+ var att, child, i, indent, instruction, j, len, len1, name, newline, offset, pretty, r, ref, ref1, ref2, ref3, ref4, ref5, space;
+ pretty = (options != null ? options.pretty : void 0) || false;
+ indent = (ref = options != null ? options.indent : void 0) != null ? ref : ' ';
+ offset = (ref1 = options != null ? options.offset : void 0) != null ? ref1 : 0;
+ newline = (ref2 = options != null ? options.newline : void 0) != null ? ref2 : '\n';
+ level || (level = 0);
+ space = new Array(level + offset + 1).join(indent);
+ r = '';
+ ref3 = this.instructions;
+ for (i = 0, len = ref3.length; i < len; i++) {
+ instruction = ref3[i];
+ r += instruction.toString(options, level + 1);
+ }
+ if (pretty) {
+ r += space;
+ }
+ r += '<' + this.name;
+ ref4 = this.attributes;
+ for (name in ref4) {
+ if (!hasProp.call(ref4, name)) continue;
+ att = ref4[name];
+ r += att.toString(options);
+ }
+ if (this.children.length === 0 || every(this.children, function(e) {
+ return e.value === '';
+ })) {
+ r += '/>';
+ if (pretty) {
+ r += newline;
+ }
+ } else if (pretty && this.children.length === 1 && (this.children[0].value != null)) {
+ r += '>';
+ r += this.children[0].value;
+ r += '' + this.name + '>';
+ r += newline;
+ } else {
+ r += '>';
+ if (pretty) {
+ r += newline;
+ }
+ ref5 = this.children;
+ for (j = 0, len1 = ref5.length; j < len1; j++) {
+ child = ref5[j];
+ r += child.toString(options, level + 1);
+ }
+ if (pretty) {
+ r += space;
+ }
+ r += '' + this.name + '>';
+ if (pretty) {
+ r += newline;
+ }
+ }
+ return r;
+ };
+
+ XMLElement.prototype.att = function(name, value) {
+ return this.attribute(name, value);
+ };
+
+ XMLElement.prototype.ins = function(target, value) {
+ return this.instruction(target, value);
+ };
+
+ XMLElement.prototype.a = function(name, value) {
+ return this.attribute(name, value);
+ };
+
+ XMLElement.prototype.i = function(target, value) {
+ return this.instruction(target, value);
+ };
+
+ return XMLElement;
+
+ })(XMLNode);
+
+}).call(this);
+
+},{"./XMLAttribute":81,"./XMLNode":92,"./XMLProcessingInstruction":93,"lodash/collection/every":98,"lodash/lang/isArray":132,"lodash/lang/isFunction":134,"lodash/lang/isObject":136,"lodash/object/create":140}],92:[function(require,module,exports){
+(function() {
+ var XMLCData, XMLComment, XMLDeclaration, XMLDocType, XMLElement, XMLNode, XMLRaw, XMLText, isArray, isEmpty, isFunction, isObject,
+ hasProp = {}.hasOwnProperty;
+
+ isObject = require('lodash/lang/isObject');
+
+ isArray = require('lodash/lang/isArray');
+
+ isFunction = require('lodash/lang/isFunction');
+
+ isEmpty = require('lodash/lang/isEmpty');
+
+ XMLElement = null;
+
+ XMLCData = null;
+
+ XMLComment = null;
+
+ XMLDeclaration = null;
+
+ XMLDocType = null;
+
+ XMLRaw = null;
+
+ XMLText = null;
+
+ module.exports = XMLNode = (function() {
+ function XMLNode(parent) {
+ this.parent = parent;
+ this.options = this.parent.options;
+ this.stringify = this.parent.stringify;
+ if (XMLElement === null) {
+ XMLElement = require('./XMLElement');
+ XMLCData = require('./XMLCData');
+ XMLComment = require('./XMLComment');
+ XMLDeclaration = require('./XMLDeclaration');
+ XMLDocType = require('./XMLDocType');
+ XMLRaw = require('./XMLRaw');
+ XMLText = require('./XMLText');
+ }
+ }
+
+ XMLNode.prototype.clone = function() {
+ throw new Error("Cannot clone generic XMLNode");
+ };
+
+ XMLNode.prototype.element = function(name, attributes, text) {
+ var item, j, key, lastChild, len, ref, val;
+ lastChild = null;
+ if (attributes == null) {
+ attributes = {};
+ }
+ attributes = attributes.valueOf();
+ if (!isObject(attributes)) {
+ ref = [attributes, text], text = ref[0], attributes = ref[1];
+ }
+ if (name != null) {
+ name = name.valueOf();
+ }
+ if (isArray(name)) {
+ for (j = 0, len = name.length; j < len; j++) {
+ item = name[j];
+ lastChild = this.element(item);
+ }
+ } else if (isFunction(name)) {
+ lastChild = this.element(name.apply());
+ } else if (isObject(name)) {
+ for (key in name) {
+ if (!hasProp.call(name, key)) continue;
+ val = name[key];
+ if (isFunction(val)) {
+ val = val.apply();
+ }
+ if ((isObject(val)) && (isEmpty(val))) {
+ val = null;
+ }
+ if (!this.options.ignoreDecorators && this.stringify.convertAttKey && key.indexOf(this.stringify.convertAttKey) === 0) {
+ lastChild = this.attribute(key.substr(this.stringify.convertAttKey.length), val);
+ } else if (!this.options.ignoreDecorators && this.stringify.convertPIKey && key.indexOf(this.stringify.convertPIKey) === 0) {
+ lastChild = this.instruction(key.substr(this.stringify.convertPIKey.length), val);
+ } else if (isObject(val)) {
+ if (!this.options.ignoreDecorators && this.stringify.convertListKey && key.indexOf(this.stringify.convertListKey) === 0 && isArray(val)) {
+ lastChild = this.element(val);
+ } else {
+ lastChild = this.element(key);
+ lastChild.element(val);
+ }
+ } else {
+ lastChild = this.element(key, val);
+ }
+ }
+ } else {
+ if (!this.options.ignoreDecorators && this.stringify.convertTextKey && name.indexOf(this.stringify.convertTextKey) === 0) {
+ lastChild = this.text(text);
+ } else if (!this.options.ignoreDecorators && this.stringify.convertCDataKey && name.indexOf(this.stringify.convertCDataKey) === 0) {
+ lastChild = this.cdata(text);
+ } else if (!this.options.ignoreDecorators && this.stringify.convertCommentKey && name.indexOf(this.stringify.convertCommentKey) === 0) {
+ lastChild = this.comment(text);
+ } else if (!this.options.ignoreDecorators && this.stringify.convertRawKey && name.indexOf(this.stringify.convertRawKey) === 0) {
+ lastChild = this.raw(text);
+ } else {
+ lastChild = this.node(name, attributes, text);
+ }
+ }
+ if (lastChild == null) {
+ throw new Error("Could not create any elements with: " + name);
+ }
+ return lastChild;
+ };
+
+ XMLNode.prototype.insertBefore = function(name, attributes, text) {
+ var child, i, removed;
+ if (this.isRoot) {
+ throw new Error("Cannot insert elements at root level");
+ }
+ i = this.parent.children.indexOf(this);
+ removed = this.parent.children.splice(i);
+ child = this.parent.element(name, attributes, text);
+ Array.prototype.push.apply(this.parent.children, removed);
+ return child;
+ };
+
+ XMLNode.prototype.insertAfter = function(name, attributes, text) {
+ var child, i, removed;
+ if (this.isRoot) {
+ throw new Error("Cannot insert elements at root level");
+ }
+ i = this.parent.children.indexOf(this);
+ removed = this.parent.children.splice(i + 1);
+ child = this.parent.element(name, attributes, text);
+ Array.prototype.push.apply(this.parent.children, removed);
+ return child;
+ };
+
+ XMLNode.prototype.remove = function() {
+ var i, ref;
+ if (this.isRoot) {
+ throw new Error("Cannot remove the root element");
+ }
+ i = this.parent.children.indexOf(this);
+ [].splice.apply(this.parent.children, [i, i - i + 1].concat(ref = [])), ref;
+ return this.parent;
+ };
+
+ XMLNode.prototype.node = function(name, attributes, text) {
+ var child, ref;
+ if (name != null) {
+ name = name.valueOf();
+ }
+ if (attributes == null) {
+ attributes = {};
+ }
+ attributes = attributes.valueOf();
+ if (!isObject(attributes)) {
+ ref = [attributes, text], text = ref[0], attributes = ref[1];
+ }
+ child = new XMLElement(this, name, attributes);
+ if (text != null) {
+ child.text(text);
+ }
+ this.children.push(child);
+ return child;
+ };
+
+ XMLNode.prototype.text = function(value) {
+ var child;
+ child = new XMLText(this, value);
+ this.children.push(child);
+ return this;
+ };
+
+ XMLNode.prototype.cdata = function(value) {
+ var child;
+ child = new XMLCData(this, value);
+ this.children.push(child);
+ return this;
+ };
+
+ XMLNode.prototype.comment = function(value) {
+ var child;
+ child = new XMLComment(this, value);
+ this.children.push(child);
+ return this;
+ };
+
+ XMLNode.prototype.raw = function(value) {
+ var child;
+ child = new XMLRaw(this, value);
+ this.children.push(child);
+ return this;
+ };
+
+ XMLNode.prototype.declaration = function(version, encoding, standalone) {
+ var doc, xmldec;
+ doc = this.document();
+ xmldec = new XMLDeclaration(doc, version, encoding, standalone);
+ doc.xmldec = xmldec;
+ return doc.root();
+ };
+
+ XMLNode.prototype.doctype = function(pubID, sysID) {
+ var doc, doctype;
+ doc = this.document();
+ doctype = new XMLDocType(doc, pubID, sysID);
+ doc.doctype = doctype;
+ return doctype;
+ };
+
+ XMLNode.prototype.up = function() {
+ if (this.isRoot) {
+ throw new Error("The root node has no parent. Use doc() if you need to get the document object.");
+ }
+ return this.parent;
+ };
+
+ XMLNode.prototype.root = function() {
+ var child;
+ if (this.isRoot) {
+ return this;
+ }
+ child = this.parent;
+ while (!child.isRoot) {
+ child = child.parent;
+ }
+ return child;
+ };
+
+ XMLNode.prototype.document = function() {
+ return this.root().documentObject;
+ };
+
+ XMLNode.prototype.end = function(options) {
+ return this.document().toString(options);
+ };
+
+ XMLNode.prototype.prev = function() {
+ var i;
+ if (this.isRoot) {
+ throw new Error("Root node has no siblings");
+ }
+ i = this.parent.children.indexOf(this);
+ if (i < 1) {
+ throw new Error("Already at the first node");
+ }
+ return this.parent.children[i - 1];
+ };
+
+ XMLNode.prototype.next = function() {
+ var i;
+ if (this.isRoot) {
+ throw new Error("Root node has no siblings");
+ }
+ i = this.parent.children.indexOf(this);
+ if (i === -1 || i === this.parent.children.length - 1) {
+ throw new Error("Already at the last node");
+ }
+ return this.parent.children[i + 1];
+ };
+
+ XMLNode.prototype.importXMLBuilder = function(xmlbuilder) {
+ var clonedRoot;
+ clonedRoot = xmlbuilder.root().clone();
+ clonedRoot.parent = this;
+ clonedRoot.isRoot = false;
+ this.children.push(clonedRoot);
+ return this;
+ };
+
+ XMLNode.prototype.ele = function(name, attributes, text) {
+ return this.element(name, attributes, text);
+ };
+
+ XMLNode.prototype.nod = function(name, attributes, text) {
+ return this.node(name, attributes, text);
+ };
+
+ XMLNode.prototype.txt = function(value) {
+ return this.text(value);
+ };
+
+ XMLNode.prototype.dat = function(value) {
+ return this.cdata(value);
+ };
+
+ XMLNode.prototype.com = function(value) {
+ return this.comment(value);
+ };
+
+ XMLNode.prototype.doc = function() {
+ return this.document();
+ };
+
+ XMLNode.prototype.dec = function(version, encoding, standalone) {
+ return this.declaration(version, encoding, standalone);
+ };
+
+ XMLNode.prototype.dtd = function(pubID, sysID) {
+ return this.doctype(pubID, sysID);
+ };
+
+ XMLNode.prototype.e = function(name, attributes, text) {
+ return this.element(name, attributes, text);
+ };
+
+ XMLNode.prototype.n = function(name, attributes, text) {
+ return this.node(name, attributes, text);
+ };
+
+ XMLNode.prototype.t = function(value) {
+ return this.text(value);
+ };
+
+ XMLNode.prototype.d = function(value) {
+ return this.cdata(value);
+ };
+
+ XMLNode.prototype.c = function(value) {
+ return this.comment(value);
+ };
+
+ XMLNode.prototype.r = function(value) {
+ return this.raw(value);
+ };
+
+ XMLNode.prototype.u = function() {
+ return this.up();
+ };
+
+ return XMLNode;
+
+ })();
+
+}).call(this);
+
+},{"./XMLCData":83,"./XMLComment":84,"./XMLDeclaration":89,"./XMLDocType":90,"./XMLElement":91,"./XMLRaw":94,"./XMLText":96,"lodash/lang/isArray":132,"lodash/lang/isEmpty":133,"lodash/lang/isFunction":134,"lodash/lang/isObject":136}],93:[function(require,module,exports){
+(function() {
+ var XMLProcessingInstruction, create;
+
+ create = require('lodash/object/create');
+
+ module.exports = XMLProcessingInstruction = (function() {
+ function XMLProcessingInstruction(parent, target, value) {
+ this.stringify = parent.stringify;
+ if (target == null) {
+ throw new Error("Missing instruction target");
+ }
+ this.target = this.stringify.insTarget(target);
+ if (value) {
+ this.value = this.stringify.insValue(value);
+ }
+ }
+
+ XMLProcessingInstruction.prototype.clone = function() {
+ return create(XMLProcessingInstruction.prototype, this);
+ };
+
+ XMLProcessingInstruction.prototype.toString = function(options, level) {
+ var indent, newline, offset, pretty, r, ref, ref1, ref2, space;
+ pretty = (options != null ? options.pretty : void 0) || false;
+ indent = (ref = options != null ? options.indent : void 0) != null ? ref : ' ';
+ offset = (ref1 = options != null ? options.offset : void 0) != null ? ref1 : 0;
+ newline = (ref2 = options != null ? options.newline : void 0) != null ? ref2 : '\n';
+ level || (level = 0);
+ space = new Array(level + offset + 1).join(indent);
+ r = '';
+ if (pretty) {
+ r += space;
+ }
+ r += '';
+ r += this.target;
+ if (this.value) {
+ r += ' ' + this.value;
+ }
+ r += '?>';
+ if (pretty) {
+ r += newline;
+ }
+ return r;
+ };
+
+ return XMLProcessingInstruction;
+
+ })();
+
+}).call(this);
+
+},{"lodash/object/create":140}],94:[function(require,module,exports){
+(function() {
+ var XMLNode, XMLRaw, create,
+ extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
+ hasProp = {}.hasOwnProperty;
+
+ create = require('lodash/object/create');
+
+ XMLNode = require('./XMLNode');
+
+ module.exports = XMLRaw = (function(superClass) {
+ extend(XMLRaw, superClass);
+
+ function XMLRaw(parent, text) {
+ XMLRaw.__super__.constructor.call(this, parent);
+ if (text == null) {
+ throw new Error("Missing raw text");
+ }
+ this.value = this.stringify.raw(text);
+ }
+
+ XMLRaw.prototype.clone = function() {
+ return create(XMLRaw.prototype, this);
+ };
+
+ XMLRaw.prototype.toString = function(options, level) {
+ var indent, newline, offset, pretty, r, ref, ref1, ref2, space;
+ pretty = (options != null ? options.pretty : void 0) || false;
+ indent = (ref = options != null ? options.indent : void 0) != null ? ref : ' ';
+ offset = (ref1 = options != null ? options.offset : void 0) != null ? ref1 : 0;
+ newline = (ref2 = options != null ? options.newline : void 0) != null ? ref2 : '\n';
+ level || (level = 0);
+ space = new Array(level + offset + 1).join(indent);
+ r = '';
+ if (pretty) {
+ r += space;
+ }
+ r += this.value;
+ if (pretty) {
+ r += newline;
+ }
+ return r;
+ };
+
+ return XMLRaw;
+
+ })(XMLNode);
+
+}).call(this);
+
+},{"./XMLNode":92,"lodash/object/create":140}],95:[function(require,module,exports){
+(function() {
+ var XMLStringifier,
+ bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },
+ hasProp = {}.hasOwnProperty;
+
+ module.exports = XMLStringifier = (function() {
+ function XMLStringifier(options) {
+ this.assertLegalChar = bind(this.assertLegalChar, this);
+ var key, ref, value;
+ this.allowSurrogateChars = options != null ? options.allowSurrogateChars : void 0;
+ ref = (options != null ? options.stringify : void 0) || {};
+ for (key in ref) {
+ if (!hasProp.call(ref, key)) continue;
+ value = ref[key];
+ this[key] = value;
+ }
+ }
+
+ XMLStringifier.prototype.eleName = function(val) {
+ val = '' + val || '';
+ return this.assertLegalChar(val);
+ };
+
+ XMLStringifier.prototype.eleText = function(val) {
+ val = '' + val || '';
+ return this.assertLegalChar(this.elEscape(val));
+ };
+
+ XMLStringifier.prototype.cdata = function(val) {
+ val = '' + val || '';
+ if (val.match(/]]>/)) {
+ throw new Error("Invalid CDATA text: " + val);
+ }
+ return this.assertLegalChar(val);
+ };
+
+ XMLStringifier.prototype.comment = function(val) {
+ val = '' + val || '';
+ if (val.match(/--/)) {
+ throw new Error("Comment text cannot contain double-hypen: " + val);
+ }
+ return this.assertLegalChar(val);
+ };
+
+ XMLStringifier.prototype.raw = function(val) {
+ return '' + val || '';
+ };
+
+ XMLStringifier.prototype.attName = function(val) {
+ return '' + val || '';
+ };
+
+ XMLStringifier.prototype.attValue = function(val) {
+ val = '' + val || '';
+ return this.attEscape(val);
+ };
+
+ XMLStringifier.prototype.insTarget = function(val) {
+ return '' + val || '';
+ };
+
+ XMLStringifier.prototype.insValue = function(val) {
+ val = '' + val || '';
+ if (val.match(/\?>/)) {
+ throw new Error("Invalid processing instruction value: " + val);
+ }
+ return val;
+ };
+
+ XMLStringifier.prototype.xmlVersion = function(val) {
+ val = '' + val || '';
+ if (!val.match(/1\.[0-9]+/)) {
+ throw new Error("Invalid version number: " + val);
+ }
+ return val;
+ };
+
+ XMLStringifier.prototype.xmlEncoding = function(val) {
+ val = '' + val || '';
+ if (!val.match(/[A-Za-z](?:[A-Za-z0-9._-]|-)*/)) {
+ throw new Error("Invalid encoding: " + val);
+ }
+ return val;
+ };
+
+ XMLStringifier.prototype.xmlStandalone = function(val) {
+ if (val) {
+ return "yes";
+ } else {
+ return "no";
+ }
+ };
+
+ XMLStringifier.prototype.dtdPubID = function(val) {
+ return '' + val || '';
+ };
+
+ XMLStringifier.prototype.dtdSysID = function(val) {
+ return '' + val || '';
+ };
+
+ XMLStringifier.prototype.dtdElementValue = function(val) {
+ return '' + val || '';
+ };
+
+ XMLStringifier.prototype.dtdAttType = function(val) {
+ return '' + val || '';
+ };
+
+ XMLStringifier.prototype.dtdAttDefault = function(val) {
+ if (val != null) {
+ return '' + val || '';
+ } else {
+ return val;
+ }
+ };
+
+ XMLStringifier.prototype.dtdEntityValue = function(val) {
+ return '' + val || '';
+ };
+
+ XMLStringifier.prototype.dtdNData = function(val) {
+ return '' + val || '';
+ };
+
+ XMLStringifier.prototype.convertAttKey = '@';
+
+ XMLStringifier.prototype.convertPIKey = '?';
+
+ XMLStringifier.prototype.convertTextKey = '#text';
+
+ XMLStringifier.prototype.convertCDataKey = '#cdata';
+
+ XMLStringifier.prototype.convertCommentKey = '#comment';
+
+ XMLStringifier.prototype.convertRawKey = '#raw';
+
+ XMLStringifier.prototype.convertListKey = '#list';
+
+ XMLStringifier.prototype.assertLegalChar = function(str) {
+ var chars, chr;
+ if (this.allowSurrogateChars) {
+ chars = /[\u0000-\u0008\u000B-\u000C\u000E-\u001F\uFFFE-\uFFFF]/;
+ } else {
+ chars = /[\u0000-\u0008\u000B-\u000C\u000E-\u001F\uD800-\uDFFF\uFFFE-\uFFFF]/;
+ }
+ chr = str.match(chars);
+ if (chr) {
+ throw new Error("Invalid character (" + chr + ") in string: " + str + " at index " + chr.index);
+ }
+ return str;
+ };
+
+ XMLStringifier.prototype.elEscape = function(str) {
+ return str.replace(/&/g, '&').replace(//g, '>').replace(/\r/g, '
');
+ };
+
+ XMLStringifier.prototype.attEscape = function(str) {
+ return str.replace(/&/g, '&').replace(/ 3 && typeof customizer == 'function') {
+ customizer = bindCallback(customizer, thisArg, 5);
+ length -= 2;
+ } else {
+ customizer = (length > 2 && typeof thisArg == 'function') ? thisArg : null;
+ length -= (customizer ? 1 : 0);
+ }
+ if (guard && isIterateeCall(args[1], args[2], guard)) {
+ customizer = length == 3 ? null : customizer;
+ length = 2;
+ }
+ var index = 0;
+ while (++index < length) {
+ var source = args[index];
+ if (source) {
+ assigner(object, source, customizer);
+ }
+ }
+ return object;
+ };
+}
+
+module.exports = createAssigner;
+
+},{"./bindCallback":117,"./isIterateeCall":124}],119:[function(require,module,exports){
+
+function equalArrays(array, other, equalFunc, customizer, isWhere, stackA, stackB) {
+ var index = -1,
+ arrLength = array.length,
+ othLength = other.length,
+ result = true;
+
+ if (arrLength != othLength && !(isWhere && othLength > arrLength)) {
+ return false;
+ }
+ while (result && ++index < arrLength) {
+ var arrValue = array[index],
+ othValue = other[index];
+
+ result = undefined;
+ if (customizer) {
+ result = isWhere
+ ? customizer(othValue, arrValue, index)
+ : customizer(arrValue, othValue, index);
+ }
+ if (typeof result == 'undefined') {
+ if (isWhere) {
+ var othIndex = othLength;
+ while (othIndex--) {
+ othValue = other[othIndex];
+ result = (arrValue && arrValue === othValue) || equalFunc(arrValue, othValue, customizer, isWhere, stackA, stackB);
+ if (result) {
+ break;
+ }
+ }
+ } else {
+ result = (arrValue && arrValue === othValue) || equalFunc(arrValue, othValue, customizer, isWhere, stackA, stackB);
+ }
+ }
+ }
+ return !!result;
+}
+
+module.exports = equalArrays;
+
+},{}],120:[function(require,module,exports){
+
+var boolTag = '[object Boolean]',
+ dateTag = '[object Date]',
+ errorTag = '[object Error]',
+ numberTag = '[object Number]',
+ regexpTag = '[object RegExp]',
+ stringTag = '[object String]';
+
+
+function equalByTag(object, other, tag) {
+ switch (tag) {
+ case boolTag:
+ case dateTag:
+ return +object == +other;
+
+ case errorTag:
+ return object.name == other.name && object.message == other.message;
+
+ case numberTag:
+ return (object != +object)
+ ? other != +other
+ : (object == 0 ? ((1 / object) == (1 / other)) : object == +other);
+
+ case regexpTag:
+ case stringTag:
+ return object == (other + '');
+ }
+ return false;
+}
+
+module.exports = equalByTag;
+
+},{}],121:[function(require,module,exports){
+var keys = require('../object/keys');
+
+
+var objectProto = Object.prototype;
+
+
+var hasOwnProperty = objectProto.hasOwnProperty;
+
+
+function equalObjects(object, other, equalFunc, customizer, isWhere, stackA, stackB) {
+ var objProps = keys(object),
+ objLength = objProps.length,
+ othProps = keys(other),
+ othLength = othProps.length;
+
+ if (objLength != othLength && !isWhere) {
+ return false;
+ }
+ var hasCtor,
+ index = -1;
+
+ while (++index < objLength) {
+ var key = objProps[index],
+ result = hasOwnProperty.call(other, key);
+
+ if (result) {
+ var objValue = object[key],
+ othValue = other[key];
+
+ result = undefined;
+ if (customizer) {
+ result = isWhere
+ ? customizer(othValue, objValue, key)
+ : customizer(objValue, othValue, key);
+ }
+ if (typeof result == 'undefined') {
+ result = (objValue && objValue === othValue) || equalFunc(objValue, othValue, customizer, isWhere, stackA, stackB);
+ }
+ }
+ if (!result) {
+ return false;
+ }
+ hasCtor || (hasCtor = key == 'constructor');
+ }
+ if (!hasCtor) {
+ var objCtor = object.constructor,
+ othCtor = other.constructor;
+
+ if (objCtor != othCtor &&
+ ('constructor' in object && 'constructor' in other) &&
+ !(typeof objCtor == 'function' && objCtor instanceof objCtor &&
+ typeof othCtor == 'function' && othCtor instanceof othCtor)) {
+ return false;
+ }
+ }
+ return true;
+}
+
+module.exports = equalObjects;
+
+},{"../object/keys":141}],122:[function(require,module,exports){
+var baseSetData = require('./baseSetData'),
+ isNative = require('../lang/isNative'),
+ support = require('../support');
+
+
+var reFuncName = /^\s*function[ \n\r\t]+\w/;
+
+
+var reThis = /\bthis\b/;
+
+
+var fnToString = Function.prototype.toString;
+
+
+function isBindable(func) {
+ var result = !(support.funcNames ? func.name : support.funcDecomp);
+
+ if (!result) {
+ var source = fnToString.call(func);
+ if (!support.funcNames) {
+ result = !reFuncName.test(source);
+ }
+ if (!result) {
+ result = reThis.test(source) || isNative(func);
+ baseSetData(func, result);
+ }
+ }
+ return result;
+}
+
+module.exports = isBindable;
+
+},{"../lang/isNative":135,"../support":144,"./baseSetData":115}],123:[function(require,module,exports){
+
+var MAX_SAFE_INTEGER = Math.pow(2, 53) - 1;
+
+
+function isIndex(value, length) {
+ value = +value;
+ length = length == null ? MAX_SAFE_INTEGER : length;
+ return value > -1 && value % 1 == 0 && value < length;
+}
+
+module.exports = isIndex;
+
+},{}],124:[function(require,module,exports){
+var isIndex = require('./isIndex'),
+ isLength = require('./isLength'),
+ isObject = require('../lang/isObject');
+
+
+function isIterateeCall(value, index, object) {
+ if (!isObject(object)) {
+ return false;
+ }
+ var type = typeof index;
+ if (type == 'number') {
+ var length = object.length,
+ prereq = isLength(length) && isIndex(index, length);
+ } else {
+ prereq = type == 'string' && index in object;
+ }
+ if (prereq) {
+ var other = object[index];
+ return value === value ? (value === other) : (other !== other);
+ }
+ return false;
+}
+
+module.exports = isIterateeCall;
+
+},{"../lang/isObject":136,"./isIndex":123,"./isLength":125}],125:[function(require,module,exports){
+
+var MAX_SAFE_INTEGER = Math.pow(2, 53) - 1;
+
+
+function isLength(value) {
+ return typeof value == 'number' && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
+}
+
+module.exports = isLength;
+
+},{}],126:[function(require,module,exports){
+
+function isObjectLike(value) {
+ return (value && typeof value == 'object') || false;
+}
+
+module.exports = isObjectLike;
+
+},{}],127:[function(require,module,exports){
+var isObject = require('../lang/isObject');
+
+
+function isStrictComparable(value) {
+ return value === value && (value === 0 ? ((1 / value) > 0) : !isObject(value));
+}
+
+module.exports = isStrictComparable;
+
+},{"../lang/isObject":136}],128:[function(require,module,exports){
+(function (global){
+var isNative = require('../lang/isNative');
+
+
+var WeakMap = isNative(WeakMap = global.WeakMap) && WeakMap;
+
+
+var metaMap = WeakMap && new WeakMap;
+
+module.exports = metaMap;
+
+}).call(this,typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
+},{"../lang/isNative":135}],129:[function(require,module,exports){
+var isArguments = require('../lang/isArguments'),
+ isArray = require('../lang/isArray'),
+ isIndex = require('./isIndex'),
+ isLength = require('./isLength'),
+ keysIn = require('../object/keysIn'),
+ support = require('../support');
+
+
+var objectProto = Object.prototype;
+
+
+var hasOwnProperty = objectProto.hasOwnProperty;
+
+
+function shimKeys(object) {
+ var props = keysIn(object),
+ propsLength = props.length,
+ length = propsLength && object.length;
+
+ var allowIndexes = length && isLength(length) &&
+ (isArray(object) || (support.nonEnumArgs && isArguments(object)));
+
+ var index = -1,
+ result = [];
+
+ while (++index < propsLength) {
+ var key = props[index];
+ if ((allowIndexes && isIndex(key, length)) || hasOwnProperty.call(object, key)) {
+ result.push(key);
+ }
+ }
+ return result;
+}
+
+module.exports = shimKeys;
+
+},{"../lang/isArguments":131,"../lang/isArray":132,"../object/keysIn":142,"../support":144,"./isIndex":123,"./isLength":125}],130:[function(require,module,exports){
+var isObject = require('../lang/isObject');
+
+
+function toObject(value) {
+ return isObject(value) ? value : Object(value);
+}
+
+module.exports = toObject;
+
+},{"../lang/isObject":136}],131:[function(require,module,exports){
+var isLength = require('../internal/isLength'),
+ isObjectLike = require('../internal/isObjectLike');
+
+
+var argsTag = '[object Arguments]';
+
+
+var objectProto = Object.prototype;
+
+
+var objToString = objectProto.toString;
+
+
+function isArguments(value) {
+ var length = isObjectLike(value) ? value.length : undefined;
+ return (isLength(length) && objToString.call(value) == argsTag) || false;
+}
+
+module.exports = isArguments;
+
+},{"../internal/isLength":125,"../internal/isObjectLike":126}],132:[function(require,module,exports){
+var isLength = require('../internal/isLength'),
+ isNative = require('./isNative'),
+ isObjectLike = require('../internal/isObjectLike');
+
+
+var arrayTag = '[object Array]';
+
+
+var objectProto = Object.prototype;
+
+
+var objToString = objectProto.toString;
+
+
+var nativeIsArray = isNative(nativeIsArray = Array.isArray) && nativeIsArray;
+
+
+var isArray = nativeIsArray || function(value) {
+ return (isObjectLike(value) && isLength(value.length) && objToString.call(value) == arrayTag) || false;
+};
+
+module.exports = isArray;
+
+},{"../internal/isLength":125,"../internal/isObjectLike":126,"./isNative":135}],133:[function(require,module,exports){
+var isArguments = require('./isArguments'),
+ isArray = require('./isArray'),
+ isFunction = require('./isFunction'),
+ isLength = require('../internal/isLength'),
+ isObjectLike = require('../internal/isObjectLike'),
+ isString = require('./isString'),
+ keys = require('../object/keys');
+
+
+function isEmpty(value) {
+ if (value == null) {
+ return true;
+ }
+ var length = value.length;
+ if (isLength(length) && (isArray(value) || isString(value) || isArguments(value) ||
+ (isObjectLike(value) && isFunction(value.splice)))) {
+ return !length;
+ }
+ return !keys(value).length;
+}
+
+module.exports = isEmpty;
+
+},{"../internal/isLength":125,"../internal/isObjectLike":126,"../object/keys":141,"./isArguments":131,"./isArray":132,"./isFunction":134,"./isString":137}],134:[function(require,module,exports){
+(function (global){
+var baseIsFunction = require('../internal/baseIsFunction'),
+ isNative = require('./isNative');
+
+
+var funcTag = '[object Function]';
+
+
+var objectProto = Object.prototype;
+
+
+var objToString = objectProto.toString;
+
+
+var Uint8Array = isNative(Uint8Array = global.Uint8Array) && Uint8Array;
+
+
+var isFunction = !(baseIsFunction(/x/) || (Uint8Array && !baseIsFunction(Uint8Array))) ? baseIsFunction : function(value) {
+ return objToString.call(value) == funcTag;
+};
+
+module.exports = isFunction;
+
+}).call(this,typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
+},{"../internal/baseIsFunction":110,"./isNative":135}],135:[function(require,module,exports){
+var escapeRegExp = require('../string/escapeRegExp'),
+ isObjectLike = require('../internal/isObjectLike');
+
+
+var funcTag = '[object Function]';
+
+
+var reHostCtor = /^\[object .+?Constructor\]$/;
+
+
+var objectProto = Object.prototype;
+
+
+var fnToString = Function.prototype.toString;
+
+
+var objToString = objectProto.toString;
+
+
+var reNative = RegExp('^' +
+ escapeRegExp(objToString)
+ .replace(/toString|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
+);
+
+
+function isNative(value) {
+ if (value == null) {
+ return false;
+ }
+ if (objToString.call(value) == funcTag) {
+ return reNative.test(fnToString.call(value));
+ }
+ return (isObjectLike(value) && reHostCtor.test(value)) || false;
+}
+
+module.exports = isNative;
+
+},{"../internal/isObjectLike":126,"../string/escapeRegExp":143}],136:[function(require,module,exports){
+
+function isObject(value) {
+ var type = typeof value;
+ return type == 'function' || (value && type == 'object') || false;
+}
+
+module.exports = isObject;
+
+},{}],137:[function(require,module,exports){
+var isObjectLike = require('../internal/isObjectLike');
+
+
+var stringTag = '[object String]';
+
+
+var objectProto = Object.prototype;
+
+
+var objToString = objectProto.toString;
+
+
+function isString(value) {
+ return typeof value == 'string' || (isObjectLike(value) && objToString.call(value) == stringTag) || false;
+}
+
+module.exports = isString;
+
+},{"../internal/isObjectLike":126}],138:[function(require,module,exports){
+var isLength = require('../internal/isLength'),
+ isObjectLike = require('../internal/isObjectLike');
+
+
+var argsTag = '[object Arguments]',
+ arrayTag = '[object Array]',
+ boolTag = '[object Boolean]',
+ dateTag = '[object Date]',
+ errorTag = '[object Error]',
+ funcTag = '[object Function]',
+ mapTag = '[object Map]',
+ numberTag = '[object Number]',
+ objectTag = '[object Object]',
+ regexpTag = '[object RegExp]',
+ setTag = '[object Set]',
+ stringTag = '[object String]',
+ weakMapTag = '[object WeakMap]';
+
+var arrayBufferTag = '[object ArrayBuffer]',
+ float32Tag = '[object Float32Array]',
+ float64Tag = '[object Float64Array]',
+ int8Tag = '[object Int8Array]',
+ int16Tag = '[object Int16Array]',
+ int32Tag = '[object Int32Array]',
+ uint8Tag = '[object Uint8Array]',
+ uint8ClampedTag = '[object Uint8ClampedArray]',
+ uint16Tag = '[object Uint16Array]',
+ uint32Tag = '[object Uint32Array]';
+
+
+var typedArrayTags = {};
+typedArrayTags[float32Tag] = typedArrayTags[float64Tag] =
+typedArrayTags[int8Tag] = typedArrayTags[int16Tag] =
+typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =
+typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =
+typedArrayTags[uint32Tag] = true;
+typedArrayTags[argsTag] = typedArrayTags[arrayTag] =
+typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =
+typedArrayTags[dateTag] = typedArrayTags[errorTag] =
+typedArrayTags[funcTag] = typedArrayTags[mapTag] =
+typedArrayTags[numberTag] = typedArrayTags[objectTag] =
+typedArrayTags[regexpTag] = typedArrayTags[setTag] =
+typedArrayTags[stringTag] = typedArrayTags[weakMapTag] = false;
+
+
+var objectProto = Object.prototype;
+
+
+var objToString = objectProto.toString;
+
+
+function isTypedArray(value) {
+ return (isObjectLike(value) && isLength(value.length) && typedArrayTags[objToString.call(value)]) || false;
+}
+
+module.exports = isTypedArray;
+
+},{"../internal/isLength":125,"../internal/isObjectLike":126}],139:[function(require,module,exports){
+var baseAssign = require('../internal/baseAssign'),
+ createAssigner = require('../internal/createAssigner');
+
+
+var assign = createAssigner(baseAssign);
+
+module.exports = assign;
+
+},{"../internal/baseAssign":100,"../internal/createAssigner":118}],140:[function(require,module,exports){
+var baseCopy = require('../internal/baseCopy'),
+ baseCreate = require('../internal/baseCreate'),
+ isIterateeCall = require('../internal/isIterateeCall'),
+ keys = require('./keys');
+
+
+function create(prototype, properties, guard) {
+ var result = baseCreate(prototype);
+ if (guard && isIterateeCall(prototype, properties, guard)) {
+ properties = null;
+ }
+ return properties ? baseCopy(properties, result, keys(properties)) : result;
+}
+
+module.exports = create;
+
+},{"../internal/baseCopy":102,"../internal/baseCreate":103,"../internal/isIterateeCall":124,"./keys":141}],141:[function(require,module,exports){
+var isLength = require('../internal/isLength'),
+ isNative = require('../lang/isNative'),
+ isObject = require('../lang/isObject'),
+ shimKeys = require('../internal/shimKeys');
+
+
+var nativeKeys = isNative(nativeKeys = Object.keys) && nativeKeys;
+
+
+var keys = !nativeKeys ? shimKeys : function(object) {
+ if (object) {
+ var Ctor = object.constructor,
+ length = object.length;
+ }
+ if ((typeof Ctor == 'function' && Ctor.prototype === object) ||
+ (typeof object != 'function' && (length && isLength(length)))) {
+ return shimKeys(object);
+ }
+ return isObject(object) ? nativeKeys(object) : [];
+};
+
+module.exports = keys;
+
+},{"../internal/isLength":125,"../internal/shimKeys":129,"../lang/isNative":135,"../lang/isObject":136}],142:[function(require,module,exports){
+var isArguments = require('../lang/isArguments'),
+ isArray = require('../lang/isArray'),
+ isIndex = require('../internal/isIndex'),
+ isLength = require('../internal/isLength'),
+ isObject = require('../lang/isObject'),
+ support = require('../support');
+
+
+var objectProto = Object.prototype;
+
+
+var hasOwnProperty = objectProto.hasOwnProperty;
+
+
+function keysIn(object) {
+ if (object == null) {
+ return [];
+ }
+ if (!isObject(object)) {
+ object = Object(object);
+ }
+ var length = object.length;
+ length = (length && isLength(length) &&
+ (isArray(object) || (support.nonEnumArgs && isArguments(object))) && length) || 0;
+
+ var Ctor = object.constructor,
+ index = -1,
+ isProto = typeof Ctor == 'function' && Ctor.prototype === object,
+ result = Array(length),
+ skipIndexes = length > 0;
+
+ while (++index < length) {
+ result[index] = (index + '');
+ }
+ for (var key in object) {
+ if (!(skipIndexes && isIndex(key, length)) &&
+ !(key == 'constructor' && (isProto || !hasOwnProperty.call(object, key)))) {
+ result.push(key);
+ }
+ }
+ return result;
+}
+
+module.exports = keysIn;
+
+},{"../internal/isIndex":123,"../internal/isLength":125,"../lang/isArguments":131,"../lang/isArray":132,"../lang/isObject":136,"../support":144}],143:[function(require,module,exports){
+var baseToString = require('../internal/baseToString');
+
+
+var reRegExpChars = /[.*+?^${}()|[\]\/\\]/g,
+ reHasRegExpChars = RegExp(reRegExpChars.source);
+
+
+function escapeRegExp(string) {
+ string = baseToString(string);
+ return (string && reHasRegExpChars.test(string))
+ ? string.replace(reRegExpChars, '\\$&')
+ : string;
+}
+
+module.exports = escapeRegExp;
+
+},{"../internal/baseToString":116}],144:[function(require,module,exports){
+(function (global){
+var isNative = require('./lang/isNative');
+
+
+var reThis = /\bthis\b/;
+
+
+var objectProto = Object.prototype;
+
+
+var document = (document = global.window) && document.document;
+
+
+var propertyIsEnumerable = objectProto.propertyIsEnumerable;
+
+
+var support = {};
+
+(function(x) {
+
+
+ support.funcDecomp = !isNative(global.WinRTError) && reThis.test(function() { return this; });
+
+
+ support.funcNames = typeof Function.name == 'string';
+
+
+ try {
+ support.dom = document.createDocumentFragment().nodeType === 11;
+ } catch(e) {
+ support.dom = false;
+ }
+
+
+ try {
+ support.nonEnumArgs = !propertyIsEnumerable.call(arguments, 1);
+ } catch(e) {
+ support.nonEnumArgs = true;
+ }
+}(0, 0));
+
+module.exports = support;
+
+}).call(this,typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
+},{"./lang/isNative":135}],145:[function(require,module,exports){
+
+function identity(value) {
+ return value;
+}
+
+module.exports = identity;
+
+},{}]},{},[1])
diff --git a/node_modules/aws-sdk/dist/aws-sdk.min.js b/node_modules/aws-sdk/dist/aws-sdk.min.js
new file mode 100644
index 0000000000000000000000000000000000000000..02ce03718c36f6866ef3fa91122aa413e7a5a1a0
--- /dev/null
+++ b/node_modules/aws-sdk/dist/aws-sdk.min.js
@@ -0,0 +1,24 @@
+// AWS SDK for JavaScript v2.2.48
+// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+// License at https://sdk.amazonaws.com/js/BUNDLE_LICENSE.txt
+!function e(t,r,a){function o(n,s){if(!r[n]){if(!t[n]){var u="function"==typeof require&&require;if(!s&&u)return u(n,!0);if(i)return i(n,!0);throw new Error("Cannot find module '"+n+"'")}var c=r[n]={exports:{}};t[n][0].call(c.exports,function(e){var r=t[n][1][e];return o(r?r:e)},c,c.exports,e,t,r,a)}return r[n].exports}for(var i="function"==typeof require&&require,n=0;nthis.expireTime?!0:this.expired||!this.accessKeyId||!this.secretAccessKey},get:function(e){var t=this;this.needsRefresh()?this.refresh(function(r){r||(t.expired=!1),e&&e(r)}):e&&e()},refresh:function(e){this.expired=!1,e()}})},{"./core":4}],6:[function(e,t,r){var a=e("../core");a.CognitoIdentityCredentials=a.util.inherit(a.Credentials,{localStorageKey:{id:"aws.cognito.identity-id.",providers:"aws.cognito.identity-providers."},constructor:function(e){a.Credentials.call(this),this.expired=!0,this.params=e,this.data=null,this.identityId=null,this.loadCachedId()},refresh:function(e){var t=this;t.createClients(),t.data=null,t.identityId=null,t.getId(function(r){r?(t.clearCachedId(),e(r)):t.params.RoleArn?t.getCredentialsFromSTS(e):t.getCredentialsForIdentity(e)})},clearCachedId:function(){this.identityId=null,delete this.params.IdentityId;var e=this.params.IdentityPoolId,t=this.params.LoginId||"";delete this.storage[this.localStorageKey.id+e+t],delete this.storage[this.localStorageKey.providers+e+t]},getId:function(e){var t=this;return"string"==typeof t.params.IdentityId?e(null,t.params.IdentityId):void t.cognito.getId(function(r,a){!r&&a.IdentityId?(t.params.IdentityId=a.IdentityId,e(null,a.IdentityId)):e(r)})},loadCredentials:function(e,t){e&&t&&(t.expired=!1,t.accessKeyId=e.Credentials.AccessKeyId,t.secretAccessKey=e.Credentials.SecretKey,t.sessionToken=e.Credentials.SessionToken,t.expireTime=e.Credentials.Expiration)},getCredentialsForIdentity:function(e){var t=this;t.cognito.getCredentialsForIdentity(function(r,a){r?t.clearCachedId():(t.cacheId(a),t.data=a,t.loadCredentials(t.data,t)),e(r)})},getCredentialsFromSTS:function(e){var t=this;t.cognito.getOpenIdToken(function(r,a){r?(t.clearCachedId(),e(r)):(t.cacheId(a),t.params.WebIdentityToken=a.Token,t.webIdentityCredentials.refresh(function(r){r?t.clearCachedId():(t.data=t.webIdentityCredentials.data,t.sts.credentialsFrom(t.data,t)),e(r)}))})},loadCachedId:function(){var e=this;if(a.util.isBrowser()&&!e.params.IdentityId){var t=e.getStorage("id");if(t&&e.params.Logins){var r=Object.keys(e.params.Logins),o=(e.getStorage("providers")||"").split(","),i=o.filter(function(e){return-1!==r.indexOf(e)});0!==i.length&&(e.params.IdentityId=t)}else t&&(e.params.IdentityId=t)}},createClients:function(){this.webIdentityCredentials=this.webIdentityCredentials||new a.WebIdentityCredentials(this.params),this.cognito=this.cognito||new a.CognitoIdentity({params:this.params}),this.sts=this.sts||new a.STS},cacheId:function(e){this.identityId=e.IdentityId,this.params.IdentityId=this.identityId,a.util.isBrowser()&&(this.setStorage("id",e.IdentityId),this.params.Logins&&this.setStorage("providers",Object.keys(this.params.Logins).join(",")))},getStorage:function(e){return this.storage[this.localStorageKey[e]+this.params.IdentityPoolId+(this.params.LoginId||"")]},setStorage:function(e,t){try{this.storage[this.localStorageKey[e]+this.params.IdentityPoolId+(this.params.LoginId||"")]=t}catch(r){}},storage:function(){try{return a.util.isBrowser()&&null!==window.localStorage&&"object"==typeof window.localStorage?window.localStorage:{}}catch(e){return{}}}()})},{"../core":4}],7:[function(e,t,r){var a=e("../core");a.CredentialProviderChain=a.util.inherit(a.Credentials,{constructor:function(e){e?this.providers=e:this.providers=a.CredentialProviderChain.defaultProviders.slice(0)},resolve:function(e){function t(o,i){if(!o&&i||r===a.length)return void e(o,i);var n=a[r++];i="function"==typeof n?n.call():n,i.get?i.get(function(e){t(e,e?null:i)}):t(null,i)}if(0===this.providers.length)return e(new Error("No providers")),this;var r=0,a=this.providers.slice(0);return t(),this}}),a.CredentialProviderChain.defaultProviders=[]},{"../core":4}],8:[function(e,t,r){var a=e("../core");a.SAMLCredentials=a.util.inherit(a.Credentials,{constructor:function(e){a.Credentials.call(this),this.expired=!0,this.params=e},refresh:function(e){var t=this;t.createClients(),e||(e=function(e){if(e)throw e}),t.service.assumeRoleWithSAML(function(r,a){r||t.service.credentialsFrom(a,t),e(r)})},createClients:function(){this.service=this.service||new a.STS({params:this.params})}})},{"../core":4}],9:[function(e,t,r){var a=e("../core");a.TemporaryCredentials=a.util.inherit(a.Credentials,{constructor:function(e){a.Credentials.call(this),this.loadMasterCredentials(),this.expired=!0,this.params=e||{},this.params.RoleArn&&(this.params.RoleSessionName=this.params.RoleSessionName||"temporary-credentials")},refresh:function(e){var t=this;t.createClients(),e||(e=function(e){if(e)throw e}),t.service.config.credentials=t.masterCredentials;var r=t.params.RoleArn?t.service.assumeRole:t.service.getSessionToken;r.call(t.service,function(r,a){r||t.service.credentialsFrom(a,t),e(r)})},loadMasterCredentials:function(){for(this.masterCredentials=a.config.credentials;this.masterCredentials.masterCredentials;)this.masterCredentials=this.masterCredentials.masterCredentials},createClients:function(){this.service=this.service||new a.STS({
+params:this.params})}})},{"../core":4}],10:[function(e,t,r){var a=e("../core");a.WebIdentityCredentials=a.util.inherit(a.Credentials,{constructor:function(e){a.Credentials.call(this),this.expired=!0,this.params=e,this.params.RoleSessionName=this.params.RoleSessionName||"web-identity",this.data=null},refresh:function(e){var t=this;t.createClients(),e||(e=function(e){if(e)throw e}),t.service.assumeRoleWithWebIdentity(function(r,a){t.data=null,r||(t.data=a,t.service.credentialsFrom(a,t)),e(r)})},createClients:function(){this.service=this.service||new a.STS({params:this.params})}})},{"../core":4}],11:[function(e,t,r){function a(e){if("Object"===s(e)){var t={M:{}};for(var r in e)t.M[r]=a(e[r]);return t}if("Array"===s(e)){for(var i={L:[]},n=0;ni;i++)if(o(r[i])!==e.type)throw a.error(new Error,{code:"InvalidType",message:e.type+" Set contains "+o(r[i])+" value"})}});t.exports=i},{"../core":4,"./types":15}],14:[function(e,t,r){var a=e("../core").util,o=e("./converter"),i=function(e){e=e||{},this.attrValue=e.attrValue};i.prototype.translateInput=function(e,t){return this.mode="input",this.translate(e,t)},i.prototype.translateOutput=function(e,t){return this.mode="output",this.translate(e,t)},i.prototype.translate=function(e,t){var r=this;if(t&&void 0!==e){if(t.shape===r.attrValue)return o[r.mode](e);switch(t.type){case"structure":return r.translateStructure(e,t);case"map":return r.translateMap(e,t);case"list":return r.translateList(e,t);default:return r.translateScalar(e,t)}}},i.prototype.translateStructure=function(e,t){var r=this;if(null!=e){var o={};return a.each(e,function(e,a){var i=t.members[e];if(i){var n=r.translate(a,i);void 0!==n&&(o[e]=n)}}),o}},i.prototype.translateList=function(e,t){var r=this;if(null!=e){var o=[];return a.arrayEach(e,function(e){var a=r.translate(e,t.member);void 0===a?o.push(null):o.push(a)}),o}},i.prototype.translateMap=function(e,t){var r=this;if(null!=e){var o={};return a.each(e,function(e,a){var i=r.translate(a,t.value);void 0===i?o[e]=null:o[e]=i}),o}},i.prototype.translateScalar=function(e,t){return t.toType(e)},t.exports=i},{"../core":4,"./converter":11}],15:[function(e,t,r){function a(e){return null===e&&"object"==typeof e?"null":void 0!==e&&o(e)?"Binary":void 0!==e&&e.constructor?i.typeName(e.constructor):"undefined"}function o(e){var t=["Buffer","File","Blob","ArrayBuffer","DataView","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array"];if(i.isNode()){var r=i.nodeRequire("stream").Stream;if(i.Buffer.isBuffer(e)||e instanceof r)return!0}else for(var a=0;a=600?this.emit("sign",[this],function(e){e?t(e):n()}):n()}),e("HTTP_HEADERS","httpHeaders",function(e,t,r){r.httpResponse.statusCode=e,r.httpResponse.headers=t,r.httpResponse.body=new a.util.Buffer(""),r.httpResponse.buffers=[],r.httpResponse.numBytes=0;var o=t.date||t.Date;if(o){var i=Date.parse(o);r.request.service.config.correctClockSkew&&a.util.isClockSkewed(i)&&a.util.applyClockOffset(i)}}),e("HTTP_DATA","httpData",function(e,t){if(e){if(a.util.isNode()){t.httpResponse.numBytes+=e.length;var r=t.httpResponse.headers["content-length"],o={loaded:t.httpResponse.numBytes,total:r};t.request.emit("httpDownloadProgress",[o,t])}t.httpResponse.buffers.push(new a.util.Buffer(e))}}),e("HTTP_DONE","httpDone",function(e){if(e.httpResponse.buffers&&e.httpResponse.buffers.length>0){var t=a.util.buffer.concat(e.httpResponse.buffers);e.httpResponse.body=t}delete e.httpResponse.numBytes,delete e.httpResponse.buffers}),e("FINALIZE_ERROR","retry",function(e){e.httpResponse.statusCode&&(e.error.statusCode=e.httpResponse.statusCode,void 0===e.error.retryable&&(e.error.retryable=this.service.retryableError(e.error,this)))}),e("INVALIDATE_CREDENTIALS","retry",function(e){if(e.error)switch(e.error.code){case"RequestExpired":case"ExpiredTokenException":case"ExpiredToken":e.error.retryable=!0,e.request.service.config.credentials.expired=!0}}),e("EXPIRED_SIGNATURE","retry",function(e){var t=e.error;t&&"string"==typeof t.code&&"string"==typeof t.message&&t.code.match(/Signature/)&&t.message.match(/expired/)&&(e.error.retryable=!0)}),e("CLOCK_SKEWED","retry",function(e){e.error&&this.service.clockSkewError(e.error)&&this.service.config.correctClockSkew&&a.config.isClockSkewed&&(e.error.retryable=!0)}),e("REDIRECT","retry",function(e){e.error&&e.error.statusCode>=300&&e.error.statusCode<400&&e.httpResponse.headers.location&&(this.httpRequest.endpoint=new a.Endpoint(e.httpResponse.headers.location),this.httpRequest.headers.Host=this.httpRequest.endpoint.host,e.error.redirect=!0,e.error.retryable=!0)}),e("RETRY_CHECK","retry",function(e){e.error&&(e.error.redirect&&e.redirectCount=this.HEADERS_RECEIVED&&!m){try{p.responseType="arraybuffer"}catch(e){}u.statusCode=p.status,u.headers=n.parseHeaders(p.getAllResponseHeaders()),u.emit("headers",u.statusCode,u.headers),m=!0}this.readyState===this.DONE&&n.finishRequest(p,u)},!1),p.upload.addEventListener("progress",function(e){u.emit("sendProgress",e)}),p.addEventListener("progress",function(e){u.emit("receiveProgress",e)},!1),p.addEventListener("timeout",function(){i(a.util.error(new Error("Timeout"),{code:"TimeoutError"}))},!1),p.addEventListener("error",function(){i(a.util.error(new Error("Network Failure"),{code:"NetworkingError"}))},!1),r(u),p.open(e.method,c,t.xhrAsync!==!1),a.util.each(e.headers,function(e,t){"Content-Length"!==e&&"User-Agent"!==e&&"Host"!==e&&p.setRequestHeader(e,t)}),t.timeout&&t.xhrAsync!==!1&&(p.timeout=t.timeout),t.xhrWithCredentials&&(p.withCredentials=!0);try{p.send(e.body)}catch(l){if(!e.body||"object"!=typeof e.body.buffer)throw l;p.send(e.body.buffer)}return u},parseHeaders:function(e){var t={};return a.util.arrayEach(e.split(/\r?\n/),function(e){var r=e.split(":",1)[0],a=e.substring(r.length+2);r.length>0&&(t[r.toLowerCase()]=a)}),t},finishRequest:function(e,t){var r;if("arraybuffer"===e.responseType&&e.response){var o=e.response;r=new a.util.Buffer(o.byteLength);for(var i=new Uint8Array(o),n=0;n1){var o=this.errors.join("\n* ");throw o="There were "+this.errors.length+" validation errors:\n* "+o,a.util.error(new Error(o),{code:"MultipleValidationErrors",errors:this.errors})}if(1===this.errors.length)throw this.errors[0];return!0},fail:function(e,t){this.errors.push(a.util.error(new Error(t),{code:e}))},validateStructure:function(e,t,r){this.validateType(t,r,["object"],"structure");for(var a,o=0;e.required&&o= "+e.min+", but found "+t+" for "+r),this.validation.max&&void 0!==e.max&&t>e.max&&this.fail("MaxRangeError","Expected "+a+" <= "+e.max+", but found "+t+" for "+r);
+},validateEnum:function(e,t,r){this.validation["enum"]&&void 0!==e["enum"]&&-1===e["enum"].indexOf(t)&&this.fail("EnumError","Found string value of "+t+", but expected "+e["enum"].join("|")+" for "+r)},validateType:function(e,t,r,o){if(null===e||void 0===e)return!1;for(var i=!1,n=0;n0){var a=JSON.parse(r.body.toString());(a.__type||a.code)&&(t.code=(a.__type||a.code).split("#").pop()),"RequestEntityTooLarge"===t.code?t.message="Request body must be less than 1 MB":t.message=a.message||a.Message||null}else t.statusCode=r.statusCode,t.message=r.statusCode.toString();e.error=n.error(new Error,t)}function i(e){var t=e.httpResponse.body.toString()||"{}";if(e.request.service.config.convertResponseTypes===!1)e.data=JSON.parse(t);else{var r=e.request.service.api.operations[e.request.operation],a=r.output||{},o=new u;e.data=o.parse(t,a)}}var n=e("../util"),s=e("../json/builder"),u=e("../json/parser");t.exports={buildRequest:a,extractError:o,extractData:i}},{"../json/builder":19,"../json/parser":20,"../util":59}],29:[function(e,t,r){function a(e){var t=e.service.api.operations[e.operation],r=e.httpRequest;r.headers["Content-Type"]="application/x-www-form-urlencoded; charset=utf-8",r.params={Version:e.service.api.apiVersion,Action:t.name};var a=new u;a.serialize(e.params,t.input,function(e,t){r.params[e]=t}),r.body=s.queryParamsToString(r.params)}function o(e){var t,r=e.httpResponse.body.toString();t=r.match("=0?"&":"?";var n=[];c.arrayEach(Object.keys(o).sort(),function(e){Array.isArray(o[e])||(o[e]=[o[e]]);for(var t=0;t0){t=new s.XML.Parser;var m=t.parse(a.toString(),i);u.update(e.data,m)}}var s=e("../core"),u=e("../util"),c=e("./rest");t.exports={buildRequest:o,extractError:i,extractData:n}},{"../core":4,"../util":59,"./rest":30}],33:[function(e,t,r){function a(){}function o(e){return e.isQueryName||"ec2"!==e.api.protocol?e.name:e.name[0].toUpperCase()+e.name.substr(1)}function i(e,t,r,a){c.each(r.members,function(r,i){var n=t[r];if(null!==n&&void 0!==n){var s=o(i);s=e?e+"."+s:s,u(s,n,i,a)}})}function n(e,t,r,a){var o=1;c.each(t,function(t,i){var n=r.flattened?".":".entry.",s=n+o++ +".",c=s+(r.key.name||"key"),p=s+(r.value.name||"value");u(e+c,t,r.key,a),u(e+p,i,r.value,a)})}function s(e,t,r,a){var i=r.member||{};return 0===t.length?void a.call(this,e,null):void c.arrayEach(t,function(t,n){var s="."+(n+1);if("ec2"===r.api.protocol)s+="";else if(r.flattened){if(i.name){var c=e.split(".");c.pop(),c.push(o(i)),e=c.join(".")}}else s=".member"+s;u(e+s,t,i,a)})}function u(e,t,r,a){null!==t&&void 0!==t&&("structure"===r.type?i(e,t,r,a):"list"===r.type?s(e,t,r,a):"map"===r.type?n(e,t,r,a):a(e,r.toWireFormat(t).toString()))}var c=e("../util");a.prototype.serialize=function(e,t,r){i("",e,t,r)},t.exports=a},{"../util":59}],34:[function(e,t,r){function a(e){if(!e)return null;var t=e.split("-");return t.length<3?null:t.slice(0,t.length-2).join("-")+"-*"}function o(e){var t=e.config.region,r=a(t),o=e.api.endpointPrefix;return[[t,o],[r,o],[t,"*"],[r,"*"],["*",o],["*","*"]].map(function(e){return e[0]&&e[1]?e.join("/"):null})}function i(e,t){s.each(t,function(t,r){"globalEndpoint"!==t&&(void 0!==e.config[t]&&null!==e.config[t]||(e.config[t]=r))})}function n(e){for(var t=o(e),r=0;re){r.removeListener("httpData",a.EventListeners.Core.HTTP_DATA),r.removeListener("httpError",a.EventListeners.Core.HTTP_ERROR),r.on("httpError",function(e){i.error=e,i.error.retryable=!1});var n=i.httpResponse.createUnbufferedStream();2===a.HttpClient.streamsApiVersion?n.pipe(o):(n.on("data",function(e){o.emit("data",e)}),n.on("end",function(){o.emit("end")})),n.on("error",function(e){o.emit("error",e)})}}),this.on("error",function(e){o.emit("error",e)}),o},emitEvent:function(e,t,r){"function"==typeof t&&(r=t,t=null),r||(r=function(){}),t||(t=this.eventParameters(e,this.response));var o=a.SequentialExecutor.prototype.emit;o.call(this,e,t,function(e){e&&(this.response.error=e),r.call(this,e)})},eventParameters:function(e){switch(e){case"restart":case"validate":case"sign":case"build":case"afterValidate":case"afterBuild":return[this];case"error":return[this.response.error,this.response];default:return[this.response]}},presign:function(e,t){return t||"function"!=typeof e||(t=e,e=null),(new a.Signers.Presign).sign(this.toGet(),e,t)},toUnauthenticated:function(){return this.removeListener("validate",a.EventListeners.Core.VALIDATE_CREDENTIALS),this.removeListener("sign",a.EventListeners.Core.SIGN),this},toGet:function(){return"query"!==this.service.api.protocol&&"ec2"!==this.service.api.protocol||(this.removeListener("build",this.buildAsGet),this.addListener("build",this.buildAsGet)),this},buildAsGet:function(e){e.httpRequest.method="GET",e.httpRequest.path=e.service.endpoint.path+"?"+e.httpRequest.body,e.httpRequest.body="",delete e.httpRequest.headers["Content-Length"],delete e.httpRequest.headers["Content-Type"]},haltHandlersOnError:function(){this._haltHandlersOnError=!0}}),a.util.mixin(a.Request,a.SequentialExecutor)}).call(this,e("FWaASH"))},{"./core":4,"./state_machine":58,FWaASH:73}],37:[function(e,t,r){var a=e("./core"),o=a.util.inherit;a.ResourceWaiter=o({constructor:function(e,t){this.service=e,this.state=t,"object"==typeof this.state&&a.util.each.call(this,this.state,function(e,t){this.state=e,this.expectedValue=t}),this.loadWaiterConfig(this.state),this.expectedValue||(this.expectedValue=this.config.successValue)},service:null,state:null,expectedValue:null,config:null,waitDone:!1,Listeners:{retry:(new a.SequentialExecutor).addNamedListeners(function(e){e("RETRY_CHECK","retry",function(e){var t=e.request._waiter;e.error&&"ResourceNotReady"===e.error.code&&(e.error.retryDelay=1e3*t.config.interval)})}),output:(new a.SequentialExecutor).addNamedListeners(function(e){e("CHECK_OUT_ERROR","extractError",function(e){e.error&&e.request._waiter.setError(e,!0)}),e("CHECK_OUTPUT","extractData",function(e){var t=e.request._waiter,r=t.checkSuccess(e);r?e.error=null:t.setError(e,null!==r)})}),error:(new a.SequentialExecutor).addNamedListeners(function(e){e("CHECK_ERROR","extractError",function(e){var t=e.request._waiter,r=t.checkError(e);r?(e.error=null,e.data={},e.request.removeAllListeners("extractData")):t.setError(e,null!==r)}),e("CHECK_ERR_OUTPUT","extractData",function(e){e.request._waiter.setError(e,!0)})})},wait:function(e,t){"function"==typeof e&&(t=e,e=void 0);var r=this.service.makeRequest(this.config.operation,e),a=this.Listeners[this.config.successType];return r._waiter=this,r.response.maxRetries=this.config.maxAttempts,r.addListeners(this.Listeners.retry),a&&r.addListeners(a),t&&r.send(t),r},setError:function(e,t){e.data=null,e.error=a.util.error(e.error||new Error,{code:"ResourceNotReady",message:"Resource is not in the state "+this.state,retryable:t})},checkSuccess:function(e){if(!this.config.successPath)return e.httpResponse.statusCode<300;var t=a.util.jamespath.find(this.config.successPath,e.data);return this.config.failureValue&&this.config.failureValue.indexOf(t)>=0?null:this.expectedValue?t===this.expectedValue:!!t},checkError:function(e){var t=this.config.successValue;return"number"==typeof t?e.httpResponse.statusCode===t:e.error&&e.error.code===t},loadWaiterConfig:function(e,t){if(!this.service.api.waiters[e]){if(t)return;throw new a.util.error(new Error,{code:"StateNotFoundError",message:"State "+e+" not found."})}this.config=this.service.api.waiters[e];var r=this.config;!function(){r.successType=r.successType||r.acceptorType,r.successPath=r.successPath||r.acceptorPath,r.successValue=r.successValue||r.acceptorValue,r.failureType=r.failureType||r.acceptorType,r.failurePath=r.failurePath||r.acceptorPath,r.failureValue=r.failureValue||r.acceptorValue}()}})},{"./core":4}],38:[function(e,t,r){var a=e("./core"),o=a.util.inherit;a.Response=o({constructor:function(e){this.request=e,this.data=null,this.error=null,this.retryCount=0,this.redirectCount=0,this.httpResponse=new a.HttpResponse,e&&(this.maxRetries=e.service.numRetries(),this.maxRedirects=e.service.config.maxRedirects)},nextPage:function(e){var t,r=this.request.service,o=this.request.operation;try{t=r.paginationConfig(o,!0)}catch(i){this.error=i}if(!this.hasNextPage()){if(e)e(this.error,null);else if(this.error)throw this.error;return null}var n=a.util.copy(this.request.params);if(this.nextPageTokens){var s=t.inputToken;"string"==typeof s&&(s=[s]);for(var u=0;ue.partSize&&(e.partSize=r)}else e.totalBytes=void 0},isDoneChunking:!1,partPos:0,totalChunkedBytes:0,totalUploadedBytes:0,totalBytes:void 0,numParts:0,totalPartNumbers:0,activeParts:0,doneParts:0,parts:null,completeInfo:null,failed:!1,multipartReq:null,partBuffers:null,partBufferLength:0,fillBuffer:function(){var e=this,t=o(e.body);if(0===t)return e.isDoneChunking=!0,e.numParts=1,void e.nextChunk(e.body);for(;e.activeParts=e.queueSize)){var t=e.body.read(e.partSize-e.partBufferLength)||e.body.read();if(t&&(e.partBuffers.push(t),e.partBufferLength+=t.length,e.totalChunkedBytes+=t.length),e.partBufferLength>=e.partSize){var a=1===e.partBuffers.length?e.partBuffers[0]:r.concat(e.partBuffers);if(e.partBuffers=[],e.partBufferLength=0,a.length>e.partSize){var o=a.slice(e.partSize);e.partBuffers.push(o),e.partBufferLength+=o.length,a=a.slice(0,e.partSize)}e.nextChunk(a)}e.isDoneChunking&&!e.isDoneSending&&(a=1===e.partBuffers.length?e.partBuffers[0]:r.concat(e.partBuffers),e.partBuffers=[],e.partBufferLength=0,e.totalBytes=e.totalChunkedBytes,e.isDoneSending=!0,(0===e.numParts||a.length>0)&&(e.numParts++,e.nextChunk(a))),e.body.read(0)}},nextChunk:function(e){var t=this;if(t.failed)return null;var r=++t.totalPartNumbers;if(t.isDoneChunking&&1===r){var o=t.service.putObject({Body:e});return o._managedUpload=t,o.on("httpUploadProgress",t.progress).send(t.finishSinglePart),null}if(t.service.config.params.ContentMD5){var i=a.util.error(new Error("The Content-MD5 you specified is invalid for multi-part uploads."),{code:"InvalidDigest",retryable:!1});return t.cleanup(i),null}return t.completeInfo[r]&&null!==t.completeInfo[r].ETag?null:(t.activeParts++,void(t.service.config.params.UploadId?t.uploadPart(e,r):t.multipartReq?t.queueChunks(e,r):(t.multipartReq=t.service.createMultipartUpload(),t.multipartReq.on("success",function(e){t.service.config.params.UploadId=e.data.UploadId,t.multipartReq=null}),t.queueChunks(e,r),t.multipartReq.on("error",function(e){t.cleanup(e)}),t.multipartReq.send())))},uploadPart:function(e,t){var r=this,o={Body:e,ContentLength:a.util.string.byteLength(e),PartNumber:t},i={ETag:null,PartNumber:t};r.completeInfo[t]=i;var n=r.service.uploadPart(o);r.parts[t]=n,n._lastUploadedBytes=0,n._managedUpload=r,n.on("httpUploadProgress",r.progress),n.send(function(e,t){if(delete r.parts[o.PartNumber],r.activeParts--,!(e||t&&t.ETag)){var n="No access to ETag property on response.";a.util.isBrowser()&&(n+=" Check CORS configuration to expose ETag header."),e=a.util.error(new Error(n),{code:"ETagMissing",retryable:!1})}return e?r.cleanup(e):(i.ETag=t.ETag,r.doneParts++,void(r.isDoneChunking&&r.doneParts===r.numParts?r.finishMultiPart():r.fillQueue.call(r)))})},queueChunks:function(e,t){var r=this;r.multipartReq.on("success",function(){r.uploadPart(e,t)})},cleanup:function(e){var t=this;t.failed||("function"==typeof t.body.removeAllListeners&&"function"==typeof t.body.resume&&(t.body.removeAllListeners("readable"),t.body.removeAllListeners("end"),t.body.resume()),t.service.config.params.UploadId&&!t.leavePartsOnError&&t.service.abortMultipartUpload().send(),a.util.each(t.parts,function(e,t){t.removeAllListeners("complete"),t.abort()}),t.activeParts=0,t.partPos=0,t.numParts=0,t.totalPartNumbers=0,t.parts={},t.failed=!0,t.callback(e))},finishMultiPart:function(){var e=this,t={MultipartUpload:{Parts:e.completeInfo.slice(1)}};e.service.completeMultipartUpload(t,function(t,r){return t?e.cleanup(t):void e.callback(t,r)})},finishSinglePart:function(e,t){var r=this.request._managedUpload,a=this.request.httpRequest,o=a.endpoint;return e?r.callback(e):(t.Location=[o.protocol,"//",o.host,a.path].join(""),t.key=this.request.params.Key,t.Key=this.request.params.Key,t.Bucket=this.request.params.Bucket,void r.callback(e,t))},progress:function(e){var t=this._managedUpload;"putObject"===this.operation?(e.part=1,e.key=this.params.Key):(t.totalUploadedBytes+=e.loaded-this._lastUploadedBytes,this._lastUploadedBytes=e.loaded,e={loaded:t.totalUploadedBytes,total:t.totalBytes,part:this.params.PartNumber,key:this.params.Key}),t.emit("httpUploadProgress",[e])}}),a.util.mixin(a.S3.ManagedUpload,a.SequentialExecutor),t.exports=a.S3.ManagedUpload}).call(this,e("buffer").Buffer)},{"../core":4,buffer:62}],40:[function(e,t,r){var a=e("./core");a.SequentialExecutor=a.util.inherit({constructor:function(){this._events={}},listeners:function(e){return this._events[e]?this._events[e].slice(0):[]},on:function(e,t){return this._events[e]?this._events[e].push(t):this._events[e]=[t],this},onAsync:function(e,t){return t._isAsync=!0,this.on(e,t)},removeListener:function(e,t){var r=this._events[e];if(r){for(var a=r.length,o=-1,i=0;a>i;++i)r[i]===t&&(o=i);o>-1&&r.splice(o,1)}return this},removeAllListeners:function(e){return e?delete this._events[e]:this._events={},this},emit:function(e,t,r){r||(r=function(){});var a=this.listeners(e),o=a.length;return this.callListeners(a,t,r),o>0},callListeners:function(e,t,r,o){function i(o){return o&&(s=a.util.error(s||new Error,o),n._haltHandlersOnError)?r.call(n,s):void n.callListeners(e,t,r,s)}for(var n=this,s=o||null;e.length>0;){var u=e.shift();if(u._isAsync)return void u.apply(n,t.concat([i]));try{u.apply(n,t)}catch(c){s=a.util.error(s||new Error,c)}if(s&&n._haltHandlersOnError)return void r.call(n,s)}r.call(n,s)},addListeners:function(e){var t=this;return e._events&&(e=e._events),a.util.each(e,function(e,r){"function"==typeof r&&(r=[r]),a.util.arrayEach(r,function(r){t.on(e,r)})}),t},addNamedListener:function(e,t,r){return this[e]=r,this.addListener(t,r),this},addNamedAsyncListener:function(e,t,r){return r._isAsync=!0,this.addNamedListener(e,t,r)},addNamedListeners:function(e){var t=this;return e(function(){t.addNamedListener.apply(t,arguments)},function(){t.addNamedAsyncListener.apply(t,arguments)}),this}}),a.SequentialExecutor.prototype.addListener=a.SequentialExecutor.prototype.on,t.exports=a.SequentialExecutor},{"./core":4}],41:[function(e,t,r){var a=e("./core"),o=e("./model/api"),i=e("./region_config"),n=a.util.inherit;a.Service=n({constructor:function(e){if(!this.loadServiceClass)throw a.util.error(new Error,"Service must be constructed with `new' operator");var t=this.loadServiceClass(e||{});return t?new t(e):void this.initialize(e)},initialize:function(e){var t=a.config[this.serviceIdentifier];this.config=new a.Config(a.config),t&&this.config.update(t,!0),e&&this.config.update(e,!0),this.validateService(),this.config.endpoint||i(this),this.config.endpoint=this.endpointFromTemplate(this.config.endpoint),this.setEndpoint(this.config.endpoint)},validateService:function(){},loadServiceClass:function(e){var t=e;if(a.util.isEmpty(this.api)){if(t.apiConfig)return a.Service.defineServiceApi(this.constructor,t.apiConfig);if(this.constructor.services){t=new a.Config(a.config),t.update(e,!0);var r=t.apiVersions[this.constructor.serviceIdentifier];return r=r||t.apiVersion,this.getLatestServiceClass(r)}return null}return null},getLatestServiceClass:function(e){return e=this.getLatestServiceVersion(e),null===this.constructor.services[e]&&a.Service.defineServiceApi(this.constructor,e),this.constructor.services[e]},getLatestServiceVersion:function(e){if(!this.constructor.services||0===this.constructor.services.length)throw new Error("No services defined on "+this.constructor.serviceIdentifier);if(e?a.util.isType(e,Date)&&(e=a.util.date.iso8601(e).split("T")[0]):e="latest",Object.hasOwnProperty(this.constructor.services,e))return e;for(var t=Object.keys(this.constructor.services).sort(),r=null,o=t.length-1;o>=0;o--)if("*"!==t[o][t[o].length-1]&&(r=t[o]),t[o].substr(0,10)<=e)return r;throw new Error("Could not find "+this.constructor.serviceIdentifier+" API to satisfy version constraint `"+e+"'")},api:{},defaultRetryCount:3,makeRequest:function(e,t,r){if("function"==typeof t&&(r=t,t=null),t=t||{},this.config.params){var o=this.api.operations[e];o&&(t=a.util.copy(t),a.util.each(this.config.params,function(e,r){o.input.members[e]&&(void 0!==t[e]&&null!==t[e]||(t[e]=r))}))}var i=new a.Request(this,e,t);return this.addAllRequestListeners(i),r&&i.send(r),i},makeUnauthenticatedRequest:function(e,t,r){"function"==typeof t&&(r=t,t={});var a=this.makeRequest(e,t).toUnauthenticated();return r?a.send(r):a},waitFor:function(e,t,r){var o=new a.ResourceWaiter(this,e);return o.wait(t,r)},addAllRequestListeners:function(e){for(var t=[a.events,a.EventListeners.Core,this.serviceInterface(),a.EventListeners.CorePost],r=0;r=500},networkingError:function(e){return"NetworkingError"===e.code},expiredCredentialsError:function(e){return"ExpiredTokenException"===e.code},clockSkewError:function(e){switch(e.code){case"RequestTimeTooSkewed":case"RequestExpired":case"InvalidSignatureException":case"SignatureDoesNotMatch":case"AuthFailure":case"RequestInTheFuture":return!0;default:return!1}},throttledError:function(e){switch(e.code){case"ProvisionedThroughputExceededException":case"Throttling":case"ThrottlingException":case"RequestLimitExceeded":case"RequestThrottled":return!0;default:return!1}},endpointFromTemplate:function(e){if("string"!=typeof e)return e;var t=e;return t=t.replace(/\{service\}/g,this.api.endpointPrefix),t=t.replace(/\{region\}/g,this.config.region),t=t.replace(/\{scheme\}/g,this.config.sslEnabled?"https":"http")},setEndpoint:function(e){this.endpoint=new a.Endpoint(e,this.config)},paginationConfig:function(e,t){var r=this.api.operations[e].paginator;if(!r){if(t){var o=new Error;throw a.util.error(o,"No pagination configuration for "+e)}return null}return r}}),a.util.update(a.Service,{defineMethods:function(e){a.util.each(e.prototype.api.operations,function(t){e.prototype[t]||(e.prototype[t]=function(e,r){return this.makeRequest(t,e,r)})})},defineService:function(e,t,r){a.Service._serviceMap[e]=!0,Array.isArray(t)||(r=t,t=[]);var o=n(a.Service,r||{});if("string"==typeof e){a.Service.addVersions(o,t);var i=o.serviceIdentifier||e;o.serviceIdentifier=i}else o.prototype.api=e,a.Service.defineMethods(o);return o},addVersions:function(e,t){Array.isArray(t)||(t=[t]),e.services=e.services||{};for(var r=0;r0?50*Math.pow(2,e-1):0;return t}})},{"../core":4,"../dynamodb/document_client":12}],45:[function(e,t,r){var a=e("../core");a.util.update(a.EC2.prototype,{setupRequestListeners:function(e){e.removeListener("extractError",a.EventListeners.Query.EXTRACT_ERROR),e.addListener("extractError",this.extractError),"copySnapshot"===e.operation&&e.onAsync("validate",this.buildCopySnapshotPresignedUrl)},buildCopySnapshotPresignedUrl:function(e,t){if(e.params.PresignedUrl||e._subRequest)return t();e.params=a.util.copy(e.params),e.params.DestinationRegion=e.service.config.region;var r=a.util.copy(e.service.config);delete r.endpoint,r.region=e.params.SourceRegion;var o=new e.service.constructor(r),i=o[e.operation](e.params);i._subRequest=!0,i.presign(function(r,a){r?t(r):(e.params.PresignedUrl=a,t())})},extractError:function(e){var t=e.httpResponse,r=(new a.XML.Parser).parse(t.body.toString()||"");r.Errors?e.error=a.util.error(new Error,{code:r.Errors.Error.Code,message:r.Errors.Error.Message}):e.error=a.util.error(new Error,{code:t.statusCode,message:null}),e.error.requestId=r.RequestID||null}})},{"../core":4}],46:[function(e,t,r){var a=e("../core");a.util.update(a.MachineLearning.prototype,{setupRequestListeners:function(e){"predict"===e.operation&&e.addListener("build",this.buildEndpoint)},buildEndpoint:function(e){var t=e.params.PredictEndpoint;t&&(e.httpRequest.endpoint=new a.Endpoint(t))}})},{"../core":4}],47:[function(e,t,r){var a=e("../core");a.util.update(a.Route53.prototype,{setupRequestListeners:function(e){e.on("build",this.sanitizeUrl)},sanitizeUrl:function(e){var t=e.httpRequest.path;e.httpRequest.path=t.replace(/\/%2F\w+%2F/,"/")}})},{"../core":4}],48:[function(e,t,r){var a=e("../core");e("../s3/managed_upload");var o={completeMultipartUpload:!0,copyObject:!0,uploadPartCopy:!0};a.util.update(a.S3.prototype,{validateService:function(){if(this.config.region||(this.config.region="us-east-1"),!this.config.endpoint&&this.config.s3BucketEndpoint){var e="An endpoint must be provided when configuring `s3BucketEndpoint` to true.";throw a.util.error(new Error,{name:"InvalidEndpoint",message:e})}},setupRequestListeners:function(e){e.addListener("validate",this.validateScheme),e.addListener("validate",this.validateBucketEndpoint),e.addListener("build",this.addContentType),e.addListener("build",this.populateURI),e.addListener("build",this.computeContentMd5),e.addListener("build",this.computeSseCustomerKeyMd5),e.addListener("afterBuild",this.addExpect100Continue),e.removeListener("validate",a.EventListeners.Core.VALIDATE_REGION),e.addListener("extractError",this.extractError),e.addListener("extractData",this.extractData),e.addListener("extractData",a.util.hoistPayloadMember),e.addListener("beforePresign",this.prepareSignedUrl)},validateScheme:function(e){var t=e.params,r=e.httpRequest.endpoint.protocol,o=t.SSECustomerKey||t.CopySourceSSECustomerKey;if(o&&"https:"!==r){var i="Cannot send SSE keys over HTTP. Set 'sslEnabled'to 'true' in your configuration";throw a.util.error(new Error,{code:"ConfigError",message:i})}},validateBucketEndpoint:function(e){if(!e.params.Bucket&&e.service.config.s3BucketEndpoint){var t="Cannot send requests to root API with `s3BucketEndpoint` set.";throw a.util.error(new Error,{code:"ConfigError",message:t})}},populateURI:function(e){var t=e.httpRequest,r=e.params.Bucket;if(r&&!e.service.pathStyleBucketName(r)){if(!e.service.config.s3BucketEndpoint){t.endpoint.hostname=r+"."+t.endpoint.hostname;var a=t.endpoint.port;80!==a&&443!==a?t.endpoint.host=t.endpoint.hostname+":"+t.endpoint.port:t.endpoint.host=t.endpoint.hostname}t.virtualHostedBucket=r,t.path=t.path.replace(new RegExp("/"+r),""),"/"!==t.path[0]&&(t.path="/"+t.path)}},addExpect100Continue:function(e){var t=e.httpRequest.headers["Content-Length"];a.util.isNode()&&t>=1048576&&(e.httpRequest.headers.Expect="100-continue")},addContentType:function(e){var t=e.httpRequest;if("GET"===t.method||"HEAD"===t.method)return void delete t.headers["Content-Type"];t.headers["Content-Type"]||(t.headers["Content-Type"]="application/octet-stream");var r=t.headers["Content-Type"];if(a.util.isBrowser())if("string"!=typeof t.body||r.match(/;\s*charset=/)){var o=function(e,t,r){return t+r.toUpperCase()};t.headers["Content-Type"]=r.replace(/(;\s*charset=)(.+)$/,o)}else{var i="; charset=UTF-8";t.headers["Content-Type"]+=i}},computableChecksumOperations:{putBucketCors:!0,putBucketLifecycle:!0,putBucketLifecycleConfiguration:!0,putBucketTagging:!0,deleteObjects:!0,putBucketReplication:!0},willComputeChecksums:function(e){if(this.computableChecksumOperations[e.operation])return!0;if(!this.config.computeChecksums)return!1;if(!a.util.Buffer.isBuffer(e.httpRequest.body)&&"string"!=typeof e.httpRequest.body)return!1;var t=e.service.api.operations[e.operation].input.members;return e.service.getSignerClass(e)===a.Signers.V4&&t.ContentMD5&&!t.ContentMD5.required?!1:t.ContentMD5&&!e.params.ContentMD5?!0:void 0},computeContentMd5:function(e){if(e.service.willComputeChecksums(e)){var t=a.util.crypto.md5(e.httpRequest.body,"base64");e.httpRequest.headers["Content-MD5"]=t}},computeSseCustomerKeyMd5:function(e){var t={SSECustomerKey:"x-amz-server-side-encryption-customer-key-MD5",CopySourceSSECustomerKey:"x-amz-copy-source-server-side-encryption-customer-key-MD5"};a.util.each(t,function(t,r){if(e.params[t]){var o=a.util.crypto.md5(e.params[t],"base64");e.httpRequest.headers[r]=o}})},pathStyleBucketName:function(e){return this.config.s3ForcePathStyle?!0:this.config.s3BucketEndpoint?!1:this.dnsCompatibleBucketName(e)?!(!this.config.sslEnabled||!e.match(/\./)):!0},dnsCompatibleBucketName:function(e){var t=e,r=new RegExp(/^[a-z0-9][a-z0-9\.\-]{1,61}[a-z0-9]$/),a=new RegExp(/(\d+\.){3}\d+/),o=new RegExp(/\.\./);return t.match(r)&&!t.match(a)&&!t.match(o)},successfulResponse:function(e){var t=e.request,r=e.httpResponse;return o[t.operation]&&r.body.toString().match("")?!1:r.statusCode<300},retryableError:function(e,t){if(o[t.operation]&&200===e.statusCode)return!0;if(e&&"RequestTimeout"===e.code)return!0;if(e&&"AuthorizationHeaderMalformed"===e.code&&e.region&&e.region!=t.httpRequest.region)return t.httpRequest.region=e.region,!0;var r=a.Service.prototype.retryableError;return r.call(this,e,t)},extractData:function(e){var t=e.request;if("getBucketLocation"===t.operation){var r=e.httpResponse.body.toString().match(/>(.+)<\/Location/);delete e.data._,r?e.data.LocationConstraint=r[1]:e.data.LocationConstraint=""}},extractError:function(e){var t={304:"NotModified",403:"Forbidden",400:"BadRequest",404:"NotFound"},r=e.httpResponse.statusCode,o=e.httpResponse.body||"",i=e.requestId,n=e.httpResponse.headers?e.httpResponse.headers["x-amz-id-2"]:null;if(t[r]&&0===o.length)e.error=a.util.error(new Error,{code:t[e.httpResponse.statusCode],message:null});else{var s=(new a.XML.Parser).parse(o.toString());e.error=a.util.error(new Error,{code:s.Code||r,message:s.Message||null,region:s.Region||null})}e.error.requestId=i||null,e.error.extendedRequestId=n||null},getSignedUrl:function(e,t,r){t=a.util.copy(t||{});var o=t.Expires||900;delete t.Expires;var i=this.makeRequest(e,t);return i.presign(o,r)},prepareSignedUrl:function(e){e.addListener("validate",e.service.noPresignedContentLength),e.removeListener("build",e.service.addContentType),e.params.Body?e.addListener("afterBuild",a.EventListeners.Core.COMPUTE_SHA256):e.removeListener("build",e.service.computeContentMd5)},noPresignedContentLength:function(e){if(void 0!==e.params.ContentLength)throw a.util.error(new Error,{code:"UnexpectedParameter",message:"ContentLength is not supported in pre-signed URLs."})},createBucket:function(e,t){"function"!=typeof e&&e||(t=t||e,e={});var r=this.endpoint.hostname;return r===this.api.globalEndpoint||e.CreateBucketConfiguration||(e.CreateBucketConfiguration={LocationConstraint:this.config.region}),this.makeRequest("createBucket",e,t)},upload:function(e,t,r){"function"==typeof t&&void 0===r&&(r=t,t=null),t=t||{},t=a.util.merge(t||{},{service:this,params:e});var o=new a.S3.ManagedUpload(t);return"function"==typeof r&&o.send(r),o}})},{"../core":4,"../s3/managed_upload":39}],49:[function(e,t,r){var a=e("../core");a.util.update(a.SQS.prototype,{setupRequestListeners:function(e){e.addListener("build",this.buildEndpoint),e.service.config.computeChecksums&&("sendMessage"===e.operation?e.addListener("extractData",this.verifySendMessageChecksum):"sendMessageBatch"===e.operation?e.addListener("extractData",this.verifySendMessageBatchChecksum):"receiveMessage"===e.operation&&e.addListener("extractData",this.verifyReceiveMessageChecksum))},verifySendMessageChecksum:function(e){if(e.data){var t=e.data.MD5OfMessageBody,r=this.params.MessageBody,a=this.service.calculateChecksum(r);if(a!==t){var o='Got "'+e.data.MD5OfMessageBody+'", expecting "'+a+'".';this.service.throwInvalidChecksumError(e,[e.data.MessageId],o)}}},verifySendMessageBatchChecksum:function(e){if(e.data){var t=this.service,r={},o=[],i=[];a.util.arrayEach(e.data.Successful,function(e){r[e.Id]=e}),a.util.arrayEach(this.params.Entries,function(e){if(r[e.Id]){var a=r[e.Id].MD5OfMessageBody,n=e.MessageBody;t.isChecksumValid(a,n)||(o.push(e.Id),i.push(r[e.Id].MessageId))}}),o.length>0&&t.throwInvalidChecksumError(e,i,"Invalid messages: "+o.join(", "))}},verifyReceiveMessageChecksum:function(e){if(e.data){var t=this.service,r=[];a.util.arrayEach(e.data.Messages,function(e){var a=e.MD5OfBody,o=e.Body;t.isChecksumValid(a,o)||r.push(e.MessageId)}),r.length>0&&t.throwInvalidChecksumError(e,r,"Invalid messages: "+r.join(", "))}},throwInvalidChecksumError:function(e,t,r){e.error=a.util.error(new Error,{retryable:!0,code:"InvalidChecksum",messageIds:t,message:e.request.operation+" returned an invalid MD5 response. "+r})},isChecksumValid:function(e,t){return this.calculateChecksum(t)===e},calculateChecksum:function(e){return a.util.crypto.md5(e,"hex")},buildEndpoint:function(e){var t=e.httpRequest.params.QueueUrl;if(t){e.httpRequest.endpoint=new a.Endpoint(t);var r=e.httpRequest.endpoint.host.match(/^sqs\.(.+?)\./);r&&(e.httpRequest.region=r[1])}}})},{"../core":4}],50:[function(e,t,r){var a=e("../core");a.util.update(a.STS.prototype,{credentialsFrom:function(e,t){return e?(t||(t=new a.TemporaryCredentials),t.expired=!1,t.accessKeyId=e.Credentials.AccessKeyId,t.secretAccessKey=e.Credentials.SecretAccessKey,t.sessionToken=e.Credentials.SessionToken,t.expireTime=e.Credentials.Expiration,t):null},assumeRoleWithWebIdentity:function(e,t){return this.makeUnauthenticatedRequest("assumeRoleWithWebIdentity",e,t)},assumeRoleWithSAML:function(e,t){return this.makeUnauthenticatedRequest("assumeRoleWithSAML",e,t)}})},{"../core":4}],51:[function(e,t,r){function a(e){var t=e.httpRequest.headers[s];if(delete e.httpRequest.headers["User-Agent"],delete e.httpRequest.headers["X-Amz-User-Agent"],e.service.getSignerClass()===i.Signers.V4){if(t>604800){var r="Presigning does not support expiry time greater than a week with SigV4 signing.";throw i.util.error(new Error,{code:"InvalidExpiryTime",message:r,retryable:!1})}e.httpRequest.headers[s]=t}else{if(e.service.getSignerClass()!==i.Signers.S3)throw i.util.error(new Error,{message:"Presigning only supports S3 or SigV4 signing.",code:"UnsupportedSigner",retryable:!1});e.httpRequest.headers[s]=parseInt(i.util.date.unixTimestamp()+t,10).toString()}}function o(e){var t=e.httpRequest.endpoint,r=i.util.urlParse(e.httpRequest.path),a={};r.search&&(a=i.util.queryStringParse(r.search.substr(1))),i.util.each(e.httpRequest.headers,function(e,t){e===s&&(e="Expires"),0===e.indexOf("x-amz-meta-")&&(e=e.toLowerCase()),a[e]=t}),delete e.httpRequest.headers[s];var o=a.Authorization.split(" ");if("AWS"===o[0])o=o[1].split(":"),a.AWSAccessKeyId=o[0],a.Signature=o[1];else if("AWS4-HMAC-SHA256"===o[0]){o.shift();var n=o.join(" "),u=n.match(/Signature=(.*?)(?:,|\s|\r?\n|$)/)[1];a["X-Amz-Signature"]=u,delete a.Expires}delete a.Authorization,delete a.Host,t.pathname=r.pathname,t.search=i.util.queryParamsToString(a)}var i=e("../core"),n=i.util.inherit,s="presigned-expires";i.Signers.Presign=n({sign:function(e,t,r){if(e.httpRequest.headers[s]=t||3600,e.on("build",a),e.on("sign",o),e.removeListener("afterBuild",i.EventListeners.Core.SET_CONTENT_LENGTH),e.removeListener("afterBuild",i.EventListeners.Core.COMPUTE_SHA256),e.emit("beforePresign",[e]),!r){if(e.build(),e.response.error)throw e.response.error;return i.util.urlFormat(e.httpRequest.endpoint)}e.build(function(){this.response.error?r(this.response.error):r(null,i.util.urlFormat(e.httpRequest.endpoint))})}}),t.exports=i.Signers.Presign},{"../core":4}],52:[function(e,t,r){var a=e("../core"),o=a.util.inherit;a.Signers.RequestSigner=o({constructor:function(e){this.request=e}}),a.Signers.RequestSigner.getVersion=function(e){switch(e){case"v2":return a.Signers.V2;case"v3":return a.Signers.V3;case"v4":return a.Signers.V4;case"s3":return a.Signers.S3;case"v3https":return a.Signers.V3Https}throw new Error("Unknown signing version "+e)},e("./v2"),e("./v3"),e("./v3https"),e("./v4"),e("./s3"),e("./presign")},{"../core":4,"./presign":51,"./s3":53,"./v2":54,"./v3":55,"./v3https":56,"./v4":57}],53:[function(e,t,r){var a=e("../core"),o=a.util.inherit;a.Signers.S3=o(a.Signers.RequestSigner,{subResources:{acl:1,cors:1,lifecycle:1,"delete":1,location:1,logging:1,notification:1,partNumber:1,policy:1,requestPayment:1,replication:1,restore:1,tagging:1,torrent:1,uploadId:1,uploads:1,versionId:1,versioning:1,versions:1,website:1},responseHeaders:{"response-content-type":1,"response-content-language":1,"response-expires":1,"response-cache-control":1,"response-content-disposition":1,"response-content-encoding":1},addAuthorization:function(e,t){this.request.headers["presigned-expires"]||(this.request.headers["X-Amz-Date"]=a.util.date.rfc822(t)),e.sessionToken&&(this.request.headers["x-amz-security-token"]=e.sessionToken);var r=this.sign(e.secretAccessKey,this.stringToSign()),o="AWS "+e.accessKeyId+":"+r;this.request.headers.Authorization=o},stringToSign:function(){var e=this.request,t=[];t.push(e.method),t.push(e.headers["Content-MD5"]||""),t.push(e.headers["Content-Type"]||""),t.push(e.headers["presigned-expires"]||"");var r=this.canonicalizedAmzHeaders();return r&&t.push(r),t.push(this.canonicalizedResource()),t.join("\n")},canonicalizedAmzHeaders:function(){var e=[];a.util.each(this.request.headers,function(t){t.match(/^x-amz-/i)&&e.push(t)}),e.sort(function(e,t){return e.toLowerCase()=0?"&":"?";this.request.path+=i+a.util.queryParamsToString(o)},authorization:function(e,t){var r=[],a=this.credentialString(t);return r.push(this.algorithm+" Credential="+e.accessKeyId+"/"+a),r.push("SignedHeaders="+this.signedHeaders()),r.push("Signature="+this.signature(e,t)),r.join(", ")},signature:function(e,t){var r=null;if(this.signatureCache)var r=i[this.serviceName];var o=t.substr(0,8);if(!r||r.akid!==e.accessKeyId||r.region!==this.request.region||r.date!==o){var n=e.secretAccessKey,s=a.util.crypto.hmac("AWS4"+n,o,"buffer"),u=a.util.crypto.hmac(s,this.request.region,"buffer"),c=a.util.crypto.hmac(u,this.serviceName,"buffer"),p=a.util.crypto.hmac(c,"aws4_request","buffer");if(!this.signatureCache)return a.util.crypto.hmac(p,this.stringToSign(t),"hex");i[this.serviceName]={region:this.request.region,date:o,key:p,akid:e.accessKeyId}}var m=i[this.serviceName].key;return a.util.crypto.hmac(m,this.stringToSign(t),"hex")},stringToSign:function(e){var t=[];return t.push("AWS4-HMAC-SHA256"),t.push(e),t.push(this.credentialString(e)),t.push(this.hexEncodedHash(this.canonicalString())),t.join("\n")},canonicalString:function(){var e=[],t=this.request.pathname();return"s3"!==this.serviceName&&(t=a.util.uriEscapePath(t)),e.push(this.request.method),e.push(t),e.push(this.request.search()),e.push(this.canonicalHeaders()+"\n"),e.push(this.signedHeaders()),e.push(this.hexEncodedBodyHash()),e.join("\n")},canonicalHeaders:function(){var e=[];a.util.each.call(this,this.request.headers,function(t,r){e.push([t,r])}),e.sort(function(e,t){return e[0].toLowerCase()=e.length)return t.push(null);var o=r+a;o>e.length&&(o=e.length),t.push(e.slice(r,o)),r=o},t},concat:function(e){var t,r=0,a=0,o=null;for(t=0;ta&&(a=e.length+a),r.push(e[a])}}),a=r),0===a.length?n.abort:void 0}),a.length>0?(r=a,n.abort):void 0}),r},find:function(e,t){return n.jamespath.query(e,t)[0]}},date:{getDate:function(){return a||(a=e("./core")),a.config.systemClockOffset?new Date((new Date).getTime()+a.config.systemClockOffset):new Date},iso8601:function(e){return void 0===e&&(e=n.date.getDate()),e.toISOString().replace(/\.\d{3}Z$/,"Z")},rfc822:function(e){return void 0===e&&(e=n.date.getDate()),e.toUTCString()},unixTimestamp:function(e){return void 0===e&&(e=n.date.getDate()),e.getTime()/1e3},from:function(e){return"number"==typeof e?new Date(1e3*e):new Date(e)},format:function(e,t){return t||(t="iso8601"),n.date[t](n.date.from(e))},parseTimestamp:function(e){if("number"==typeof e)return new Date(1e3*e);if(e.match(/^\d+$/))return new Date(1e3*e);if(e.match(/^\d{4}/))return new Date(e);if(e.match(/^\w{3},/))return new Date(e);throw n.error(new Error("unhandled timestamp format: "+e),{code:"TimestampParserError"})}},crypto:{crc32Table:[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117],
+crc32:function(e){var t=n.crypto.crc32Table,r=-1;"string"==typeof e&&(e=new i(e));for(var a=0;a>>8^t[255&(r^o)]}return(-1^r)>>>0},hmac:function(e,t,r,a){return r||(r="binary"),"buffer"===r&&(r=void 0),a||(a="sha256"),"string"==typeof t&&(t=new i(t)),o.createHmac(a,e).update(t).digest(r)},md5:function(e,t,r){return n.crypto.hash("md5",e,t,r)},sha256:function(e,t,r){return n.crypto.hash("sha256",e,t,r)},hash:function(e,t,r,a){var o=n.crypto.createHash(e);r||(r="binary"),"buffer"===r&&(r=void 0),"string"==typeof t&&(t=new i(t));var s=n.arraySliceFn(t),u=i.isBuffer(t);if(n.isBrowser()&&"undefined"!=typeof ArrayBuffer&&t&&t.buffer instanceof ArrayBuffer&&(u=!0),a&&"object"==typeof t&&"function"==typeof t.on&&!u)t.on("data",function(e){o.update(e)}),t.on("error",function(e){a(e)}),t.on("end",function(){a(null,o.digest(r))});else{if(!a||!s||u||"undefined"==typeof FileReader){n.isBrowser()&&"object"==typeof t&&!u&&(t=new i(new Uint8Array(t)));var c=o.update(t).digest(r);return a&&a(null,c),c}var p=0,m=524288,l=new FileReader;l.onerror=function(){a(new Error("Failed to read data."))},l.onload=function(){var e=new i(new Uint8Array(l.result));o.update(e),p+=e.length,l._continueReading()},l._continueReading=function(){if(p>=t.size)return void a(null,o.digest(r));var e=p+m;e>t.size&&(e=t.size),l.readAsArrayBuffer(s.call(t,p,e))},l._continueReading()}},toHex:function(e){for(var t=[],r=0;r=3e5,!1),a.config.isClockSkewed):void 0},applyClockOffset:function(e){e&&(a.config.systemClockOffset=e-(new Date).getTime())},extractRequestId:function(e){var t=e.httpResponse.headers["x-amz-request-id"]||e.httpResponse.headers["x-amzn-requestid"];!t&&e.data&&e.data.ResponseMetadata&&(t=e.data.ResponseMetadata.RequestId),t&&(e.requestId=t),e.error&&(e.error.requestId=t)}};t.exports=n}).call(this,e("FWaASH"))},{"./core":4,FWaASH:73,buffer:62,crypto:66,querystring:77,url:78}],60:[function(e,t,r){function a(){}function o(e,t){switch(t||(t={}),t.type){case"structure":return i(e,t);case"map":return n(e,t);case"list":return s(e,t);case void 0:case null:return c(e);default:return u(e,t)}}function i(e,t){var r={};return null===e?r:(p.each(t.members,function(t,a){if(a.isXmlAttribute){if(e.attributes.hasOwnProperty(a.name)){var i=e.attributes[a.name].value;r[t]=o({textContent:i},a)}}else{var n=a.flattened?e:e.getElementsByTagName(a.name)[0];n?r[t]=o(n,a):a.flattened||"list"!==a.type||(r[t]=a.defaultValue)}}),r)}function n(e,t){for(var r={},a=t.key.name||"key",i=t.value.name||"value",n=t.flattened?t.name:"entry",s=e.firstElementChild;s;){if(s.nodeName===n){var u=s.getElementsByTagName(a)[0].textContent,c=s.getElementsByTagName(i)[0];r[u]=o(c,t.value)}s=s.nextElementSibling}return r}function s(e,t){for(var r=[],a=t.flattened?t.name:t.member.name||"member",i=e.firstElementChild;i;)i.nodeName===a&&r.push(o(i,t.member)),i=i.nextElementSibling;return r}function u(e,t){if(e.getAttribute){var r=e.getAttribute("encoding");"base64"===r&&(t=new m.create({type:r}))}var a=e.textContent;return""===a&&(a=null),"function"==typeof t.toType?t.toType(a):a}function c(e){if(void 0===e||null===e)return"";if(!e.firstElementChild)return null===e.parentNode.parentNode?{}:0===e.childNodes.length?"":e.textContent;for(var t={type:"structure",members:{}},r=e.firstElementChild;r;){var a=r.nodeName;t.members.hasOwnProperty(a)?t.members[a].type="list":t.members[a]={name:a},r=r.nextElementSibling}return i(e,t)}var p=e("../util"),m=e("../model/shape");a.prototype.parse=function(e,t){if(""===e.replace(/^\s+/,""))return{};var r,a;try{if(window.DOMParser){try{var i=new DOMParser;r=i.parseFromString(e,"text/xml")}catch(n){throw p.error(new Error("Parse error in document"),{originalError:n,code:"XMLParserError",retryable:!0})}if(null===r.documentElement)throw p.error(new Error("Cannot parse empty document."),{code:"XMLParserError",retryable:!0});var s=r.getElementsByTagName("parsererror")[0];if(s&&(s.parentNode===r||"body"===s.parentNode.nodeName||s.parentNode.parentNode===r||"body"===s.parentNode.parentNode.nodeName)){var u=s.getElementsByTagName("div")[0]||s;throw p.error(new Error(u.textContent||"Parser error in document"),{code:"XMLParserError",retryable:!0})}}else{if(!window.ActiveXObject)throw new Error("Cannot load XML parser");if(r=new window.ActiveXObject("Microsoft.XMLDOM"),r.async=!1,!r.loadXML(e))throw p.error(new Error("Parse error in document"),{code:"XMLParserError",retryable:!0})}}catch(c){a=c}if(r&&r.documentElement&&!a){var m=o(r.documentElement,t),l=r.getElementsByTagName("ResponseMetadata")[0];return l&&(m.ResponseMetadata=o(l,{})),m}if(a)throw p.error(a||new Error,{code:"XMLParserError",retryable:!0});return{}},t.exports=a},{"../model/shape":26,"../util":59}],61:[function(e,t,r){function a(){}function o(e,t,r){switch(r.type){case"structure":return i(e,t,r);case"map":return n(e,t,r);case"list":return s(e,t,r);default:return u(e,t,r)}}function i(e,t,r){p.arrayEach(r.memberNames,function(a){var i=r.members[a];if("body"===i.location){var n=t[a],s=i.name;if(void 0!==n&&null!==n)if(i.isXmlAttribute)e.att(s,n);else if(i.flattened)o(e,n,i);else{var u=e.ele(s);c(u,i),o(u,n,i)}}})}function n(e,t,r){var a=r.key.name||"key",i=r.value.name||"value";p.each(t,function(t,n){var s=e.ele(r.flattened?r.name:"entry");o(s.ele(a),t,r.key),o(s.ele(i),n,r.value)})}function s(e,t,r){r.flattened?p.arrayEach(t,function(t){var a=r.member.name||r.name,i=e.ele(a);o(i,t,r.member)}):p.arrayEach(t,function(t){var a=r.member.name||"member",i=e.ele(a);o(i,t,r.member)})}function u(e,t,r){e.txt(r.toWireFormat(t))}function c(e,t){var r,a="xmlns";t.xmlNamespaceUri?(r=t.xmlNamespaceUri,t.xmlNamespacePrefix&&(a+=":"+t.xmlNamespacePrefix)):e.isRoot&&t.api.xmlNamespaceUri&&(r=t.api.xmlNamespaceUri),r&&e.att(a,r)}var p=e("../util"),m=e("xmlbuilder");a.prototype.toXML=function(e,t,r,a){var i=m.create(r);return c(i,t),o(i,e,t),i.children.length>0||a?i.root().toString():""},t.exports=a},{"../util":59,xmlbuilder:97}],62:[function(e,t,r){function a(e,t,r){if(!(this instanceof a))return new a(e,t,r);var o=typeof e;if("base64"===t&&"string"===o)for(e=D(e);e.length%4!==0;)e+="=";var i;if("number"===o)i=x(e);else if("string"===o)i=a.byteLength(e,t);else{if("object"!==o)throw new Error("First argument needs to be a number, array or string.");i=x(e.length)}var n;a._useTypedArrays?n=a._augment(new Uint8Array(i)):(n=this,n.length=i,n._isBuffer=!0);var s;if(a._useTypedArrays&&"number"==typeof e.byteLength)n._set(e);else if(E(e))for(s=0;i>s;s++)a.isBuffer(e)?n[s]=e.readUInt8(s):n[s]=e[s];else if("string"===o)n.write(e,0,t);else if("number"===o&&!a._useTypedArrays&&!r)for(s=0;i>s;s++)n[s]=0;return n}function o(e,t,r,o){r=Number(r)||0;var i=e.length-r;o?(o=Number(o),o>i&&(o=i)):o=i;var n=t.length;z(n%2===0,"Invalid hex string"),o>n/2&&(o=n/2);for(var s=0;o>s;s++){var u=parseInt(t.substr(2*s,2),16);z(!isNaN(u),"Invalid hex string"),e[r+s]=u}return a._charsWritten=2*s,s}function i(e,t,r,o){var i=a._charsWritten=V(L(t),e,r,o);return i}function n(e,t,r,o){var i=a._charsWritten=V(M(t),e,r,o);return i}function s(e,t,r,a){return n(e,t,r,a)}function u(e,t,r,o){var i=a._charsWritten=V(U(t),e,r,o);return i}function c(e,t,r,o){var i=a._charsWritten=V(B(t),e,r,o);return i}function p(e,t,r){return 0===t&&r===e.length?j.fromByteArray(e):j.fromByteArray(e.slice(t,r))}function m(e,t,r){var a="",o="";r=Math.min(e.length,r);for(var i=t;r>i;i++)e[i]<=127?(a+=_(o)+String.fromCharCode(e[i]),o=""):o+="%"+e[i].toString(16);return a+_(o)}function l(e,t,r){var a="";r=Math.min(e.length,r);for(var o=t;r>o;o++)a+=String.fromCharCode(e[o]);return a}function d(e,t,r){return l(e,t,r)}function y(e,t,r){var a=e.length;(!t||0>t)&&(t=0),(!r||0>r||r>a)&&(r=a);for(var o="",i=t;r>i;i++)o+=w(e[i]);return o}function h(e,t,r){for(var a=e.slice(t,r),o="",i=0;i=o)){var i;return r?(i=e[t],o>t+1&&(i|=e[t+1]<<8)):(i=e[t]<<8,o>t+1&&(i|=e[t+1])),i}}function f(e,t,r,a){a||(z("boolean"==typeof r,"missing or invalid endian"),z(void 0!==t&&null!==t,"missing offset"),z(t+3=o)){var i;return r?(o>t+2&&(i=e[t+2]<<16),o>t+1&&(i|=e[t+1]<<8),i|=e[t],o>t+3&&(i+=e[t+3]<<24>>>0)):(o>t+1&&(i=e[t+1]<<16),o>t+2&&(i|=e[t+2]<<8),o>t+3&&(i|=e[t+3]),i+=e[t]<<24>>>0),i}}function S(e,t,r,a){a||(z("boolean"==typeof r,"missing or invalid endian"),z(void 0!==t&&null!==t,"missing offset"),z(t+1=o)){var i=b(e,t,r,!0),n=32768&i;return n?-1*(65535-i+1):i}}function g(e,t,r,a){a||(z("boolean"==typeof r,"missing or invalid endian"),z(void 0!==t&&null!==t,"missing offset"),z(t+3=o)){var i=f(e,t,r,!0),n=2147483648&i;return n?-1*(4294967295-i+1):i}}function N(e,t,r,a){return a||(z("boolean"==typeof r,"missing or invalid endian"),z(t+3=i))for(var n=0,s=Math.min(i-r,2);s>n;n++)e[r+n]=(t&255<<8*(a?n:1-n))>>>8*(a?n:1-n)}function T(e,t,r,a,o){o||(z(void 0!==t&&null!==t,"missing value"),z("boolean"==typeof a,"missing or invalid endian"),z(void 0!==r&&null!==r,"missing offset"),z(r+3=i))for(var n=0,s=Math.min(i-r,4);s>n;n++)e[r+n]=t>>>8*(a?n:3-n)&255}function C(e,t,r,a,o){o||(z(void 0!==t&&null!==t,"missing value"),z("boolean"==typeof a,"missing or invalid endian"),z(void 0!==r&&null!==r,"missing offset"),z(r+1=i||(t>=0?v(e,t,r,a,o):v(e,65535+t+1,r,a,o))}function k(e,t,r,a,o){o||(z(void 0!==t&&null!==t,"missing value"),z("boolean"==typeof a,"missing or invalid endian"),z(void 0!==r&&null!==r,"missing offset"),z(r+3=i||(t>=0?T(e,t,r,a,o):T(e,4294967295+t+1,r,a,o))}function R(e,t,r,a,o){o||(z(void 0!==t&&null!==t,"missing value"),z("boolean"==typeof a,"missing or invalid endian"),z(void 0!==r&&null!==r,"missing offset"),z(r+3=i||K.write(e,t,r,a,23,4)}function A(e,t,r,a,o){o||(z(void 0!==t&&null!==t,"missing value"),z("boolean"==typeof a,"missing or invalid endian"),z(void 0!==r&&null!==r,"missing offset"),z(r+7=i||K.write(e,t,r,a,52,8)}function D(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function q(e,t,r){return"number"!=typeof e?r:(e=~~e,e>=t?t:e>=0?e:(e+=t,e>=0?e:0))}function x(e){return e=~~Math.ceil(+e),0>e?0:e}function P(e){return(Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)})(e)}function E(e){return P(e)||a.isBuffer(e)||e&&"object"==typeof e&&"number"==typeof e.length}function w(e){return 16>e?"0"+e.toString(16):e.toString(16)}function L(e){for(var t=[],r=0;r=a)t.push(e.charCodeAt(r));else{var o=r;a>=55296&&57343>=a&&r++;for(var i=encodeURIComponent(e.slice(o,r+1)).substr(1).split("%"),n=0;n>8,a=t%256,o.push(a),o.push(r);return o}function U(e){return j.toByteArray(e)}function V(e,t,r,a){for(var o=0;a>o&&!(o+r>=t.length||o>=e.length);o++)t[o+r]=e[o];return o}function _(e){try{return decodeURIComponent(e)}catch(t){return String.fromCharCode(65533)}}function G(e,t){z("number"==typeof e,"cannot write a non-number as a number"),z(e>=0,"specified a negative value for writing an unsigned value"),z(t>=e,"value is larger than maximum value for type"),z(Math.floor(e)===e,"value has a fractional component")}function F(e,t,r){z("number"==typeof e,"cannot write a non-number as a number"),z(t>=e,"value larger than maximum allowed value"),z(e>=r,"value smaller than minimum allowed value"),z(Math.floor(e)===e,"value has a fractional component")}function O(e,t,r){z("number"==typeof e,"cannot write a non-number as a number"),z(t>=e,"value larger than maximum allowed value"),z(e>=r,"value smaller than minimum allowed value")}function z(e,t){if(!e)throw new Error(t||"Failed assertion")}var j=e("base64-js"),K=e("ieee754");r.Buffer=a,r.SlowBuffer=a,r.INSPECT_MAX_BYTES=50,a.poolSize=8192,a._useTypedArrays=function(){try{var e=new ArrayBuffer(0),t=new Uint8Array(e);return t.foo=function(){return 42},42===t.foo()&&"function"==typeof t.subarray}catch(r){return!1}}(),a.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"raw":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},a.isBuffer=function(e){return!(null===e||void 0===e||!e._isBuffer)},a.byteLength=function(e,t){var r;switch(e+="",t||"utf8"){case"hex":r=e.length/2;break;case"utf8":case"utf-8":r=L(e).length;break;case"ascii":case"binary":case"raw":r=e.length;break;case"base64":r=U(e).length;break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":r=2*e.length;break;default:throw new Error("Unknown encoding")}return r},a.concat=function(e,t){if(z(P(e),"Usage: Buffer.concat(list, [totalLength])\nlist should be an Array."),0===e.length)return new a(0);if(1===e.length)return e[0];var r;if("number"!=typeof t)for(t=0,r=0;rm&&(r=m)):r=m,a=String(a||"utf8").toLowerCase();var l;switch(a){case"hex":l=o(this,e,t,r);break;case"utf8":case"utf-8":l=i(this,e,t,r);break;case"ascii":l=n(this,e,t,r);break;case"binary":l=s(this,e,t,r);break;case"base64":l=u(this,e,t,r);break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":l=c(this,e,t,r);break;default:throw new Error("Unknown encoding")}return l},a.prototype.toString=function(e,t,r){var a=this;if(e=String(e||"utf8").toLowerCase(),t=Number(t)||0,r=void 0!==r?Number(r):r=a.length,r===t)return"";var o;switch(e){case"hex":o=y(a,t,r);break;case"utf8":case"utf-8":o=m(a,t,r);break;case"ascii":o=l(a,t,r);break;case"binary":o=d(a,t,r);break;case"base64":o=p(a,t,r);break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":o=h(a,t,r);break;default:throw new Error("Unknown encoding")}return o},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},a.prototype.copy=function(e,t,r,o){var i=this;if(r||(r=0),o||0===o||(o=this.length),t||(t=0),o!==r&&0!==e.length&&0!==i.length){z(o>=r,"sourceEnd < sourceStart"),z(t>=0&&t=0&&r=0&&o<=i.length,"sourceEnd out of bounds"),o>this.length&&(o=this.length),e.length-tn||!a._useTypedArrays)for(var s=0;n>s;s++)e[s+t]=this[s+r];else e._set(this.subarray(r,r+n),t)}},a.prototype.slice=function(e,t){var r=this.length;if(e=q(e,r,0),t=q(t,r,r),a._useTypedArrays)return a._augment(this.subarray(e,t));for(var o=t-e,i=new a(o,void 0,!0),n=0;o>n;n++)i[n]=this[n+e];return i},a.prototype.get=function(e){return console.log(".get() is deprecated. Access using array indexes instead."),this.readUInt8(e)},a.prototype.set=function(e,t){return console.log(".set() is deprecated. Access using array indexes instead."),this.writeUInt8(e,t)},a.prototype.readUInt8=function(e,t){return t||(z(void 0!==e&&null!==e,"missing offset"),z(e=this.length?void 0:this[e]},a.prototype.readUInt16LE=function(e,t){return b(this,e,!0,t)},a.prototype.readUInt16BE=function(e,t){return b(this,e,!1,t)},a.prototype.readUInt32LE=function(e,t){return f(this,e,!0,t)},a.prototype.readUInt32BE=function(e,t){return f(this,e,!1,t)},a.prototype.readInt8=function(e,t){if(t||(z(void 0!==e&&null!==e,"missing offset"),z(e=this.length)){var r=128&this[e];return r?-1*(255-this[e]+1):this[e]}},a.prototype.readInt16LE=function(e,t){return S(this,e,!0,t)},a.prototype.readInt16BE=function(e,t){return S(this,e,!1,t)},a.prototype.readInt32LE=function(e,t){return g(this,e,!0,t)},a.prototype.readInt32BE=function(e,t){return g(this,e,!1,t)},a.prototype.readFloatLE=function(e,t){return N(this,e,!0,t)},a.prototype.readFloatBE=function(e,t){return N(this,e,!1,t)},a.prototype.readDoubleLE=function(e,t){return I(this,e,!0,t)},a.prototype.readDoubleBE=function(e,t){return I(this,e,!1,t)},a.prototype.writeUInt8=function(e,t,r){r||(z(void 0!==e&&null!==e,"missing value"),z(void 0!==t&&null!==t,"missing offset"),z(t=this.length||(this[t]=e)},a.prototype.writeUInt16LE=function(e,t,r){v(this,e,t,!0,r)},a.prototype.writeUInt16BE=function(e,t,r){v(this,e,t,!1,r)},a.prototype.writeUInt32LE=function(e,t,r){T(this,e,t,!0,r)},a.prototype.writeUInt32BE=function(e,t,r){T(this,e,t,!1,r)},a.prototype.writeInt8=function(e,t,r){r||(z(void 0!==e&&null!==e,"missing value"),z(void 0!==t&&null!==t,"missing offset"),z(t=this.length||(e>=0?this.writeUInt8(e,t,r):this.writeUInt8(255+e+1,t,r))},a.prototype.writeInt16LE=function(e,t,r){C(this,e,t,!0,r)},a.prototype.writeInt16BE=function(e,t,r){C(this,e,t,!1,r)},a.prototype.writeInt32LE=function(e,t,r){k(this,e,t,!0,r)},a.prototype.writeInt32BE=function(e,t,r){k(this,e,t,!1,r)},a.prototype.writeFloatLE=function(e,t,r){R(this,e,t,!0,r)},a.prototype.writeFloatBE=function(e,t,r){R(this,e,t,!1,r)},a.prototype.writeDoubleLE=function(e,t,r){A(this,e,t,!0,r)},a.prototype.writeDoubleBE=function(e,t,r){A(this,e,t,!1,r)},a.prototype.fill=function(e,t,r){if(e||(e=0),t||(t=0),r||(r=this.length),"string"==typeof e&&(e=e.charCodeAt(0)),z("number"==typeof e&&!isNaN(e),"value is not a number"),z(r>=t,"end < start"),r!==t&&0!==this.length){z(t>=0&&t=0&&r<=this.length,"end out of bounds");for(var a=t;r>a;a++)this[a]=e}},a.prototype.inspect=function(){for(var e=[],t=this.length,a=0;t>a;a++)if(e[a]=w(this[a]),a===r.INSPECT_MAX_BYTES){e[a+1]="...";break}return""},a.prototype.toArrayBuffer=function(){if("undefined"!=typeof Uint8Array){if(a._useTypedArrays)return new a(this).buffer;for(var e=new Uint8Array(this.length),t=0,r=e.length;r>t;t+=1)e[t]=this[t];return e.buffer}throw new Error("Buffer.toArrayBuffer not supported in this browser")};var H=a.prototype;a._augment=function(e){return e._isBuffer=!0,e._get=e.get,e._set=e.set,e.get=H.get,e.set=H.set,e.write=H.write,e.toString=H.toString,e.toLocaleString=H.toString,e.toJSON=H.toJSON,e.copy=H.copy,e.slice=H.slice,e.readUInt8=H.readUInt8,e.readUInt16LE=H.readUInt16LE,e.readUInt16BE=H.readUInt16BE,e.readUInt32LE=H.readUInt32LE,e.readUInt32BE=H.readUInt32BE,e.readInt8=H.readInt8,e.readInt16LE=H.readInt16LE,e.readInt16BE=H.readInt16BE,e.readInt32LE=H.readInt32LE,e.readInt32BE=H.readInt32BE,e.readFloatLE=H.readFloatLE,e.readFloatBE=H.readFloatBE,e.readDoubleLE=H.readDoubleLE,e.readDoubleBE=H.readDoubleBE,e.writeUInt8=H.writeUInt8,e.writeUInt16LE=H.writeUInt16LE,e.writeUInt16BE=H.writeUInt16BE,e.writeUInt32LE=H.writeUInt32LE,e.writeUInt32BE=H.writeUInt32BE,e.writeInt8=H.writeInt8,e.writeInt16LE=H.writeInt16LE,e.writeInt16BE=H.writeInt16BE,e.writeInt32LE=H.writeInt32LE,e.writeInt32BE=H.writeInt32BE,e.writeFloatLE=H.writeFloatLE,e.writeFloatBE=H.writeFloatBE,e.writeDoubleLE=H.writeDoubleLE,e.writeDoubleBE=H.writeDoubleBE,e.fill=H.fill,e.inspect=H.inspect,e.toArrayBuffer=H.toArrayBuffer,e}},{"base64-js":63,ieee754:64}],63:[function(e,t,r){var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";!function(e){"use strict";function t(e){var t=e.charCodeAt(0);return t===n||t===m?62:t===s||t===l?63:u>t?-1:u+10>t?t-u+26+26:p+26>t?t-p:c+26>t?t-c+26:void 0}function r(e){function r(e){c[m++]=e}var a,o,n,s,u,c;if(e.length%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var p=e.length;u="="===e.charAt(p-2)?2:"="===e.charAt(p-1)?1:0,c=new i(3*e.length/4-u),n=u>0?e.length-4:e.length;var m=0;for(a=0,o=0;n>a;a+=4,o+=3)s=t(e.charAt(a))<<18|t(e.charAt(a+1))<<12|t(e.charAt(a+2))<<6|t(e.charAt(a+3)),r((16711680&s)>>16),r((65280&s)>>8),r(255&s);return 2===u?(s=t(e.charAt(a))<<2|t(e.charAt(a+1))>>4,r(255&s)):1===u&&(s=t(e.charAt(a))<<10|t(e.charAt(a+1))<<4|t(e.charAt(a+2))>>2,r(s>>8&255),r(255&s)),c}function o(e){function t(e){return a.charAt(e)}function r(e){return t(e>>18&63)+t(e>>12&63)+t(e>>6&63)+t(63&e)}var o,i,n,s=e.length%3,u="";for(o=0,n=e.length-s;n>o;o+=3)i=(e[o]<<16)+(e[o+1]<<8)+e[o+2],u+=r(i);switch(s){case 1:i=e[e.length-1],u+=t(i>>2),u+=t(i<<4&63),u+="==";break;case 2:i=(e[e.length-2]<<8)+e[e.length-1],u+=t(i>>10),u+=t(i>>4&63),u+=t(i<<2&63),u+="="}return u}var i="undefined"!=typeof Uint8Array?Uint8Array:Array,n="+".charCodeAt(0),s="/".charCodeAt(0),u="0".charCodeAt(0),c="a".charCodeAt(0),p="A".charCodeAt(0),m="-".charCodeAt(0),l="_".charCodeAt(0);e.toByteArray=r,e.fromByteArray=o}("undefined"==typeof r?this.base64js={}:r)},{}],64:[function(e,t,r){r.read=function(e,t,r,a,o){var i,n,s=8*o-a-1,u=(1<>1,p=-7,m=r?o-1:0,l=r?-1:1,d=e[t+m];for(m+=l,i=d&(1<<-p)-1,d>>=-p,p+=s;p>0;i=256*i+e[t+m],m+=l,p-=8);for(n=i&(1<<-p)-1,i>>=-p,p+=a;p>0;n=256*n+e[t+m],m+=l,p-=8);if(0===i)i=1-c;else{if(i===u)return n?NaN:(d?-1:1)*(1/0);n+=Math.pow(2,a),i-=c}return(d?-1:1)*n*Math.pow(2,i-a)},r.write=function(e,t,r,a,o,i){var n,s,u,c=8*i-o-1,p=(1<>1,l=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,d=a?0:i-1,y=a?1:-1,h=0>t||0===t&&0>1/t?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,n=p):(n=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-n))<1&&(n--,u*=2),t+=n+m>=1?l/u:l*Math.pow(2,1-m),t*u>=2&&(n++,u/=2),n+m>=p?(s=0,n=p):n+m>=1?(s=(t*u-1)*Math.pow(2,o),n+=m):(s=t*Math.pow(2,m-1)*Math.pow(2,o),n=0));o>=8;e[r+d]=255&s,d+=y,s/=256,o-=8);for(n=n<0;e[r+d]=255&n,d+=y,n/=256,c-=8);e[r+d-y]|=128*h}},{}],65:[function(e,t,r){function a(e,t){if(e.length%s!==0){var r=e.length+(s-e.length%s);e=n.concat([e,u],r)}for(var a=[],o=t?e.readInt32BE:e.readInt32LE,i=0;id?t=e(t):t.lengthi;i++)a[i]=54^t[i],o[i]=92^t[i];var n=e(s.concat([a,r]));return e(s.concat([o,n]))}function o(e,t){e=e||"sha1";var r=l[e],o=[],n=0;return r||i("algorithm:",e,"is not yet supported"),{update:function(e){return s.isBuffer(e)||(e=new s(e)),o.push(e),n+=e.length,this},digest:function(e){var i=s.concat(o),n=t?a(r,t,i):r(i);return o=null,e?n.toString(e):n}}}function i(){var e=[].slice.call(arguments).join(" ");throw new Error([e,"we accept pull requests","http://github.com/dominictarr/crypto-browserify"].join("\n"))}function n(e,t){for(var r in e)t(e[r],r)}var s=e("buffer").Buffer,u=e("./sha"),c=e("./sha256"),p=e("./rng"),m=e("./md5"),l={sha1:u,sha256:c,md5:m},d=64,y=new s(d);y.fill(0),r.createHash=function(e){return o(e)},r.createHmac=function(e,t){return o(e,t)},r.randomBytes=function(e,t){if(!t||!t.call)return new s(p(e));try{t.call(this,void 0,new s(p(e)))}catch(r){t(r)}},n(["createCredentials","createCipher","createCipheriv","createDecipher","createDecipheriv","createSign","createVerify","createDiffieHellman","pbkdf2"],function(e){r[e]=function(){i("sorry,",e,"is not implemented yet")}})},{"./md5":67,"./rng":68,"./sha":69,"./sha256":70,buffer:62}],67:[function(e,t,r){function a(e,t){e[t>>5]|=128<>>9<<4)+14]=t;for(var r=1732584193,a=-271733879,o=-1732584194,p=271733878,m=0;m>16)+(t>>16)+(r>>16);return a<<16|65535&r}function p(e,t){return e<>>32-t}var m=e("./helpers");t.exports=function(e){return m.hash(e,a,16)}},{"./helpers":65}],68:[function(e,t,r){!function(){var e,r,a=this;e=function(e){for(var t,t,r=new Array(e),a=0;e>a;a++)0==(3&a)&&(t=4294967296*Math.random()),r[a]=t>>>((3&a)<<3)&255;return r},a.crypto&&crypto.getRandomValues&&(r=function(e){var t=new Uint8Array(e);return crypto.getRandomValues(t),t}),t.exports=r||e}()},{}],69:[function(e,t,r){function a(e,t){e[t>>5]|=128<<24-t%32,e[(t+64>>9<<4)+15]=t;for(var r=Array(80),a=1732584193,u=-271733879,c=-1732584194,p=271733878,m=-1009589776,l=0;lS;S++){16>S?r[S]=e[l+S]:r[S]=s(r[S-3]^r[S-8]^r[S-14]^r[S-16],1);var g=n(n(s(a,5),o(S,u,c,p)),n(n(m,r[S]),i(S)));m=p,p=c,c=s(u,30),u=a,a=g}a=n(a,d),u=n(u,y),c=n(c,h),p=n(p,b),m=n(m,f)}return Array(a,u,c,p,m)}function o(e,t,r,a){return 20>e?t&r|~t&a:40>e?t^r^a:60>e?t&r|t&a|r&a:t^r^a}function i(e){return 20>e?1518500249:40>e?1859775393:60>e?-1894007588:-899497514}function n(e,t){var r=(65535&e)+(65535&t),a=(e>>16)+(t>>16)+(r>>16);return a<<16|65535&r}function s(e,t){return e<>>32-t}var u=e("./helpers");t.exports=function(e){return u.hash(e,a,20,!0);
+}},{"./helpers":65}],70:[function(e,t,r){var a=e("./helpers"),o=function(e,t){var r=(65535&e)+(65535&t),a=(e>>16)+(t>>16)+(r>>16);return a<<16|65535&r},i=function(e,t){return e>>>t|e<<32-t},n=function(e,t){return e>>>t},s=function(e,t,r){return e&t^~e&r},u=function(e,t,r){return e&t^e&r^t&r},c=function(e){return i(e,2)^i(e,13)^i(e,22)},p=function(e){return i(e,6)^i(e,11)^i(e,25)},m=function(e){return i(e,7)^i(e,18)^n(e,3)},l=function(e){return i(e,17)^i(e,19)^n(e,10)},d=function(e,t){var r,a,i,n,d,y,h,b,f,S,g,N,I=new Array(1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298),v=new Array(1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225),T=new Array(64);e[t>>5]|=128<<24-t%32,e[(t+64>>9<<4)+15]=t;for(var f=0;fS;S++)16>S?T[S]=e[S+f]:T[S]=o(o(o(l(T[S-2]),T[S-7]),m(T[S-15])),T[S-16]),g=o(o(o(o(b,p(d)),s(d,y,h)),I[S]),T[S]),N=o(c(r),u(r,a,i)),b=h,h=y,y=d,d=o(n,g),n=i,i=a,a=r,r=o(g,N);v[0]=o(r,v[0]),v[1]=o(a,v[1]),v[2]=o(i,v[2]),v[3]=o(n,v[3]),v[4]=o(d,v[4]),v[5]=o(y,v[5]),v[6]=o(h,v[6]),v[7]=o(b,v[7])}return v};t.exports=function(e){return a.hash(e,d,32,!0)}},{"./helpers":65}],71:[function(e,t,r){function a(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function o(e){return"function"==typeof e}function i(e){return"number"==typeof e}function n(e){return"object"==typeof e&&null!==e}function s(e){return void 0===e}t.exports=a,a.EventEmitter=a,a.prototype._events=void 0,a.prototype._maxListeners=void 0,a.defaultMaxListeners=10,a.prototype.setMaxListeners=function(e){if(!i(e)||0>e||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},a.prototype.emit=function(e){var t,r,a,i,u,c;if(this._events||(this._events={}),"error"===e&&(!this._events.error||n(this._events.error)&&!this._events.error.length)){if(t=arguments[1],t instanceof Error)throw t;throw TypeError('Uncaught, unspecified "error" event.')}if(r=this._events[e],s(r))return!1;if(o(r))switch(arguments.length){case 1:r.call(this);break;case 2:r.call(this,arguments[1]);break;case 3:r.call(this,arguments[1],arguments[2]);break;default:for(a=arguments.length,i=new Array(a-1),u=1;a>u;u++)i[u-1]=arguments[u];r.apply(this,i)}else if(n(r)){for(a=arguments.length,i=new Array(a-1),u=1;a>u;u++)i[u-1]=arguments[u];for(c=r.slice(),a=c.length,u=0;a>u;u++)c[u].apply(this,i)}return!0},a.prototype.addListener=function(e,t){var r;if(!o(t))throw TypeError("listener must be a function");if(this._events||(this._events={}),this._events.newListener&&this.emit("newListener",e,o(t.listener)?t.listener:t),this._events[e]?n(this._events[e])?this._events[e].push(t):this._events[e]=[this._events[e],t]:this._events[e]=t,n(this._events[e])&&!this._events[e].warned){var r;r=s(this._maxListeners)?a.defaultMaxListeners:this._maxListeners,r&&r>0&&this._events[e].length>r&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),"function"==typeof console.trace&&console.trace())}return this},a.prototype.on=a.prototype.addListener,a.prototype.once=function(e,t){function r(){this.removeListener(e,r),a||(a=!0,t.apply(this,arguments))}if(!o(t))throw TypeError("listener must be a function");var a=!1;return r.listener=t,this.on(e,r),this},a.prototype.removeListener=function(e,t){var r,a,i,s;if(!o(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(r=this._events[e],i=r.length,a=-1,r===t||o(r.listener)&&r.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(n(r)){for(s=i;s-- >0;)if(r[s]===t||r[s].listener&&r[s].listener===t){a=s;break}if(0>a)return this;1===r.length?(r.length=0,delete this._events[e]):r.splice(a,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},a.prototype.removeAllListeners=function(e){var t,r;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(r=this._events[e],o(r))this.removeListener(e,r);else for(;r.length;)this.removeListener(e,r[r.length-1]);return delete this._events[e],this},a.prototype.listeners=function(e){var t;return t=this._events&&this._events[e]?o(this._events[e])?[this._events[e]]:this._events[e].slice():[]},a.listenerCount=function(e,t){var r;return r=e._events&&e._events[t]?o(e._events[t])?1:e._events[t].length:0}},{}],72:[function(e,t,r){"function"==typeof Object.create?t.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:t.exports=function(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}},{}],73:[function(e,t,r){function a(){}var o=t.exports={};o.nextTick=function(){var e="undefined"!=typeof window&&window.setImmediate,t="undefined"!=typeof window&&window.postMessage&&window.addEventListener;if(e)return function(e){return window.setImmediate(e)};if(t){var r=[];return window.addEventListener("message",function(e){var t=e.source;if((t===window||null===t)&&"process-tick"===e.data&&(e.stopPropagation(),r.length>0)){var a=r.shift();a()}},!0),function(e){r.push(e),window.postMessage("process-tick","*")}}return function(e){setTimeout(e,0)}}(),o.title="browser",o.browser=!0,o.env={},o.argv=[],o.on=a,o.addListener=a,o.once=a,o.off=a,o.removeListener=a,o.removeAllListeners=a,o.emit=a,o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")}},{}],74:[function(e,t,r){(function(e){!function(a){function o(e){throw RangeError(w[e])}function i(e,t){for(var r=e.length;r--;)e[r]=t(e[r]);return e}function n(e,t){return i(e.split(E),t).join(".")}function s(e){for(var t,r,a=[],o=0,i=e.length;i>o;)t=e.charCodeAt(o++),t>=55296&&56319>=t&&i>o?(r=e.charCodeAt(o++),56320==(64512&r)?a.push(((1023&t)<<10)+(1023&r)+65536):(a.push(t),o--)):a.push(t);return a}function u(e){return i(e,function(e){var t="";return e>65535&&(e-=65536,t+=B(e>>>10&1023|55296),e=56320|1023&e),t+=B(e)}).join("")}function c(e){return 10>e-48?e-22:26>e-65?e-65:26>e-97?e-97:v}function p(e,t){return e+22+75*(26>e)-((0!=t)<<5)}function m(e,t,r){var a=0;for(e=r?M(e/R):e>>1,e+=M(e/t);e>L*C>>1;a+=v)e=M(e/L);return M(a+(L+1)*e/(e+k))}function l(e){var t,r,a,i,n,s,p,l,d,y,h=[],b=e.length,f=0,S=D,g=A;for(r=e.lastIndexOf(q),0>r&&(r=0),a=0;r>a;++a)e.charCodeAt(a)>=128&&o("not-basic"),h.push(e.charCodeAt(a));for(i=r>0?r+1:0;b>i;){for(n=f,s=1,p=v;i>=b&&o("invalid-input"),l=c(e.charCodeAt(i++)),(l>=v||l>M((I-f)/s))&&o("overflow"),f+=l*s,d=g>=p?T:p>=g+C?C:p-g,!(d>l);p+=v)y=v-d,s>M(I/y)&&o("overflow"),s*=y;t=h.length+1,g=m(f-n,t,0==n),M(f/t)>I-S&&o("overflow"),S+=M(f/t),f%=t,h.splice(f++,0,S)}return u(h)}function d(e){var t,r,a,i,n,u,c,l,d,y,h,b,f,S,g,N=[];for(e=s(e),b=e.length,t=D,r=0,n=A,u=0;b>u;++u)h=e[u],128>h&&N.push(B(h));for(a=i=N.length,i&&N.push(q);b>a;){for(c=I,u=0;b>u;++u)h=e[u],h>=t&&c>h&&(c=h);for(f=a+1,c-t>M((I-r)/f)&&o("overflow"),r+=(c-t)*f,t=c,u=0;b>u;++u)if(h=e[u],t>h&&++r>I&&o("overflow"),h==t){for(l=r,d=v;y=n>=d?T:d>=n+C?C:d-n,!(y>l);d+=v)g=l-y,S=v-y,N.push(B(p(y+g%S,0))),l=M(g/S);N.push(B(p(l,0))),n=m(r,f,a==i),r=0,++a}++r,++t}return N.join("")}function y(e){return n(e,function(e){return x.test(e)?l(e.slice(4).toLowerCase()):e})}function h(e){return n(e,function(e){return P.test(e)?"xn--"+d(e):e})}var b="object"==typeof r&&r,f="object"==typeof t&&t&&t.exports==b&&t,S="object"==typeof e&&e;S.global!==S&&S.window!==S||(a=S);var g,N,I=2147483647,v=36,T=1,C=26,k=38,R=700,A=72,D=128,q="-",x=/^xn--/,P=/[^ -~]/,E=/\x2E|\u3002|\uFF0E|\uFF61/g,w={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},L=v-T,M=Math.floor,B=String.fromCharCode;if(g={version:"1.2.4",ucs2:{decode:s,encode:u},decode:l,encode:d,toASCII:h,toUnicode:y},"function"==typeof define&&"object"==typeof define.amd&&define.amd)define("punycode",function(){return g});else if(b&&!b.nodeType)if(f)f.exports=g;else for(N in g)g.hasOwnProperty(N)&&(b[N]=g[N]);else a.punycode=g}(this)}).call(this,"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],75:[function(e,t,r){"use strict";function a(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.exports=function(e,t,r,i){t=t||"&",r=r||"=";var n={};if("string"!=typeof e||0===e.length)return n;var s=/\+/g;e=e.split(t);var u=1e3;i&&"number"==typeof i.maxKeys&&(u=i.maxKeys);var c=e.length;u>0&&c>u&&(c=u);for(var p=0;c>p;++p){var m,l,d,y,h=e[p].replace(s,"%20"),b=h.indexOf(r);b>=0?(m=h.substr(0,b),l=h.substr(b+1)):(m=h,l=""),d=decodeURIComponent(m),y=decodeURIComponent(l),a(n,d)?o(n[d])?n[d].push(y):n[d]=[n[d],y]:n[d]=y}return n};var o=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},{}],76:[function(e,t,r){"use strict";function a(e,t){if(e.map)return e.map(t);for(var r=[],a=0;a",'"',"`"," ","\r","\n"," "],b=["{","}","|","\\","^","`"].concat(h),f=["'"].concat(b),S=["%","/","?",";","#"].concat(f),g=["/","?","#"],N=255,I=/^[a-z0-9A-Z_-]{0,63}$/,v=/^([a-z0-9A-Z_-]{0,63})(.*)$/,T={javascript:!0,"javascript:":!0},C={javascript:!0,"javascript:":!0},k={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},R=e("querystring");a.prototype.parse=function(e,t,r){if(!u(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var a=e;a=a.trim();var o=d.exec(a);if(o){o=o[0];var i=o.toLowerCase();this.protocol=i,a=a.substr(o.length)}if(r||o||a.match(/^\/\/[^@\/]+@[^@\/]+/)){var n="//"===a.substr(0,2);!n||o&&C[o]||(a=a.substr(2),this.slashes=!0)}if(!C[o]&&(n||o&&!k[o])){for(var s=-1,c=0;cp)&&(s=p)}var m,y;y=-1===s?a.lastIndexOf("@"):a.lastIndexOf("@",s),-1!==y&&(m=a.slice(0,y),a=a.slice(y+1),this.auth=decodeURIComponent(m)),s=-1;for(var c=0;cp)&&(s=p)}-1===s&&(s=a.length),this.host=a.slice(0,s),a=a.slice(s),this.parseHost(),this.hostname=this.hostname||"";var h="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!h)for(var b=this.hostname.split(/\./),c=0,A=b.length;A>c;c++){var D=b[c];if(D&&!D.match(I)){for(var q="",x=0,P=D.length;P>x;x++)q+=D.charCodeAt(x)>127?"x":D[x];if(!q.match(I)){var E=b.slice(0,c),w=b.slice(c+1),L=D.match(v);L&&(E.push(L[1]),w.unshift(L[2])),w.length&&(a="/"+w.join(".")+a),this.hostname=E.join(".");break}}}if(this.hostname.length>N?this.hostname="":this.hostname=this.hostname.toLowerCase(),!h){for(var M=this.hostname.split("."),B=[],c=0;cc;c++){var G=f[c],F=encodeURIComponent(G);F===G&&(F=escape(G)),a=a.split(G).join(F)}var O=a.indexOf("#");-1!==O&&(this.hash=a.substr(O),a=a.slice(0,O));var z=a.indexOf("?");if(-1!==z?(this.search=a.substr(z),this.query=a.substr(z+1),t&&(this.query=R.parse(this.query)),a=a.slice(0,z)):t&&(this.search="",this.query={}),a&&(this.pathname=a),k[i]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var V=this.pathname||"",U=this.search||"";this.path=V+U}return this.href=this.format(),this},a.prototype.format=function(){var e=this.auth||"";e&&(e=encodeURIComponent(e),e=e.replace(/%3A/i,":"),e+="@");var t=this.protocol||"",r=this.pathname||"",a=this.hash||"",o=!1,i="";this.host?o=e+this.host:this.hostname&&(o=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(o+=":"+this.port)),this.query&&c(this.query)&&Object.keys(this.query).length&&(i=R.stringify(this.query));var n=this.search||i&&"?"+i||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||k[t])&&o!==!1?(o="//"+(o||""),r&&"/"!==r.charAt(0)&&(r="/"+r)):o||(o=""),a&&"#"!==a.charAt(0)&&(a="#"+a),n&&"?"!==n.charAt(0)&&(n="?"+n),r=r.replace(/[?#]/g,function(e){return encodeURIComponent(e)}),n=n.replace("#","%23"),t+o+r+n+a},a.prototype.resolve=function(e){return this.resolveObject(o(e,!1,!0)).format()},a.prototype.resolveObject=function(e){if(u(e)){var t=new a;t.parse(e,!1,!0),e=t}var r=new a;if(Object.keys(this).forEach(function(e){r[e]=this[e]},this),r.hash=e.hash,""===e.href)return r.href=r.format(),r;if(e.slashes&&!e.protocol)return Object.keys(e).forEach(function(t){"protocol"!==t&&(r[t]=e[t])}),k[r.protocol]&&r.hostname&&!r.pathname&&(r.path=r.pathname="/"),r.href=r.format(),r;if(e.protocol&&e.protocol!==r.protocol){if(!k[e.protocol])return Object.keys(e).forEach(function(t){r[t]=e[t]}),r.href=r.format(),r;if(r.protocol=e.protocol,e.host||C[e.protocol])r.pathname=e.pathname;else{for(var o=(e.pathname||"").split("/");o.length&&!(e.host=o.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==o[0]&&o.unshift(""),o.length<2&&o.unshift(""),r.pathname=o.join("/")}if(r.search=e.search,r.query=e.query,r.host=e.host||"",r.auth=e.auth,r.hostname=e.hostname||e.host,r.port=e.port,r.pathname||r.search){var i=r.pathname||"",n=r.search||"";r.path=i+n}return r.slashes=r.slashes||e.slashes,r.href=r.format(),r}var s=r.pathname&&"/"===r.pathname.charAt(0),c=e.host||e.pathname&&"/"===e.pathname.charAt(0),l=c||s||r.host&&e.pathname,d=l,y=r.pathname&&r.pathname.split("/")||[],o=e.pathname&&e.pathname.split("/")||[],h=r.protocol&&!k[r.protocol];if(h&&(r.hostname="",r.port=null,r.host&&(""===y[0]?y[0]=r.host:y.unshift(r.host)),r.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===o[0]?o[0]=e.host:o.unshift(e.host)),e.host=null),l=l&&(""===o[0]||""===y[0])),c)r.host=e.host||""===e.host?e.host:r.host,r.hostname=e.hostname||""===e.hostname?e.hostname:r.hostname,r.search=e.search,r.query=e.query,y=o;else if(o.length)y||(y=[]),y.pop(),y=y.concat(o),r.search=e.search,r.query=e.query;else if(!m(e.search)){if(h){r.hostname=r.host=y.shift();var b=r.host&&r.host.indexOf("@")>0?r.host.split("@"):!1;b&&(r.auth=b.shift(),r.host=r.hostname=b.shift())}return r.search=e.search,r.query=e.query,p(r.pathname)&&p(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r}if(!y.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var f=y.slice(-1)[0],S=(r.host||e.host)&&("."===f||".."===f)||""===f,g=0,N=y.length;N>=0;N--)f=y[N],"."==f?y.splice(N,1):".."===f?(y.splice(N,1),g++):g&&(y.splice(N,1),g--);if(!l&&!d)for(;g--;g)y.unshift("..");!l||""===y[0]||y[0]&&"/"===y[0].charAt(0)||y.unshift(""),S&&"/"!==y.join("/").substr(-1)&&y.push("");var I=""===y[0]||y[0]&&"/"===y[0].charAt(0);if(h){r.hostname=r.host=I?"":y.length?y.shift():"";var b=r.host&&r.host.indexOf("@")>0?r.host.split("@"):!1;b&&(r.auth=b.shift(),r.host=r.hostname=b.shift())}return l=l||r.host&&y.length,l&&!I&&y.unshift(""),y.length?r.pathname=y.join("/"):(r.pathname=null,r.path=null),p(r.pathname)&&p(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=e.auth||r.auth,r.slashes=r.slashes||e.slashes,r.href=r.format(),r},a.prototype.parseHost=function(){var e=this.host,t=y.exec(e);t&&(t=t[0],":"!==t&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},{punycode:74,querystring:77}],79:[function(e,t,r){t.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},{}],80:[function(e,t,r){(function(t,a){function o(e,t){var a={seen:[],stylize:n};return arguments.length>=3&&(a.depth=arguments[2]),arguments.length>=4&&(a.colors=arguments[3]),h(t)?a.showHidden=t:t&&r._extend(a,t),I(a.showHidden)&&(a.showHidden=!1),I(a.depth)&&(a.depth=2),I(a.colors)&&(a.colors=!1),I(a.customInspect)&&(a.customInspect=!0),a.colors&&(a.stylize=i),u(a,e,a.depth)}function i(e,t){var r=o.styles[t];return r?"["+o.colors[r][0]+"m"+e+"["+o.colors[r][1]+"m":e}function n(e,t){return e}function s(e){var t={};return e.forEach(function(e,r){t[e]=!0}),t}function u(e,t,a){if(e.customInspect&&t&&R(t.inspect)&&t.inspect!==r.inspect&&(!t.constructor||t.constructor.prototype!==t)){var o=t.inspect(a,e);return g(o)||(o=u(e,o,a)),o}var i=c(e,t);if(i)return i;var n=Object.keys(t),h=s(n);if(e.showHidden&&(n=Object.getOwnPropertyNames(t)),k(t)&&(n.indexOf("message")>=0||n.indexOf("description")>=0))return p(t);if(0===n.length){if(R(t)){var b=t.name?": "+t.name:"";return e.stylize("[Function"+b+"]","special")}if(v(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(C(t))return e.stylize(Date.prototype.toString.call(t),"date");if(k(t))return p(t)}var f="",S=!1,N=["{","}"];if(y(t)&&(S=!0,N=["[","]"]),R(t)){var I=t.name?": "+t.name:"";f=" [Function"+I+"]"}if(v(t)&&(f=" "+RegExp.prototype.toString.call(t)),C(t)&&(f=" "+Date.prototype.toUTCString.call(t)),k(t)&&(f=" "+p(t)),0===n.length&&(!S||0==t.length))return N[0]+f+N[1];if(0>a)return v(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special");e.seen.push(t);var T;return T=S?m(e,t,a,h,n):n.map(function(r){return l(e,t,a,h,r,S)}),e.seen.pop(),d(T,f,N)}function c(e,t){if(I(t))return e.stylize("undefined","undefined");if(g(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}return S(t)?e.stylize(""+t,"number"):h(t)?e.stylize(""+t,"boolean"):b(t)?e.stylize("null","null"):void 0}function p(e){return"["+Error.prototype.toString.call(e)+"]"}function m(e,t,r,a,o){for(var i=[],n=0,s=t.length;s>n;++n)P(t,String(n))?i.push(l(e,t,r,a,String(n),!0)):i.push("");return o.forEach(function(o){o.match(/^\d+$/)||i.push(l(e,t,r,a,o,!0))}),i}function l(e,t,r,a,o,i){var n,s,c;if(c=Object.getOwnPropertyDescriptor(t,o)||{value:t[o]},c.get?s=c.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):c.set&&(s=e.stylize("[Setter]","special")),P(a,o)||(n="["+o+"]"),s||(e.seen.indexOf(c.value)<0?(s=b(r)?u(e,c.value,null):u(e,c.value,r-1),s.indexOf("\n")>-1&&(s=i?s.split("\n").map(function(e){return" "+e}).join("\n").substr(2):"\n"+s.split("\n").map(function(e){return" "+e}).join("\n"))):s=e.stylize("[Circular]","special")),I(n)){if(i&&o.match(/^\d+$/))return s;n=JSON.stringify(""+o),n.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(n=n.substr(1,n.length-2),n=e.stylize(n,"name")):(n=n.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),n=e.stylize(n,"string"))}return n+": "+s}function d(e,t,r){var a=0,o=e.reduce(function(e,t){return a++,t.indexOf("\n")>=0&&a++,e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0);return o>60?r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+r[1]:r[0]+t+" "+e.join(", ")+" "+r[1]}function y(e){return Array.isArray(e)}function h(e){return"boolean"==typeof e}function b(e){return null===e}function f(e){return null==e}function S(e){return"number"==typeof e}function g(e){return"string"==typeof e}function N(e){return"symbol"==typeof e}function I(e){return void 0===e}function v(e){return T(e)&&"[object RegExp]"===D(e)}function T(e){return"object"==typeof e&&null!==e}function C(e){return T(e)&&"[object Date]"===D(e)}function k(e){return T(e)&&("[object Error]"===D(e)||e instanceof Error)}function R(e){return"function"==typeof e}function A(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||"undefined"==typeof e}function D(e){return Object.prototype.toString.call(e)}function q(e){return 10>e?"0"+e.toString(10):e.toString(10)}function x(){var e=new Date,t=[q(e.getHours()),q(e.getMinutes()),q(e.getSeconds())].join(":");return[e.getDate(),M[e.getMonth()],t].join(" ")}function P(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var E=/%[sdj%]/g;r.format=function(e){if(!g(e)){for(var t=[],r=0;r=i)return e;switch(e){case"%s":return String(a[r++]);case"%d":return Number(a[r++]);case"%j":try{return JSON.stringify(a[r++])}catch(t){return"[Circular]"}default:return e}}),s=a[r];i>r;s=a[++r])n+=b(s)||!T(s)?" "+s:" "+o(s);return n},r.deprecate=function(e,o){function i(){if(!n){if(t.throwDeprecation)throw new Error(o);t.traceDeprecation?console.trace(o):console.error(o),n=!0}return e.apply(this,arguments)}if(I(a.process))return function(){return r.deprecate(e,o).apply(this,arguments)};if(t.noDeprecation===!0)return e;var n=!1;return i};var w,L={};r.debuglog=function(e){if(I(w)&&(w=t.env.NODE_DEBUG||""),e=e.toUpperCase(),!L[e])if(new RegExp("\\b"+e+"\\b","i").test(w)){var a=t.pid;L[e]=function(){var t=r.format.apply(r,arguments);console.error("%s %d: %s",e,a,t)}}else L[e]=function(){};return L[e]},r.inspect=o,o.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},o.styles={special:"cyan",number:"yellow","boolean":"yellow",undefined:"grey","null":"bold",string:"green",date:"magenta",regexp:"red"},r.isArray=y,r.isBoolean=h,r.isNull=b,r.isNullOrUndefined=f,r.isNumber=S,r.isString=g,r.isSymbol=N,r.isUndefined=I,r.isRegExp=v,r.isObject=T,r.isDate=C,r.isError=k,r.isFunction=R,r.isPrimitive=A,r.isBuffer=e("./support/isBuffer");var M=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];r.log=function(){console.log("%s - %s",x(),r.format.apply(r,arguments))},r.inherits=e("inherits"),r._extend=function(e,t){if(!t||!T(t))return e;for(var r=Object.keys(t),a=r.length;a--;)e[r[a]]=t[r[a]];return e}}).call(this,e("FWaASH"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./support/isBuffer":79,FWaASH:73,inherits:72}],81:[function(e,t,r){(function(){var r,a;a=e("lodash/object/create"),t.exports=r=function(){function e(e,t,r){if(this.stringify=e.stringify,null==t)throw new Error("Missing attribute name of element "+e.name);if(null==r)throw new Error("Missing attribute value for attribute "+t+" of element "+e.name);this.name=this.stringify.attName(t),this.value=this.stringify.attValue(r)}return e.prototype.clone=function(){return a(e.prototype,this)},e.prototype.toString=function(e,t){return" "+this.name+'="'+this.value+'"'},e}()}).call(this)},{"lodash/object/create":140}],82:[function(e,t,r){(function(){var r,a,o,i,n;n=e("./XMLStringifier"),a=e("./XMLDeclaration"),o=e("./XMLDocType"),i=e("./XMLElement"),t.exports=r=function(){function e(e,t){var r,a;if(null==e)throw new Error("Root element needs a name");null==t&&(t={}),this.options=t,this.stringify=new n(t),a=new i(this,"doc"),r=a.element(e),r.isRoot=!0,r.documentObject=this,this.rootObject=r,t.headless||(r.declaration(t),null==t.pubID&&null==t.sysID||r.doctype(t))}return e.prototype.root=function(){return this.rootObject},e.prototype.end=function(e){return this.toString(e)},e.prototype.toString=function(e){var t,r,a,o,i,n,s,u;return o=(null!=e?e.pretty:void 0)||!1,t=null!=(n=null!=e?e.indent:void 0)?n:" ",a=null!=(s=null!=e?e.offset:void 0)?s:0,r=null!=(u=null!=e?e.newline:void 0)?u:"\n",i="",null!=this.xmldec&&(i+=this.xmldec.toString(e)),null!=this.doctype&&(i+=this.doctype.toString(e)),i+=this.rootObject.toString(e),o&&i.slice(-r.length)===r&&(i=i.slice(0,-r.length)),i},e}()}).call(this)},{"./XMLDeclaration":89,"./XMLDocType":90,"./XMLElement":91,"./XMLStringifier":95}],83:[function(e,t,r){(function(){var r,a,o,i=function(e,t){function r(){this.constructor=e}for(var a in t)n.call(t,a)&&(e[a]=t[a]);return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},n={}.hasOwnProperty;o=e("lodash/object/create"),a=e("./XMLNode"),t.exports=r=function(e){function t(e,r){if(t.__super__.constructor.call(this,e),null==r)throw new Error("Missing CDATA text");this.text=this.stringify.cdata(r)}return i(t,e),t.prototype.clone=function(){return o(t.prototype,this)},t.prototype.toString=function(e,t){var r,a,o,i,n,s,u,c,p;return i=(null!=e?e.pretty:void 0)||!1,r=null!=(s=null!=e?e.indent:void 0)?s:" ",o=null!=(u=null!=e?e.offset:void 0)?u:0,a=null!=(c=null!=e?e.newline:void 0)?c:"\n",t||(t=0),p=new Array(t+o+1).join(r),n="",i&&(n+=p),n+="",i&&(n+=a),n},t}(a)}).call(this)},{"./XMLNode":92,"lodash/object/create":140}],84:[function(e,t,r){(function(){var r,a,o,i=function(e,t){function r(){this.constructor=e}for(var a in t)n.call(t,a)&&(e[a]=t[a]);return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},n={}.hasOwnProperty;o=e("lodash/object/create"),a=e("./XMLNode"),t.exports=r=function(e){function t(e,r){if(t.__super__.constructor.call(this,e),null==r)throw new Error("Missing comment text");this.text=this.stringify.comment(r)}return i(t,e),t.prototype.clone=function(){return o(t.prototype,this)},t.prototype.toString=function(e,t){var r,a,o,i,n,s,u,c,p;return i=(null!=e?e.pretty:void 0)||!1,r=null!=(s=null!=e?e.indent:void 0)?s:" ",o=null!=(u=null!=e?e.offset:void 0)?u:0,a=null!=(c=null!=e?e.newline:void 0)?c:"\n",t||(t=0),p=new Array(t+o+1).join(r),n="",i&&(n+=p),n+="",i&&(n+=a),n},t}(a)}).call(this)},{"./XMLNode":92,"lodash/object/create":140}],85:[function(e,t,r){(function(){var r,a;a=e("lodash/object/create"),t.exports=r=function(){function e(e,t,r,a,o,i){if(this.stringify=e.stringify,null==t)throw new Error("Missing DTD element name");if(null==r)throw new Error("Missing DTD attribute name");if(!a)throw new Error("Missing DTD attribute type");if(!o)throw new Error("Missing DTD attribute default");if(0!==o.indexOf("#")&&(o="#"+o),!o.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT");if(i&&!o.match(/^(#FIXED|#DEFAULT)$/))throw new Error("Default value only applies to #FIXED or #DEFAULT");this.elementName=this.stringify.eleName(t),this.attributeName=this.stringify.attName(r),this.attributeType=this.stringify.dtdAttType(a),this.defaultValue=this.stringify.dtdAttDefault(i),this.defaultValueType=o}return e.prototype.clone=function(){return a(e.prototype,this)},e.prototype.toString=function(e,t){var r,a,o,i,n,s,u,c,p;return i=(null!=e?e.pretty:void 0)||!1,r=null!=(s=null!=e?e.indent:void 0)?s:" ",o=null!=(u=null!=e?e.offset:void 0)?u:0,a=null!=(c=null!=e?e.newline:void 0)?c:"\n",t||(t=0),p=new Array(t+o+1).join(r),n="",i&&(n+=p),n+="",i&&(n+=a),n},e}()}).call(this)},{"lodash/object/create":140}],86:[function(e,t,r){(function(){var r,a,o;a=e("lodash/object/create"),o=e("lodash/lang/isArray"),t.exports=r=function(){function e(e,t,r){if(this.stringify=e.stringify,null==t)throw new Error("Missing DTD element name");r||(r="(#PCDATA)"),o(r)&&(r="("+r.join(",")+")"),this.name=this.stringify.eleName(t),this.value=this.stringify.dtdElementValue(r)}return e.prototype.clone=function(){return a(e.prototype,this)},e.prototype.toString=function(e,t){var r,a,o,i,n,s,u,c,p;return i=(null!=e?e.pretty:void 0)||!1,r=null!=(s=null!=e?e.indent:void 0)?s:" ",o=null!=(u=null!=e?e.offset:void 0)?u:0,a=null!=(c=null!=e?e.newline:void 0)?c:"\n",t||(t=0),p=new Array(t+o+1).join(r),n="",i&&(n+=p),n+="",i&&(n+=a),n},e}()}).call(this)},{"lodash/lang/isArray":132,"lodash/object/create":140}],87:[function(e,t,r){(function(){var r,a,o;a=e("lodash/object/create"),o=e("lodash/lang/isObject"),t.exports=r=function(){function e(e,t,r,a){if(this.stringify=e.stringify,null==r)throw new Error("Missing entity name");if(null==a)throw new Error("Missing entity value");if(this.pe=!!t,this.name=this.stringify.eleName(r),o(a)){if(!a.pubID&&!a.sysID)throw new Error("Public and/or system identifiers are required for an external entity");if(a.pubID&&!a.sysID)throw new Error("System identifier is required for a public external entity");if(null!=a.pubID&&(this.pubID=this.stringify.dtdPubID(a.pubID)),null!=a.sysID&&(this.sysID=this.stringify.dtdSysID(a.sysID)),null!=a.nData&&(this.nData=this.stringify.dtdNData(a.nData)),this.pe&&this.nData)throw new Error("Notation declaration is not allowed in a parameter entity")}else this.value=this.stringify.dtdEntityValue(a)}return e.prototype.clone=function(){return a(e.prototype,this)},e.prototype.toString=function(e,t){var r,a,o,i,n,s,u,c,p;return i=(null!=e?e.pretty:void 0)||!1,r=null!=(s=null!=e?e.indent:void 0)?s:" ",o=null!=(u=null!=e?e.offset:void 0)?u:0,a=null!=(c=null!=e?e.newline:void 0)?c:"\n",t||(t=0),p=new Array(t+o+1).join(r),n="",i&&(n+=p),n+="",i&&(n+=a),n},e}()}).call(this)},{"lodash/lang/isObject":136,"lodash/object/create":140}],88:[function(e,t,r){(function(){var r,a;a=e("lodash/object/create"),t.exports=r=function(){function e(e,t,r){if(this.stringify=e.stringify,null==t)throw new Error("Missing notation name");if(!r.pubID&&!r.sysID)throw new Error("Public or system identifiers are required for an external entity");
+this.name=this.stringify.eleName(t),null!=r.pubID&&(this.pubID=this.stringify.dtdPubID(r.pubID)),null!=r.sysID&&(this.sysID=this.stringify.dtdSysID(r.sysID))}return e.prototype.clone=function(){return a(e.prototype,this)},e.prototype.toString=function(e,t){var r,a,o,i,n,s,u,c,p;return i=(null!=e?e.pretty:void 0)||!1,r=null!=(s=null!=e?e.indent:void 0)?s:" ",o=null!=(u=null!=e?e.offset:void 0)?u:0,a=null!=(c=null!=e?e.newline:void 0)?c:"\n",t||(t=0),p=new Array(t+o+1).join(r),n="",i&&(n+=p),n+="",i&&(n+=a),n},e}()}).call(this)},{"lodash/object/create":140}],89:[function(e,t,r){(function(){var r,a,o,i,n=function(e,t){function r(){this.constructor=e}for(var a in t)s.call(t,a)&&(e[a]=t[a]);return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},s={}.hasOwnProperty;o=e("lodash/object/create"),i=e("lodash/lang/isObject"),a=e("./XMLNode"),t.exports=r=function(e){function t(e,r,a,o){var n;t.__super__.constructor.call(this,e),i(r)&&(n=r,r=n.version,a=n.encoding,o=n.standalone),r||(r="1.0"),null!=r&&(this.version=this.stringify.xmlVersion(r)),null!=a&&(this.encoding=this.stringify.xmlEncoding(a)),null!=o&&(this.standalone=this.stringify.xmlStandalone(o))}return n(t,e),t.prototype.clone=function(){return o(t.prototype,this)},t.prototype.toString=function(e,t){var r,a,o,i,n,s,u,c,p;return i=(null!=e?e.pretty:void 0)||!1,r=null!=(s=null!=e?e.indent:void 0)?s:" ",o=null!=(u=null!=e?e.offset:void 0)?u:0,a=null!=(c=null!=e?e.newline:void 0)?c:"\n",t||(t=0),p=new Array(t+o+1).join(r),n="",i&&(n+=p),n+="",i&&(n+=a),n},t}(a)}).call(this)},{"./XMLNode":92,"lodash/lang/isObject":136,"lodash/object/create":140}],90:[function(e,t,r){(function(){var r,a,o,i,n,s,u,c,p,m;p=e("lodash/object/create"),m=e("lodash/lang/isObject"),r=e("./XMLCData"),a=e("./XMLComment"),o=e("./XMLDTDAttList"),n=e("./XMLDTDEntity"),i=e("./XMLDTDElement"),s=e("./XMLDTDNotation"),c=e("./XMLProcessingInstruction"),t.exports=u=function(){function e(e,t,r){var a,o;this.documentObject=e,this.stringify=this.documentObject.stringify,this.children=[],m(t)&&(a=t,t=a.pubID,r=a.sysID),null==r&&(o=[t,r],r=o[0],t=o[1]),null!=t&&(this.pubID=this.stringify.dtdPubID(t)),null!=r&&(this.sysID=this.stringify.dtdSysID(r))}return e.prototype.clone=function(){return p(e.prototype,this)},e.prototype.element=function(e,t){var r;return r=new i(this,e,t),this.children.push(r),this},e.prototype.attList=function(e,t,r,a,i){var n;return n=new o(this,e,t,r,a,i),this.children.push(n),this},e.prototype.entity=function(e,t){var r;return r=new n(this,!1,e,t),this.children.push(r),this},e.prototype.pEntity=function(e,t){var r;return r=new n(this,!0,e,t),this.children.push(r),this},e.prototype.notation=function(e,t){var r;return r=new s(this,e,t),this.children.push(r),this},e.prototype.cdata=function(e){var t;return t=new r(this,e),this.children.push(t),this},e.prototype.comment=function(e){var t;return t=new a(this,e),this.children.push(t),this},e.prototype.instruction=function(e,t){var r;return r=new c(this,e,t),this.children.push(r),this},e.prototype.root=function(){return this.documentObject.root()},e.prototype.document=function(){return this.documentObject},e.prototype.toString=function(e,t){var r,a,o,i,n,s,u,c,p,m,l,d,y;if(u=(null!=e?e.pretty:void 0)||!1,o=null!=(p=null!=e?e.indent:void 0)?p:" ",s=null!=(m=null!=e?e.offset:void 0)?m:0,n=null!=(l=null!=e?e.newline:void 0)?l:"\n",t||(t=0),y=new Array(t+s+1).join(o),c="",u&&(c+=y),c+="0){for(c+=" [",u&&(c+=n),d=this.children,a=0,i=d.length;i>a;a++)r=d[a],c+=r.toString(e,t+1);c+="]"}return c+=">",u&&(c+=n),c},e.prototype.ele=function(e,t){return this.element(e,t)},e.prototype.att=function(e,t,r,a,o){return this.attList(e,t,r,a,o)},e.prototype.ent=function(e,t){return this.entity(e,t)},e.prototype.pent=function(e,t){return this.pEntity(e,t)},e.prototype.not=function(e,t){return this.notation(e,t)},e.prototype.dat=function(e){return this.cdata(e)},e.prototype.com=function(e){return this.comment(e)},e.prototype.ins=function(e,t){return this.instruction(e,t)},e.prototype.up=function(){return this.root()},e.prototype.doc=function(){return this.document()},e}()}).call(this)},{"./XMLCData":83,"./XMLComment":84,"./XMLDTDAttList":85,"./XMLDTDElement":86,"./XMLDTDEntity":87,"./XMLDTDNotation":88,"./XMLProcessingInstruction":93,"lodash/lang/isObject":136,"lodash/object/create":140}],91:[function(e,t,r){(function(){var r,a,o,i,n,s,u,c,p,m=function(e,t){function r(){this.constructor=e}for(var a in t)l.call(t,a)&&(e[a]=t[a]);return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},l={}.hasOwnProperty;n=e("lodash/object/create"),p=e("lodash/lang/isObject"),u=e("lodash/lang/isArray"),c=e("lodash/lang/isFunction"),s=e("lodash/collection/every"),o=e("./XMLNode"),r=e("./XMLAttribute"),i=e("./XMLProcessingInstruction"),t.exports=a=function(e){function t(e,r,a){if(t.__super__.constructor.call(this,e),null==r)throw new Error("Missing element name");this.name=this.stringify.eleName(r),this.children=[],this.instructions=[],this.attributes={},null!=a&&this.attribute(a)}return m(t,e),t.prototype.clone=function(){var e,r,a,o,i,s,u,c;a=n(t.prototype,this),a.isRoot&&(a.documentObject=null),a.attributes={},u=this.attributes;for(r in u)l.call(u,r)&&(e=u[r],a.attributes[r]=e.clone());for(a.instructions=[],c=this.instructions,o=0,i=c.length;i>o;o++)s=c[o],a.instructions.push(s.clone());return a.children=[],this.children.forEach(function(e){var t;return t=e.clone(),t.parent=a,a.children.push(t)}),a},t.prototype.attribute=function(e,t){var a,o;if(null!=e&&(e=e.valueOf()),p(e))for(a in e)l.call(e,a)&&(o=e[a],this.attribute(a,o));else c(t)&&(t=t.apply()),this.options.skipNullAttributes&&null==t||(this.attributes[e]=new r(this,e,t));return this},t.prototype.removeAttribute=function(e){var t,r,a;if(null==e)throw new Error("Missing attribute name");if(e=e.valueOf(),u(e))for(r=0,a=e.length;a>r;r++)t=e[r],delete this.attributes[t];else delete this.attributes[e];return this},t.prototype.instruction=function(e,t){var r,a,o,n,s;if(null!=e&&(e=e.valueOf()),null!=t&&(t=t.valueOf()),u(e))for(r=0,s=e.length;s>r;r++)a=e[r],this.instruction(a);else if(p(e))for(a in e)l.call(e,a)&&(o=e[a],this.instruction(a,o));else c(t)&&(t=t.apply()),n=new i(this,e,t),this.instructions.push(n);return this},t.prototype.toString=function(e,t){var r,a,o,i,n,u,c,p,m,d,y,h,b,f,S,g,N,I,v,T;for(h=(null!=e?e.pretty:void 0)||!1,i=null!=(f=null!=e?e.indent:void 0)?f:" ",y=null!=(S=null!=e?e.offset:void 0)?S:0,d=null!=(g=null!=e?e.newline:void 0)?g:"\n",t||(t=0),T=new Array(t+y+1).join(i),b="",N=this.instructions,o=0,c=N.length;c>o;o++)n=N[o],b+=n.toString(e,t+1);h&&(b+=T),b+="<"+this.name,I=this.attributes;for(m in I)l.call(I,m)&&(r=I[m],b+=r.toString(e));if(0===this.children.length||s(this.children,function(e){return""===e.value}))b+="/>",h&&(b+=d);else if(h&&1===this.children.length&&null!=this.children[0].value)b+=">",b+=this.children[0].value,b+=""+this.name+">",b+=d;else{for(b+=">",h&&(b+=d),v=this.children,u=0,p=v.length;p>u;u++)a=v[u],b+=a.toString(e,t+1);h&&(b+=T),b+=""+this.name+">",h&&(b+=d)}return b},t.prototype.att=function(e,t){return this.attribute(e,t)},t.prototype.ins=function(e,t){return this.instruction(e,t)},t.prototype.a=function(e,t){return this.attribute(e,t)},t.prototype.i=function(e,t){return this.instruction(e,t)},t}(o)}).call(this)},{"./XMLAttribute":81,"./XMLNode":92,"./XMLProcessingInstruction":93,"lodash/collection/every":98,"lodash/lang/isArray":132,"lodash/lang/isFunction":134,"lodash/lang/isObject":136,"lodash/object/create":140}],92:[function(e,t,r){(function(){var r,a,o,i,n,s,u,c,p,m,l,d,y={}.hasOwnProperty;d=e("lodash/lang/isObject"),p=e("lodash/lang/isArray"),l=e("lodash/lang/isFunction"),m=e("lodash/lang/isEmpty"),n=null,r=null,a=null,o=null,i=null,u=null,c=null,t.exports=s=function(){function t(t){this.parent=t,this.options=this.parent.options,this.stringify=this.parent.stringify,null===n&&(n=e("./XMLElement"),r=e("./XMLCData"),a=e("./XMLComment"),o=e("./XMLDeclaration"),i=e("./XMLDocType"),u=e("./XMLRaw"),c=e("./XMLText"))}return t.prototype.clone=function(){throw new Error("Cannot clone generic XMLNode")},t.prototype.element=function(e,t,r){var a,o,i,n,s,u,c;if(n=null,null==t&&(t={}),t=t.valueOf(),d(t)||(u=[t,r],r=u[0],t=u[1]),null!=e&&(e=e.valueOf()),p(e))for(o=0,s=e.length;s>o;o++)a=e[o],n=this.element(a);else if(l(e))n=this.element(e.apply());else if(d(e))for(i in e)y.call(e,i)&&(c=e[i],l(c)&&(c=c.apply()),d(c)&&m(c)&&(c=null),!this.options.ignoreDecorators&&this.stringify.convertAttKey&&0===i.indexOf(this.stringify.convertAttKey)?n=this.attribute(i.substr(this.stringify.convertAttKey.length),c):!this.options.ignoreDecorators&&this.stringify.convertPIKey&&0===i.indexOf(this.stringify.convertPIKey)?n=this.instruction(i.substr(this.stringify.convertPIKey.length),c):d(c)?!this.options.ignoreDecorators&&this.stringify.convertListKey&&0===i.indexOf(this.stringify.convertListKey)&&p(c)?n=this.element(c):(n=this.element(i),n.element(c)):n=this.element(i,c));else n=!this.options.ignoreDecorators&&this.stringify.convertTextKey&&0===e.indexOf(this.stringify.convertTextKey)?this.text(r):!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&0===e.indexOf(this.stringify.convertCDataKey)?this.cdata(r):!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&0===e.indexOf(this.stringify.convertCommentKey)?this.comment(r):!this.options.ignoreDecorators&&this.stringify.convertRawKey&&0===e.indexOf(this.stringify.convertRawKey)?this.raw(r):this.node(e,t,r);if(null==n)throw new Error("Could not create any elements with: "+e);return n},t.prototype.insertBefore=function(e,t,r){var a,o,i;if(this.isRoot)throw new Error("Cannot insert elements at root level");return o=this.parent.children.indexOf(this),i=this.parent.children.splice(o),a=this.parent.element(e,t,r),Array.prototype.push.apply(this.parent.children,i),a},t.prototype.insertAfter=function(e,t,r){var a,o,i;if(this.isRoot)throw new Error("Cannot insert elements at root level");return o=this.parent.children.indexOf(this),i=this.parent.children.splice(o+1),a=this.parent.element(e,t,r),Array.prototype.push.apply(this.parent.children,i),a},t.prototype.remove=function(){var e,t;if(this.isRoot)throw new Error("Cannot remove the root element");return e=this.parent.children.indexOf(this),[].splice.apply(this.parent.children,[e,e-e+1].concat(t=[])),t,this.parent},t.prototype.node=function(e,t,r){var a,o;return null!=e&&(e=e.valueOf()),null==t&&(t={}),t=t.valueOf(),d(t)||(o=[t,r],r=o[0],t=o[1]),a=new n(this,e,t),null!=r&&a.text(r),this.children.push(a),a},t.prototype.text=function(e){var t;return t=new c(this,e),this.children.push(t),this},t.prototype.cdata=function(e){var t;return t=new r(this,e),this.children.push(t),this},t.prototype.comment=function(e){var t;return t=new a(this,e),this.children.push(t),this},t.prototype.raw=function(e){var t;return t=new u(this,e),this.children.push(t),this},t.prototype.declaration=function(e,t,r){var a,i;return a=this.document(),i=new o(a,e,t,r),a.xmldec=i,a.root()},t.prototype.doctype=function(e,t){var r,a;return r=this.document(),a=new i(r,e,t),r.doctype=a,a},t.prototype.up=function(){if(this.isRoot)throw new Error("The root node has no parent. Use doc() if you need to get the document object.");return this.parent},t.prototype.root=function(){var e;if(this.isRoot)return this;for(e=this.parent;!e.isRoot;)e=e.parent;return e},t.prototype.document=function(){return this.root().documentObject},t.prototype.end=function(e){return this.document().toString(e)},t.prototype.prev=function(){var e;if(this.isRoot)throw new Error("Root node has no siblings");if(e=this.parent.children.indexOf(this),1>e)throw new Error("Already at the first node");return this.parent.children[e-1]},t.prototype.next=function(){var e;if(this.isRoot)throw new Error("Root node has no siblings");if(e=this.parent.children.indexOf(this),-1===e||e===this.parent.children.length-1)throw new Error("Already at the last node");return this.parent.children[e+1]},t.prototype.importXMLBuilder=function(e){var t;return t=e.root().clone(),t.parent=this,t.isRoot=!1,this.children.push(t),this},t.prototype.ele=function(e,t,r){return this.element(e,t,r)},t.prototype.nod=function(e,t,r){return this.node(e,t,r)},t.prototype.txt=function(e){return this.text(e)},t.prototype.dat=function(e){return this.cdata(e)},t.prototype.com=function(e){return this.comment(e)},t.prototype.doc=function(){return this.document()},t.prototype.dec=function(e,t,r){return this.declaration(e,t,r)},t.prototype.dtd=function(e,t){return this.doctype(e,t)},t.prototype.e=function(e,t,r){return this.element(e,t,r)},t.prototype.n=function(e,t,r){return this.node(e,t,r)},t.prototype.t=function(e){return this.text(e)},t.prototype.d=function(e){return this.cdata(e)},t.prototype.c=function(e){return this.comment(e)},t.prototype.r=function(e){return this.raw(e)},t.prototype.u=function(){return this.up()},t}()}).call(this)},{"./XMLCData":83,"./XMLComment":84,"./XMLDeclaration":89,"./XMLDocType":90,"./XMLElement":91,"./XMLRaw":94,"./XMLText":96,"lodash/lang/isArray":132,"lodash/lang/isEmpty":133,"lodash/lang/isFunction":134,"lodash/lang/isObject":136}],93:[function(e,t,r){(function(){var r,a;a=e("lodash/object/create"),t.exports=r=function(){function e(e,t,r){if(this.stringify=e.stringify,null==t)throw new Error("Missing instruction target");this.target=this.stringify.insTarget(t),r&&(this.value=this.stringify.insValue(r))}return e.prototype.clone=function(){return a(e.prototype,this)},e.prototype.toString=function(e,t){var r,a,o,i,n,s,u,c,p;return i=(null!=e?e.pretty:void 0)||!1,r=null!=(s=null!=e?e.indent:void 0)?s:" ",o=null!=(u=null!=e?e.offset:void 0)?u:0,a=null!=(c=null!=e?e.newline:void 0)?c:"\n",t||(t=0),p=new Array(t+o+1).join(r),n="",i&&(n+=p),n+="",n+=this.target,this.value&&(n+=" "+this.value),n+="?>",i&&(n+=a),n},e}()}).call(this)},{"lodash/object/create":140}],94:[function(e,t,r){(function(){var r,a,o,i=function(e,t){function r(){this.constructor=e}for(var a in t)n.call(t,a)&&(e[a]=t[a]);return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},n={}.hasOwnProperty;o=e("lodash/object/create"),r=e("./XMLNode"),t.exports=a=function(e){function t(e,r){if(t.__super__.constructor.call(this,e),null==r)throw new Error("Missing raw text");this.value=this.stringify.raw(r)}return i(t,e),t.prototype.clone=function(){return o(t.prototype,this)},t.prototype.toString=function(e,t){var r,a,o,i,n,s,u,c,p;return i=(null!=e?e.pretty:void 0)||!1,r=null!=(s=null!=e?e.indent:void 0)?s:" ",o=null!=(u=null!=e?e.offset:void 0)?u:0,a=null!=(c=null!=e?e.newline:void 0)?c:"\n",t||(t=0),p=new Array(t+o+1).join(r),n="",i&&(n+=p),n+=this.value,i&&(n+=a),n},t}(r)}).call(this)},{"./XMLNode":92,"lodash/object/create":140}],95:[function(e,t,r){(function(){var e,r=function(e,t){return function(){return e.apply(t,arguments)}},a={}.hasOwnProperty;t.exports=e=function(){function e(e){this.assertLegalChar=r(this.assertLegalChar,this);var t,o,i;this.allowSurrogateChars=null!=e?e.allowSurrogateChars:void 0,o=(null!=e?e.stringify:void 0)||{};for(t in o)a.call(o,t)&&(i=o[t],this[t]=i)}return e.prototype.eleName=function(e){return e=""+e||"",this.assertLegalChar(e)},e.prototype.eleText=function(e){return e=""+e||"",this.assertLegalChar(this.elEscape(e))},e.prototype.cdata=function(e){if(e=""+e||"",e.match(/]]>/))throw new Error("Invalid CDATA text: "+e);return this.assertLegalChar(e)},e.prototype.comment=function(e){if(e=""+e||"",e.match(/--/))throw new Error("Comment text cannot contain double-hypen: "+e);return this.assertLegalChar(e)},e.prototype.raw=function(e){return""+e||""},e.prototype.attName=function(e){return""+e||""},e.prototype.attValue=function(e){return e=""+e||"",this.attEscape(e)},e.prototype.insTarget=function(e){return""+e||""},e.prototype.insValue=function(e){if(e=""+e||"",e.match(/\?>/))throw new Error("Invalid processing instruction value: "+e);return e},e.prototype.xmlVersion=function(e){if(e=""+e||"",!e.match(/1\.[0-9]+/))throw new Error("Invalid version number: "+e);return e},e.prototype.xmlEncoding=function(e){if(e=""+e||"",!e.match(/[A-Za-z](?:[A-Za-z0-9._-]|-)*/))throw new Error("Invalid encoding: "+e);return e},e.prototype.xmlStandalone=function(e){return e?"yes":"no"},e.prototype.dtdPubID=function(e){return""+e||""},e.prototype.dtdSysID=function(e){return""+e||""},e.prototype.dtdElementValue=function(e){return""+e||""},e.prototype.dtdAttType=function(e){return""+e||""},e.prototype.dtdAttDefault=function(e){return null!=e?""+e||"":e},e.prototype.dtdEntityValue=function(e){return""+e||""},e.prototype.dtdNData=function(e){return""+e||""},e.prototype.convertAttKey="@",e.prototype.convertPIKey="?",e.prototype.convertTextKey="#text",e.prototype.convertCDataKey="#cdata",e.prototype.convertCommentKey="#comment",e.prototype.convertRawKey="#raw",e.prototype.convertListKey="#list",e.prototype.assertLegalChar=function(e){var t,r;if(t=this.allowSurrogateChars?/[\u0000-\u0008\u000B-\u000C\u000E-\u001F\uFFFE-\uFFFF]/:/[\u0000-\u0008\u000B-\u000C\u000E-\u001F\uD800-\uDFFF\uFFFE-\uFFFF]/,r=e.match(t))throw new Error("Invalid character ("+r+") in string: "+e+" at index "+r.index);return e},e.prototype.elEscape=function(e){return e.replace(/&/g,"&").replace(//g,">").replace(/\r/g,"
")},e.prototype.attEscape=function(e){return e.replace(/&/g,"&").replace(/r||null==a)return a;var n=t[r-2],s=t[r-1],u=t[3];r>3&&"function"==typeof n?(n=o(n,s,5),r-=2):(n=r>2&&"function"==typeof s?s:null,r-=n?1:0),u&&i(t[1],t[2],u)&&(n=3==r?null:n,r=2);for(var c=0;++cu))return!1;for(;p&&++s-1&&e%1==0&&t>e}var o=Math.pow(2,53)-1;t.exports=a},{}],124:[function(e,t,r){function a(e,t,r){if(!n(r))return!1;var a=typeof t;if("number"==a)var s=r.length,u=i(s)&&o(t,s);else u="string"==a&&t in r;if(u){var c=r[t];return e===e?e===c:c!==c}return!1}var o=e("./isIndex"),i=e("./isLength"),n=e("../lang/isObject");t.exports=a},{"../lang/isObject":136,"./isIndex":123,"./isLength":125}],125:[function(e,t,r){function a(e){return"number"==typeof e&&e>-1&&e%1==0&&o>=e}var o=Math.pow(2,53)-1;t.exports=a},{}],126:[function(e,t,r){function a(e){return e&&"object"==typeof e||!1}t.exports=a},{}],127:[function(e,t,r){function a(e){return e===e&&(0===e?1/e>0:!o(e))}var o=e("../lang/isObject");t.exports=a},{"../lang/isObject":136}],128:[function(e,t,r){(function(r){var a=e("../lang/isNative"),o=a(o=r.WeakMap)&&o,i=o&&new o;t.exports=i}).call(this,"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../lang/isNative":135}],129:[function(e,t,r){function a(e){for(var t=u(e),r=t.length,a=r&&e.length,p=a&&s(a)&&(i(e)||c.nonEnumArgs&&o(e)),l=-1,d=[];++l0;++a, some require you to add "/cfx/st" into your URL).
+ *
+ * @param options [Object] The options to create a signed URL.
+ * @option options url [String] The URL to which the signature will grant
+ * access. Required.
+ * @option options expires [Number] A Unix UTC timestamp indicating when the
+ * signature should expire. Required unless you
+ * pass in a full policy.
+ * @option options policy [String] A CloudFront JSON policy. Required unless
+ * you pass in a url and an expiry time.
+ *
+ * @param cb [Function] if a callback is provided, this function will
+ * pass the URL as the second parameter (after the error parameter) to
+ * the callback function.
+ *
+ * @return [String] if called synchronously (with no callback), returns the
+ * signed URL.
+ * @return [null] nothing is returned if a callback is provided.
+ */
+ getSignedUrl: function (options, cb) {
+ try {
+ var resource = getResource(options.url);
+ } catch (err) {
+ return handleError(err, cb);
+ }
+
+ var parsedUrl = url.parse(options.url, true),
+ signatureHash = options.hasOwnProperty('policy')
+ ? signWithCustomPolicy(options.policy, this.keyPairId, this.privateKey)
+ : signWithCannedPolicy(resource, options.expires, this.keyPairId, this.privateKey);
+
+ parsedUrl.search = null;
+ for (var key in signatureHash) {
+ if (signatureHash.hasOwnProperty(key)) {
+ parsedUrl.query[key] = signatureHash[key];
+ }
+ }
+
+ try {
+ var signedUrl = determineScheme(options.url) === 'rtmp'
+ ? getRtmpUrl(url.format(parsedUrl))
+ : url.format(parsedUrl);
+ } catch (err) {
+ return handleError(err, cb);
+ }
+
+ return handleSuccess(signedUrl, cb);
+ }
+});
+
+module.exports = AWS.CloudFront.Signer;
diff --git a/node_modules/aws-sdk/lib/config.js b/node_modules/aws-sdk/lib/config.js
new file mode 100644
index 0000000000000000000000000000000000000000..5266ade264d51b887f3eec1d0adaa6a72062e32b
--- /dev/null
+++ b/node_modules/aws-sdk/lib/config.js
@@ -0,0 +1,487 @@
+var AWS = require('./core');
+require('./credentials');
+require('./credentials/credential_provider_chain');
+
+/**
+ * The main configuration class used by all service objects to set
+ * the region, credentials, and other options for requests.
+ *
+ * By default, credentials and region settings are left unconfigured.
+ * This should be configured by the application before using any
+ * AWS service APIs.
+ *
+ * In order to set global configuration options, properties should
+ * be assigned to the global {AWS.config} object.
+ *
+ * @see AWS.config
+ *
+ * @!group General Configuration Options
+ *
+ * @!attribute credentials
+ * @return [AWS.Credentials] the AWS credentials to sign requests with.
+ *
+ * @!attribute region
+ * @example Set the global region setting to us-west-2
+ * AWS.config.update({region: 'us-west-2'});
+ * @return [AWS.Credentials] The region to send service requests to.
+ * @see http://docs.amazonwebservices.com/general/latest/gr/rande.html
+ * A list of available endpoints for each AWS service
+ *
+ * @!attribute maxRetries
+ * @return [Integer] the maximum amount of retries to perform for a
+ * service request. By default this value is calculated by the specific
+ * service object that the request is being made to.
+ *
+ * @!attribute maxRedirects
+ * @return [Integer] the maximum amount of redirects to follow for a
+ * service request. Defaults to 10.
+ *
+ * @!attribute paramValidation
+ * @return [Boolean|map] whether input parameters should be validated against
+ * the operation description before sending the request. Defaults to true.
+ * Pass a map to enable any of the following specific validation features:
+ *
+ * * **min** [Boolean] — Validates that a value meets the min
+ * constraint. This is enabled by default when paramValidation is set
+ * to `true`.
+ * * **max** [Boolean] — Validates that a value meets the max
+ * constraint.
+ * * **pattern** [Boolean] — Validates that a string value matches a
+ * regular expression.
+ * * **enum** [Boolean] — Validates that a string value matches one
+ * of the allowable enum values.
+ *
+ * @!attribute computeChecksums
+ * @return [Boolean] whether to compute checksums for payload bodies when
+ * the service accepts it (currently supported in S3 only).
+ *
+ * @!attribute convertResponseTypes
+ * @return [Boolean] whether types are converted when parsing response data.
+ * Currently only supported for JSON based services. Turning this off may
+ * improve performance on large response payloads. Defaults to `true`.
+ *
+ * @!attribute correctClockSkew
+ * @return [Boolean] whether to apply a clock skew correction and retry
+ * requests that fail because of an skewed client clock. Defaults to
+ * `false`.
+ *
+ * @!attribute sslEnabled
+ * @return [Boolean] whether SSL is enabled for requests
+ *
+ * @!attribute s3ForcePathStyle
+ * @return [Boolean] whether to force path style URLs for S3 objects
+ *
+ * @!attribute s3BucketEndpoint
+ * @note Setting this configuration option requires an `endpoint` to be
+ * provided explicitly to the service constructor.
+ * @return [Boolean] whether the provided endpoint addresses an individual
+ * bucket (false if it addresses the root API endpoint).
+ *
+ * @!attribute retryDelayOptions
+ * @example Set the base retry delay for all services to 300 ms
+ * AWS.config.update({retryDelayOptions: {base: 300}});
+ * // Delays with maxRetries = 3: 300, 600, 1200
+ * @example Set a custom backoff function to provide delay values on retries
+ * AWS.config.update({retryDelayOptions: {customBackoff: function(retryCount) {
+ * // returns delay in ms
+ * }}});
+ * @note This works with all services except DynamoDB.
+ * @return [map] A set of options to configure the retry delay on retryable errors.
+ * Currently supported options are:
+ *
+ * * **base** [Integer] — The base number of milliseconds to use in the
+ * exponential backoff for operation retries. Defaults to 100 ms.
+ * * **customBackoff ** [function] — A custom function that accepts a retry count
+ * and returns the amount of time to delay in milliseconds. The `base` option will be
+ * ignored if this option is supplied.
+ *
+ * @!attribute httpOptions
+ * @return [map] A set of options to pass to the low-level HTTP request.
+ * Currently supported options are:
+ *
+ * * **proxy** [String] — the URL to proxy requests through
+ * * **agent** [http.Agent, https.Agent] — the Agent object to perform
+ * HTTP requests with. Used for connection pooling. Defaults to the global
+ * agent (`http.globalAgent`) for non-SSL connections. Note that for
+ * SSL connections, a special Agent object is used in order to enable
+ * peer certificate verification. This feature is only supported in the
+ * Node.js environment.
+ * * **timeout** [Integer] — The number of milliseconds to wait before
+ * giving up on a connection attempt. Defaults to two minutes (120000).
+ * * **xhrAsync** [Boolean] — Whether the SDK will send asynchronous
+ * HTTP requests. Used in the browser environment only. Set to false to
+ * send requests synchronously. Defaults to true (async on).
+ * * **xhrWithCredentials** [Boolean] — Sets the "withCredentials"
+ * property of an XMLHttpRequest object. Used in the browser environment
+ * only. Defaults to false.
+ * @!attribute logger
+ * @return [#write,#log] an object that responds to .write() (like a stream)
+ * or .log() (like the console object) in order to log information about
+ * requests
+ *
+ * @!attribute systemClockOffset
+ * @return [Number] an offset value in milliseconds to apply to all signing
+ * times. Use this to compensate for clock skew when your system may be
+ * out of sync with the service time. Note that this configuration option
+ * can only be applied to the global `AWS.config` object and cannot be
+ * overridden in service-specific configuration. Defaults to 0 milliseconds.
+ *
+ * @!attribute signatureVersion
+ * @return [String] the signature version to sign requests with (overriding
+ * the API configuration). Possible values are: 'v2', 'v3', 'v4'.
+ *
+ * @!attribute signatureCache
+ * @return [Boolean] whether the signature to sign requests with (overriding
+ * the API configuration) is cached. Only applies to the signature version 'v4'.
+ * Defaults to `true`.
+ */
+AWS.Config = AWS.util.inherit({
+ /**
+ * @!endgroup
+ */
+
+ /**
+ * Creates a new configuration object. This is the object that passes
+ * option data along to service requests, including credentials, security,
+ * region information, and some service specific settings.
+ *
+ * @example Creating a new configuration object with credentials and region
+ * var config = new AWS.Config({
+ * accessKeyId: 'AKID', secretAccessKey: 'SECRET', region: 'us-west-2'
+ * });
+ * @option options accessKeyId [String] your AWS access key ID.
+ * @option options secretAccessKey [String] your AWS secret access key.
+ * @option options sessionToken [AWS.Credentials] the optional AWS
+ * session token to sign requests with.
+ * @option options credentials [AWS.Credentials] the AWS credentials
+ * to sign requests with. You can either specify this object, or
+ * specify the accessKeyId and secretAccessKey options directly.
+ * @option options credentialProvider [AWS.CredentialProviderChain] the
+ * provider chain used to resolve credentials if no static `credentials`
+ * property is set.
+ * @option options region [String] the region to send service requests to.
+ * See {region} for more information.
+ * @option options maxRetries [Integer] the maximum amount of retries to
+ * attempt with a request. See {maxRetries} for more information.
+ * @option options maxRedirects [Integer] the maximum amount of redirects to
+ * follow with a request. See {maxRedirects} for more information.
+ * @option options sslEnabled [Boolean] whether to enable SSL for
+ * requests.
+ * @option options paramValidation [Boolean|map] whether input parameters
+ * should be validated against the operation description before sending
+ * the request. Defaults to true. Pass a map to enable any of the
+ * following specific validation features:
+ *
+ * * **min** [Boolean] — Validates that a value meets the min
+ * constraint. This is enabled by default when paramValidation is set
+ * to `true`.
+ * * **max** [Boolean] — Validates that a value meets the max
+ * constraint.
+ * * **pattern** [Boolean] — Validates that a string value matches a
+ * regular expression.
+ * * **enum** [Boolean] — Validates that a string value matches one
+ * of the allowable enum values.
+ * @option options computeChecksums [Boolean] whether to compute checksums
+ * for payload bodies when the service accepts it (currently supported
+ * in S3 only)
+ * @option options convertResponseTypes [Boolean] whether types are converted
+ * when parsing response data. Currently only supported for JSON based
+ * services. Turning this off may improve performance on large response
+ * payloads. Defaults to `true`.
+ * @option options correctClockSkew [Boolean] whether to apply a clock skew
+ * correction and retry requests that fail because of an skewed client
+ * clock. Defaults to `false`.
+ * @option options s3ForcePathStyle [Boolean] whether to force path
+ * style URLs for S3 objects.
+ * @option options s3BucketEndpoint [Boolean] whether the provided endpoint
+ * addresses an individual bucket (false if it addresses the root API
+ * endpoint). Note that setting this configuration option requires an
+ * `endpoint` to be provided explicitly to the service constructor.
+ * @option options retryDelayOptions [map] A set of options to configure
+ * the retry delay on retryable errors. Currently supported options are:
+ *
+ * * **base** [Integer] — The base number of milliseconds to use in the
+ * exponential backoff for operation retries. Defaults to 100 ms.
+ * * **customBackoff ** [function] — A custom function that accepts a retry count
+ * and returns the amount of time to delay in milliseconds. The `base` option will be
+ * ignored if this option is supplied.
+ * @option options httpOptions [map] A set of options to pass to the low-level
+ * HTTP request. Currently supported options are:
+ *
+ * * **proxy** [String] — the URL to proxy requests through
+ * * **agent** [http.Agent, https.Agent] — the Agent object to perform
+ * HTTP requests with. Used for connection pooling. Defaults to the global
+ * agent (`http.globalAgent`) for non-SSL connections. Note that for
+ * SSL connections, a special Agent object is used in order to enable
+ * peer certificate verification. This feature is only available in the
+ * Node.js environment.
+ * * **timeout** [Integer] — Sets the socket to timeout after timeout
+ * milliseconds of inactivity on the socket. Defaults to two minutes
+ * (120000).
+ * * **xhrAsync** [Boolean] — Whether the SDK will send asynchronous
+ * HTTP requests. Used in the browser environment only. Set to false to
+ * send requests synchronously. Defaults to true (async on).
+ * * **xhrWithCredentials** [Boolean] — Sets the "withCredentials"
+ * property of an XMLHttpRequest object. Used in the browser environment
+ * only. Defaults to false.
+ * @option options apiVersion [String, Date] a String in YYYY-MM-DD format
+ * (or a date) that represents the latest possible API version that can be
+ * used in all services (unless overridden by `apiVersions`). Specify
+ * 'latest' to use the latest possible version.
+ * @option options apiVersions [map] a map of service
+ * identifiers (the lowercase service class name) with the API version to
+ * use when instantiating a service. Specify 'latest' for each individual
+ * that can use the latest available version.
+ * @option options logger [#write,#log] an object that responds to .write()
+ * (like a stream) or .log() (like the console object) in order to log
+ * information about requests
+ * @option options systemClockOffset [Number] an offset value in milliseconds
+ * to apply to all signing times. Use this to compensate for clock skew
+ * when your system may be out of sync with the service time. Note that
+ * this configuration option can only be applied to the global `AWS.config`
+ * object and cannot be overridden in service-specific configuration.
+ * Defaults to 0 milliseconds.
+ * @option options signatureVersion [String] the signature version to sign
+ * requests with (overriding the API configuration). Possible values are:
+ * 'v2', 'v3', 'v4'.
+ * @option options signatureCache [Boolean] whether the signature to sign
+ * requests with (overriding the API configuration) is cached. Only applies
+ * to the signature version 'v4'. Defaults to `true`.
+ */
+ constructor: function Config(options) {
+ if (options === undefined) options = {};
+ options = this.extractCredentials(options);
+
+ AWS.util.each.call(this, this.keys, function (key, value) {
+ this.set(key, options[key], value);
+ });
+ },
+
+ /**
+ * @!group Managing Credentials
+ */
+
+ /**
+ * Loads credentials from the configuration object. This is used internally
+ * by the SDK to ensure that refreshable {Credentials} objects are properly
+ * refreshed and loaded when sending a request. If you want to ensure that
+ * your credentials are loaded prior to a request, you can use this method
+ * directly to provide accurate credential data stored in the object.
+ *
+ * @note If you configure the SDK with static or environment credentials,
+ * the credential data should already be present in {credentials} attribute.
+ * This method is primarily necessary to load credentials from asynchronous
+ * sources, or sources that can refresh credentials periodically.
+ * @example Getting your access key
+ * AWS.config.getCredentials(function(err) {
+ * if (err) console.log(err.stack); // credentials not loaded
+ * else console.log("Access Key:", AWS.config.credentials.accessKeyId);
+ * })
+ * @callback callback function(err)
+ * Called when the {credentials} have been properly set on the configuration
+ * object.
+ *
+ * @param err [Error] if this is set, credentials were not successfuly
+ * loaded and this error provides information why.
+ * @see credentials
+ * @see Credentials
+ */
+ getCredentials: function getCredentials(callback) {
+ var self = this;
+
+ function finish(err) {
+ callback(err, err ? null : self.credentials);
+ }
+
+ function credError(msg, err) {
+ return new AWS.util.error(err || new Error(), {
+ code: 'CredentialsError', message: msg
+ });
+ }
+
+ function getAsyncCredentials() {
+ self.credentials.get(function(err) {
+ if (err) {
+ var msg = 'Could not load credentials from ' +
+ self.credentials.constructor.name;
+ err = credError(msg, err);
+ }
+ finish(err);
+ });
+ }
+
+ function getStaticCredentials() {
+ var err = null;
+ if (!self.credentials.accessKeyId || !self.credentials.secretAccessKey) {
+ err = credError('Missing credentials');
+ }
+ finish(err);
+ }
+
+ if (self.credentials) {
+ if (typeof self.credentials.get === 'function') {
+ getAsyncCredentials();
+ } else { // static credentials
+ getStaticCredentials();
+ }
+ } else if (self.credentialProvider) {
+ self.credentialProvider.resolve(function(err, creds) {
+ if (err) {
+ err = credError('Could not load credentials from any providers', err);
+ }
+ self.credentials = creds;
+ finish(err);
+ });
+ } else {
+ finish(credError('No credentials to load'));
+ }
+ },
+
+ /**
+ * @!group Loading and Setting Configuration Options
+ */
+
+ /**
+ * @overload update(options, allowUnknownKeys = false)
+ * Updates the current configuration object with new options.
+ *
+ * @example Update maxRetries property of a configuration object
+ * config.update({maxRetries: 10});
+ * @param [Object] options a map of option keys and values.
+ * @param [Boolean] allowUnknownKeys whether unknown keys can be set on
+ * the configuration object. Defaults to `false`.
+ * @see constructor
+ */
+ update: function update(options, allowUnknownKeys) {
+ allowUnknownKeys = allowUnknownKeys || false;
+ options = this.extractCredentials(options);
+ AWS.util.each.call(this, options, function (key, value) {
+ if (allowUnknownKeys || this.keys.hasOwnProperty(key) ||
+ AWS.Service.hasService(key)) {
+ this.set(key, value);
+ }
+ });
+ },
+
+ /**
+ * Loads configuration data from a JSON file into this config object.
+ * @note Loading configuration will reset all existing configuration
+ * on the object.
+ * @!macro nobrowser
+ * @param path [String] the path relative to your process's current
+ * working directory to load configuration from.
+ * @return [AWS.Config] the same configuration object
+ */
+ loadFromPath: function loadFromPath(path) {
+ this.clear();
+
+ var options = JSON.parse(AWS.util.readFileSync(path));
+ var fileSystemCreds = new AWS.FileSystemCredentials(path);
+ var chain = new AWS.CredentialProviderChain();
+ chain.providers.unshift(fileSystemCreds);
+ chain.resolve(function (err, creds) {
+ if (err) throw err;
+ else options.credentials = creds;
+ });
+
+ this.constructor(options);
+
+ return this;
+ },
+
+ /**
+ * Clears configuration data on this object
+ *
+ * @api private
+ */
+ clear: function clear() {
+ /*jshint forin:false */
+ AWS.util.each.call(this, this.keys, function (key) {
+ delete this[key];
+ });
+
+ // reset credential provider
+ this.set('credentials', undefined);
+ this.set('credentialProvider', undefined);
+ },
+
+ /**
+ * Sets a property on the configuration object, allowing for a
+ * default value
+ * @api private
+ */
+ set: function set(property, value, defaultValue) {
+ if (value === undefined) {
+ if (defaultValue === undefined) {
+ defaultValue = this.keys[property];
+ }
+ if (typeof defaultValue === 'function') {
+ this[property] = defaultValue.call(this);
+ } else {
+ this[property] = defaultValue;
+ }
+ } else if (property === 'httpOptions' && this[property]) {
+ // deep merge httpOptions
+ this[property] = AWS.util.merge(this[property], value);
+ } else {
+ this[property] = value;
+ }
+ },
+
+ /**
+ * All of the keys with their default values.
+ *
+ * @constant
+ * @api private
+ */
+ keys: {
+ credentials: null,
+ credentialProvider: null,
+ region: null,
+ logger: null,
+ apiVersions: {},
+ apiVersion: null,
+ endpoint: undefined,
+ httpOptions: {
+ timeout: 120000
+ },
+ maxRetries: undefined,
+ maxRedirects: 10,
+ paramValidation: true,
+ sslEnabled: true,
+ s3ForcePathStyle: false,
+ s3BucketEndpoint: false,
+ computeChecksums: true,
+ convertResponseTypes: true,
+ correctClockSkew: false,
+ customUserAgent: null,
+ dynamoDbCrc32: true,
+ systemClockOffset: 0,
+ signatureVersion: null,
+ signatureCache: true,
+ retryDelayOptions: {
+ base: 100
+ }
+ },
+
+ /**
+ * Extracts accessKeyId, secretAccessKey and sessionToken
+ * from a configuration hash.
+ *
+ * @api private
+ */
+ extractCredentials: function extractCredentials(options) {
+ if (options.accessKeyId && options.secretAccessKey) {
+ options = AWS.util.copy(options);
+ options.credentials = new AWS.Credentials(options);
+ }
+ return options;
+ }
+});
+
+/**
+ * @return [AWS.Config] The global configuration object singleton instance
+ * @readonly
+ * @see AWS.Config
+ */
+AWS.config = new AWS.Config();
diff --git a/node_modules/aws-sdk/lib/core.js b/node_modules/aws-sdk/lib/core.js
new file mode 100644
index 0000000000000000000000000000000000000000..06fcf7565d56a45620164758a1d61ccb159d803c
--- /dev/null
+++ b/node_modules/aws-sdk/lib/core.js
@@ -0,0 +1,107 @@
+/**
+ * The main AWS namespace
+ */
+var AWS = { util: require('./util') };
+
+/**
+ * @api private
+ * @!macro [new] nobrowser
+ * @note This feature is not supported in the browser environment of the SDK.
+ */
+var _hidden = {}; _hidden.toString(); // hack to parse macro
+
+module.exports = AWS;
+
+AWS.util.update(AWS, {
+
+ /**
+ * @constant
+ */
+ VERSION: '2.2.48',
+
+ /**
+ * @api private
+ */
+ Signers: {},
+
+ /**
+ * @api private
+ */
+ Protocol: {
+ Json: require('./protocol/json'),
+ Query: require('./protocol/query'),
+ Rest: require('./protocol/rest'),
+ RestJson: require('./protocol/rest_json'),
+ RestXml: require('./protocol/rest_xml')
+ },
+
+ /**
+ * @api private
+ */
+ XML: {
+ Builder: require('./xml/builder'),
+ Parser: null // conditionally set based on environment
+ },
+
+ /**
+ * @api private
+ */
+ JSON: {
+ Builder: require('./json/builder'),
+ Parser: require('./json/parser')
+ },
+
+ /**
+ * @api private
+ */
+ Model: {
+ Api: require('./model/api'),
+ Operation: require('./model/operation'),
+ Shape: require('./model/shape'),
+ Paginator: require('./model/paginator'),
+ ResourceWaiter: require('./model/resource_waiter')
+ },
+
+ util: require('./util'),
+
+ /**
+ * @api private
+ */
+ apiLoader: function() { throw new Error('No API loader set'); }
+});
+
+require('./service');
+
+require('./credentials');
+require('./credentials/credential_provider_chain');
+require('./credentials/temporary_credentials');
+require('./credentials/web_identity_credentials');
+require('./credentials/cognito_identity_credentials');
+require('./credentials/saml_credentials');
+
+require('./config');
+require('./http');
+require('./sequential_executor');
+require('./event_listeners');
+require('./request');
+require('./response');
+require('./resource_waiter');
+require('./signers/request_signer');
+require('./param_validator');
+
+/**
+ * @readonly
+ * @return [AWS.SequentialExecutor] a collection of global event listeners that
+ * are attached to every sent request.
+ * @see AWS.Request AWS.Request for a list of events to listen for
+ * @example Logging the time taken to send a request
+ * AWS.events.on('send', function startSend(resp) {
+ * resp.startTime = new Date().getTime();
+ * }).on('complete', function calculateTime(resp) {
+ * var time = (new Date().getTime() - resp.startTime) / 1000;
+ * console.log('Request took ' + time + ' seconds');
+ * });
+ *
+ * new AWS.S3().listBuckets(); // prints 'Request took 0.285 seconds'
+ */
+AWS.events = new AWS.SequentialExecutor();
diff --git a/node_modules/aws-sdk/lib/credentials.js b/node_modules/aws-sdk/lib/credentials.js
new file mode 100644
index 0000000000000000000000000000000000000000..70a234f924a9883d13be75d73976dd86d8dfac11
--- /dev/null
+++ b/node_modules/aws-sdk/lib/credentials.js
@@ -0,0 +1,150 @@
+var AWS = require('./core');
+
+/**
+ * Represents your AWS security credentials, specifically the
+ * {accessKeyId}, {secretAccessKey}, and optional {sessionToken}.
+ * Creating a `Credentials` object allows you to pass around your
+ * security information to configuration and service objects.
+ *
+ * Note that this class typically does not need to be constructed manually,
+ * as the {AWS.Config} and {AWS.Service} classes both accept simple
+ * options hashes with the three keys. These structures will be converted
+ * into Credentials objects automatically.
+ *
+ * ## Expiring and Refreshing Credentials
+ *
+ * Occasionally credentials can expire in the middle of a long-running
+ * application. In this case, the SDK will automatically attempt to
+ * refresh the credentials from the storage location if the Credentials
+ * class implements the {refresh} method.
+ *
+ * If you are implementing a credential storage location, you
+ * will want to create a subclass of the `Credentials` class and
+ * override the {refresh} method. This method allows credentials to be
+ * retrieved from the backing store, be it a file system, database, or
+ * some network storage. The method should reset the credential attributes
+ * on the object.
+ *
+ * @!attribute expired
+ * @return [Boolean] whether the credentials have been expired and
+ * require a refresh. Used in conjunction with {expireTime}.
+ * @!attribute expireTime
+ * @return [Date] a time when credentials should be considered expired. Used
+ * in conjunction with {expired}.
+ * @!attribute accessKeyId
+ * @return [String] the AWS access key ID
+ * @!attribute secretAccessKey
+ * @return [String] the AWS secret access key
+ * @!attribute sessionToken
+ * @return [String] an optional AWS session token
+ */
+AWS.Credentials = AWS.util.inherit({
+ /**
+ * A credentials object can be created using positional arguments or an options
+ * hash.
+ *
+ * @overload AWS.Credentials(accessKeyId, secretAccessKey, sessionToken=null)
+ * Creates a Credentials object with a given set of credential information
+ * as positional arguments.
+ * @param accessKeyId [String] the AWS access key ID
+ * @param secretAccessKey [String] the AWS secret access key
+ * @param sessionToken [String] the optional AWS session token
+ * @example Create a credentials object with AWS credentials
+ * var creds = new AWS.Credentials('akid', 'secret', 'session');
+ * @overload AWS.Credentials(options)
+ * Creates a Credentials object with a given set of credential information
+ * as an options hash.
+ * @option options accessKeyId [String] the AWS access key ID
+ * @option options secretAccessKey [String] the AWS secret access key
+ * @option options sessionToken [String] the optional AWS session token
+ * @example Create a credentials object with AWS credentials
+ * var creds = new AWS.Credentials({
+ * accessKeyId: 'akid', secretAccessKey: 'secret', sessionToken: 'session'
+ * });
+ */
+ constructor: function Credentials() {
+ // hide secretAccessKey from being displayed with util.inspect
+ AWS.util.hideProperties(this, ['secretAccessKey']);
+
+ this.expired = false;
+ this.expireTime = null;
+ if (arguments.length === 1 && typeof arguments[0] === 'object') {
+ var creds = arguments[0].credentials || arguments[0];
+ this.accessKeyId = creds.accessKeyId;
+ this.secretAccessKey = creds.secretAccessKey;
+ this.sessionToken = creds.sessionToken;
+ } else {
+ this.accessKeyId = arguments[0];
+ this.secretAccessKey = arguments[1];
+ this.sessionToken = arguments[2];
+ }
+ },
+
+ /**
+ * @return [Integer] the window size in seconds to attempt refreshhing of
+ * credentials before the expireTime occurs.
+ */
+ expiryWindow: 15,
+
+ /**
+ * @return [Boolean] whether the credentials object should call {refresh}
+ * @note Subclasses should override this method to provide custom refresh
+ * logic.
+ */
+ needsRefresh: function needsRefresh() {
+ var currentTime = AWS.util.date.getDate().getTime();
+ var adjustedTime = new Date(currentTime + this.expiryWindow * 1000);
+
+ if (this.expireTime && adjustedTime > this.expireTime) {
+ return true;
+ } else {
+ return this.expired || !this.accessKeyId || !this.secretAccessKey;
+ }
+ },
+
+ /**
+ * Gets the existing credentials, refreshing them if they are not yet loaded
+ * or have expired. Users should call this method before using {refresh},
+ * as this will not attempt to reload credentials when they are already
+ * loaded into the object.
+ *
+ * @callback callback function(err)
+ * Called when the instance metadata service responds (or fails). When
+ * this callback is called with no error, it means that the credentials
+ * information has been loaded into the object (as the `accessKeyId`,
+ * `secretAccessKey`, and `sessionToken` properties).
+ * @param err [Error] if an error occurred, this value will be filled
+ */
+ get: function get(callback) {
+ var self = this;
+ if (this.needsRefresh()) {
+ this.refresh(function(err) {
+ if (!err) self.expired = false; // reset expired flag
+ if (callback) callback(err);
+ });
+ } else if (callback) {
+ callback();
+ }
+ },
+
+ /**
+ * Refreshes the credentials. Users should call {get} before attempting
+ * to forcibly refresh credentials.
+ *
+ * @callback callback function(err)
+ * Called when the instance metadata service responds (or fails). When
+ * this callback is called with no error, it means that the credentials
+ * information has been loaded into the object (as the `accessKeyId`,
+ * `secretAccessKey`, and `sessionToken` properties).
+ * @param err [Error] if an error occurred, this value will be filled
+ * @note Subclasses should override this class to reset the
+ * {accessKeyId}, {secretAccessKey} and optional {sessionToken}
+ * on the credentials object and then call the callback with
+ * any error information.
+ * @see get
+ */
+ refresh: function refresh(callback) {
+ this.expired = false;
+ callback();
+ }
+});
diff --git a/node_modules/aws-sdk/lib/credentials/cognito_identity_credentials.js b/node_modules/aws-sdk/lib/credentials/cognito_identity_credentials.js
new file mode 100644
index 0000000000000000000000000000000000000000..15bc285ee9a84850ed53733c0a7a82c18249be6c
--- /dev/null
+++ b/node_modules/aws-sdk/lib/credentials/cognito_identity_credentials.js
@@ -0,0 +1,312 @@
+var AWS = require('../core');
+
+/**
+ * Represents credentials retrieved from STS Web Identity Federation using
+ * the Amazon Cognito Identity service.
+ *
+ * By default this provider gets credentials using the
+ * {AWS.CognitoIdentity.getCredentialsForIdentity} service operation,
+ * after first getting an `IdentityId` from {AWS.CognitoIdentity.getId}. This
+ * operation requires an `IdentityPoolId` (Amazon Cognito Identity Pool ID).
+ * If a `RoleArn` is provided, then this provider gets credentials using the
+ * {AWS.STS.assumeRoleWithWebIdentity} service operation, after first getting
+ * an Open ID token from {AWS.CognitoIdentity.getOpenIdToken}. These operations
+ * require an `IdentityPoolId` (Amazon Cognito Identity Pool ID), and `RoleArn`
+ * containing the ARN of the IAM trust policy for the Amazon Cognito role that
+ * the user will log into.
+ *
+ * In addition, if this credential provider is used to provide authenticated
+ * login, the `Logins` map may be set to the tokens provided by the respective
+ * identity providers. See {constructor} for an example on creating a credentials
+ * object with proper property values.
+ *
+ * ## Refreshing Credentials from Identity Service
+ *
+ * In addition to AWS credentials expiring after a given amount of time, the
+ * login token from the identity provider will also expire. Once this token
+ * expires, it will not be usable to refresh AWS credentials, and another
+ * token will be needed. The SDK does not manage refreshing of the token value,
+ * but this can be done through a "refresh token" supported by most identity
+ * providers. Consult the documentation for the identity provider for refreshing
+ * tokens. Once the refreshed token is acquired, you should make sure to update
+ * this new token in the credentials object's {params} property. The following
+ * code will update the WebIdentityToken, assuming you have retrieved an updated
+ * token from the identity provider:
+ *
+ * ```javascript
+ * AWS.config.credentials.params.Logins['graph.facebook.com'] = updatedToken;
+ * ```
+ *
+ * Future calls to `credentials.refresh()` will now use the new token.
+ *
+ * @!attribute params
+ * @return [map] the map of params passed to
+ * {AWS.CognitoIdentity.getId},
+ * {AWS.CognitoIdentity.getOpenIdToken}, and
+ * {AWS.STS.assumeRoleWithWebIdentity}. To update the token, set the
+ * `params.WebIdentityToken` property.
+ * @!attribute data
+ * @return [map] the raw data response from the call to
+ * {AWS.CognitoIdentity.getCredentialsForIdentity}, or
+ * {AWS.STS.assumeRoleWithWebIdentity}. Use this if you want to get
+ * access to other properties from the response.
+ * @!attribute identityId
+ * @return [String] the Cognito ID returned by the last call to
+ * {AWS.CognitoIdentity.getOpenIdToken}. This ID represents the actual
+ * final resolved identity ID from Amazon Cognito.
+ */
+AWS.CognitoIdentityCredentials = AWS.util.inherit(AWS.Credentials, {
+ /**
+ * @api private
+ */
+ localStorageKey: {
+ id: 'aws.cognito.identity-id.',
+ providers: 'aws.cognito.identity-providers.'
+ },
+
+ /**
+ * Creates a new credentials object.
+ * @param (see AWS.CognitoIdentity.getId)
+ * @param (see AWS.STS.assumeRoleWithWebIdentity)
+ * @param (see AWS.CognitoIdentity.getOpenIdToken)
+ * @example Creating a new credentials object
+ * AWS.config.credentials = new AWS.CognitoIdentityCredentials({
+ * IdentityPoolId: 'us-east-1:1699ebc0-7900-4099-b910-2df94f52a030',
+ * // optional, only necessary when the identity pool is not configured
+ * // to use IAM roles in the Amazon Cognito Console
+ * RoleArn: 'arn:aws:iam::1234567890:role/MYAPP-CognitoIdentity',
+ * Logins: { // optional tokens, used for authenticated login
+ * 'graph.facebook.com': 'FBTOKEN',
+ * 'www.amazon.com': 'AMAZONTOKEN',
+ * 'accounts.google.com': 'GOOGLETOKEN'
+ * },
+ * RoleSessionName: 'web' // optional name, defaults to web-identity,
+ * // optional, only necessary when application runs in a browser
+ * // and multiple users are signed in at once
+ * LoginId: 'example@gmail.com'
+ * });
+ * @see AWS.STS.assumeRoleWithWebIdentity
+ * @see AWS.CognitoIdentity.getCredentialsForIdentity
+ */
+ constructor: function CognitoIdentityCredentials(params) {
+ AWS.Credentials.call(this);
+ this.expired = true;
+ this.params = params;
+ this.data = null;
+ this.identityId = null;
+ this.loadCachedId();
+ },
+
+ /**
+ * Refreshes credentials using {AWS.CognitoIdentity.getCredentialsForIdentity},
+ * or {AWS.STS.assumeRoleWithWebIdentity}.
+ *
+ * @callback callback function(err)
+ * Called when the STS service responds (or fails). When
+ * this callback is called with no error, it means that the credentials
+ * information has been loaded into the object (as the `accessKeyId`,
+ * `secretAccessKey`, and `sessionToken` properties).
+ * @param err [Error] if an error occurred, this value will be filled
+ * @see get
+ */
+ refresh: function refresh(callback) {
+ var self = this;
+ self.createClients();
+ self.data = null;
+ self.identityId = null;
+ self.getId(function(err) {
+ if (!err) {
+ if (!self.params.RoleArn) {
+ self.getCredentialsForIdentity(callback);
+ } else {
+ self.getCredentialsFromSTS(callback);
+ }
+ } else {
+ self.clearCachedId();
+ callback(err);
+ }
+ });
+ },
+
+ /**
+ * Clears the cached Cognito ID associated with the currently configured
+ * identity pool ID. Use this to manually invalidate your cache if
+ * the identity pool ID was deleted.
+ */
+ clearCachedId: function clearCache() {
+ this.identityId = null;
+ delete this.params.IdentityId;
+
+ var poolId = this.params.IdentityPoolId;
+ var loginId = this.params.LoginId || '';
+ delete this.storage[this.localStorageKey.id + poolId + loginId];
+ delete this.storage[this.localStorageKey.providers + poolId + loginId];
+ },
+
+ /**
+ * Retrieves a Cognito ID, loading from cache if it was already retrieved
+ * on this device.
+ *
+ * @callback callback function(err, identityId)
+ * @param err [Error, null] an error object if the call failed or null if
+ * it succeeded.
+ * @param identityId [String, null] if successful, the callback will return
+ * the Cognito ID.
+ * @note If not loaded explicitly, the Cognito ID is loaded and stored in
+ * localStorage in the browser environment of a device.
+ * @api private
+ */
+ getId: function getId(callback) {
+ var self = this;
+ if (typeof self.params.IdentityId === 'string') {
+ return callback(null, self.params.IdentityId);
+ }
+
+ self.cognito.getId(function(err, data) {
+ if (!err && data.IdentityId) {
+ self.params.IdentityId = data.IdentityId;
+ callback(null, data.IdentityId);
+ } else {
+ callback(err);
+ }
+ });
+ },
+
+
+ /**
+ * @api private
+ */
+ loadCredentials: function loadCredentials(data, credentials) {
+ if (!data || !credentials) return;
+ credentials.expired = false;
+ credentials.accessKeyId = data.Credentials.AccessKeyId;
+ credentials.secretAccessKey = data.Credentials.SecretKey;
+ credentials.sessionToken = data.Credentials.SessionToken;
+ credentials.expireTime = data.Credentials.Expiration;
+ },
+
+ /**
+ * @api private
+ */
+ getCredentialsForIdentity: function getCredentialsForIdentity(callback) {
+ var self = this;
+ self.cognito.getCredentialsForIdentity(function(err, data) {
+ if (!err) {
+ self.cacheId(data);
+ self.data = data;
+ self.loadCredentials(self.data, self);
+ } else {
+ self.clearCachedId();
+ }
+ callback(err);
+ });
+ },
+
+ /**
+ * @api private
+ */
+ getCredentialsFromSTS: function getCredentialsFromSTS(callback) {
+ var self = this;
+ self.cognito.getOpenIdToken(function(err, data) {
+ if (!err) {
+ self.cacheId(data);
+ self.params.WebIdentityToken = data.Token;
+ self.webIdentityCredentials.refresh(function(webErr) {
+ if (!webErr) {
+ self.data = self.webIdentityCredentials.data;
+ self.sts.credentialsFrom(self.data, self);
+ } else {
+ self.clearCachedId();
+ }
+ callback(webErr);
+ });
+ } else {
+ self.clearCachedId();
+ callback(err);
+ }
+ });
+ },
+
+ /**
+ * @api private
+ */
+ loadCachedId: function loadCachedId() {
+ var self = this;
+
+ // in the browser we source default IdentityId from localStorage
+ if (AWS.util.isBrowser() && !self.params.IdentityId) {
+ var id = self.getStorage('id');
+ if (id && self.params.Logins) {
+ var actualProviders = Object.keys(self.params.Logins);
+ var cachedProviders =
+ (self.getStorage('providers') || '').split(',');
+
+ // only load ID if at least one provider used this ID before
+ var intersect = cachedProviders.filter(function(n) {
+ return actualProviders.indexOf(n) !== -1;
+ });
+ if (intersect.length !== 0) {
+ self.params.IdentityId = id;
+ }
+ } else if (id) {
+ self.params.IdentityId = id;
+ }
+ }
+ },
+
+ /**
+ * @api private
+ */
+ createClients: function() {
+ this.webIdentityCredentials = this.webIdentityCredentials ||
+ new AWS.WebIdentityCredentials(this.params);
+ this.cognito = this.cognito ||
+ new AWS.CognitoIdentity({params: this.params});
+ this.sts = this.sts || new AWS.STS();
+ },
+
+ /**
+ * @api private
+ */
+ cacheId: function cacheId(data) {
+ this.identityId = data.IdentityId;
+ this.params.IdentityId = this.identityId;
+
+ // cache this IdentityId in browser localStorage if possible
+ if (AWS.util.isBrowser()) {
+ this.setStorage('id', data.IdentityId);
+
+ if (this.params.Logins) {
+ this.setStorage('providers', Object.keys(this.params.Logins).join(','));
+ }
+ }
+ },
+
+ /**
+ * @api private
+ */
+ getStorage: function getStorage(key) {
+ return this.storage[this.localStorageKey[key] + this.params.IdentityPoolId + (this.params.LoginId || '')];
+ },
+
+ /**
+ * @api private
+ */
+ setStorage: function setStorage(key, val) {
+ try {
+ this.storage[this.localStorageKey[key] + this.params.IdentityPoolId + (this.params.LoginId || '')] = val;
+ } catch (_) {}
+ },
+
+ /**
+ * @api private
+ */
+ storage: (function() {
+ try {
+ return AWS.util.isBrowser() && window.localStorage !== null && typeof window.localStorage === 'object' ?
+ window.localStorage : {};
+ } catch (_) {
+ return {};
+ }
+ })()
+});
diff --git a/node_modules/aws-sdk/lib/credentials/credential_provider_chain.js b/node_modules/aws-sdk/lib/credentials/credential_provider_chain.js
new file mode 100644
index 0000000000000000000000000000000000000000..49153df5a9921f6edd1181277389a2185f8afadf
--- /dev/null
+++ b/node_modules/aws-sdk/lib/credentials/credential_provider_chain.js
@@ -0,0 +1,113 @@
+var AWS = require('../core');
+
+/**
+ * Creates a credential provider chain that searches for AWS credentials
+ * in a list of credential providers specified by the {providers} property.
+ *
+ * By default, the chain will use the {defaultProviders} to resolve credentials.
+ * These providers will look in the environment using the
+ * {AWS.EnvironmentCredentials} class with the 'AWS' and 'AMAZON' prefixes.
+ *
+ * ## Setting Providers
+ *
+ * Each provider in the {providers} list should be a function that returns
+ * a {AWS.Credentials} object, or a hardcoded credentials object. The function
+ * form allows for delayed execution of the credential construction.
+ *
+ * ## Resolving Credentials from a Chain
+ *
+ * Call {resolve} to return the first valid credential object that can be
+ * loaded by the provider chain.
+ *
+ * For example, to resolve a chain with a custom provider that checks a file
+ * on disk after the set of {defaultProviders}:
+ *
+ * ```javascript
+ * var diskProvider = new AWS.FileSystemCredentials('./creds.json');
+ * var chain = new AWS.CredentialProviderChain();
+ * chain.providers.push(diskProvider);
+ * chain.resolve();
+ * ```
+ *
+ * The above code will return the `diskProvider` object if the
+ * file contains credentials and the `defaultProviders` do not contain
+ * any credential settings.
+ *
+ * @!attribute providers
+ * @return [Array]
+ * a list of credentials objects or functions that return credentials
+ * objects. If the provider is a function, the function will be
+ * executed lazily when the provider needs to be checked for valid
+ * credentials. By default, this object will be set to the
+ * {defaultProviders}.
+ * @see defaultProviders
+ */
+AWS.CredentialProviderChain = AWS.util.inherit(AWS.Credentials, {
+
+ /**
+ * Creates a new CredentialProviderChain with a default set of providers
+ * specified by {defaultProviders}.
+ */
+ constructor: function CredentialProviderChain(providers) {
+ if (providers) {
+ this.providers = providers;
+ } else {
+ this.providers = AWS.CredentialProviderChain.defaultProviders.slice(0);
+ }
+ },
+
+ /**
+ * Resolves the provider chain by searching for the first set of
+ * credentials in {providers}.
+ *
+ * @callback callback function(err, credentials)
+ * Called when the provider resolves the chain to a credentials object
+ * or null if no credentials can be found.
+ *
+ * @param err [Error] the error object returned if no credentials are
+ * found.
+ * @param credentials [AWS.Credentials] the credentials object resolved
+ * by the provider chain.
+ * @return [AWS.CredentialProviderChain] the provider, for chaining.
+ */
+ resolve: function resolve(callback) {
+ if (this.providers.length === 0) {
+ callback(new Error('No providers'));
+ return this;
+ }
+
+ var index = 0;
+ var providers = this.providers.slice(0);
+
+ function resolveNext(err, creds) {
+ if ((!err && creds) || index === providers.length) {
+ callback(err, creds);
+ return;
+ }
+
+ var provider = providers[index++];
+ if (typeof provider === 'function') {
+ creds = provider.call();
+ } else {
+ creds = provider;
+ }
+
+ if (creds.get) {
+ creds.get(function(getErr) {
+ resolveNext(getErr, getErr ? null : creds);
+ });
+ } else {
+ resolveNext(null, creds);
+ }
+ }
+
+ resolveNext();
+ return this;
+ }
+
+});
+
+/**
+ * The default set of providers used by a vanilla CredentialProviderChain.
+ */
+AWS.CredentialProviderChain.defaultProviders = [];
diff --git a/node_modules/aws-sdk/lib/credentials/ec2_metadata_credentials.js b/node_modules/aws-sdk/lib/credentials/ec2_metadata_credentials.js
new file mode 100644
index 0000000000000000000000000000000000000000..42d5480293db241d8df0447bf4f3dacc195d6951
--- /dev/null
+++ b/node_modules/aws-sdk/lib/credentials/ec2_metadata_credentials.js
@@ -0,0 +1,69 @@
+var AWS = require('../core');
+require('../metadata_service');
+
+/**
+ * Represents credentials received from the metadata service on an EC2 instance.
+ *
+ * By default, this class will connect to the metadata service using
+ * {AWS.MetadataService} and attempt to load any available credentials. If it
+ * can connect, and credentials are available, these will be used with zero
+ * configuration.
+ *
+ * This credentials class will timeout after 1 second of inactivity by default.
+ * If your requests to the EC2 metadata service are timing out, you can increase
+ * the value by configuring them directly:
+ *
+ * ```javascript
+ * AWS.config.credentials = new AWS.EC2MetadataCredentials({
+ * httpOptions: { timeout: 5000 } // 5 second timeout
+ * });
+ * ```
+ *
+ * @!macro nobrowser
+ */
+AWS.EC2MetadataCredentials = AWS.util.inherit(AWS.Credentials, {
+ constructor: function EC2MetadataCredentials(options) {
+ AWS.Credentials.call(this);
+
+ options = options ? AWS.util.copy(options) : {};
+ if (!options.httpOptions) options.httpOptions = {};
+ options.httpOptions = AWS.util.merge(
+ {timeout: this.defaultTimeout}, options.httpOptions);
+
+ this.metadataService = new AWS.MetadataService(options);
+ this.metadata = {};
+ },
+
+ /**
+ * @api private
+ */
+ defaultTimeout: 1000,
+
+ /**
+ * Loads the credentials from the instance metadata service
+ *
+ * @callback callback function(err)
+ * Called when the instance metadata service responds (or fails). When
+ * this callback is called with no error, it means that the credentials
+ * information has been loaded into the object (as the `accessKeyId`,
+ * `secretAccessKey`, and `sessionToken` properties).
+ * @param err [Error] if an error occurred, this value will be filled
+ * @see get
+ */
+ refresh: function refresh(callback) {
+ var self = this;
+ if (!callback) callback = function(err) { if (err) throw err; };
+
+ self.metadataService.loadCredentials(function (err, creds) {
+ if (!err) {
+ self.expired = false;
+ self.metadata = creds;
+ self.accessKeyId = creds.AccessKeyId;
+ self.secretAccessKey = creds.SecretAccessKey;
+ self.sessionToken = creds.Token;
+ self.expireTime = new Date(creds.Expiration);
+ }
+ callback(err);
+ });
+ }
+});
diff --git a/node_modules/aws-sdk/lib/credentials/environment_credentials.js b/node_modules/aws-sdk/lib/credentials/environment_credentials.js
new file mode 100644
index 0000000000000000000000000000000000000000..dc4d9ea7499a1cf4d232019f9c6b90abd0c780c1
--- /dev/null
+++ b/node_modules/aws-sdk/lib/credentials/environment_credentials.js
@@ -0,0 +1,85 @@
+var AWS = require('../core');
+
+/**
+ * Represents credentials from the environment.
+ *
+ * By default, this class will look for the matching environment variables
+ * prefixed by a given {envPrefix}. The un-prefixed environment variable names
+ * for each credential value is listed below:
+ *
+ * ```javascript
+ * accessKeyId: ACCESS_KEY_ID
+ * secretAccessKey: SECRET_ACCESS_KEY
+ * sessionToken: SESSION_TOKEN
+ * ```
+ *
+ * With the default prefix of 'AWS', the environment variables would be:
+ *
+ * AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_SESSION_TOKEN
+ *
+ * @!attribute envPrefix
+ * @readonly
+ * @return [String] the prefix for the environment variable names excluding
+ * the separating underscore ('_').
+ */
+AWS.EnvironmentCredentials = AWS.util.inherit(AWS.Credentials, {
+
+ /**
+ * Creates a new EnvironmentCredentials class with a given variable
+ * prefix {envPrefix}. For example, to load credentials using the 'AWS'
+ * prefix:
+ *
+ * ```javascript
+ * var creds = new AWS.EnvironmentCredentials('AWS');
+ * creds.accessKeyId == 'AKID' // from AWS_ACCESS_KEY_ID env var
+ * ```
+ *
+ * @param envPrefix [String] the prefix to use (e.g., 'AWS') for environment
+ * variables. Do not include the separating underscore.
+ */
+ constructor: function EnvironmentCredentials(envPrefix) {
+ AWS.Credentials.call(this);
+ this.envPrefix = envPrefix;
+ this.get(function() {});
+ },
+
+ /**
+ * Loads credentials from the environment using the prefixed
+ * environment variables.
+ *
+ * @callback callback function(err)
+ * Called after the (prefixed) ACCESS_KEY_ID, SECRET_ACCESS_KEY, and
+ * SESSION_TOKEN environment variables are read. When this callback is
+ * called with no error, it means that the credentials information has
+ * been loaded into the object (as the `accessKeyId`, `secretAccessKey`,
+ * and `sessionToken` properties).
+ * @param err [Error] if an error occurred, this value will be filled
+ * @see get
+ */
+ refresh: function refresh(callback) {
+ if (!callback) callback = function(err) { if (err) throw err; };
+
+ if (process === undefined) {
+ callback(new Error('No process info available'));
+ return;
+ }
+
+ var keys = ['ACCESS_KEY_ID', 'SECRET_ACCESS_KEY', 'SESSION_TOKEN'];
+ var values = [];
+
+ for (var i = 0; i < keys.length; i++) {
+ var prefix = '';
+ if (this.envPrefix) prefix = this.envPrefix + '_';
+ values[i] = process.env[prefix + keys[i]];
+ if (!values[i] && keys[i] !== 'SESSION_TOKEN') {
+ callback(new Error('Variable ' + prefix + keys[i] + ' not set.'));
+ return;
+ }
+ }
+
+ this.expired = false;
+ AWS.Credentials.apply(this, values);
+ callback();
+ }
+
+});
diff --git a/node_modules/aws-sdk/lib/credentials/file_system_credentials.js b/node_modules/aws-sdk/lib/credentials/file_system_credentials.js
new file mode 100644
index 0000000000000000000000000000000000000000..8d5d0de95d2c2c7c9729fb21c3725ebfb6f46d53
--- /dev/null
+++ b/node_modules/aws-sdk/lib/credentials/file_system_credentials.js
@@ -0,0 +1,65 @@
+var AWS = require('../core');
+
+/**
+ * Represents credentials from a JSON file on disk.
+ * If the credentials expire, the SDK can {refresh} the credentials
+ * from the file.
+ *
+ * The format of the file should be similar to the options passed to
+ * {AWS.Config}:
+ *
+ * ```javascript
+ * {accessKeyId: 'akid', secretAccessKey: 'secret', sessionToken: 'optional'}
+ * ```
+ *
+ * @example Loading credentials from disk
+ * var creds = new AWS.FileSystemCredentials('./configuration.json');
+ * creds.accessKeyId == 'AKID'
+ *
+ * @!attribute filename
+ * @readonly
+ * @return [String] the path to the JSON file on disk containing the
+ * credentials.
+ * @!macro nobrowser
+ */
+AWS.FileSystemCredentials = AWS.util.inherit(AWS.Credentials, {
+
+ /**
+ * @overload AWS.FileSystemCredentials(filename)
+ * Creates a new FileSystemCredentials object from a filename
+ *
+ * @param filename [String] the path on disk to the JSON file to load.
+ */
+ constructor: function FileSystemCredentials(filename) {
+ AWS.Credentials.call(this);
+ this.filename = filename;
+ this.get(function() {});
+ },
+
+ /**
+ * Loads the credentials from the {filename} on disk.
+ *
+ * @callback callback function(err)
+ * Called after the JSON file on disk is read and parsed. When this callback
+ * is called with no error, it means that the credentials information
+ * has been loaded into the object (as the `accessKeyId`, `secretAccessKey`,
+ * and `sessionToken` properties).
+ * @param err [Error] if an error occurred, this value will be filled
+ * @see get
+ */
+ refresh: function refresh(callback) {
+ if (!callback) callback = function(err) { if (err) throw err; };
+ try {
+ var creds = JSON.parse(AWS.util.readFileSync(this.filename));
+ AWS.Credentials.call(this, creds);
+ if (!this.accessKeyId || !this.secretAccessKey) {
+ throw new Error('Credentials not set in ' + this.filename);
+ }
+ this.expired = false;
+ callback();
+ } catch (err) {
+ callback(err);
+ }
+ }
+
+});
diff --git a/node_modules/aws-sdk/lib/credentials/saml_credentials.js b/node_modules/aws-sdk/lib/credentials/saml_credentials.js
new file mode 100644
index 0000000000000000000000000000000000000000..8b144e266ecff2838e9b5b8213705ca58e10932e
--- /dev/null
+++ b/node_modules/aws-sdk/lib/credentials/saml_credentials.js
@@ -0,0 +1,88 @@
+var AWS = require('../core');
+
+/**
+ * Represents credentials retrieved from STS SAML support.
+ *
+ * By default this provider gets credentials using the
+ * {AWS.STS.assumeRoleWithSAML} service operation. This operation
+ * requires a `RoleArn` containing the ARN of the IAM trust policy for the
+ * application for which credentials will be given, as well as a `PrincipalArn`
+ * representing the ARN for the SAML identity provider. In addition, the
+ * `SAMLAssertion` must be set to the token provided by the identity
+ * provider. See {constructor} for an example on creating a credentials
+ * object with proper `RoleArn`, `PrincipalArn`, and `SAMLAssertion` values.
+ *
+ * ## Refreshing Credentials from Identity Service
+ *
+ * In addition to AWS credentials expiring after a given amount of time, the
+ * login token from the identity provider will also expire. Once this token
+ * expires, it will not be usable to refresh AWS credentials, and another
+ * token will be needed. The SDK does not manage refreshing of the token value,
+ * but this can be done through a "refresh token" supported by most identity
+ * providers. Consult the documentation for the identity provider for refreshing
+ * tokens. Once the refreshed token is acquired, you should make sure to update
+ * this new token in the credentials object's {params} property. The following
+ * code will update the SAMLAssertion, assuming you have retrieved an updated
+ * token from the identity provider:
+ *
+ * ```javascript
+ * AWS.config.credentials.params.SAMLAssertion = updatedToken;
+ * ```
+ *
+ * Future calls to `credentials.refresh()` will now use the new token.
+ *
+ * @!attribute params
+ * @return [map] the map of params passed to
+ * {AWS.STS.assumeRoleWithSAML}. To update the token, set the
+ * `params.SAMLAssertion` property.
+ */
+AWS.SAMLCredentials = AWS.util.inherit(AWS.Credentials, {
+ /**
+ * Creates a new credentials object.
+ * @param (see AWS.STS.assumeRoleWithSAML)
+ * @example Creating a new credentials object
+ * AWS.config.credentials = new AWS.SAMLCredentials({
+ * RoleArn: 'arn:aws:iam::1234567890:role/SAMLRole',
+ * PrincipalArn: 'arn:aws:iam::1234567890:role/SAMLPrincipal',
+ * SAMLAssertion: 'base64-token', // base64-encoded token from IdP
+ * });
+ * @see AWS.STS.assumeRoleWithSAML
+ */
+ constructor: function SAMLCredentials(params) {
+ AWS.Credentials.call(this);
+ this.expired = true;
+ this.params = params;
+ },
+
+ /**
+ * Refreshes credentials using {AWS.STS.assumeRoleWithSAML}
+ *
+ * @callback callback function(err)
+ * Called when the STS service responds (or fails). When
+ * this callback is called with no error, it means that the credentials
+ * information has been loaded into the object (as the `accessKeyId`,
+ * `secretAccessKey`, and `sessionToken` properties).
+ * @param err [Error] if an error occurred, this value will be filled
+ * @see get
+ */
+ refresh: function refresh(callback) {
+ var self = this;
+ self.createClients();
+ if (!callback) callback = function(err) { if (err) throw err; };
+
+ self.service.assumeRoleWithSAML(function (err, data) {
+ if (!err) {
+ self.service.credentialsFrom(data, self);
+ }
+ callback(err);
+ });
+ },
+
+ /**
+ * @api private
+ */
+ createClients: function() {
+ this.service = this.service || new AWS.STS({params: this.params});
+ }
+
+});
diff --git a/node_modules/aws-sdk/lib/credentials/shared_ini_file_credentials.js b/node_modules/aws-sdk/lib/credentials/shared_ini_file_credentials.js
new file mode 100644
index 0000000000000000000000000000000000000000..74972fc4b5c116269bbbc598e1ec4c504238ef4f
--- /dev/null
+++ b/node_modules/aws-sdk/lib/credentials/shared_ini_file_credentials.js
@@ -0,0 +1,102 @@
+var AWS = require('../core');
+var path = require('path');
+
+/**
+ * Represents credentials loaded from shared credentials file
+ * (defaulting to ~/.aws/credentials).
+ *
+ * ## Using the shared credentials file
+ *
+ * This provider is checked by default in the Node.js environment. To use the
+ * credentials file provider, simply add your access and secret keys to the
+ * ~/.aws/credentials file in the following format:
+ *
+ * [default]
+ * aws_access_key_id = AKID...
+ * aws_secret_access_key = YOUR_SECRET_KEY
+ *
+ * ## Using custom profiles
+ *
+ * The SDK supports loading credentials for separate profiles. This can be done
+ * in two ways:
+ *
+ * 1. Set the `AWS_PROFILE` environment variable in your process prior to
+ * loading the SDK.
+ * 2. Directly load the AWS.SharedIniFileCredentials provider:
+ *
+ * ```javascript
+ * var creds = new AWS.SharedIniFileCredentials({profile: 'myprofile'});
+ * AWS.config.credentials = creds;
+ * ```
+ *
+ * @!macro nobrowser
+ */
+AWS.SharedIniFileCredentials = AWS.util.inherit(AWS.Credentials, {
+ /**
+ * Creates a new SharedIniFileCredentials object.
+ *
+ * @param options [map] a set of options
+ * @option options profile [String] (AWS_PROFILE env var or 'default')
+ * the name of the profile to load.
+ * @option options filename [String] ('~/.aws/credentials') the filename
+ * to use when loading credentials.
+ */
+ constructor: function SharedIniFileCredentials(options) {
+ AWS.Credentials.call(this);
+
+ options = options || {};
+
+ this.filename = options.filename;
+ this.profile = options.profile || process.env.AWS_PROFILE || 'default';
+ this.get(function() {});
+ },
+
+ /**
+ * Loads the credentials from the instance metadata service
+ *
+ * @callback callback function(err)
+ * Called after the shared INI file on disk is read and parsed. When this
+ * callback is called with no error, it means that the credentials
+ * information has been loaded into the object (as the `accessKeyId`,
+ * `secretAccessKey`, and `sessionToken` properties).
+ * @param err [Error] if an error occurred, this value will be filled
+ * @see get
+ */
+ refresh: function refresh(callback) {
+ if (!callback) callback = function(err) { if (err) throw err; };
+ try {
+ if (!this.filename) this.loadDefaultFilename();
+ var creds = AWS.util.ini.parse(AWS.util.readFileSync(this.filename));
+ if (typeof creds[this.profile] === 'object') {
+ this.accessKeyId = creds[this.profile]['aws_access_key_id'];
+ this.secretAccessKey = creds[this.profile]['aws_secret_access_key'];
+ this.sessionToken = creds[this.profile]['aws_session_token'];
+ }
+
+ if (!this.accessKeyId || !this.secretAccessKey) {
+ throw new Error('Credentials not set in ' + this.filename +
+ ' using profile ' + this.profile);
+ }
+ this.expired = false;
+ callback();
+ } catch (err) {
+ callback(err);
+ }
+ },
+
+ /**
+ * @api private
+ */
+ loadDefaultFilename: function loadDefaultFilename() {
+ var env = process.env;
+ var home = env.HOME ||
+ env.USERPROFILE ||
+ (env.HOMEPATH ? ((env.HOMEDRIVE || 'C:/') + env.HOMEPATH) : null);
+ if (!home) {
+ throw AWS.util.error(
+ new Error('Cannot load credentials, HOME path not set'));
+ }
+
+ this.filename = path.join(home, '.aws', 'credentials');
+ }
+});
diff --git a/node_modules/aws-sdk/lib/credentials/temporary_credentials.js b/node_modules/aws-sdk/lib/credentials/temporary_credentials.js
new file mode 100644
index 0000000000000000000000000000000000000000..f09f9916d5600b6bf06c4c6f752a6faf4b6f9332
--- /dev/null
+++ b/node_modules/aws-sdk/lib/credentials/temporary_credentials.js
@@ -0,0 +1,111 @@
+var AWS = require('../core');
+
+/**
+ * Represents temporary credentials retrieved from {AWS.STS}. Without any
+ * extra parameters, credentials will be fetched from the
+ * {AWS.STS.getSessionToken} operation. If an IAM role is provided, the
+ * {AWS.STS.assumeRole} operation will be used to fetch credentials for the
+ * role instead.
+ *
+ * To setup temporary credentials, configure a set of master credentials
+ * using the standard credentials providers (environment, EC2 instance metadata,
+ * or from the filesystem), then set the global credentials to a new
+ * temporary credentials object:
+ *
+ * ```javascript
+ * // Note that environment credentials are loaded by default,
+ * // the following line is shown for clarity:
+ * AWS.config.credentials = new AWS.EnvironmentCredentials('AWS');
+ *
+ * // Now set temporary credentials seeded from the master credentials
+ * AWS.config.credentials = new AWS.TemporaryCredentials();
+ *
+ * // subsequent requests will now use temporary credentials from AWS STS.
+ * new AWS.S3().listBucket(function(err, data) { ... });
+ * ```
+ *
+ * @!attribute masterCredentials
+ * @return [AWS.Credentials] the master (non-temporary) credentials used to
+ * get and refresh temporary credentials from AWS STS.
+ * @note (see constructor)
+ */
+AWS.TemporaryCredentials = AWS.util.inherit(AWS.Credentials, {
+ /**
+ * Creates a new temporary credentials object.
+ *
+ * @note In order to create temporary credentials, you first need to have
+ * "master" credentials configured in {AWS.Config.credentials}. These
+ * master credentials are necessary to retrieve the temporary credentials,
+ * as well as refresh the credentials when they expire.
+ * @param params [map] a map of options that are passed to the
+ * {AWS.STS.assumeRole} or {AWS.STS.getSessionToken} operations.
+ * If a `RoleArn` parameter is passed in, credentials will be based on the
+ * IAM role.
+ * @example Creating a new credentials object for generic temporary credentials
+ * AWS.config.credentials = new AWS.TemporaryCredentials();
+ * @example Creating a new credentials object for an IAM role
+ * AWS.config.credentials = new AWS.TemporaryCredentials({
+ * RoleArn: 'arn:aws:iam::1234567890:role/TemporaryCredentials',
+ * });
+ * @see AWS.STS.assumeRole
+ * @see AWS.STS.getSessionToken
+ */
+ constructor: function TemporaryCredentials(params) {
+ AWS.Credentials.call(this);
+ this.loadMasterCredentials();
+ this.expired = true;
+
+ this.params = params || {};
+ if (this.params.RoleArn) {
+ this.params.RoleSessionName =
+ this.params.RoleSessionName || 'temporary-credentials';
+ }
+ },
+
+ /**
+ * Refreshes credentials using {AWS.STS.assumeRole} or
+ * {AWS.STS.getSessionToken}, depending on whether an IAM role ARN was passed
+ * to the credentials {constructor}.
+ *
+ * @callback callback function(err)
+ * Called when the STS service responds (or fails). When
+ * this callback is called with no error, it means that the credentials
+ * information has been loaded into the object (as the `accessKeyId`,
+ * `secretAccessKey`, and `sessionToken` properties).
+ * @param err [Error] if an error occurred, this value will be filled
+ * @see get
+ */
+ refresh: function refresh(callback) {
+ var self = this;
+ self.createClients();
+ if (!callback) callback = function(err) { if (err) throw err; };
+
+ self.service.config.credentials = self.masterCredentials;
+ var operation = self.params.RoleArn ?
+ self.service.assumeRole : self.service.getSessionToken;
+ operation.call(self.service, function (err, data) {
+ if (!err) {
+ self.service.credentialsFrom(data, self);
+ }
+ callback(err);
+ });
+ },
+
+ /**
+ * @api private
+ */
+ loadMasterCredentials: function loadMasterCredentials() {
+ this.masterCredentials = AWS.config.credentials;
+ while (this.masterCredentials.masterCredentials) {
+ this.masterCredentials = this.masterCredentials.masterCredentials;
+ }
+ },
+
+ /**
+ * @api private
+ */
+ createClients: function() {
+ this.service = this.service || new AWS.STS({params: this.params});
+ }
+
+});
diff --git a/node_modules/aws-sdk/lib/credentials/web_identity_credentials.js b/node_modules/aws-sdk/lib/credentials/web_identity_credentials.js
new file mode 100644
index 0000000000000000000000000000000000000000..11b5dde71123fd1870a175c589680b241deb594c
--- /dev/null
+++ b/node_modules/aws-sdk/lib/credentials/web_identity_credentials.js
@@ -0,0 +1,95 @@
+var AWS = require('../core');
+
+/**
+ * Represents credentials retrieved from STS Web Identity Federation support.
+ *
+ * By default this provider gets credentials using the
+ * {AWS.STS.assumeRoleWithWebIdentity} service operation. This operation
+ * requires a `RoleArn` containing the ARN of the IAM trust policy for the
+ * application for which credentials will be given. In addition, the
+ * `WebIdentityToken` must be set to the token provided by the identity
+ * provider. See {constructor} for an example on creating a credentials
+ * object with proper `RoleArn` and `WebIdentityToken` values.
+ *
+ * ## Refreshing Credentials from Identity Service
+ *
+ * In addition to AWS credentials expiring after a given amount of time, the
+ * login token from the identity provider will also expire. Once this token
+ * expires, it will not be usable to refresh AWS credentials, and another
+ * token will be needed. The SDK does not manage refreshing of the token value,
+ * but this can be done through a "refresh token" supported by most identity
+ * providers. Consult the documentation for the identity provider for refreshing
+ * tokens. Once the refreshed token is acquired, you should make sure to update
+ * this new token in the credentials object's {params} property. The following
+ * code will update the WebIdentityToken, assuming you have retrieved an updated
+ * token from the identity provider:
+ *
+ * ```javascript
+ * AWS.config.credentials.params.WebIdentityToken = updatedToken;
+ * ```
+ *
+ * Future calls to `credentials.refresh()` will now use the new token.
+ *
+ * @!attribute params
+ * @return [map] the map of params passed to
+ * {AWS.STS.assumeRoleWithWebIdentity}. To update the token, set the
+ * `params.WebIdentityToken` property.
+ * @!attribute data
+ * @return [map] the raw data response from the call to
+ * {AWS.STS.assumeRoleWithWebIdentity}. Use this if you want to get
+ * access to other properties from the response.
+ */
+AWS.WebIdentityCredentials = AWS.util.inherit(AWS.Credentials, {
+ /**
+ * Creates a new credentials object.
+ * @param (see AWS.STS.assumeRoleWithWebIdentity)
+ * @example Creating a new credentials object
+ * AWS.config.credentials = new AWS.WebIdentityCredentials({
+ * RoleArn: 'arn:aws:iam::1234567890:role/WebIdentity',
+ * WebIdentityToken: 'ABCDEFGHIJKLMNOP', // token from identity service
+ * RoleSessionName: 'web' // optional name, defaults to web-identity
+ * });
+ * @see AWS.STS.assumeRoleWithWebIdentity
+ */
+ constructor: function WebIdentityCredentials(params) {
+ AWS.Credentials.call(this);
+ this.expired = true;
+ this.params = params;
+ this.params.RoleSessionName = this.params.RoleSessionName || 'web-identity';
+ this.data = null;
+ },
+
+ /**
+ * Refreshes credentials using {AWS.STS.assumeRoleWithWebIdentity}
+ *
+ * @callback callback function(err)
+ * Called when the STS service responds (or fails). When
+ * this callback is called with no error, it means that the credentials
+ * information has been loaded into the object (as the `accessKeyId`,
+ * `secretAccessKey`, and `sessionToken` properties).
+ * @param err [Error] if an error occurred, this value will be filled
+ * @see get
+ */
+ refresh: function refresh(callback) {
+ var self = this;
+ self.createClients();
+ if (!callback) callback = function(err) { if (err) throw err; };
+
+ self.service.assumeRoleWithWebIdentity(function (err, data) {
+ self.data = null;
+ if (!err) {
+ self.data = data;
+ self.service.credentialsFrom(data, self);
+ }
+ callback(err);
+ });
+ },
+
+ /**
+ * @api private
+ */
+ createClients: function() {
+ this.service = this.service || new AWS.STS({params: this.params});
+ }
+
+});
diff --git a/node_modules/aws-sdk/lib/dynamodb/converter.js b/node_modules/aws-sdk/lib/dynamodb/converter.js
new file mode 100644
index 0000000000000000000000000000000000000000..a5e35e3d0d3a952df8b3bbb6831ca2042286950d
--- /dev/null
+++ b/node_modules/aws-sdk/lib/dynamodb/converter.js
@@ -0,0 +1,96 @@
+var util = require('../core').util;
+var typeOf = require('./types').typeOf;
+var DynamoDBSet = require('./set');
+
+function convertInput(data) {
+ if (typeOf(data) === 'Object') {
+ var map = {M: {}};
+ for (var key in data) {
+ map['M'][key] = convertInput(data[key]);
+ }
+ return map;
+ } else if (typeOf(data) === 'Array') {
+ var list = {L: []};
+ for (var i = 0; i < data.length; i++) {
+ list['L'].push(convertInput(data[i]));
+ }
+ return list;
+ } else if (typeOf(data) === 'Set') {
+ return formatSet(data);
+ } else if (typeOf(data) === 'String') {
+ return { 'S': data };
+ } else if (typeOf(data) === 'Number') {
+ return { 'N': data.toString() };
+ } else if (typeOf(data) === 'Binary') {
+ return { 'B': data };
+ } else if (typeOf(data) === 'Boolean') {
+ return {'BOOL': data};
+ } else if (typeOf(data) === 'null') {
+ return {'NULL': true};
+ }
+}
+
+function formatSet(data) {
+ var map = {};
+ switch (data.type) {
+ case 'String': map['SS'] = data.values; break;
+ case 'Binary': map['BS'] = data.values; break;
+ case 'Number': map['NS'] = data.values.map(function (value) {
+ return value.toString();
+ });
+ }
+ return map;
+}
+
+function convertOutput(data) {
+ var list, map, i;
+ for (var type in data) {
+ var values = data[type];
+ if (type === 'M') {
+ map = {};
+ for (var key in values) {
+ map[key] = convertOutput(values[key]);
+ }
+ return map;
+ } else if (type === 'L') {
+ list = [];
+ for (i = 0; i < values.length; i++) {
+ list.push(convertOutput(values[i]));
+ }
+ return list;
+ } else if (type === 'SS') {
+ list = [];
+ for (i = 0; i < values.length; i++) {
+ list.push(values[i] + '');
+ }
+ return new DynamoDBSet(list);
+ } else if (type === 'NS') {
+ list = [];
+ for (i = 0; i < values.length; i++) {
+ list.push(Number(values[i]));
+ }
+ return new DynamoDBSet(list);
+ } else if (type === 'BS') {
+ list = [];
+ for (i = 0; i < values.length; i++) {
+ list.push(new util.Buffer(values[i]));
+ }
+ return new DynamoDBSet(list);
+ } else if (type === 'S') {
+ return values + '';
+ } else if (type === 'N') {
+ return Number(values);
+ } else if (type === 'B') {
+ return new util.Buffer(values);
+ } else if (type === 'BOOL') {
+ return (values === 'true' || values === 'TRUE' || values === true);
+ } else if (type === 'NULL') {
+ return null;
+ }
+ }
+}
+
+module.exports = {
+ input: convertInput,
+ output: convertOutput
+};
diff --git a/node_modules/aws-sdk/lib/dynamodb/document_client.js b/node_modules/aws-sdk/lib/dynamodb/document_client.js
new file mode 100644
index 0000000000000000000000000000000000000000..f3f97560f002bf09b318e4ca88b5705c7f0e09d3
--- /dev/null
+++ b/node_modules/aws-sdk/lib/dynamodb/document_client.js
@@ -0,0 +1,519 @@
+var AWS = require('../core');
+var Translator = require('./translator');
+var DynamoDBSet = require('./set');
+
+/**
+ * The document client simplifies working with items in Amazon DynamoDB
+ * by abstracting away the notion of attribute values. This abstraction
+ * annotates native JavaScript types supplied as input parameters, as well
+ * as converts annotated response data to native JavaScript types.
+ *
+ * ## Marshalling Input and Unmarshalling Response Data
+ *
+ * The document client affords developers the use of native JavaScript types
+ * instead of `AttributeValue`s to simplify the JavaScript development
+ * experience with Amazon DynamoDB. JavaScript objects passed in as parameters
+ * are marshalled into `AttributeValue` shapes required by Amazon DynamoDB.
+ * Responses from DynamoDB are unmarshalled into plain JavaScript objects
+ * by the `DocumentClient`. The `DocumentClient`, does not accept
+ * `AttributeValue`s in favor of native JavaScript types.
+ *
+ * | JavaScript Type | DynamoDB AttributeValue |
+ * |:----------------------------------------------------------------------:|-------------------------|
+ * | String | S |
+ * | Number | N |
+ * | Boolean | BOOL |
+ * | null | NULL |
+ * | Array | L |
+ * | Object | M |
+ * | Buffer, File, Blob, ArrayBuffer, DataView, and JavaScript typed arrays | B |
+ *
+ * ## Support for Sets
+ *
+ * The `DocumentClient` offers a convenient way to create sets from
+ * JavaScript Arrays. The type of set is inferred from the first element
+ * in the array. DynamoDB supports string, number, and binary sets. To
+ * learn more about supported types see the
+ * [Amazon DynamoDB Data Model Documentation](http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DataModel.html)
+ * For more information see {AWS.DynamoDB.DocumentClient.createSet}
+ *
+ */
+AWS.DynamoDB.DocumentClient = AWS.util.inherit({
+
+ /**
+ * @api private
+ */
+ operations: {
+ batchGetItem: 'batchGet',
+ batchWriteItem: 'batchWrite',
+ putItem: 'put',
+ getItem: 'get',
+ deleteItem: 'delete',
+ updateItem: 'update',
+ scan: 'scan',
+ query: 'query'
+ },
+
+ /**
+ * Creates a DynamoDB document client with a set of configuration options.
+ *
+ * @option options params [map] An optional map of parameters to bind to every
+ * request sent by this service object.
+ * @option options service [AWS.DynamoDB] An optional pre-configured instance
+ * of the AWS.DynamoDB service object to use for requests. The object may
+ * bound parameters used by the document client.
+ * @see AWS.DynamoDB.constructor
+ *
+ */
+ constructor: function DocumentClient(options) {
+ var self = this;
+ self.options = options || {};
+ self.configure(self.options);
+ },
+
+ /**
+ * @api private
+ */
+ configure: function configure(options) {
+ var self = this;
+ self.service = options.service;
+ self.bindServiceObject(options);
+ self.attrValue =
+ self.service.api.operations.putItem.input.members.Item.value.shape;
+ },
+
+ /**
+ * @api private
+ */
+ bindServiceObject: function bindServiceObject(options) {
+ var self = this;
+ options = options || {};
+
+ if (!self.service) {
+ self.service = new AWS.DynamoDB(options);
+ } else {
+ var config = AWS.util.copy(self.service.config);
+ self.service = new self.service.constructor.__super__(config);
+ self.service.config.params =
+ AWS.util.merge(self.service.config.params || {}, options.params);
+ }
+ },
+
+ /**
+ * Returns the attributes of one or more items from one or more tables
+ * by delegating to `AWS.DynamoDB.batchGetItem()`.
+ *
+ * Supply the same parameters as {AWS.DynamoDB.batchGetItem} with
+ * `AttributeValue`s substituted by native JavaScript types.
+ *
+ * @see AWS.DynamoDB.batchGetItem
+ * @example Get items from multiple tables
+ * var params = {
+ * RequestItems: {
+ * 'Table-1': {
+ * Keys: [
+ * {
+ * HashKey: 'haskey',
+ * NumberRangeKey: 1
+ * }
+ * ]
+ * },
+ * 'Table-2': {
+ * Keys: [
+ * { foo: 'bar' },
+ * ]
+ * }
+ * }
+ * };
+ *
+ * var docClient = new AWS.DynamoDB.DocumentClient();
+ *
+ * docClient.batchGet(params, function(err, data) {
+ * if (err) console.log(err);
+ * else console.log(data);
+ * });
+ *
+ */
+ batchGet: function(params, callback) {
+ var self = this;
+ var request = self.service.batchGetItem(params);
+ self.setupRequest(request);
+ self.setupResponse(request);
+ if (typeof callback === 'function') {
+ request.send(callback);
+ }
+ return request;
+ },
+
+ /**
+ * Puts or deletes multiple items in one or more tables by delegating
+ * to `AWS.DynamoDB.batchWriteItem()`.
+ *
+ * Supply the same parameters as {AWS.DynamoDB.batchWriteItem} with
+ * `AttributeValue`s substituted by native JavaScript types.
+ *
+ * @see AWS.DynamoDB.batchWriteItem
+ * @example Write to and delete from a table
+ * var params = {
+ * RequestItems: {
+ * 'Table-1': [
+ * {
+ * DeleteRequest: {
+ * Key: { HashKey: 'someKey' }
+ * }
+ * },
+ * {
+ * PutRequest: {
+ * Item: {
+ * HashKey: 'anotherKey',
+ * NumAttribute: 1,
+ * BoolAttribute: true,
+ * ListAttribute: [1, 'two', false],
+ * MapAttribute: { foo: 'bar' }
+ * }
+ * }
+ * }
+ * ]
+ * }
+ * };
+ *
+ * var docClient = new AWS.DynamoDB.DocumentClient();
+ *
+ * docClient.batchWrite(params, function(err, data) {
+ * if (err) console.log(err);
+ * else console.log(data);
+ * });
+ *
+ */
+ batchWrite: function(params, callback) {
+ var self = this;
+ var request = self.service.batchWriteItem(params);
+ self.setupRequest(request);
+ self.setupResponse(request);
+ if (typeof callback === 'function') {
+ request.send(callback);
+ }
+ return request;
+ },
+
+ /**
+ * Deletes a single item in a table by primary key by delegating to
+ * `AWS.DynamoDB.deleteItem()`
+ *
+ * Supply the same parameters as {AWS.DynamoDB.deleteItem} with
+ * `AttributeValue`s substituted by native JavaScript types.
+ *
+ * @see AWS.DynamoDB.deleteItem
+ * @example Delete an item from a table
+ * var params = {
+ * TableName : 'Table',
+ * Key: {
+ * HashKey: 'hashkey',
+ * NumberRangeKey: 1
+ * }
+ * };
+ *
+ * var docClient = new AWS.DynamoDB.DocumentClient();
+ *
+ * docClient.delete(params, function(err, data) {
+ * if (err) console.log(err);
+ * else console.log(data);
+ * });
+ *
+ */
+ delete: function(params, callback) {
+ var self = this;
+ var request = self.service.deleteItem(params);
+ self.setupRequest(request);
+ self.setupResponse(request);
+ if (typeof callback === 'function') {
+ request.send(callback);
+ }
+ return request;
+ },
+
+ /**
+ * Returns a set of attributes for the item with the given primary key
+ * by delegating to `AWS.DynamoDB.getItem()`.
+ *
+ * Supply the same parameters as {AWS.DynamoDB.getItem} with
+ * `AttributeValue`s substituted by native JavaScript types.
+ *
+ * @see AWS.DynamoDB.getItem
+ * @example Get an item from a table
+ * var params = {
+ * TableName : 'Table',
+ * Key: {
+ * HashKey: 'hashkey'
+ * }
+ * };
+ *
+ * var docClient = new AWS.DynamoDB.DocumentClient();
+ *
+ * docClient.get(params, function(err, data) {
+ * if (err) console.log(err);
+ * else console.log(data);
+ * });
+ *
+ */
+ get: function(params, callback) {
+ var self = this;
+ var request = self.service.getItem(params);
+ self.setupRequest(request);
+ self.setupResponse(request);
+ if (typeof callback === 'function') {
+ request.send(callback);
+ }
+ return request;
+ },
+
+ /**
+ * Creates a new item, or replaces an old item with a new item by
+ * delegating to `AWS.DynamoDB.putItem()`.
+ *
+ * Supply the same parameters as {AWS.DynamoDB.putItem} with
+ * `AttributeValue`s substituted by native JavaScript types.
+ *
+ * @see AWS.DynamoDB.putItem
+ * @example Create a new item in a table
+ * var params = {
+ * TableName : 'Table',
+ * Item: {
+ * HashKey: 'haskey',
+ * NumAttribute: 1,
+ * BoolAttribute: true,
+ * ListAttribute: [1, 'two', false],
+ * MapAttribute: { foo: 'bar'},
+ * NullAttribute: null
+ * }
+ * };
+ *
+ * var docClient = new AWS.DynamoDB.DocumentClient();
+ *
+ * docClient.put(params, function(err, data) {
+ * if (err) console.log(err);
+ * else console.log(data);
+ * });
+ *
+ */
+ put: function put(params, callback) {
+ var self = this;
+ var request = self.service.putItem(params);
+ self.setupRequest(request);
+ self.setupResponse(request);
+ if (typeof callback === 'function') {
+ request.send(callback);
+ }
+ return request;
+ },
+
+ /**
+ * Edits an existing item's attributes, or adds a new item to the table if
+ * it does not already exist by delegating to `AWS.DynamoDB.updateItem()`.
+ *
+ * Supply the same parameters as {AWS.DynamoDB.updateItem} with
+ * `AttributeValue`s substituted by native JavaScript types.
+ *
+ * @see AWS.DynamoDB.updateItem
+ * @example Update an item with expressions
+ * var params = {
+ * TableName: 'Table',
+ * Key: { HashKey : 'hashkey' },
+ * UpdateExpression: 'set #a = :x + :y',
+ * ConditionExpression: '#a < :MAX',
+ * ExpressionAttributeNames: {'#a' : 'Sum'},
+ * ExpressionAttributeValues: {
+ * ':x' : 20,
+ * ':y' : 45,
+ * ':MAX' : 100,
+ * }
+ * };
+ *
+ * var docClient = new AWS.DynamoDB.DocumentClient();
+ *
+ * docClient.update(params, function(err, data) {
+ * if (err) console.log(err);
+ * else console.log(data);
+ * });
+ *
+ */
+ update: function(params, callback) {
+ var self = this;
+ var request = self.service.updateItem(params);
+ self.setupRequest(request);
+ self.setupResponse(request);
+ if (typeof callback === 'function') {
+ request.send(callback);
+ }
+ return request;
+ },
+
+ /**
+ * Returns one or more items and item attributes by accessing every item
+ * in a table or a secondary index.
+ *
+ * Supply the same parameters as {AWS.DynamoDB.scan} with
+ * `AttributeValue`s substituted by native JavaScript types.
+ *
+ * @see AWS.DynamoDB.scan
+ * @example Scan the table with a filter expression
+ * var params = {
+ * TableName : 'Table',
+ * FilterExpression : 'Year = :this_year',
+ * ExpressionAttributeValues : {':this_year' : 2015}
+ * };
+ *
+ * var docClient = new AWS.DynamoDB.DocumentClient();
+ *
+ * docClient.scan(params, function(err, data) {
+ * if (err) console.log(err);
+ * else console.log(data);
+ * });
+ *
+ */
+ scan: function(params, callback) {
+ var self = this;
+ var request = self.service.scan(params);
+ self.setupRequest(request);
+ self.setupResponse(request);
+ if (typeof callback === 'function') {
+ request.send(callback);
+ }
+ return request;
+ },
+
+ /**
+ * Directly access items from a table by primary key or a secondary index.
+ *
+ * Supply the same parameters as {AWS.DynamoDB.query} with
+ * `AttributeValue`s substituted by native JavaScript types.
+ *
+ * @see AWS.DynamoDB.query
+ * @example Query an index
+ * var params = {
+ * TableName: 'Table',
+ * IndexName: 'Index',
+ * KeyConditionExpression: 'HashKey = :hkey and RangeKey > :rkey',
+ * ExpressionAttributeValues: {
+ * ':hkey': 'key',
+ * ':rkey': 2015
+ * }
+ * };
+ *
+ * var docClient = new AWS.DynamoDB.DocumentClient();
+ *
+ * docClient.query(params, function(err, data) {
+ * if (err) console.log(err);
+ * else console.log(data);
+ * });
+ *
+ */
+ query: function(params, callback) {
+ var self = this;
+ var request = self.service.query(params);
+ self.setupRequest(request);
+ self.setupResponse(request);
+ if (typeof callback === 'function') {
+ request.send(callback);
+ }
+ return request;
+ },
+
+ /**
+ * Creates a set of elements inferring the type of set from
+ * the type of the first element. Amazon DynamoDB currently supports
+ * the number sets, string sets, and binary sets. For more information
+ * about DynamoDB data types see the documentation on the
+ * [Amazon DynamoDB Data Model](http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DataModel.html#DataModel.DataTypes).
+ *
+ * @param list [Array] Collection to represent your DynamoDB Set
+ * @param options [map]
+ * * **validate** [Boolean] set to true if you want to validate the type
+ * of each element in the set. Defaults to `false`.
+ * @example Creating a number set
+ * var docClient = new AWS.DynamoDB.DocumentClient();
+ *
+ * var params = {
+ * Item: {
+ * hashkey: 'hashkey'
+ * numbers: docClient.createSet([1, 2, 3]);
+ * }
+ * };
+ *
+ * docClient.put(params, function(err, data) {
+ * if (err) console.log(err);
+ * else console.log(data);
+ * });
+ *
+ */
+ createSet: function(list, options) {
+ options = options || {};
+ return new DynamoDBSet(list, options);
+ },
+
+ /**
+ * @api private
+ */
+ getTranslator: function() {
+ return new Translator({attrValue: this.attrValue});
+ },
+
+ /**
+ * @api private
+ */
+ setupRequest: function setupRequest(request) {
+ var self = this;
+ var translator = self.getTranslator();
+ var operation = request.operation;
+ var inputShape = request.service.api.operations[operation].input;
+ request._events.validate.unshift(function(req) {
+ req.rawParams = AWS.util.copy(req.params);
+ req.params = translator.translateInput(req.rawParams, inputShape);
+ });
+ },
+
+ /**
+ * @api private
+ */
+ setupResponse: function setupResponse(request) {
+ var self = this;
+ var translator = self.getTranslator();
+ var outputShape = self.service.api.operations[request.operation].output;
+ request.on('extractData', function(response) {
+ response.data = translator.translateOutput(response.data, outputShape);
+ });
+
+ var response = request.response;
+ response.nextPage = function(cb) {
+ var resp = this;
+ var req = resp.request;
+ var config;
+ var service = req.service;
+ var operation = req.operation;
+ try {
+ config = service.paginationConfig(operation, true);
+ } catch (e) { resp.error = e; }
+
+ if (!resp.hasNextPage()) {
+ if (cb) cb(resp.error, null);
+ else if (resp.error) throw resp.error;
+ return null;
+ }
+
+ var params = AWS.util.copy(req.rawParams);
+ if (!resp.nextPageTokens) {
+ return cb ? cb(null, null) : null;
+ } else {
+ var inputTokens = config.inputToken;
+ if (typeof inputTokens === 'string') inputTokens = [inputTokens];
+ for (var i = 0; i < inputTokens.length; i++) {
+ params[inputTokens[i]] = resp.nextPageTokens[i];
+ }
+ return self[operation](params, cb);
+ }
+ };
+ }
+
+});
+
+module.exports = AWS.DynamoDB.DocumentClient;
diff --git a/node_modules/aws-sdk/lib/dynamodb/set.js b/node_modules/aws-sdk/lib/dynamodb/set.js
new file mode 100644
index 0000000000000000000000000000000000000000..e07d555e9a0f93145ef14a529464486a1982e631
--- /dev/null
+++ b/node_modules/aws-sdk/lib/dynamodb/set.js
@@ -0,0 +1,53 @@
+var util = require('../core').util;
+var typeOf = require('./types').typeOf;
+
+var DynamoDBSet = util.inherit({
+
+ constructor: function Set(list, options) {
+ options = options || {};
+ this.initialize(list, options.validate);
+ },
+
+ initialize: function(list, validate) {
+ var self = this;
+ self.values = [].concat(list);
+ self.detectType();
+ if (validate) {
+ self.validate();
+ }
+ },
+
+ detectType: function() {
+ var self = this;
+ var value = self.values[0];
+ if (typeOf(value) === 'String') {
+ self.type = 'String';
+ } else if (typeOf(value) === 'Number') {
+ self.type = 'Number';
+ } else if (typeOf(value) === 'Binary') {
+ self.type = 'Binary';
+ } else {
+ throw util.error(new Error(), {
+ code: 'InvalidSetType',
+ message: 'Sets can contain string, number, or binary values'
+ });
+ }
+ },
+
+ validate: function() {
+ var self = this;
+ var length = self.values.length;
+ var values = self.values;
+ for (var i = 0; i < length; i++) {
+ if (typeOf(values[i]) !== self.type) {
+ throw util.error(new Error(), {
+ code: 'InvalidType',
+ message: self.type + ' Set contains ' + typeOf(values[i]) + ' value'
+ });
+ }
+ }
+ }
+
+});
+
+module.exports = DynamoDBSet;
diff --git a/node_modules/aws-sdk/lib/dynamodb/translator.js b/node_modules/aws-sdk/lib/dynamodb/translator.js
new file mode 100644
index 0000000000000000000000000000000000000000..116c09512de53fc760f728a8aac9721b99a10606
--- /dev/null
+++ b/node_modules/aws-sdk/lib/dynamodb/translator.js
@@ -0,0 +1,79 @@
+var util = require('../core').util;
+var convert = require('./converter');
+
+var Translator = function(options) {
+ options = options || {};
+ this.attrValue = options.attrValue;
+};
+
+Translator.prototype.translateInput = function(value, shape) {
+ this.mode = 'input';
+ return this.translate(value, shape);
+};
+
+Translator.prototype.translateOutput = function(value, shape) {
+ this.mode = 'output';
+ return this.translate(value, shape);
+};
+
+Translator.prototype.translate = function(value, shape) {
+ var self = this;
+ if (!shape || value === undefined) return undefined;
+
+ if (shape.shape === self.attrValue) {
+ return convert[self.mode](value);
+ }
+ switch (shape.type) {
+ case 'structure': return self.translateStructure(value, shape);
+ case 'map': return self.translateMap(value, shape);
+ case 'list': return self.translateList(value, shape);
+ default: return self.translateScalar(value, shape);
+ }
+};
+
+Translator.prototype.translateStructure = function(structure, shape) {
+ var self = this;
+ if (structure == null) return undefined;
+
+ var struct = {};
+ util.each(structure, function(name, value) {
+ var memberShape = shape.members[name];
+ if (memberShape) {
+ var result = self.translate(value, memberShape);
+ if (result !== undefined) struct[name] = result;
+ }
+ });
+ return struct;
+};
+
+Translator.prototype.translateList = function(list, shape) {
+ var self = this;
+ if (list == null) return undefined;
+
+ var out = [];
+ util.arrayEach(list, function(value) {
+ var result = self.translate(value, shape.member);
+ if (result === undefined) out.push(null);
+ else out.push(result);
+ });
+ return out;
+};
+
+Translator.prototype.translateMap = function(map, shape) {
+ var self = this;
+ if (map == null) return undefined;
+
+ var out = {};
+ util.each(map, function(key, value) {
+ var result = self.translate(value, shape.value);
+ if (result === undefined) out[key] = null;
+ else out[key] = result;
+ });
+ return out;
+};
+
+Translator.prototype.translateScalar = function(value, shape) {
+ return shape.toType(value);
+};
+
+module.exports = Translator;
diff --git a/node_modules/aws-sdk/lib/dynamodb/types.js b/node_modules/aws-sdk/lib/dynamodb/types.js
new file mode 100644
index 0000000000000000000000000000000000000000..faeba14a4e864609b6b17c4e6e70349dd3078af1
--- /dev/null
+++ b/node_modules/aws-sdk/lib/dynamodb/types.js
@@ -0,0 +1,40 @@
+var util = require('../core').util;
+
+function typeOf(data) {
+ if (data === null && typeof data === 'object') {
+ return 'null';
+ } else if (data !== undefined && isBinary(data)) {
+ return 'Binary';
+ } else if (data !== undefined && data.constructor) {
+ return util.typeName(data.constructor);
+ } else {
+ return 'undefined';
+ }
+}
+
+function isBinary(data) {
+ var types = [
+ 'Buffer', 'File', 'Blob', 'ArrayBuffer', 'DataView',
+ 'Int8Array', 'Uint8Array', 'Uint8ClampedArray',
+ 'Int16Array', 'Uint16Array', 'Int32Array', 'Uint32Array',
+ 'Float32Array', 'Float64Array'
+ ];
+ if (util.isNode()) {
+ var Stream = util.nodeRequire('stream').Stream;
+ if (util.Buffer.isBuffer(data) || data instanceof Stream)
+ return true;
+ } else {
+ for (var i = 0; i < types.length; i++) {
+ if (data !== undefined && data.constructor) {
+ if (util.isType(data, types[i])) return true;
+ if (util.typeName(data.constructor) === types[i]) return true;
+ }
+ }
+ }
+ return false;
+}
+
+module.exports = {
+ typeOf: typeOf,
+ isBinary: isBinary
+};
diff --git a/node_modules/aws-sdk/lib/event_listeners.js b/node_modules/aws-sdk/lib/event_listeners.js
new file mode 100644
index 0000000000000000000000000000000000000000..38e2ca25879ec486387d81862275ed172acb4922
--- /dev/null
+++ b/node_modules/aws-sdk/lib/event_listeners.js
@@ -0,0 +1,469 @@
+var AWS = require('./core');
+var SequentialExecutor = require('./sequential_executor');
+
+/**
+ * The namespace used to register global event listeners for request building
+ * and sending.
+ */
+AWS.EventListeners = {
+ /**
+ * @!attribute VALIDATE_CREDENTIALS
+ * A request listener that validates whether the request is being
+ * sent with credentials.
+ * Handles the {AWS.Request~validate 'validate' Request event}
+ * @example Sending a request without validating credentials
+ * var listener = AWS.EventListeners.Core.VALIDATE_CREDENTIALS;
+ * request.removeListener('validate', listener);
+ * @readonly
+ * @return [Function]
+ * @!attribute VALIDATE_REGION
+ * A request listener that validates whether the region is set
+ * for a request.
+ * Handles the {AWS.Request~validate 'validate' Request event}
+ * @example Sending a request without validating region configuration
+ * var listener = AWS.EventListeners.Core.VALIDATE_REGION;
+ * request.removeListener('validate', listener);
+ * @readonly
+ * @return [Function]
+ * @!attribute VALIDATE_PARAMETERS
+ * A request listener that validates input parameters in a request.
+ * Handles the {AWS.Request~validate 'validate' Request event}
+ * @example Sending a request without validating parameters
+ * var listener = AWS.EventListeners.Core.VALIDATE_PARAMETERS;
+ * request.removeListener('validate', listener);
+ * @example Disable parameter validation globally
+ * AWS.EventListeners.Core.removeListener('validate',
+ * AWS.EventListeners.Core.VALIDATE_REGION);
+ * @readonly
+ * @return [Function]
+ * @!attribute SEND
+ * A request listener that initiates the HTTP connection for a
+ * request being sent. Handles the {AWS.Request~send 'send' Request event}
+ * @example Replacing the HTTP handler
+ * var listener = AWS.EventListeners.Core.SEND;
+ * request.removeListener('send', listener);
+ * request.on('send', function(response) {
+ * customHandler.send(response);
+ * });
+ * @return [Function]
+ * @readonly
+ * @!attribute HTTP_DATA
+ * A request listener that reads data from the HTTP connection in order
+ * to build the response data.
+ * Handles the {AWS.Request~httpData 'httpData' Request event}.
+ * Remove this handler if you are overriding the 'httpData' event and
+ * do not want extra data processing and buffering overhead.
+ * @example Disabling default data processing
+ * var listener = AWS.EventListeners.Core.HTTP_DATA;
+ * request.removeListener('httpData', listener);
+ * @return [Function]
+ * @readonly
+ */
+ Core: {} /* doc hack */
+};
+
+AWS.EventListeners = {
+ Core: new SequentialExecutor().addNamedListeners(function(add, addAsync) {
+ addAsync('VALIDATE_CREDENTIALS', 'validate',
+ function VALIDATE_CREDENTIALS(req, done) {
+ if (!req.service.api.signatureVersion) return done(); // none
+ req.service.config.getCredentials(function(err) {
+ if (err) {
+ req.response.error = AWS.util.error(err,
+ {code: 'CredentialsError', message: 'Missing credentials in config'});
+ }
+ done();
+ });
+ });
+
+ add('VALIDATE_REGION', 'validate', function VALIDATE_REGION(req) {
+ if (!req.service.config.region && !req.service.isGlobalEndpoint) {
+ req.response.error = AWS.util.error(new Error(),
+ {code: 'ConfigError', message: 'Missing region in config'});
+ }
+ });
+
+ add('VALIDATE_PARAMETERS', 'validate', function VALIDATE_PARAMETERS(req) {
+ var rules = req.service.api.operations[req.operation].input;
+ var validation = req.service.config.paramValidation;
+ new AWS.ParamValidator(validation).validate(rules, req.params);
+ });
+
+ addAsync('COMPUTE_SHA256', 'afterBuild', function COMPUTE_SHA256(req, done) {
+ req.haltHandlersOnError();
+ if (!req.service.api.signatureVersion) return done(); // none
+ if (req.service.getSignerClass(req) === AWS.Signers.V4) {
+ var body = req.httpRequest.body || '';
+ AWS.util.computeSha256(body, function(err, sha) {
+ if (err) {
+ done(err);
+ }
+ else {
+ req.httpRequest.headers['X-Amz-Content-Sha256'] = sha;
+ done();
+ }
+ });
+ } else {
+ done();
+ }
+ });
+
+ add('SET_CONTENT_LENGTH', 'afterBuild', function SET_CONTENT_LENGTH(req) {
+ if (req.httpRequest.headers['Content-Length'] === undefined) {
+ var length = AWS.util.string.byteLength(req.httpRequest.body);
+ req.httpRequest.headers['Content-Length'] = length;
+ }
+ });
+
+ add('SET_HTTP_HOST', 'afterBuild', function SET_HTTP_HOST(req) {
+ req.httpRequest.headers['Host'] = req.httpRequest.endpoint.host;
+ });
+
+ add('RESTART', 'restart', function RESTART() {
+ var err = this.response.error;
+ if (!err || !err.retryable) return;
+
+ this.httpRequest = new AWS.HttpRequest(
+ this.service.endpoint,
+ this.service.region
+ );
+
+ if (this.response.retryCount < this.service.config.maxRetries) {
+ this.response.retryCount++;
+ } else {
+ this.response.error = null;
+ }
+ });
+
+ addAsync('SIGN', 'sign', function SIGN(req, done) {
+ if (!req.service.api.signatureVersion) return done(); // none
+
+ req.service.config.getCredentials(function (err, credentials) {
+ if (err) {
+ req.response.error = err;
+ return done();
+ }
+
+ try {
+ var date = AWS.util.date.getDate();
+ var SignerClass = req.service.getSignerClass(req);
+ var signer = new SignerClass(req.httpRequest,
+ req.service.api.signingName || req.service.api.endpointPrefix,
+ req.service.config.signatureCache);
+
+ // clear old authorization headers
+ delete req.httpRequest.headers['Authorization'];
+ delete req.httpRequest.headers['Date'];
+ delete req.httpRequest.headers['X-Amz-Date'];
+
+ // add new authorization
+ signer.addAuthorization(credentials, date);
+ req.signedAt = date;
+ } catch (e) {
+ req.response.error = e;
+ }
+ done();
+ });
+ });
+
+ add('VALIDATE_RESPONSE', 'validateResponse', function VALIDATE_RESPONSE(resp) {
+ if (this.service.successfulResponse(resp, this)) {
+ resp.data = {};
+ resp.error = null;
+ } else {
+ resp.data = null;
+ resp.error = AWS.util.error(new Error(),
+ {code: 'UnknownError', message: 'An unknown error occurred.'});
+ }
+ });
+
+ addAsync('SEND', 'send', function SEND(resp, done) {
+ resp.httpResponse._abortCallback = done;
+ resp.error = null;
+ resp.data = null;
+
+ function callback(httpResp) {
+ resp.httpResponse.stream = httpResp;
+
+ httpResp.on('headers', function onHeaders(statusCode, headers) {
+ resp.request.emit('httpHeaders', [statusCode, headers, resp]);
+
+ if (!resp.httpResponse.streaming) {
+ if (AWS.HttpClient.streamsApiVersion === 2) { // streams2 API check
+ httpResp.on('readable', function onReadable() {
+ var data = httpResp.read();
+ if (data !== null) {
+ resp.request.emit('httpData', [data, resp]);
+ }
+ });
+ } else { // legacy streams API
+ httpResp.on('data', function onData(data) {
+ resp.request.emit('httpData', [data, resp]);
+ });
+ }
+ }
+ });
+
+ httpResp.on('end', function onEnd() {
+ resp.request.emit('httpDone');
+ done();
+ });
+ }
+
+ function progress(httpResp) {
+ httpResp.on('sendProgress', function onSendProgress(value) {
+ resp.request.emit('httpUploadProgress', [value, resp]);
+ });
+
+ httpResp.on('receiveProgress', function onReceiveProgress(value) {
+ resp.request.emit('httpDownloadProgress', [value, resp]);
+ });
+ }
+
+ function error(err) {
+ resp.error = AWS.util.error(err, {
+ code: 'NetworkingError',
+ region: resp.request.httpRequest.region,
+ hostname: resp.request.httpRequest.endpoint.hostname,
+ retryable: true
+ });
+ resp.request.emit('httpError', [resp.error, resp], function() {
+ done();
+ });
+ }
+
+ function executeSend() {
+ var http = AWS.HttpClient.getInstance();
+ var httpOptions = resp.request.service.config.httpOptions || {};
+ try {
+ var stream = http.handleRequest(resp.request.httpRequest, httpOptions,
+ callback, error);
+ progress(stream);
+ } catch (err) {
+ error(err);
+ }
+ }
+
+ var timeDiff = (AWS.util.date.getDate() - this.signedAt) / 1000;
+ if (timeDiff >= 60 * 10) { // if we signed 10min ago, re-sign
+ this.emit('sign', [this], function(err) {
+ if (err) done(err);
+ else executeSend();
+ });
+ } else {
+ executeSend();
+ }
+ });
+
+ add('HTTP_HEADERS', 'httpHeaders',
+ function HTTP_HEADERS(statusCode, headers, resp) {
+ resp.httpResponse.statusCode = statusCode;
+ resp.httpResponse.headers = headers;
+ resp.httpResponse.body = new AWS.util.Buffer('');
+ resp.httpResponse.buffers = [];
+ resp.httpResponse.numBytes = 0;
+ var dateHeader = headers.date || headers.Date;
+ if (dateHeader) {
+ var serverTime = Date.parse(dateHeader);
+ if (resp.request.service.config.correctClockSkew
+ && AWS.util.isClockSkewed(serverTime)) {
+ AWS.util.applyClockOffset(serverTime);
+ }
+ }
+ });
+
+ add('HTTP_DATA', 'httpData', function HTTP_DATA(chunk, resp) {
+ if (chunk) {
+ if (AWS.util.isNode()) {
+ resp.httpResponse.numBytes += chunk.length;
+
+ var total = resp.httpResponse.headers['content-length'];
+ var progress = { loaded: resp.httpResponse.numBytes, total: total };
+ resp.request.emit('httpDownloadProgress', [progress, resp]);
+ }
+
+ resp.httpResponse.buffers.push(new AWS.util.Buffer(chunk));
+ }
+ });
+
+ add('HTTP_DONE', 'httpDone', function HTTP_DONE(resp) {
+ // convert buffers array into single buffer
+ if (resp.httpResponse.buffers && resp.httpResponse.buffers.length > 0) {
+ var body = AWS.util.buffer.concat(resp.httpResponse.buffers);
+ resp.httpResponse.body = body;
+ }
+ delete resp.httpResponse.numBytes;
+ delete resp.httpResponse.buffers;
+ });
+
+ add('FINALIZE_ERROR', 'retry', function FINALIZE_ERROR(resp) {
+ if (resp.httpResponse.statusCode) {
+ resp.error.statusCode = resp.httpResponse.statusCode;
+ if (resp.error.retryable === undefined) {
+ resp.error.retryable = this.service.retryableError(resp.error, this);
+ }
+ }
+ });
+
+ add('INVALIDATE_CREDENTIALS', 'retry', function INVALIDATE_CREDENTIALS(resp) {
+ if (!resp.error) return;
+ switch (resp.error.code) {
+ case 'RequestExpired': // EC2 only
+ case 'ExpiredTokenException':
+ case 'ExpiredToken':
+ resp.error.retryable = true;
+ resp.request.service.config.credentials.expired = true;
+ }
+ });
+
+ add('EXPIRED_SIGNATURE', 'retry', function EXPIRED_SIGNATURE(resp) {
+ var err = resp.error;
+ if (!err) return;
+ if (typeof err.code === 'string' && typeof err.message === 'string') {
+ if (err.code.match(/Signature/) && err.message.match(/expired/)) {
+ resp.error.retryable = true;
+ }
+ }
+ });
+
+ add('CLOCK_SKEWED', 'retry', function CLOCK_SKEWED(resp) {
+ if (!resp.error) return;
+ if (this.service.clockSkewError(resp.error)
+ && this.service.config.correctClockSkew
+ && AWS.config.isClockSkewed) {
+ resp.error.retryable = true;
+ }
+ });
+
+ add('REDIRECT', 'retry', function REDIRECT(resp) {
+ if (resp.error && resp.error.statusCode >= 300 &&
+ resp.error.statusCode < 400 && resp.httpResponse.headers['location']) {
+ this.httpRequest.endpoint =
+ new AWS.Endpoint(resp.httpResponse.headers['location']);
+ this.httpRequest.headers['Host'] = this.httpRequest.endpoint.host;
+ resp.error.redirect = true;
+ resp.error.retryable = true;
+ }
+ });
+
+ add('RETRY_CHECK', 'retry', function RETRY_CHECK(resp) {
+ if (resp.error) {
+ if (resp.error.redirect && resp.redirectCount < resp.maxRedirects) {
+ resp.error.retryDelay = 0;
+ } else if (resp.retryCount < resp.maxRetries) {
+ resp.error.retryDelay = this.service.retryDelays(resp.retryCount) || 0;
+ }
+ }
+ });
+
+ addAsync('RESET_RETRY_STATE', 'afterRetry', function RESET_RETRY_STATE(resp, done) {
+ var delay, willRetry = false;
+
+ if (resp.error) {
+ delay = resp.error.retryDelay || 0;
+ if (resp.error.retryable && resp.retryCount < resp.maxRetries) {
+ resp.retryCount++;
+ willRetry = true;
+ } else if (resp.error.redirect && resp.redirectCount < resp.maxRedirects) {
+ resp.redirectCount++;
+ willRetry = true;
+ }
+ }
+
+ if (willRetry) {
+ resp.error = null;
+ setTimeout(done, delay);
+ } else {
+ done();
+ }
+ });
+ }),
+
+ CorePost: new SequentialExecutor().addNamedListeners(function(add) {
+ add('EXTRACT_REQUEST_ID', 'extractData', AWS.util.extractRequestId);
+ add('EXTRACT_REQUEST_ID', 'extractError', AWS.util.extractRequestId);
+
+ add('ENOTFOUND_ERROR', 'httpError', function ENOTFOUND_ERROR(err) {
+ if (err.code === 'NetworkingError' && err.errno === 'ENOTFOUND') {
+ var message = 'Inaccessible host: `' + err.hostname +
+ '\'. This service may not be available in the `' + err.region +
+ '\' region.';
+ this.response.error = AWS.util.error(new Error(message), {
+ code: 'UnknownEndpoint',
+ region: err.region,
+ hostname: err.hostname,
+ retryable: true,
+ originalError: err
+ });
+ }
+ });
+ }),
+
+ Logger: new SequentialExecutor().addNamedListeners(function(add) {
+ add('LOG_REQUEST', 'complete', function LOG_REQUEST(resp) {
+ var req = resp.request;
+ var logger = req.service.config.logger;
+ if (!logger) return;
+
+ function buildMessage() {
+ var time = AWS.util.date.getDate().getTime();
+ var delta = (time - req.startTime.getTime()) / 1000;
+ var ansi = logger.isTTY ? true : false;
+ var status = resp.httpResponse.statusCode;
+ var params = require('util').inspect(req.params, true, null);
+
+ var message = '';
+ if (ansi) message += '\x1B[33m';
+ message += '[AWS ' + req.service.serviceIdentifier + ' ' + status;
+ message += ' ' + delta.toString() + 's ' + resp.retryCount + ' retries]';
+ if (ansi) message += '\x1B[0;1m';
+ message += ' ' + AWS.util.string.lowerFirst(req.operation);
+ message += '(' + params + ')';
+ if (ansi) message += '\x1B[0m';
+ return message;
+ }
+
+ var line = buildMessage();
+ if (typeof logger.log === 'function') {
+ logger.log(line);
+ } else if (typeof logger.write === 'function') {
+ logger.write(line + '\n');
+ }
+ });
+ }),
+
+ Json: new SequentialExecutor().addNamedListeners(function(add) {
+ var svc = require('./protocol/json');
+ add('BUILD', 'build', svc.buildRequest);
+ add('EXTRACT_DATA', 'extractData', svc.extractData);
+ add('EXTRACT_ERROR', 'extractError', svc.extractError);
+ }),
+
+ Rest: new SequentialExecutor().addNamedListeners(function(add) {
+ var svc = require('./protocol/rest');
+ add('BUILD', 'build', svc.buildRequest);
+ add('EXTRACT_DATA', 'extractData', svc.extractData);
+ add('EXTRACT_ERROR', 'extractError', svc.extractError);
+ }),
+
+ RestJson: new SequentialExecutor().addNamedListeners(function(add) {
+ var svc = require('./protocol/rest_json');
+ add('BUILD', 'build', svc.buildRequest);
+ add('EXTRACT_DATA', 'extractData', svc.extractData);
+ add('EXTRACT_ERROR', 'extractError', svc.extractError);
+ }),
+
+ RestXml: new SequentialExecutor().addNamedListeners(function(add) {
+ var svc = require('./protocol/rest_xml');
+ add('BUILD', 'build', svc.buildRequest);
+ add('EXTRACT_DATA', 'extractData', svc.extractData);
+ add('EXTRACT_ERROR', 'extractError', svc.extractError);
+ }),
+
+ Query: new SequentialExecutor().addNamedListeners(function(add) {
+ var svc = require('./protocol/query');
+ add('BUILD', 'build', svc.buildRequest);
+ add('EXTRACT_DATA', 'extractData', svc.extractData);
+ add('EXTRACT_ERROR', 'extractError', svc.extractError);
+ })
+};
diff --git a/node_modules/aws-sdk/lib/http.js b/node_modules/aws-sdk/lib/http.js
new file mode 100644
index 0000000000000000000000000000000000000000..394088fda82171b11607151413c15b6ee640ea4d
--- /dev/null
+++ b/node_modules/aws-sdk/lib/http.js
@@ -0,0 +1,208 @@
+var AWS = require('./core');
+var inherit = AWS.util.inherit;
+
+/**
+ * The endpoint that a service will talk to, for example,
+ * `'https://ec2.ap-southeast-1.amazonaws.com'`. If
+ * you need to override an endpoint for a service, you can
+ * set the endpoint on a service by passing the endpoint
+ * object with the `endpoint` option key:
+ *
+ * ```javascript
+ * var ep = new AWS.Endpoint('awsproxy.example.com');
+ * var s3 = new AWS.S3({endpoint: ep});
+ * s3.service.endpoint.hostname == 'awsproxy.example.com'
+ * ```
+ *
+ * Note that if you do not specify a protocol, the protocol will
+ * be selected based on your current {AWS.config} configuration.
+ *
+ * @!attribute protocol
+ * @return [String] the protocol (http or https) of the endpoint
+ * URL
+ * @!attribute hostname
+ * @return [String] the host portion of the endpoint, e.g.,
+ * example.com
+ * @!attribute host
+ * @return [String] the host portion of the endpoint including
+ * the port, e.g., example.com:80
+ * @!attribute port
+ * @return [Integer] the port of the endpoint
+ * @!attribute href
+ * @return [String] the full URL of the endpoint
+ */
+AWS.Endpoint = inherit({
+
+ /**
+ * @overload Endpoint(endpoint)
+ * Constructs a new endpoint given an endpoint URL. If the
+ * URL omits a protocol (http or https), the default protocol
+ * set in the global {AWS.config} will be used.
+ * @param endpoint [String] the URL to construct an endpoint from
+ */
+ constructor: function Endpoint(endpoint, config) {
+ AWS.util.hideProperties(this, ['slashes', 'auth', 'hash', 'search', 'query']);
+
+ if (typeof endpoint === 'undefined' || endpoint === null) {
+ throw new Error('Invalid endpoint: ' + endpoint);
+ } else if (typeof endpoint !== 'string') {
+ return AWS.util.copy(endpoint);
+ }
+
+ if (!endpoint.match(/^http/)) {
+ var useSSL = config && config.sslEnabled !== undefined ?
+ config.sslEnabled : AWS.config.sslEnabled;
+ endpoint = (useSSL ? 'https' : 'http') + '://' + endpoint;
+ }
+
+ AWS.util.update(this, AWS.util.urlParse(endpoint));
+
+ // Ensure the port property is set as an integer
+ if (this.port) {
+ this.port = parseInt(this.port, 10);
+ } else {
+ this.port = this.protocol === 'https:' ? 443 : 80;
+ }
+ }
+
+});
+
+/**
+ * The low level HTTP request object, encapsulating all HTTP header
+ * and body data sent by a service request.
+ *
+ * @!attribute method
+ * @return [String] the HTTP method of the request
+ * @!attribute path
+ * @return [String] the path portion of the URI, e.g.,
+ * "/list/?start=5&num=10"
+ * @!attribute headers
+ * @return [map]
+ * a map of header keys and their respective values
+ * @!attribute body
+ * @return [String] the request body payload
+ * @!attribute endpoint
+ * @return [AWS.Endpoint] the endpoint for the request
+ * @!attribute region
+ * @api private
+ * @return [String] the region, for signing purposes only.
+ */
+AWS.HttpRequest = inherit({
+
+ /**
+ * @api private
+ */
+ constructor: function HttpRequest(endpoint, region, customUserAgent) {
+ endpoint = new AWS.Endpoint(endpoint);
+ this.method = 'POST';
+ this.path = endpoint.path || '/';
+ this.headers = {};
+ this.body = '';
+ this.endpoint = endpoint;
+ this.region = region;
+ this.setUserAgent(customUserAgent);
+ },
+
+ /**
+ * @api private
+ */
+ setUserAgent: function setUserAgent(customUserAgent) {
+ var prefix = AWS.util.isBrowser() ? 'X-Amz-' : '';
+ var customSuffix = '';
+ if (typeof customUserAgent === 'string' && customUserAgent) {
+ customSuffix += ' ' + customUserAgent;
+ }
+ this.headers[prefix + 'User-Agent'] = AWS.util.userAgent() + customSuffix;
+ },
+
+ /**
+ * @return [String] the part of the {path} excluding the
+ * query string
+ */
+ pathname: function pathname() {
+ return this.path.split('?', 1)[0];
+ },
+
+ /**
+ * @return [String] the query string portion of the {path}
+ */
+ search: function search() {
+ var query = this.path.split('?', 2)[1];
+ if (query) {
+ query = AWS.util.queryStringParse(query);
+ return AWS.util.queryParamsToString(query);
+ }
+ return '';
+ }
+
+});
+
+/**
+ * The low level HTTP response object, encapsulating all HTTP header
+ * and body data returned from the request.
+ *
+ * @!attribute statusCode
+ * @return [Integer] the HTTP status code of the response (e.g., 200, 404)
+ * @!attribute headers
+ * @return [map]
+ * a map of response header keys and their respective values
+ * @!attribute body
+ * @return [String] the response body payload
+ * @!attribute [r] streaming
+ * @return [Boolean] whether this response is being streamed at a low-level.
+ * Defaults to `false` (buffered reads). Do not modify this manually, use
+ * {createUnbufferedStream} to convert the stream to unbuffered mode
+ * instead.
+ */
+AWS.HttpResponse = inherit({
+
+ /**
+ * @api private
+ */
+ constructor: function HttpResponse() {
+ this.statusCode = undefined;
+ this.headers = {};
+ this.body = undefined;
+ this.streaming = false;
+ this.stream = null;
+ },
+
+ /**
+ * Disables buffering on the HTTP response and returns the stream for reading.
+ * @return [Stream, XMLHttpRequest, null] the underlying stream object.
+ * Use this object to directly read data off of the stream.
+ * @note This object is only available after the {AWS.Request~httpHeaders}
+ * event has fired. This method must be called prior to
+ * {AWS.Request~httpData}.
+ * @example Taking control of a stream
+ * request.on('httpHeaders', function(statusCode, headers) {
+ * if (statusCode < 300) {
+ * if (headers.etag === 'xyz') {
+ * // pipe the stream, disabling buffering
+ * var stream = this.response.httpResponse.createUnbufferedStream();
+ * stream.pipe(process.stdout);
+ * } else { // abort this request and set a better error message
+ * this.abort();
+ * this.response.error = new Error('Invalid ETag');
+ * }
+ * }
+ * }).send(console.log);
+ */
+ createUnbufferedStream: function createUnbufferedStream() {
+ this.streaming = true;
+ return this.stream;
+ }
+});
+
+
+AWS.HttpClient = inherit({});
+
+/**
+ * @api private
+ */
+AWS.HttpClient.getInstance = function getInstance() {
+ if (this.singleton === undefined) {
+ this.singleton = new this();
+ }
+ return this.singleton;
+};
diff --git a/node_modules/aws-sdk/lib/http/node.js b/node_modules/aws-sdk/lib/http/node.js
new file mode 100644
index 0000000000000000000000000000000000000000..1b0936ee8a6d9e4d1f0f3142f03f30c9647360eb
--- /dev/null
+++ b/node_modules/aws-sdk/lib/http/node.js
@@ -0,0 +1,141 @@
+var AWS = require('../core');
+var Stream = AWS.util.nodeRequire('stream').Stream;
+var WritableStream = AWS.util.nodeRequire('stream').Writable;
+var ReadableStream = AWS.util.nodeRequire('stream').Readable;
+require('../http');
+
+/**
+ * @api private
+ */
+AWS.NodeHttpClient = AWS.util.inherit({
+ handleRequest: function handleRequest(httpRequest, httpOptions, callback, errCallback) {
+ var self = this;
+ var cbAlreadyCalled = false;
+ var endpoint = httpRequest.endpoint;
+ var pathPrefix = '';
+ if (!httpOptions) httpOptions = {};
+ if (httpOptions.proxy) {
+ pathPrefix = endpoint.protocol + '//' + endpoint.hostname;
+ if (endpoint.port !== 80 && endpoint.port !== 443) {
+ pathPrefix += ':' + endpoint.port;
+ }
+ endpoint = new AWS.Endpoint(httpOptions.proxy);
+ }
+
+ var useSSL = endpoint.protocol === 'https:';
+ var http = useSSL ? require('https') : require('http');
+ var options = {
+ host: endpoint.hostname,
+ port: endpoint.port,
+ method: httpRequest.method,
+ headers: httpRequest.headers,
+ path: pathPrefix + httpRequest.path
+ };
+
+ if (useSSL && !httpOptions.agent) {
+ options.agent = this.sslAgent();
+ }
+
+ AWS.util.update(options, httpOptions);
+ delete options.proxy; // proxy isn't an HTTP option
+ delete options.timeout; // timeout isn't an HTTP option
+
+ var stream = http.request(options, function (httpResp) {
+ if (cbAlreadyCalled) return; cbAlreadyCalled = true;
+
+ callback(httpResp);
+ httpResp.emit('headers', httpResp.statusCode, httpResp.headers);
+ });
+ httpRequest.stream = stream; // attach stream to httpRequest
+
+ // timeout support
+ stream.setTimeout(httpOptions.timeout || 0, function() {
+ if (cbAlreadyCalled) return; cbAlreadyCalled = true;
+
+ var msg = 'Connection timed out after ' + httpOptions.timeout + 'ms';
+ errCallback(AWS.util.error(new Error(msg), {code: 'TimeoutError'}));
+ stream.abort();
+ });
+
+ stream.on('error', function() {
+ if (cbAlreadyCalled) return; cbAlreadyCalled = true;
+ errCallback.apply(this, arguments);
+ });
+
+ var expect = httpRequest.headers.Expect || httpRequest.headers.expect;
+ if (expect === '100-continue') {
+ stream.on('continue', function() {
+ self.writeBody(stream, httpRequest);
+ });
+ } else {
+ this.writeBody(stream, httpRequest);
+ }
+
+ return stream;
+ },
+
+ writeBody: function writeBody(stream, httpRequest) {
+ var body = httpRequest.body;
+
+ if (body && WritableStream && ReadableStream) { // progress support
+ if (!(body instanceof Stream)) body = AWS.util.buffer.toStream(body);
+ body.pipe(this.progressStream(stream, httpRequest));
+ }
+
+ if (body instanceof Stream) {
+ body.pipe(stream);
+ } else if (body) {
+ stream.end(body);
+ } else {
+ stream.end();
+ }
+ },
+
+ sslAgent: function sslAgent() {
+ var https = require('https');
+
+ if (!AWS.NodeHttpClient.sslAgent) {
+ AWS.NodeHttpClient.sslAgent = new https.Agent({rejectUnauthorized: true});
+ AWS.NodeHttpClient.sslAgent.setMaxListeners(0);
+
+ // delegate maxSockets to globalAgent
+ Object.defineProperty(AWS.NodeHttpClient.sslAgent, 'maxSockets', {
+ enumerable: true,
+ get: function() { return https.globalAgent.maxSockets; }
+ });
+ }
+ return AWS.NodeHttpClient.sslAgent;
+ },
+
+ progressStream: function progressStream(stream, httpRequest) {
+ var numBytes = 0;
+ var totalBytes = httpRequest.headers['Content-Length'];
+ var writer = new WritableStream();
+ writer._write = function(chunk, encoding, callback) {
+ if (chunk) {
+ numBytes += chunk.length;
+ stream.emit('sendProgress', {
+ loaded: numBytes, total: totalBytes
+ });
+ }
+ callback();
+ };
+ return writer;
+ },
+
+ emitter: null
+});
+
+/**
+ * @!ignore
+ */
+
+/**
+ * @api private
+ */
+AWS.HttpClient.prototype = AWS.NodeHttpClient.prototype;
+
+/**
+ * @api private
+ */
+AWS.HttpClient.streamsApiVersion = ReadableStream ? 2 : 1;
diff --git a/node_modules/aws-sdk/lib/http/xhr.js b/node_modules/aws-sdk/lib/http/xhr.js
new file mode 100644
index 0000000000000000000000000000000000000000..9fc80a75f2f8f3a811a13b33182a26bb496d6312
--- /dev/null
+++ b/node_modules/aws-sdk/lib/http/xhr.js
@@ -0,0 +1,122 @@
+var AWS = require('../core');
+var EventEmitter = require('events').EventEmitter;
+require('../http');
+
+/**
+ * @api private
+ */
+AWS.XHRClient = AWS.util.inherit({
+ handleRequest: function handleRequest(httpRequest, httpOptions, callback, errCallback) {
+ var self = this;
+ var endpoint = httpRequest.endpoint;
+ var emitter = new EventEmitter();
+ var href = endpoint.protocol + '//' + endpoint.hostname;
+ if (endpoint.port !== 80 && endpoint.port !== 443) {
+ href += ':' + endpoint.port;
+ }
+ href += httpRequest.path;
+
+ var xhr = new XMLHttpRequest(), headersEmitted = false;
+ httpRequest.stream = xhr;
+
+ xhr.addEventListener('readystatechange', function() {
+ try {
+ if (xhr.status === 0) return; // 0 code is invalid
+ } catch (e) { return; }
+
+ if (this.readyState >= this.HEADERS_RECEIVED && !headersEmitted) {
+ try { xhr.responseType = 'arraybuffer'; } catch (e) {}
+ emitter.statusCode = xhr.status;
+ emitter.headers = self.parseHeaders(xhr.getAllResponseHeaders());
+ emitter.emit('headers', emitter.statusCode, emitter.headers);
+ headersEmitted = true;
+ }
+ if (this.readyState === this.DONE) {
+ self.finishRequest(xhr, emitter);
+ }
+ }, false);
+ xhr.upload.addEventListener('progress', function (evt) {
+ emitter.emit('sendProgress', evt);
+ });
+ xhr.addEventListener('progress', function (evt) {
+ emitter.emit('receiveProgress', evt);
+ }, false);
+ xhr.addEventListener('timeout', function () {
+ errCallback(AWS.util.error(new Error('Timeout'), {code: 'TimeoutError'}));
+ }, false);
+ xhr.addEventListener('error', function () {
+ errCallback(AWS.util.error(new Error('Network Failure'), {
+ code: 'NetworkingError'
+ }));
+ }, false);
+
+ callback(emitter);
+ xhr.open(httpRequest.method, href, httpOptions.xhrAsync !== false);
+ AWS.util.each(httpRequest.headers, function (key, value) {
+ if (key !== 'Content-Length' && key !== 'User-Agent' && key !== 'Host') {
+ xhr.setRequestHeader(key, value);
+ }
+ });
+
+ if (httpOptions.timeout && httpOptions.xhrAsync !== false) {
+ xhr.timeout = httpOptions.timeout;
+ }
+
+ if (httpOptions.xhrWithCredentials) {
+ xhr.withCredentials = true;
+ }
+
+ try {
+ xhr.send(httpRequest.body);
+ } catch (err) {
+ if (httpRequest.body && typeof httpRequest.body.buffer === 'object') {
+ xhr.send(httpRequest.body.buffer); // send ArrayBuffer directly
+ } else {
+ throw err;
+ }
+ }
+
+ return emitter;
+ },
+
+ parseHeaders: function parseHeaders(rawHeaders) {
+ var headers = {};
+ AWS.util.arrayEach(rawHeaders.split(/\r?\n/), function (line) {
+ var key = line.split(':', 1)[0];
+ var value = line.substring(key.length + 2);
+ if (key.length > 0) headers[key.toLowerCase()] = value;
+ });
+ return headers;
+ },
+
+ finishRequest: function finishRequest(xhr, emitter) {
+ var buffer;
+ if (xhr.responseType === 'arraybuffer' && xhr.response) {
+ var ab = xhr.response;
+ buffer = new AWS.util.Buffer(ab.byteLength);
+ var view = new Uint8Array(ab);
+ for (var i = 0; i < buffer.length; ++i) {
+ buffer[i] = view[i];
+ }
+ }
+
+ try {
+ if (!buffer && typeof xhr.responseText === 'string') {
+ buffer = new AWS.util.Buffer(xhr.responseText);
+ }
+ } catch (e) {}
+
+ if (buffer) emitter.emit('data', buffer);
+ emitter.emit('end');
+ }
+});
+
+/**
+ * @api private
+ */
+AWS.HttpClient.prototype = AWS.XHRClient.prototype;
+
+/**
+ * @api private
+ */
+AWS.HttpClient.streamsApiVersion = 1;
diff --git a/node_modules/aws-sdk/lib/json/builder.js b/node_modules/aws-sdk/lib/json/builder.js
new file mode 100644
index 0000000000000000000000000000000000000000..53cb9ebc4d5415781f28955ea01142501b82b03a
--- /dev/null
+++ b/node_modules/aws-sdk/lib/json/builder.js
@@ -0,0 +1,56 @@
+var util = require('../util');
+
+function JsonBuilder() { }
+
+JsonBuilder.prototype.build = function(value, shape) {
+ return JSON.stringify(translate(value, shape));
+};
+
+function translate(value, shape) {
+ if (!shape || value === undefined || value === null) return undefined;
+
+ switch (shape.type) {
+ case 'structure': return translateStructure(value, shape);
+ case 'map': return translateMap(value, shape);
+ case 'list': return translateList(value, shape);
+ default: return translateScalar(value, shape);
+ }
+}
+
+function translateStructure(structure, shape) {
+ var struct = {};
+ util.each(structure, function(name, value) {
+ var memberShape = shape.members[name];
+ if (memberShape) {
+ if (memberShape.location !== 'body') return;
+ var locationName = memberShape.isLocationName ? memberShape.name : name;
+ var result = translate(value, memberShape);
+ if (result !== undefined) struct[locationName] = result;
+ }
+ });
+ return struct;
+}
+
+function translateList(list, shape) {
+ var out = [];
+ util.arrayEach(list, function(value) {
+ var result = translate(value, shape.member);
+ if (result !== undefined) out.push(result);
+ });
+ return out;
+}
+
+function translateMap(map, shape) {
+ var out = {};
+ util.each(map, function(key, value) {
+ var result = translate(value, shape.value);
+ if (result !== undefined) out[key] = result;
+ });
+ return out;
+}
+
+function translateScalar(value, shape) {
+ return shape.toWireFormat(value);
+}
+
+module.exports = JsonBuilder;
diff --git a/node_modules/aws-sdk/lib/json/parser.js b/node_modules/aws-sdk/lib/json/parser.js
new file mode 100644
index 0000000000000000000000000000000000000000..ab71a9e17da9d3f9a4c31629e3e1a8f0a8b3ec3e
--- /dev/null
+++ b/node_modules/aws-sdk/lib/json/parser.js
@@ -0,0 +1,64 @@
+var util = require('../util');
+
+function JsonParser() { }
+
+JsonParser.prototype.parse = function(value, shape) {
+ return translate(JSON.parse(value), shape);
+};
+
+function translate(value, shape) {
+ if (!shape || value === undefined) return undefined;
+
+ switch (shape.type) {
+ case 'structure': return translateStructure(value, shape);
+ case 'map': return translateMap(value, shape);
+ case 'list': return translateList(value, shape);
+ default: return translateScalar(value, shape);
+ }
+}
+
+function translateStructure(structure, shape) {
+ if (structure == null) return undefined;
+
+ var struct = {};
+ var shapeMembers = shape.members;
+ util.each(shapeMembers, function(name, memberShape) {
+ var locationName = memberShape.isLocationName ? memberShape.name : name;
+ if (structure.hasOwnProperty(locationName)) {
+ var value = structure[locationName];
+ var result = translate(value, memberShape);
+ if (result !== undefined) struct[name] = result;
+ }
+ });
+ return struct;
+}
+
+function translateList(list, shape) {
+ if (list == null) return undefined;
+
+ var out = [];
+ util.arrayEach(list, function(value) {
+ var result = translate(value, shape.member);
+ if (result === undefined) out.push(null);
+ else out.push(result);
+ });
+ return out;
+}
+
+function translateMap(map, shape) {
+ if (map == null) return undefined;
+
+ var out = {};
+ util.each(map, function(key, value) {
+ var result = translate(value, shape.value);
+ if (result === undefined) out[key] = null;
+ else out[key] = result;
+ });
+ return out;
+}
+
+function translateScalar(value, shape) {
+ return shape.toType(value);
+}
+
+module.exports = JsonParser;
diff --git a/node_modules/aws-sdk/lib/metadata_service.js b/node_modules/aws-sdk/lib/metadata_service.js
new file mode 100644
index 0000000000000000000000000000000000000000..0eaf453e83dd39510257495889b480c925d124ad
--- /dev/null
+++ b/node_modules/aws-sdk/lib/metadata_service.js
@@ -0,0 +1,127 @@
+var AWS = require('./core');
+require('./http');
+var inherit = AWS.util.inherit;
+
+/**
+ * Represents a metadata service available on EC2 instances. Using the
+ * {request} method, you can receieve metadata about any available resource
+ * on the metadata service.
+ *
+ * @!attribute [r] httpOptions
+ * @return [map] a map of options to pass to the underlying HTTP request:
+ *
+ * * **timeout** (Number) — a timeout value in milliseconds to wait
+ * before aborting the connection. Set to 0 for no timeout.
+ *
+ * @!macro nobrowser
+ */
+AWS.MetadataService = inherit({
+ /**
+ * @return [String] the hostname of the instance metadata service
+ */
+ host: '169.254.169.254',
+
+ /**
+ * @!ignore
+ */
+
+ /**
+ * Default HTTP options. By default, the metadata service is set to not
+ * timeout on long requests. This means that on non-EC2 machines, this
+ * request will never return. If you are calling this operation from an
+ * environment that may not always run on EC2, set a `timeout` value so
+ * the SDK will abort the request after a given number of milliseconds.
+ */
+ httpOptions: { timeout: 0 },
+
+ /**
+ * Creates a new MetadataService object with a given set of options.
+ *
+ * @option options host [String] the hostname of the instance metadata
+ * service
+ * @option options httpOptions [map] a map of options to pass to the
+ * underlying HTTP request:
+ *
+ * * **timeout** (Number) — a timeout value in milliseconds to wait
+ * before aborting the connection. Set to 0 for no timeout.
+ */
+ constructor: function MetadataService(options) {
+ AWS.util.update(this, options);
+ },
+
+ /**
+ * Sends a request to the instance metadata service for a given resource.
+ *
+ * @param path [String] the path of the resource to get
+ * @callback callback function(err, data)
+ * Called when a response is available from the service.
+ * @param err [Error, null] if an error occurred, this value will be set
+ * @param data [String, null] if the request was successful, the body of
+ * the response
+ */
+ request: function request(path, callback) {
+ path = path || '/';
+
+ var data = '';
+ var http = AWS.HttpClient.getInstance();
+ var httpRequest = new AWS.HttpRequest('http://' + this.host + path);
+ httpRequest.method = 'GET';
+ var httpOptions = this.httpOptions;
+
+ process.nextTick(function() {
+ http.handleRequest(httpRequest, httpOptions, function(httpResponse) {
+ httpResponse.on('data', function(chunk) { data += chunk.toString(); });
+ httpResponse.on('end', function() { callback(null, data); });
+ }, callback);
+ });
+ },
+
+ /**
+ * @api private
+ */
+ loadCredentialsCallbacks: [],
+
+ /**
+ * Loads a set of credentials stored in the instance metadata service
+ *
+ * @api private
+ * @callback callback function(err, credentials)
+ * Called when credentials are loaded from the resource
+ * @param err [Error] if an error occurred, this value will be set
+ * @param credentials [Object] the raw JSON object containing all
+ * metadata from the credentials resource
+ */
+ loadCredentials: function loadCredentials(callback) {
+ var self = this;
+ var basePath = '/latest/meta-data/iam/security-credentials/';
+ self.loadCredentialsCallbacks.push(callback);
+ if (self.loadCredentialsCallbacks.length > 1) { return; }
+
+ function callbacks(err, creds) {
+ var cb;
+ while ((cb = self.loadCredentialsCallbacks.shift()) !== undefined) {
+ cb(err, creds);
+ }
+ }
+
+ self.request(basePath, function (err, roleName) {
+ if (err) callbacks(err);
+ else {
+ roleName = roleName.split('\n')[0]; // grab first (and only) role
+ self.request(basePath + roleName, function (credErr, credData) {
+ if (credErr) callbacks(credErr);
+ else {
+ try {
+ var credentials = JSON.parse(credData);
+ callbacks(null, credentials);
+ } catch (parseError) {
+ callbacks(parseError);
+ }
+ }
+ });
+ }
+ });
+ }
+});
+
+module.exports = AWS.MetadataService;
diff --git a/node_modules/aws-sdk/lib/model/api.js b/node_modules/aws-sdk/lib/model/api.js
new file mode 100644
index 0000000000000000000000000000000000000000..53c7384070147d0d9ea2e7173a7c76ac9841e5db
--- /dev/null
+++ b/node_modules/aws-sdk/lib/model/api.js
@@ -0,0 +1,63 @@
+var Collection = require('./collection');
+var Operation = require('./operation');
+var Shape = require('./shape');
+var Paginator = require('./paginator');
+var ResourceWaiter = require('./resource_waiter');
+
+var util = require('../util');
+var property = util.property;
+var memoizedProperty = util.memoizedProperty;
+
+function Api(api, options) {
+ api = api || {};
+ options = options || {};
+ options.api = this;
+
+ api.metadata = api.metadata || {};
+
+ property(this, 'isApi', true, false);
+ property(this, 'apiVersion', api.metadata.apiVersion);
+ property(this, 'endpointPrefix', api.metadata.endpointPrefix);
+ property(this, 'signingName', api.metadata.signingName);
+ property(this, 'globalEndpoint', api.metadata.globalEndpoint);
+ property(this, 'signatureVersion', api.metadata.signatureVersion);
+ property(this, 'jsonVersion', api.metadata.jsonVersion);
+ property(this, 'targetPrefix', api.metadata.targetPrefix);
+ property(this, 'protocol', api.metadata.protocol);
+ property(this, 'timestampFormat', api.metadata.timestampFormat);
+ property(this, 'xmlNamespaceUri', api.metadata.xmlNamespace);
+ property(this, 'abbreviation', api.metadata.serviceAbbreviation);
+ property(this, 'fullName', api.metadata.serviceFullName);
+
+ memoizedProperty(this, 'className', function() {
+ var name = api.metadata.serviceAbbreviation || api.metadata.serviceFullName;
+ if (!name) return null;
+
+ name = name.replace(/^Amazon|AWS\s*|\(.*|\s+|\W+/g, '');
+ if (name === 'ElasticLoadBalancing') name = 'ELB';
+ return name;
+ });
+
+ property(this, 'operations', new Collection(api.operations, options, function(name, operation) {
+ return new Operation(name, operation, options);
+ }, util.string.lowerFirst));
+
+ property(this, 'shapes', new Collection(api.shapes, options, function(name, shape) {
+ return Shape.create(shape, options);
+ }));
+
+ property(this, 'paginators', new Collection(api.paginators, options, function(name, paginator) {
+ return new Paginator(name, paginator, options);
+ }));
+
+ property(this, 'waiters', new Collection(api.waiters, options, function(name, waiter) {
+ return new ResourceWaiter(name, waiter, options);
+ }, util.string.lowerFirst));
+
+ if (options.documentation) {
+ property(this, 'documentation', api.documentation);
+ property(this, 'documentationUrl', api.documentationUrl);
+ }
+}
+
+module.exports = Api;
diff --git a/node_modules/aws-sdk/lib/model/collection.js b/node_modules/aws-sdk/lib/model/collection.js
new file mode 100644
index 0000000000000000000000000000000000000000..c81e737545d65aac7d195edc8f7ba8c932805572
--- /dev/null
+++ b/node_modules/aws-sdk/lib/model/collection.js
@@ -0,0 +1,20 @@
+var memoizedProperty = require('../util').memoizedProperty;
+
+function memoize(name, value, fn, nameTr) {
+ memoizedProperty(this, nameTr(name), function() {
+ return fn(name, value);
+ });
+}
+
+function Collection(iterable, options, fn, nameTr) {
+ nameTr = nameTr || String;
+ var self = this;
+
+ for (var id in iterable) {
+ if (iterable.hasOwnProperty(id)) {
+ memoize.call(self, id, iterable[id], fn, nameTr);
+ }
+ }
+}
+
+module.exports = Collection;
diff --git a/node_modules/aws-sdk/lib/model/operation.js b/node_modules/aws-sdk/lib/model/operation.js
new file mode 100644
index 0000000000000000000000000000000000000000..befcb777e4b51a2912e6348c164a76d723d4dba6
--- /dev/null
+++ b/node_modules/aws-sdk/lib/model/operation.js
@@ -0,0 +1,52 @@
+var Shape = require('./shape');
+
+var util = require('../util');
+var property = util.property;
+var memoizedProperty = util.memoizedProperty;
+
+function Operation(name, operation, options) {
+ options = options || {};
+
+ property(this, 'name', operation.name || name);
+ property(this, 'api', options.api, false);
+
+ operation.http = operation.http || {};
+ property(this, 'httpMethod', operation.http.method || 'POST');
+ property(this, 'httpPath', operation.http.requestUri || '/');
+
+ memoizedProperty(this, 'input', function() {
+ if (!operation.input) {
+ return new Shape.create({type: 'structure'}, options);
+ }
+ return Shape.create(operation.input, options);
+ });
+
+ memoizedProperty(this, 'output', function() {
+ if (!operation.output) {
+ return new Shape.create({type: 'structure'}, options);
+ }
+ return Shape.create(operation.output, options);
+ });
+
+ memoizedProperty(this, 'errors', function() {
+ var list = [];
+ if (!operation.errors) return null;
+
+ for (var i = 0; i < operation.errors.length; i++) {
+ list.push(Shape.create(operation.errors[i], options));
+ }
+
+ return list;
+ });
+
+ memoizedProperty(this, 'paginator', function() {
+ return options.api.paginators[name];
+ });
+
+ if (options.documentation) {
+ property(this, 'documentation', operation.documentation);
+ property(this, 'documentationUrl', operation.documentationUrl);
+ }
+}
+
+module.exports = Operation;
diff --git a/node_modules/aws-sdk/lib/model/paginator.js b/node_modules/aws-sdk/lib/model/paginator.js
new file mode 100644
index 0000000000000000000000000000000000000000..1fad68ebcda33e30c0c331ad090a35626e9f13ec
--- /dev/null
+++ b/node_modules/aws-sdk/lib/model/paginator.js
@@ -0,0 +1,11 @@
+var property = require('../util').property;
+
+function Paginator(name, paginator) {
+ property(this, 'inputToken', paginator.input_token);
+ property(this, 'limitKey', paginator.limit_key);
+ property(this, 'moreResults', paginator.more_results);
+ property(this, 'outputToken', paginator.output_token);
+ property(this, 'resultKey', paginator.result_key);
+}
+
+module.exports = Paginator;
diff --git a/node_modules/aws-sdk/lib/model/resource_waiter.js b/node_modules/aws-sdk/lib/model/resource_waiter.js
new file mode 100644
index 0000000000000000000000000000000000000000..7a7057d8ba9a0e24dfd75927be5541991447b3db
--- /dev/null
+++ b/node_modules/aws-sdk/lib/model/resource_waiter.js
@@ -0,0 +1,49 @@
+var util = require('../util');
+var property = util.property;
+
+function ResourceWaiter(name, waiter, options) {
+ options = options || {};
+
+ function InnerResourceWaiter() {
+ property(this, 'name', name);
+ property(this, 'api', options.api, false);
+
+ if (waiter.operation) {
+ property(this, 'operation', util.string.lowerFirst(waiter.operation));
+ }
+
+ var self = this, map = {
+ ignoreErrors: 'ignore_errors',
+ successType: 'success_type',
+ successValue: 'success_value',
+ successPath: 'success_path',
+ acceptorType: 'acceptor_type',
+ acceptorValue: 'acceptor_value',
+ acceptorPath: 'acceptor_path',
+ failureType: 'failure_type',
+ failureValue: 'failure_value',
+ failurePath: 'success_path',
+ interval: 'interval',
+ maxAttempts: 'max_attempts'
+ };
+ Object.keys(map).forEach(function(key) {
+ var value = waiter[map[key]];
+ if (value) property(self, key, value);
+ });
+ }
+
+ if (options.api) {
+ var proto = null;
+ if (waiter['extends']) {
+ proto = options.api.waiters[waiter['extends']];
+ } else if (name !== '__default__') {
+ proto = options.api.waiters['__default__'];
+ }
+
+ if (proto) InnerResourceWaiter.prototype = proto;
+ }
+
+ return new InnerResourceWaiter();
+}
+
+module.exports = ResourceWaiter;
diff --git a/node_modules/aws-sdk/lib/model/shape.js b/node_modules/aws-sdk/lib/model/shape.js
new file mode 100644
index 0000000000000000000000000000000000000000..44ac3d781f474b0e8213ba905f28a50905f04aca
--- /dev/null
+++ b/node_modules/aws-sdk/lib/model/shape.js
@@ -0,0 +1,346 @@
+var Collection = require('./collection');
+
+var util = require('../util');
+
+function property(obj, name, value) {
+ if (value !== null && value !== undefined) {
+ util.property.apply(this, arguments);
+ }
+}
+
+function memoizedProperty(obj, name) {
+ if (!obj.constructor.prototype[name]) {
+ util.memoizedProperty.apply(this, arguments);
+ }
+}
+
+function Shape(shape, options, memberName) {
+ options = options || {};
+
+ property(this, 'shape', shape.shape);
+ property(this, 'api', options.api, false);
+ property(this, 'type', shape.type);
+ property(this, 'enum', shape.enum);
+ property(this, 'min', shape.min);
+ property(this, 'max', shape.max);
+ property(this, 'pattern', shape.pattern);
+ property(this, 'location', shape.location || this.location || 'body');
+ property(this, 'name', this.name || shape.xmlName || shape.queryName ||
+ shape.locationName || memberName);
+ property(this, 'isStreaming', shape.streaming || this.isStreaming || false);
+ property(this, 'isComposite', shape.isComposite || false);
+ property(this, 'isShape', true, false);
+ property(this, 'isQueryName', shape.queryName ? true : false, false);
+ property(this, 'isLocationName', shape.locationName ? true : false, false);
+
+ if (options.documentation) {
+ property(this, 'documentation', shape.documentation);
+ property(this, 'documentationUrl', shape.documentationUrl);
+ }
+
+ if (shape.xmlAttribute) {
+ property(this, 'isXmlAttribute', shape.xmlAttribute || false);
+ }
+
+ // type conversion and parsing
+ property(this, 'defaultValue', null);
+ this.toWireFormat = function(value) {
+ if (value === null || value === undefined) return '';
+ return value;
+ };
+ this.toType = function(value) { return value; };
+}
+
+/**
+ * @api private
+ */
+Shape.normalizedTypes = {
+ character: 'string',
+ double: 'float',
+ long: 'integer',
+ short: 'integer',
+ biginteger: 'integer',
+ bigdecimal: 'float',
+ blob: 'binary'
+};
+
+/**
+ * @api private
+ */
+Shape.types = {
+ 'structure': StructureShape,
+ 'list': ListShape,
+ 'map': MapShape,
+ 'boolean': BooleanShape,
+ 'timestamp': TimestampShape,
+ 'float': FloatShape,
+ 'integer': IntegerShape,
+ 'string': StringShape,
+ 'base64': Base64Shape,
+ 'binary': BinaryShape
+};
+
+Shape.resolve = function resolve(shape, options) {
+ if (shape.shape) {
+ var refShape = options.api.shapes[shape.shape];
+ if (!refShape) {
+ throw new Error('Cannot find shape reference: ' + shape.shape);
+ }
+
+ return refShape;
+ } else {
+ return null;
+ }
+};
+
+Shape.create = function create(shape, options, memberName) {
+ if (shape.isShape) return shape;
+
+ var refShape = Shape.resolve(shape, options);
+ if (refShape) {
+ var filteredKeys = Object.keys(shape);
+ if (!options.documentation) {
+ filteredKeys = filteredKeys.filter(function(name) {
+ return !name.match(/documentation/);
+ });
+ }
+ if (filteredKeys === ['shape']) { // no inline customizations
+ return refShape;
+ }
+
+ // create an inline shape with extra members
+ var InlineShape = function() {
+ refShape.constructor.call(this, shape, options, memberName);
+ };
+ InlineShape.prototype = refShape;
+ return new InlineShape();
+ } else {
+ // set type if not set
+ if (!shape.type) {
+ if (shape.members) shape.type = 'structure';
+ else if (shape.member) shape.type = 'list';
+ else if (shape.key) shape.type = 'map';
+ else shape.type = 'string';
+ }
+
+ // normalize types
+ var origType = shape.type;
+ if (Shape.normalizedTypes[shape.type]) {
+ shape.type = Shape.normalizedTypes[shape.type];
+ }
+
+ if (Shape.types[shape.type]) {
+ return new Shape.types[shape.type](shape, options, memberName);
+ } else {
+ throw new Error('Unrecognized shape type: ' + origType);
+ }
+ }
+};
+
+function CompositeShape(shape) {
+ Shape.apply(this, arguments);
+ property(this, 'isComposite', true);
+
+ if (shape.flattened) {
+ property(this, 'flattened', shape.flattened || false);
+ }
+}
+
+function StructureShape(shape, options) {
+ var requiredMap = null, firstInit = !this.isShape;
+
+ CompositeShape.apply(this, arguments);
+
+ if (firstInit) {
+ property(this, 'defaultValue', function() { return {}; });
+ property(this, 'members', {});
+ property(this, 'memberNames', []);
+ property(this, 'required', []);
+ property(this, 'isRequired', function() { return false; });
+ }
+
+ if (shape.members) {
+ property(this, 'members', new Collection(shape.members, options, function(name, member) {
+ return Shape.create(member, options, name);
+ }));
+ memoizedProperty(this, 'memberNames', function() {
+ return shape.xmlOrder || Object.keys(shape.members);
+ });
+ }
+
+ if (shape.required) {
+ property(this, 'required', shape.required);
+ property(this, 'isRequired', function(name) {
+ if (!requiredMap) {
+ requiredMap = {};
+ for (var i = 0; i < shape.required.length; i++) {
+ requiredMap[shape.required[i]] = true;
+ }
+ }
+
+ return requiredMap[name];
+ }, false, true);
+ }
+
+ property(this, 'resultWrapper', shape.resultWrapper || null);
+
+ if (shape.payload) {
+ property(this, 'payload', shape.payload);
+ }
+
+ if (typeof shape.xmlNamespace === 'string') {
+ property(this, 'xmlNamespaceUri', shape.xmlNamespace);
+ } else if (typeof shape.xmlNamespace === 'object') {
+ property(this, 'xmlNamespacePrefix', shape.xmlNamespace.prefix);
+ property(this, 'xmlNamespaceUri', shape.xmlNamespace.uri);
+ }
+}
+
+function ListShape(shape, options) {
+ var self = this, firstInit = !this.isShape;
+ CompositeShape.apply(this, arguments);
+
+ if (firstInit) {
+ property(this, 'defaultValue', function() { return []; });
+ }
+
+ if (shape.member) {
+ memoizedProperty(this, 'member', function() {
+ return Shape.create(shape.member, options);
+ });
+ }
+
+ if (this.flattened) {
+ var oldName = this.name;
+ memoizedProperty(this, 'name', function() {
+ return self.member.name || oldName;
+ });
+ }
+}
+
+function MapShape(shape, options) {
+ var firstInit = !this.isShape;
+ CompositeShape.apply(this, arguments);
+
+ if (firstInit) {
+ property(this, 'defaultValue', function() { return {}; });
+ property(this, 'key', Shape.create({type: 'string'}, options));
+ property(this, 'value', Shape.create({type: 'string'}, options));
+ }
+
+ if (shape.key) {
+ memoizedProperty(this, 'key', function() {
+ return Shape.create(shape.key, options);
+ });
+ }
+ if (shape.value) {
+ memoizedProperty(this, 'value', function() {
+ return Shape.create(shape.value, options);
+ });
+ }
+}
+
+function TimestampShape(shape) {
+ var self = this;
+ Shape.apply(this, arguments);
+
+ if (this.location === 'header') {
+ property(this, 'timestampFormat', 'rfc822');
+ } else if (shape.timestampFormat) {
+ property(this, 'timestampFormat', shape.timestampFormat);
+ } else if (this.api) {
+ if (this.api.timestampFormat) {
+ property(this, 'timestampFormat', this.api.timestampFormat);
+ } else {
+ switch (this.api.protocol) {
+ case 'json':
+ case 'rest-json':
+ property(this, 'timestampFormat', 'unixTimestamp');
+ break;
+ case 'rest-xml':
+ case 'query':
+ case 'ec2':
+ property(this, 'timestampFormat', 'iso8601');
+ break;
+ }
+ }
+ }
+
+ this.toType = function(value) {
+ if (value === null || value === undefined) return null;
+ if (typeof value.toUTCString === 'function') return value;
+ return typeof value === 'string' || typeof value === 'number' ?
+ util.date.parseTimestamp(value) : null;
+ };
+
+ this.toWireFormat = function(value) {
+ return util.date.format(value, self.timestampFormat);
+ };
+}
+
+function StringShape() {
+ Shape.apply(this, arguments);
+
+ if (this.api) {
+ switch (this.api.protocol) {
+ case 'rest-xml':
+ case 'query':
+ case 'ec2':
+ this.toType = function(value) { return value || ''; };
+ }
+ }
+}
+
+function FloatShape() {
+ Shape.apply(this, arguments);
+
+ this.toType = function(value) {
+ if (value === null || value === undefined) return null;
+ return parseFloat(value);
+ };
+ this.toWireFormat = this.toType;
+}
+
+function IntegerShape() {
+ Shape.apply(this, arguments);
+
+ this.toType = function(value) {
+ if (value === null || value === undefined) return null;
+ return parseInt(value, 10);
+ };
+ this.toWireFormat = this.toType;
+}
+
+function BinaryShape() {
+ Shape.apply(this, arguments);
+ this.toType = util.base64.decode;
+ this.toWireFormat = util.base64.encode;
+}
+
+function Base64Shape() {
+ BinaryShape.apply(this, arguments);
+}
+
+function BooleanShape() {
+ Shape.apply(this, arguments);
+
+ this.toType = function(value) {
+ if (typeof value === 'boolean') return value;
+ if (value === null || value === undefined) return null;
+ return value === 'true';
+ };
+}
+
+/**
+ * @api private
+ */
+Shape.shapes = {
+ StructureShape: StructureShape,
+ ListShape: ListShape,
+ MapShape: MapShape,
+ StringShape: StringShape,
+ BooleanShape: BooleanShape,
+ Base64Shape: Base64Shape
+};
+
+module.exports = Shape;
diff --git a/node_modules/aws-sdk/lib/param_validator.js b/node_modules/aws-sdk/lib/param_validator.js
new file mode 100644
index 0000000000000000000000000000000000000000..7bd5a4081cc0b82fadda5f4f5178ba0522139570
--- /dev/null
+++ b/node_modules/aws-sdk/lib/param_validator.js
@@ -0,0 +1,254 @@
+var AWS = require('./core');
+
+/**
+ * @api private
+ */
+AWS.ParamValidator = AWS.util.inherit({
+ /**
+ * Create a new validator object.
+ *
+ * @param validation [Boolean|map] whether input parameters should be
+ * validated against the operation description before sending the
+ * request. Pass a map to enable any of the following specific
+ * validation features:
+ *
+ * * **min** [Boolean] — Validates that a value meets the min
+ * constraint. This is enabled by default when paramValidation is set
+ * to `true`.
+ * * **max** [Boolean] — Validates that a value meets the max
+ * constraint.
+ * * **pattern** [Boolean] — Validates that a string value matches a
+ * regular expression.
+ * * **enum** [Boolean] — Validates that a string value matches one
+ * of the allowable enum values.
+ */
+ constructor: function ParamValidator(validation) {
+ if (validation === true || validation === undefined) {
+ validation = {'min': true};
+ }
+ this.validation = validation;
+ },
+
+ validate: function validate(shape, params, context) {
+ this.errors = [];
+ this.validateMember(shape, params || {}, context || 'params');
+
+ if (this.errors.length > 1) {
+ var msg = this.errors.join('\n* ');
+ msg = 'There were ' + this.errors.length +
+ ' validation errors:\n* ' + msg;
+ throw AWS.util.error(new Error(msg),
+ {code: 'MultipleValidationErrors', errors: this.errors});
+ } else if (this.errors.length === 1) {
+ throw this.errors[0];
+ } else {
+ return true;
+ }
+ },
+
+ fail: function fail(code, message) {
+ this.errors.push(AWS.util.error(new Error(message), {code: code}));
+ },
+
+ validateStructure: function validateStructure(shape, params, context) {
+ this.validateType(params, context, ['object'], 'structure');
+
+ var paramName;
+ for (var i = 0; shape.required && i < shape.required.length; i++) {
+ paramName = shape.required[i];
+ var value = params[paramName];
+ if (value === undefined || value === null) {
+ this.fail('MissingRequiredParameter',
+ 'Missing required key \'' + paramName + '\' in ' + context);
+ }
+ }
+
+ // validate hash members
+ for (paramName in params) {
+ if (!params.hasOwnProperty(paramName)) continue;
+
+ var paramValue = params[paramName],
+ memberShape = shape.members[paramName];
+
+ if (memberShape !== undefined) {
+ var memberContext = [context, paramName].join('.');
+ this.validateMember(memberShape, paramValue, memberContext);
+ } else {
+ this.fail('UnexpectedParameter',
+ 'Unexpected key \'' + paramName + '\' found in ' + context);
+ }
+ }
+
+ return true;
+ },
+
+ validateMember: function validateMember(shape, param, context) {
+ switch (shape.type) {
+ case 'structure':
+ return this.validateStructure(shape, param, context);
+ case 'list':
+ return this.validateList(shape, param, context);
+ case 'map':
+ return this.validateMap(shape, param, context);
+ default:
+ return this.validateScalar(shape, param, context);
+ }
+ },
+
+ validateList: function validateList(shape, params, context) {
+ if (this.validateType(params, context, [Array])) {
+ this.validateRange(shape, params.length, context, 'list member count');
+ // validate array members
+ for (var i = 0; i < params.length; i++) {
+ this.validateMember(shape.member, params[i], context + '[' + i + ']');
+ }
+ }
+ },
+
+ validateMap: function validateMap(shape, params, context) {
+ if (this.validateType(params, context, ['object'], 'map')) {
+ // Build up a count of map members to validate range traits.
+ var mapCount = 0;
+ for (var param in params) {
+ if (!params.hasOwnProperty(param)) continue;
+ // Validate any map key trait constraints
+ this.validateMember(shape.key, param,
+ context + '[key=\'' + param + '\']')
+ this.validateMember(shape.value, params[param],
+ context + '[\'' + param + '\']');
+ mapCount++;
+ }
+ this.validateRange(shape, mapCount, context, 'map member count');
+ }
+ },
+
+ validateScalar: function validateScalar(shape, value, context) {
+ switch (shape.type) {
+ case null:
+ case undefined:
+ case 'string':
+ return this.validateString(shape, value, context);
+ case 'base64':
+ case 'binary':
+ return this.validatePayload(value, context);
+ case 'integer':
+ case 'float':
+ return this.validateNumber(shape, value, context);
+ case 'boolean':
+ return this.validateType(value, context, ['boolean']);
+ case 'timestamp':
+ return this.validateType(value, context, [Date,
+ /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d+)?Z$/, 'number'],
+ 'Date object, ISO-8601 string, or a UNIX timestamp');
+ default:
+ return this.fail('UnkownType', 'Unhandled type ' +
+ shape.type + ' for ' + context);
+ }
+ },
+
+ validateString: function validateString(shape, value, context) {
+ if (this.validateType(value, context, ['string'])) {
+ this.validateEnum(shape, value, context);
+ this.validateRange(shape, value.length, context, 'string length');
+ this.validatePattern(shape, value, context);
+ }
+ },
+
+ validatePattern: function validatePattern(shape, value, context) {
+ if (this.validation['pattern'] && shape['pattern'] !== undefined) {
+ if (!(new RegExp(shape['pattern'])).test(value)) {
+ this.fail('PatternMatchError', 'Provided value "' + value + '" '
+ + 'does not match regex pattern /' + shape['pattern'] + '/ for '
+ + context);
+ }
+ }
+ },
+
+ validateRange: function validateRange(shape, value, context, descriptor) {
+ if (this.validation['min']) {
+ if (shape['min'] !== undefined && value < shape['min']) {
+ this.fail('MinRangeError', 'Expected ' + descriptor + ' >= '
+ + shape['min'] + ', but found ' + value + ' for ' + context);
+ }
+ }
+ if (this.validation['max']) {
+ if (shape['max'] !== undefined && value > shape['max']) {
+ this.fail('MaxRangeError', 'Expected ' + descriptor + ' <= '
+ + shape['max'] + ', but found ' + value + ' for ' + context);
+ }
+ }
+ },
+
+ validateEnum: function validateRange(shape, value, context) {
+ if (this.validation['enum'] && shape['enum'] !== undefined) {
+ // Fail if the string value is not present in the enum list
+ if (shape['enum'].indexOf(value) === -1) {
+ this.fail('EnumError', 'Found string value of ' + value + ', but '
+ + 'expected ' + shape['enum'].join('|') + ' for ' + context);
+ }
+ }
+ },
+
+ validateType: function validateType(value, context, acceptedTypes, type) {
+ // We will not log an error for null or undefined, but we will return
+ // false so that callers know that the expected type was not strictly met.
+ if (value === null || value === undefined) return false;
+
+ var foundInvalidType = false;
+ for (var i = 0; i < acceptedTypes.length; i++) {
+ if (typeof acceptedTypes[i] === 'string') {
+ if (typeof value === acceptedTypes[i]) return true;
+ } else if (acceptedTypes[i] instanceof RegExp) {
+ if ((value || '').toString().match(acceptedTypes[i])) return true;
+ } else {
+ if (value instanceof acceptedTypes[i]) return true;
+ if (AWS.util.isType(value, acceptedTypes[i])) return true;
+ if (!type && !foundInvalidType) acceptedTypes = acceptedTypes.slice();
+ acceptedTypes[i] = AWS.util.typeName(acceptedTypes[i]);
+ }
+ foundInvalidType = true;
+ }
+
+ var acceptedType = type;
+ if (!acceptedType) {
+ acceptedType = acceptedTypes.join(', ').replace(/,([^,]+)$/, ', or$1');
+ }
+
+ var vowel = acceptedType.match(/^[aeiou]/i) ? 'n' : '';
+ this.fail('InvalidParameterType', 'Expected ' + context + ' to be a' +
+ vowel + ' ' + acceptedType);
+ return false;
+ },
+
+ validateNumber: function validateNumber(shape, value, context) {
+ if (value === null || value === undefined) return;
+ if (typeof value === 'string') {
+ var castedValue = parseFloat(value);
+ if (castedValue.toString() === value) value = castedValue;
+ }
+ if (this.validateType(value, context, ['number'])) {
+ this.validateRange(shape, value, context, 'numeric value');
+ }
+ },
+
+ validatePayload: function validatePayload(value, context) {
+ if (value === null || value === undefined) return;
+ if (typeof value === 'string') return;
+ if (value && typeof value.byteLength === 'number') return; // typed arrays
+ if (AWS.util.isNode()) { // special check for buffer/stream in Node.js
+ var Stream = AWS.util.nodeRequire('stream').Stream;
+ if (AWS.util.Buffer.isBuffer(value) || value instanceof Stream) return;
+ }
+
+ var types = ['Buffer', 'Stream', 'File', 'Blob', 'ArrayBuffer', 'DataView'];
+ if (value) {
+ for (var i = 0; i < types.length; i++) {
+ if (AWS.util.isType(value, types[i])) return;
+ if (AWS.util.typeName(value.constructor) === types[i]) return;
+ }
+ }
+
+ this.fail('InvalidParameterType', 'Expected ' + context + ' to be a ' +
+ 'string, Buffer, Stream, Blob, or typed array object');
+ }
+});
diff --git a/node_modules/aws-sdk/lib/protocol/json.js b/node_modules/aws-sdk/lib/protocol/json.js
new file mode 100644
index 0000000000000000000000000000000000000000..b9c9d8c713982d80abd39640edf7cc15c651f54f
--- /dev/null
+++ b/node_modules/aws-sdk/lib/protocol/json.js
@@ -0,0 +1,62 @@
+var util = require('../util');
+var JsonBuilder = require('../json/builder');
+var JsonParser = require('../json/parser');
+
+function buildRequest(req) {
+ var httpRequest = req.httpRequest;
+ var api = req.service.api;
+ var target = api.targetPrefix + '.' + api.operations[req.operation].name;
+ var version = api.jsonVersion || '1.0';
+ var input = api.operations[req.operation].input;
+ var builder = new JsonBuilder();
+
+ if (version === 1) version = '1.0';
+ httpRequest.body = builder.build(req.params || {}, input);
+ httpRequest.headers['Content-Type'] = 'application/x-amz-json-' + version;
+ httpRequest.headers['X-Amz-Target'] = target;
+}
+
+function extractError(resp) {
+ var error = {};
+ var httpResponse = resp.httpResponse;
+
+ error.code = httpResponse.headers['x-amzn-errortype'] || 'UnknownError';
+ if (typeof error.code === 'string') {
+ error.code = error.code.split(':')[0];
+ }
+
+ if (httpResponse.body.length > 0) {
+ var e = JSON.parse(httpResponse.body.toString());
+ if (e.__type || e.code) {
+ error.code = (e.__type || e.code).split('#').pop();
+ }
+ if (error.code === 'RequestEntityTooLarge') {
+ error.message = 'Request body must be less than 1 MB';
+ } else {
+ error.message = (e.message || e.Message || null);
+ }
+ } else {
+ error.statusCode = httpResponse.statusCode;
+ error.message = httpResponse.statusCode.toString();
+ }
+
+ resp.error = util.error(new Error(), error);
+}
+
+function extractData(resp) {
+ var body = resp.httpResponse.body.toString() || '{}';
+ if (resp.request.service.config.convertResponseTypes === false) {
+ resp.data = JSON.parse(body);
+ } else {
+ var operation = resp.request.service.api.operations[resp.request.operation];
+ var shape = operation.output || {};
+ var parser = new JsonParser();
+ resp.data = parser.parse(body, shape);
+ }
+}
+
+module.exports = {
+ buildRequest: buildRequest,
+ extractError: extractError,
+ extractData: extractData
+};
diff --git a/node_modules/aws-sdk/lib/protocol/query.js b/node_modules/aws-sdk/lib/protocol/query.js
new file mode 100644
index 0000000000000000000000000000000000000000..2e1adcbdb6751f666c8c347c3f71472e57e6fc5f
--- /dev/null
+++ b/node_modules/aws-sdk/lib/protocol/query.js
@@ -0,0 +1,97 @@
+var AWS = require('../core');
+var util = require('../util');
+var QueryParamSerializer = require('../query/query_param_serializer');
+var Shape = require('../model/shape');
+
+function buildRequest(req) {
+ var operation = req.service.api.operations[req.operation];
+ var httpRequest = req.httpRequest;
+ httpRequest.headers['Content-Type'] =
+ 'application/x-www-form-urlencoded; charset=utf-8';
+ httpRequest.params = {
+ Version: req.service.api.apiVersion,
+ Action: operation.name
+ };
+
+ // convert the request parameters into a list of query params,
+ // e.g. Deeply.NestedParam.0.Name=value
+ var builder = new QueryParamSerializer();
+ builder.serialize(req.params, operation.input, function(name, value) {
+ httpRequest.params[name] = value;
+ });
+ httpRequest.body = util.queryParamsToString(httpRequest.params);
+}
+
+function extractError(resp) {
+ var data, body = resp.httpResponse.body.toString();
+ if (body.match('= 0 ? '&' : '?');
+ var parts = [];
+ util.arrayEach(Object.keys(queryString).sort(), function(key) {
+ if (!Array.isArray(queryString[key])) {
+ queryString[key] = [queryString[key]];
+ }
+ for (var i = 0; i < queryString[key].length; i++) {
+ parts.push(util.uriEscape(String(key)) + '=' + queryString[key][i]);
+ }
+ });
+ uri += parts.join('&');
+ }
+
+ req.httpRequest.path = uri;
+}
+
+function populateHeaders(req) {
+ var operation = req.service.api.operations[req.operation];
+ util.each(operation.input.members, function (name, member) {
+ var value = req.params[name];
+ if (value === null || value === undefined) return;
+
+ if (member.location === 'headers' && member.type === 'map') {
+ util.each(value, function(key, memberValue) {
+ req.httpRequest.headers[member.name + key] = memberValue;
+ });
+ } else if (member.location === 'header') {
+ value = member.toWireFormat(value).toString();
+ req.httpRequest.headers[member.name] = value;
+ }
+ });
+}
+
+function buildRequest(req) {
+ populateMethod(req);
+ populateURI(req);
+ populateHeaders(req);
+}
+
+function extractError() {
+}
+
+function extractData(resp) {
+ var req = resp.request;
+ var data = {};
+ var r = resp.httpResponse;
+ var operation = req.service.api.operations[req.operation];
+ var output = operation.output;
+
+ // normalize headers names to lower-cased keys for matching
+ var headers = {};
+ util.each(r.headers, function (k, v) {
+ headers[k.toLowerCase()] = v;
+ });
+
+ util.each(output.members, function(name, member) {
+ var header = (member.name || name).toLowerCase();
+ if (member.location === 'headers' && member.type === 'map') {
+ data[name] = {};
+ var location = member.isLocationName ? member.name : '';
+ var pattern = new RegExp('^' + location + '(.+)', 'i');
+ util.each(r.headers, function (k, v) {
+ var result = k.match(pattern);
+ if (result !== null) {
+ data[name][result[1]] = v;
+ }
+ });
+ } else if (member.location === 'header') {
+ if (headers[header] !== undefined) {
+ data[name] = headers[header];
+ }
+ } else if (member.location === 'statusCode') {
+ data[name] = parseInt(r.statusCode, 10);
+ }
+ });
+
+ resp.data = data;
+}
+
+module.exports = {
+ buildRequest: buildRequest,
+ extractError: extractError,
+ extractData: extractData
+};
diff --git a/node_modules/aws-sdk/lib/protocol/rest_json.js b/node_modules/aws-sdk/lib/protocol/rest_json.js
new file mode 100644
index 0000000000000000000000000000000000000000..992bbb564cdf3637033506a54edfcc18af93e6b3
--- /dev/null
+++ b/node_modules/aws-sdk/lib/protocol/rest_json.js
@@ -0,0 +1,67 @@
+var util = require('../util');
+var Rest = require('./rest');
+var Json = require('./json');
+var JsonBuilder = require('../json/builder');
+var JsonParser = require('../json/parser');
+
+function populateBody(req) {
+ var builder = new JsonBuilder();
+ var input = req.service.api.operations[req.operation].input;
+
+ if (input.payload) {
+ var params = {};
+ var payloadShape = input.members[input.payload];
+ params = req.params[input.payload];
+ if (params === undefined) return;
+
+ if (payloadShape.type === 'structure') {
+ req.httpRequest.body = builder.build(params, payloadShape);
+ } else { // non-JSON payload
+ req.httpRequest.body = params;
+ }
+ } else {
+ req.httpRequest.body = builder.build(req.params, input);
+ }
+}
+
+function buildRequest(req) {
+ Rest.buildRequest(req);
+
+ // never send body payload on GET/HEAD/DELETE
+ if (['GET', 'HEAD', 'DELETE'].indexOf(req.httpRequest.method) < 0) {
+ populateBody(req);
+ }
+}
+
+function extractError(resp) {
+ Json.extractError(resp);
+}
+
+function extractData(resp) {
+ Rest.extractData(resp);
+
+ var req = resp.request;
+ var rules = req.service.api.operations[req.operation].output || {};
+ if (rules.payload) {
+ var payloadMember = rules.members[rules.payload];
+ var body = resp.httpResponse.body;
+ if (payloadMember.isStreaming) {
+ resp.data[rules.payload] = body;
+ } else if (payloadMember.type === 'structure' || payloadMember.type === 'list') {
+ var parser = new JsonParser();
+ resp.data[rules.payload] = parser.parse(body, payloadMember);
+ } else {
+ resp.data[rules.payload] = body.toString();
+ }
+ } else {
+ var data = resp.data;
+ Json.extractData(resp);
+ resp.data = util.merge(data, resp.data);
+ }
+}
+
+module.exports = {
+ buildRequest: buildRequest,
+ extractError: extractError,
+ extractData: extractData
+};
diff --git a/node_modules/aws-sdk/lib/protocol/rest_xml.js b/node_modules/aws-sdk/lib/protocol/rest_xml.js
new file mode 100644
index 0000000000000000000000000000000000000000..ebfd1b653603c8fe6706a8caff5568952d3a8409
--- /dev/null
+++ b/node_modules/aws-sdk/lib/protocol/rest_xml.js
@@ -0,0 +1,87 @@
+var AWS = require('../core');
+var util = require('../util');
+var Rest = require('./rest');
+
+function populateBody(req) {
+ var input = req.service.api.operations[req.operation].input;
+ var builder = new AWS.XML.Builder();
+ var params = req.params;
+
+ var payload = input.payload;
+ if (payload) {
+ var payloadMember = input.members[payload];
+ params = params[payload];
+ if (params === undefined) return;
+
+ if (payloadMember.type === 'structure') {
+ var rootElement = payloadMember.name;
+ req.httpRequest.body = builder.toXML(params, payloadMember, rootElement, true);
+ } else { // non-xml payload
+ req.httpRequest.body = params;
+ }
+ } else {
+ req.httpRequest.body = builder.toXML(params, input, input.name ||
+ input.shape || util.string.upperFirst(req.operation) + 'Request');
+ }
+}
+
+function buildRequest(req) {
+ Rest.buildRequest(req);
+
+ // never send body payload on GET/HEAD
+ if (['GET', 'HEAD'].indexOf(req.httpRequest.method) < 0) {
+ populateBody(req);
+ }
+}
+
+function extractError(resp) {
+ Rest.extractError(resp);
+
+ var data = new AWS.XML.Parser().parse(resp.httpResponse.body.toString());
+ if (data.Errors) data = data.Errors;
+ if (data.Error) data = data.Error;
+ if (data.Code) {
+ resp.error = util.error(new Error(), {
+ code: data.Code,
+ message: data.Message
+ });
+ } else {
+ resp.error = util.error(new Error(), {
+ code: resp.httpResponse.statusCode,
+ message: null
+ });
+ }
+}
+
+function extractData(resp) {
+ Rest.extractData(resp);
+
+ var parser;
+ var req = resp.request;
+ var body = resp.httpResponse.body;
+ var operation = req.service.api.operations[req.operation];
+ var output = operation.output;
+
+ var payload = output.payload;
+ if (payload) {
+ var payloadMember = output.members[payload];
+ if (payloadMember.isStreaming) {
+ resp.data[payload] = body;
+ } else if (payloadMember.type === 'structure') {
+ parser = new AWS.XML.Parser();
+ resp.data[payload] = parser.parse(body.toString(), payloadMember);
+ } else {
+ resp.data[payload] = body.toString();
+ }
+ } else if (body.length > 0) {
+ parser = new AWS.XML.Parser();
+ var data = parser.parse(body.toString(), output);
+ util.update(resp.data, data);
+ }
+}
+
+module.exports = {
+ buildRequest: buildRequest,
+ extractError: extractError,
+ extractData: extractData
+};
diff --git a/node_modules/aws-sdk/lib/query/query_param_serializer.js b/node_modules/aws-sdk/lib/query/query_param_serializer.js
new file mode 100644
index 0000000000000000000000000000000000000000..169acf29a7860a1dfd7d185d0c45e655a638fd2b
--- /dev/null
+++ b/node_modules/aws-sdk/lib/query/query_param_serializer.js
@@ -0,0 +1,81 @@
+var util = require('../util');
+
+function QueryParamSerializer() {
+}
+
+QueryParamSerializer.prototype.serialize = function(params, shape, fn) {
+ serializeStructure('', params, shape, fn);
+};
+
+function ucfirst(shape) {
+ if (shape.isQueryName || shape.api.protocol !== 'ec2') {
+ return shape.name;
+ } else {
+ return shape.name[0].toUpperCase() + shape.name.substr(1);
+ }
+}
+
+function serializeStructure(prefix, struct, rules, fn) {
+ util.each(rules.members, function(name, member) {
+ var value = struct[name];
+ if (value === null || value === undefined) return;
+
+ var memberName = ucfirst(member);
+ memberName = prefix ? prefix + '.' + memberName : memberName;
+ serializeMember(memberName, value, member, fn);
+ });
+}
+
+function serializeMap(name, map, rules, fn) {
+ var i = 1;
+ util.each(map, function (key, value) {
+ var prefix = rules.flattened ? '.' : '.entry.';
+ var position = prefix + (i++) + '.';
+ var keyName = position + (rules.key.name || 'key');
+ var valueName = position + (rules.value.name || 'value');
+ serializeMember(name + keyName, key, rules.key, fn);
+ serializeMember(name + valueName, value, rules.value, fn);
+ });
+}
+
+function serializeList(name, list, rules, fn) {
+ var memberRules = rules.member || {};
+
+ if (list.length === 0) {
+ fn.call(this, name, null);
+ return;
+ }
+
+ util.arrayEach(list, function (v, n) {
+ var suffix = '.' + (n + 1);
+ if (rules.api.protocol === 'ec2') {
+ // Do nothing for EC2
+ suffix = suffix + ''; // make linter happy
+ } else if (rules.flattened) {
+ if (memberRules.name) {
+ var parts = name.split('.');
+ parts.pop();
+ parts.push(ucfirst(memberRules));
+ name = parts.join('.');
+ }
+ } else {
+ suffix = '.member' + suffix;
+ }
+ serializeMember(name + suffix, v, memberRules, fn);
+ });
+}
+
+function serializeMember(name, value, rules, fn) {
+ if (value === null || value === undefined) return;
+ if (rules.type === 'structure') {
+ serializeStructure(name, value, rules, fn);
+ } else if (rules.type === 'list') {
+ serializeList(name, value, rules, fn);
+ } else if (rules.type === 'map') {
+ serializeMap(name, value, rules, fn);
+ } else {
+ fn(name, rules.toWireFormat(value).toString());
+ }
+}
+
+module.exports = QueryParamSerializer;
diff --git a/node_modules/aws-sdk/lib/region_config.js b/node_modules/aws-sdk/lib/region_config.js
new file mode 100644
index 0000000000000000000000000000000000000000..80aac059e319fd84974d9a0fc023cdcc50ffa060
--- /dev/null
+++ b/node_modules/aws-sdk/lib/region_config.js
@@ -0,0 +1,63 @@
+var util = require('./util');
+var regionConfig = require('./region_config.json');
+
+function generateRegionPrefix(region) {
+ if (!region) return null;
+
+ var parts = region.split('-');
+ if (parts.length < 3) return null;
+ return parts.slice(0, parts.length - 2).join('-') + '-*';
+}
+
+function derivedKeys(service) {
+ var region = service.config.region;
+ var regionPrefix = generateRegionPrefix(region);
+ var endpointPrefix = service.api.endpointPrefix;
+
+ return [
+ [region, endpointPrefix],
+ [regionPrefix, endpointPrefix],
+ [region, '*'],
+ [regionPrefix, '*'],
+ ['*', endpointPrefix],
+ ['*', '*']
+ ].map(function(item) {
+ return item[0] && item[1] ? item.join('/') : null;
+ });
+}
+
+function applyConfig(service, config) {
+ util.each(config, function(key, value) {
+ if (key === 'globalEndpoint') return;
+ if (service.config[key] === undefined || service.config[key] === null) {
+ service.config[key] = value;
+ }
+ });
+}
+
+function configureEndpoint(service) {
+ var keys = derivedKeys(service);
+ for (var i = 0; i < keys.length; i++) {
+ var key = keys[i];
+ if (!key) continue;
+
+ if (regionConfig.rules.hasOwnProperty(key)) {
+ var config = regionConfig.rules[key];
+ if (typeof config === 'string') {
+ config = regionConfig.patterns[config];
+ }
+
+ // set global endpoint
+ service.isGlobalEndpoint = !!config.globalEndpoint;
+
+ // signature version
+ if (!config.signatureVersion) config.signatureVersion = 'v4';
+
+ // merge config
+ applyConfig(service, config);
+ return;
+ }
+ }
+}
+
+module.exports = configureEndpoint;
diff --git a/node_modules/aws-sdk/lib/region_config.json b/node_modules/aws-sdk/lib/region_config.json
new file mode 100644
index 0000000000000000000000000000000000000000..38a614a1cd9d6cd4de57697a93fde6f345bc7dbc
--- /dev/null
+++ b/node_modules/aws-sdk/lib/region_config.json
@@ -0,0 +1,62 @@
+{
+ "rules": {
+ "*/*": {
+ "endpoint": "{service}.{region}.amazonaws.com"
+ },
+ "cn-*/*": {
+ "endpoint": "{service}.{region}.amazonaws.com.cn"
+ },
+ "*/cloudfront": "globalSSL",
+ "*/iam": "globalSSL",
+ "*/sts": "globalSSL",
+ "*/importexport": {
+ "endpoint": "{service}.amazonaws.com",
+ "signatureVersion": "v2",
+ "globalEndpoint": true
+ },
+ "*/route53": {
+ "endpoint": "https://{service}.amazonaws.com",
+ "signatureVersion": "v3https",
+ "globalEndpoint": true
+ },
+ "*/waf": "globalSSL",
+ "us-gov-*/iam": "globalGovCloud",
+ "us-gov-*/sts": {
+ "endpoint": "{service}.{region}.amazonaws.com"
+ },
+ "us-gov-west-1/s3": "s3dash",
+ "us-west-1/s3": "s3dash",
+ "us-west-2/s3": "s3dash",
+ "eu-west-1/s3": "s3dash",
+ "ap-southeast-1/s3": "s3dash",
+ "ap-southeast-2/s3": "s3dash",
+ "ap-northeast-1/s3": "s3dash",
+ "sa-east-1/s3": "s3dash",
+ "us-east-1/s3": {
+ "endpoint": "{service}.amazonaws.com",
+ "signatureVersion": "s3"
+ },
+ "us-east-1/sdb": {
+ "endpoint": "{service}.amazonaws.com",
+ "signatureVersion": "v2"
+ },
+ "*/sdb": {
+ "endpoint": "{service}.{region}.amazonaws.com",
+ "signatureVersion": "v2"
+ }
+ },
+
+ "patterns": {
+ "globalSSL": {
+ "endpoint": "https://{service}.amazonaws.com",
+ "globalEndpoint": true
+ },
+ "globalGovCloud": {
+ "endpoint": "{service}.us-gov.amazonaws.com"
+ },
+ "s3dash": {
+ "endpoint": "{service}-{region}.amazonaws.com",
+ "signatureVersion": "s3"
+ }
+ }
+}
diff --git a/node_modules/aws-sdk/lib/request.js b/node_modules/aws-sdk/lib/request.js
new file mode 100644
index 0000000000000000000000000000000000000000..5442623a496caecda031b3cef4feb143701e21bf
--- /dev/null
+++ b/node_modules/aws-sdk/lib/request.js
@@ -0,0 +1,675 @@
+var AWS = require('./core');
+var AcceptorStateMachine = require('./state_machine');
+var inherit = AWS.util.inherit;
+var domain = AWS.util.nodeRequire('domain');
+
+/**
+ * @api private
+ */
+var hardErrorStates = {success: 1, error: 1, complete: 1};
+
+function isTerminalState(machine) {
+ return hardErrorStates.hasOwnProperty(machine._asm.currentState);
+}
+
+var fsm = new AcceptorStateMachine();
+fsm.setupStates = function() {
+ var transition = function(_, done) {
+ var self = this;
+ self._haltHandlersOnError = false;
+
+ self.emit(self._asm.currentState, function(err) {
+ if (err) {
+ if (isTerminalState(self)) {
+ if (domain && self.domain instanceof domain.Domain) {
+ err.domainEmitter = self;
+ err.domain = self.domain;
+ err.domainThrown = false;
+ self.domain.emit('error', err);
+ } else {
+ throw err;
+ }
+ } else {
+ self.response.error = err;
+ done(err);
+ }
+ } else {
+ done(self.response.error);
+ }
+ });
+
+ };
+
+ this.addState('validate', 'build', 'error', transition);
+ this.addState('build', 'afterBuild', 'restart', transition);
+ this.addState('afterBuild', 'sign', 'restart', transition);
+ this.addState('sign', 'send', 'retry', transition);
+ this.addState('retry', 'afterRetry', 'afterRetry', transition);
+ this.addState('afterRetry', 'sign', 'error', transition);
+ this.addState('send', 'validateResponse', 'retry', transition);
+ this.addState('validateResponse', 'extractData', 'extractError', transition);
+ this.addState('extractError', 'extractData', 'retry', transition);
+ this.addState('extractData', 'success', 'retry', transition);
+ this.addState('restart', 'build', 'error', transition);
+ this.addState('success', 'complete', 'complete', transition);
+ this.addState('error', 'complete', 'complete', transition);
+ this.addState('complete', null, null, transition);
+};
+fsm.setupStates();
+
+/**
+ * ## Asynchronous Requests
+ *
+ * All requests made through the SDK are asynchronous and use a
+ * callback interface. Each service method that kicks off a request
+ * returns an `AWS.Request` object that you can use to register
+ * callbacks.
+ *
+ * For example, the following service method returns the request
+ * object as "request", which can be used to register callbacks:
+ *
+ * ```javascript
+ * // request is an AWS.Request object
+ * var request = ec2.describeInstances();
+ *
+ * // register callbacks on request to retrieve response data
+ * request.on('success', function(response) {
+ * console.log(response.data);
+ * });
+ * ```
+ *
+ * When a request is ready to be sent, the {send} method should
+ * be called:
+ *
+ * ```javascript
+ * request.send();
+ * ```
+ *
+ * ## Removing Default Listeners for Events
+ *
+ * Request objects are built with default listeners for the various events,
+ * depending on the service type. In some cases, you may want to remove
+ * some built-in listeners to customize behaviour. Doing this requires
+ * access to the built-in listener functions, which are exposed through
+ * the {AWS.EventListeners.Core} namespace. For instance, you may
+ * want to customize the HTTP handler used when sending a request. In this
+ * case, you can remove the built-in listener associated with the 'send'
+ * event, the {AWS.EventListeners.Core.SEND} listener and add your own.
+ *
+ * ## Multiple Callbacks and Chaining
+ *
+ * You can register multiple callbacks on any request object. The
+ * callbacks can be registered for different events, or all for the
+ * same event. In addition, you can chain callback registration, for
+ * example:
+ *
+ * ```javascript
+ * request.
+ * on('success', function(response) {
+ * console.log("Success!");
+ * }).
+ * on('error', function(response) {
+ * console.log("Error!");
+ * }).
+ * on('complete', function(response) {
+ * console.log("Always!");
+ * }).
+ * send();
+ * ```
+ *
+ * The above example will print either "Success! Always!", or "Error! Always!",
+ * depending on whether the request succeeded or not.
+ *
+ * @!attribute httpRequest
+ * @readonly
+ * @!group HTTP Properties
+ * @return [AWS.HttpRequest] the raw HTTP request object
+ * containing request headers and body information
+ * sent by the service.
+ *
+ * @!attribute startTime
+ * @readonly
+ * @!group Operation Properties
+ * @return [Date] the time that the request started
+ *
+ * @!group Request Building Events
+ *
+ * @!event validate(request)
+ * Triggered when a request is being validated. Listeners
+ * should throw an error if the request should not be sent.
+ * @param request [Request] the request object being sent
+ * @see AWS.EventListeners.Core.VALIDATE_CREDENTIALS
+ * @see AWS.EventListeners.Core.VALIDATE_REGION
+ * @example Ensuring that a certain parameter is set before sending a request
+ * var req = s3.putObject(params);
+ * req.on('validate', function() {
+ * if (!req.params.Body.match(/^Hello\s/)) {
+ * throw new Error('Body must start with "Hello "');
+ * }
+ * });
+ * req.send(function(err, data) { ... });
+ *
+ * @!event build(request)
+ * Triggered when the request payload is being built. Listeners
+ * should fill the necessary information to send the request
+ * over HTTP.
+ * @param (see AWS.Request~validate)
+ * @example Add a custom HTTP header to a request
+ * var req = s3.putObject(params);
+ * req.on('build', function() {
+ * req.httpRequest.headers['Custom-Header'] = 'value';
+ * });
+ * req.send(function(err, data) { ... });
+ *
+ * @!event sign(request)
+ * Triggered when the request is being signed. Listeners should
+ * add the correct authentication headers and/or adjust the body,
+ * depending on the authentication mechanism being used.
+ * @param (see AWS.Request~validate)
+ *
+ * @!group Request Sending Events
+ *
+ * @!event send(response)
+ * Triggered when the request is ready to be sent. Listeners
+ * should call the underlying transport layer to initiate
+ * the sending of the request.
+ * @param response [Response] the response object
+ * @context [Request] the request object that was sent
+ * @see AWS.EventListeners.Core.SEND
+ *
+ * @!event retry(response)
+ * Triggered when a request failed and might need to be retried or redirected.
+ * If the response is retryable, the listener should set the
+ * `response.error.retryable` property to `true`, and optionally set
+ * `response.error.retryCount` to the millisecond delay for the next attempt.
+ * In the case of a redirect, `response.error.redirect` should be set to
+ * `true` with `retryCount` set to an optional delay on the next request.
+ *
+ * If a listener decides that a request should not be retried,
+ * it should set both `retryable` and `redirect` to false.
+ *
+ * Note that a retryable error will be retried at most
+ * {AWS.Config.maxRetries} times (based on the service object's config).
+ * Similarly, a request that is redirected will only redirect at most
+ * {AWS.Config.maxRedirects} times.
+ *
+ * @param (see AWS.Request~send)
+ * @context (see AWS.Request~send)
+ * @example Adding a custom retry for a 404 response
+ * request.on('retry', function(response) {
+ * // this resource is not yet available, wait 10 seconds to get it again
+ * if (response.httpResponse.statusCode === 404 && response.error) {
+ * response.error.retryable = true; // retry this error
+ * response.error.retryCount = 10000; // wait 10 seconds
+ * }
+ * });
+ *
+ * @!group Data Parsing Events
+ *
+ * @!event extractError(response)
+ * Triggered on all non-2xx requests so that listeners can extract
+ * error details from the response body. Listeners to this event
+ * should set the `response.error` property.
+ * @param (see AWS.Request~send)
+ * @context (see AWS.Request~send)
+ *
+ * @!event extractData(response)
+ * Triggered in successful requests to allow listeners to
+ * de-serialize the response body into `response.data`.
+ * @param (see AWS.Request~send)
+ * @context (see AWS.Request~send)
+ *
+ * @!group Completion Events
+ *
+ * @!event success(response)
+ * Triggered when the request completed successfully.
+ * `response.data` will contain the response data and
+ * `response.error` will be null.
+ * @param (see AWS.Request~send)
+ * @context (see AWS.Request~send)
+ *
+ * @!event error(error, response)
+ * Triggered when an error occurs at any point during the
+ * request. `response.error` will contain details about the error
+ * that occurred. `response.data` will be null.
+ * @param error [Error] the error object containing details about
+ * the error that occurred.
+ * @param (see AWS.Request~send)
+ * @context (see AWS.Request~send)
+ *
+ * @!event complete(response)
+ * Triggered whenever a request cycle completes. `response.error`
+ * should be checked, since the request may have failed.
+ * @param (see AWS.Request~send)
+ * @context (see AWS.Request~send)
+ *
+ * @!group HTTP Events
+ *
+ * @!event httpHeaders(statusCode, headers, response)
+ * Triggered when headers are sent by the remote server
+ * @param statusCode [Integer] the HTTP response code
+ * @param headers [map] the response headers
+ * @param (see AWS.Request~send)
+ * @context (see AWS.Request~send)
+ *
+ * @!event httpData(chunk, response)
+ * Triggered when data is sent by the remote server
+ * @param chunk [Buffer] the buffer data containing the next data chunk
+ * from the server
+ * @param (see AWS.Request~send)
+ * @context (see AWS.Request~send)
+ * @see AWS.EventListeners.Core.HTTP_DATA
+ *
+ * @!event httpUploadProgress(progress, response)
+ * Triggered when the HTTP request has uploaded more data
+ * @param progress [map] An object containing the `loaded` and `total` bytes
+ * of the request.
+ * @param (see AWS.Request~send)
+ * @context (see AWS.Request~send)
+ * @note This event will not be emitted in Node.js 0.8.x.
+ *
+ * @!event httpDownloadProgress(progress, response)
+ * Triggered when the HTTP request has downloaded more data
+ * @param progress [map] An object containing the `loaded` and `total` bytes
+ * of the request.
+ * @param (see AWS.Request~send)
+ * @context (see AWS.Request~send)
+ * @note This event will not be emitted in Node.js 0.8.x.
+ *
+ * @!event httpError(error, response)
+ * Triggered when the HTTP request failed
+ * @param error [Error] the error object that was thrown
+ * @param (see AWS.Request~send)
+ * @context (see AWS.Request~send)
+ *
+ * @!event httpDone(response)
+ * Triggered when the server is finished sending data
+ * @param (see AWS.Request~send)
+ * @context (see AWS.Request~send)
+ *
+ * @see AWS.Response
+ */
+AWS.Request = inherit({
+
+ /**
+ * Creates a request for an operation on a given service with
+ * a set of input parameters.
+ *
+ * @param service [AWS.Service] the service to perform the operation on
+ * @param operation [String] the operation to perform on the service
+ * @param params [Object] parameters to send to the operation.
+ * See the operation's documentation for the format of the
+ * parameters.
+ */
+ constructor: function Request(service, operation, params) {
+ var endpoint = service.endpoint;
+ var region = service.config.region;
+ var customUserAgent = service.config.customUserAgent;
+
+ // global endpoints sign as us-east-1
+ if (service.isGlobalEndpoint) region = 'us-east-1';
+
+ this.domain = domain && domain.active;
+ this.service = service;
+ this.operation = operation;
+ this.params = params || {};
+ this.httpRequest = new AWS.HttpRequest(endpoint, region, customUserAgent);
+ this.startTime = AWS.util.date.getDate();
+
+ this.response = new AWS.Response(this);
+ this._asm = new AcceptorStateMachine(fsm.states, 'validate');
+ this._haltHandlersOnError = false;
+
+ AWS.SequentialExecutor.call(this);
+ this.emit = this.emitEvent;
+ },
+
+ /**
+ * @!group Sending a Request
+ */
+
+ /**
+ * @overload send(callback = null)
+ * Sends the request object.
+ *
+ * @callback callback function(err, data)
+ * If a callback is supplied, it is called when a response is returned
+ * from the service.
+ * @context [AWS.Request] the request object being sent.
+ * @param err [Error] the error object returned from the request.
+ * Set to `null` if the request is successful.
+ * @param data [Object] the de-serialized data returned from
+ * the request. Set to `null` if a request error occurs.
+ * @example Sending a request with a callback
+ * request = s3.putObject({Bucket: 'bucket', Key: 'key'});
+ * request.send(function(err, data) { console.log(err, data); });
+ * @example Sending a request with no callback (using event handlers)
+ * request = s3.putObject({Bucket: 'bucket', Key: 'key'});
+ * request.on('complete', function(response) { ... }); // register a callback
+ * request.send();
+ */
+ send: function send(callback) {
+ if (callback) {
+ this.on('complete', function (resp) {
+ callback.call(resp, resp.error, resp.data);
+ });
+ }
+ this.runTo();
+
+ return this.response;
+ },
+
+ /**
+ * @api private
+ */
+ build: function build(callback) {
+ return this.runTo('send', callback);
+ },
+
+ /**
+ * @api private
+ */
+ runTo: function runTo(state, done) {
+ this._asm.runTo(state, done, this);
+ return this;
+ },
+
+ /**
+ * Aborts a request, emitting the error and complete events.
+ *
+ * @!macro nobrowser
+ * @example Aborting a request after sending
+ * var params = {
+ * Bucket: 'bucket', Key: 'key',
+ * Body: new Buffer(1024 * 1024 * 5) // 5MB payload
+ * };
+ * var request = s3.putObject(params);
+ * request.send(function (err, data) {
+ * if (err) console.log("Error:", err.code, err.message);
+ * else console.log(data);
+ * });
+ *
+ * // abort request in 1 second
+ * setTimeout(request.abort.bind(request), 1000);
+ *
+ * // prints "Error: RequestAbortedError Request aborted by user"
+ * @return [AWS.Request] the same request object, for chaining.
+ * @since v1.4.0
+ */
+ abort: function abort() {
+ this.removeAllListeners('validateResponse');
+ this.removeAllListeners('extractError');
+ this.on('validateResponse', function addAbortedError(resp) {
+ resp.error = AWS.util.error(new Error('Request aborted by user'), {
+ code: 'RequestAbortedError', retryable: false
+ });
+ });
+
+ if (this.httpRequest.stream) { // abort HTTP stream
+ this.httpRequest.stream.abort();
+ if (this.httpRequest._abortCallback) {
+ this.httpRequest._abortCallback();
+ } else {
+ this.removeAllListeners('send'); // haven't sent yet, so let's not
+ }
+ }
+
+ return this;
+ },
+
+ /**
+ * Iterates over each page of results given a pageable request, calling
+ * the provided callback with each page of data. After all pages have been
+ * retrieved, the callback is called with `null` data.
+ *
+ * @note This operation can generate multiple requests to a service.
+ * @example Iterating over multiple pages of objects in an S3 bucket
+ * var pages = 1;
+ * s3.listObjects().eachPage(function(err, data) {
+ * if (err) return;
+ * console.log("Page", pages++);
+ * console.log(data);
+ * });
+ * @example Iterating over multiple pages with an asynchronous callback
+ * s3.listObjects(params).eachPage(function(err, data, done) {
+ * doSomethingAsyncAndOrExpensive(function() {
+ * // The next page of results isn't fetched until done is called
+ * done();
+ * });
+ * });
+ * @callback callback function(err, data, [doneCallback])
+ * Called with each page of resulting data from the request. If the
+ * optional `doneCallback` is provided in the function, it must be called
+ * when the callback is complete.
+ *
+ * @param err [Error] an error object, if an error occurred.
+ * @param data [Object] a single page of response data. If there is no
+ * more data, this object will be `null`.
+ * @param doneCallback [Function] an optional done callback. If this
+ * argument is defined in the function declaration, it should be called
+ * when the next page is ready to be retrieved. This is useful for
+ * controlling serial pagination across asynchronous operations.
+ * @return [Boolean] if the callback returns `false`, pagination will
+ * stop.
+ *
+ * @see AWS.Request.eachItem
+ * @see AWS.Response.nextPage
+ * @since v1.4.0
+ */
+ eachPage: function eachPage(callback) {
+ // Make all callbacks async-ish
+ callback = AWS.util.fn.makeAsync(callback, 3);
+
+ function wrappedCallback(response) {
+ callback.call(response, response.error, response.data, function (result) {
+ if (result === false) return;
+
+ if (response.hasNextPage()) {
+ response.nextPage().on('complete', wrappedCallback).send();
+ } else {
+ callback.call(response, null, null, AWS.util.fn.noop);
+ }
+ });
+ }
+
+ this.on('complete', wrappedCallback).send();
+ },
+
+ /**
+ * Enumerates over individual items of a request, paging the responses if
+ * necessary.
+ *
+ * @api experimental
+ * @since v1.4.0
+ */
+ eachItem: function eachItem(callback) {
+ var self = this;
+ function wrappedCallback(err, data) {
+ if (err) return callback(err, null);
+ if (data === null) return callback(null, null);
+
+ var config = self.service.paginationConfig(self.operation);
+ var resultKey = config.resultKey;
+ if (Array.isArray(resultKey)) resultKey = resultKey[0];
+ var results = AWS.util.jamespath.query(resultKey, data);
+ AWS.util.arrayEach(results, function(result) {
+ AWS.util.arrayEach(result, function(item) { callback(null, item); });
+ });
+ }
+
+ this.eachPage(wrappedCallback);
+ },
+
+ /**
+ * @return [Boolean] whether the operation can return multiple pages of
+ * response data.
+ * @see AWS.Response.eachPage
+ * @since v1.4.0
+ */
+ isPageable: function isPageable() {
+ return this.service.paginationConfig(this.operation) ? true : false;
+ },
+
+ /**
+ * Converts the request object into a readable stream that
+ * can be read from or piped into a writable stream.
+ *
+ * @note The data read from a readable stream contains only
+ * the raw HTTP body contents.
+ * @example Manually reading from a stream
+ * request.createReadStream().on('data', function(data) {
+ * console.log("Got data:", data.toString());
+ * });
+ * @example Piping a request body into a file
+ * var out = fs.createWriteStream('/path/to/outfile.jpg');
+ * s3.service.getObject(params).createReadStream().pipe(out);
+ * @return [Stream] the readable stream object that can be piped
+ * or read from (by registering 'data' event listeners).
+ * @!macro nobrowser
+ */
+ createReadStream: function createReadStream() {
+ var streams = AWS.util.nodeRequire('stream');
+ var req = this;
+ var stream = null;
+
+ if (AWS.HttpClient.streamsApiVersion === 2) {
+ stream = new streams.PassThrough();
+ req.send();
+ } else {
+ stream = new streams.Stream();
+ stream.readable = true;
+
+ stream.sent = false;
+ stream.on('newListener', function(event) {
+ if (!stream.sent && event === 'data') {
+ stream.sent = true;
+ process.nextTick(function() { req.send(); });
+ }
+ });
+ }
+
+ this.on('httpHeaders', function streamHeaders(statusCode, headers, resp) {
+ if (statusCode < 300) {
+ req.removeListener('httpData', AWS.EventListeners.Core.HTTP_DATA);
+ req.removeListener('httpError', AWS.EventListeners.Core.HTTP_ERROR);
+ req.on('httpError', function streamHttpError(error) {
+ resp.error = error;
+ resp.error.retryable = false;
+ });
+
+ var httpStream = resp.httpResponse.createUnbufferedStream();
+ if (AWS.HttpClient.streamsApiVersion === 2) {
+ httpStream.pipe(stream);
+ } else {
+ httpStream.on('data', function(arg) {
+ stream.emit('data', arg);
+ });
+ httpStream.on('end', function() {
+ stream.emit('end');
+ });
+ }
+
+ httpStream.on('error', function(err) {
+ stream.emit('error', err);
+ });
+ }
+ });
+
+ this.on('error', function(err) {
+ stream.emit('error', err);
+ });
+
+ return stream;
+ },
+
+ /**
+ * @param [Array,Response] args This should be the response object,
+ * or an array of args to send to the event.
+ * @api private
+ */
+ emitEvent: function emit(eventName, args, done) {
+ if (typeof args === 'function') { done = args; args = null; }
+ if (!done) done = function() { };
+ if (!args) args = this.eventParameters(eventName, this.response);
+
+ var origEmit = AWS.SequentialExecutor.prototype.emit;
+ origEmit.call(this, eventName, args, function (err) {
+ if (err) this.response.error = err;
+ done.call(this, err);
+ });
+ },
+
+ /**
+ * @api private
+ */
+ eventParameters: function eventParameters(eventName) {
+ switch (eventName) {
+ case 'restart':
+ case 'validate':
+ case 'sign':
+ case 'build':
+ case 'afterValidate':
+ case 'afterBuild':
+ return [this];
+ case 'error':
+ return [this.response.error, this.response];
+ default:
+ return [this.response];
+ }
+ },
+
+ /**
+ * @api private
+ */
+ presign: function presign(expires, callback) {
+ if (!callback && typeof expires === 'function') {
+ callback = expires;
+ expires = null;
+ }
+ return new AWS.Signers.Presign().sign(this.toGet(), expires, callback);
+ },
+
+ /**
+ * @api private
+ */
+ toUnauthenticated: function toUnauthenticated() {
+ this.removeListener('validate', AWS.EventListeners.Core.VALIDATE_CREDENTIALS);
+ this.removeListener('sign', AWS.EventListeners.Core.SIGN);
+ return this;
+ },
+
+ /**
+ * @api private
+ */
+ toGet: function toGet() {
+ if (this.service.api.protocol === 'query' ||
+ this.service.api.protocol === 'ec2') {
+ this.removeListener('build', this.buildAsGet);
+ this.addListener('build', this.buildAsGet);
+ }
+ return this;
+ },
+
+ /**
+ * @api private
+ */
+ buildAsGet: function buildAsGet(request) {
+ request.httpRequest.method = 'GET';
+ request.httpRequest.path = request.service.endpoint.path +
+ '?' + request.httpRequest.body;
+ request.httpRequest.body = '';
+
+ // don't need these headers on a GET request
+ delete request.httpRequest.headers['Content-Length'];
+ delete request.httpRequest.headers['Content-Type'];
+ },
+
+ /**
+ * @api private
+ */
+ haltHandlersOnError: function haltHandlersOnError() {
+ this._haltHandlersOnError = true;
+ }
+});
+
+AWS.util.mixin(AWS.Request, AWS.SequentialExecutor);
diff --git a/node_modules/aws-sdk/lib/resource_waiter.js b/node_modules/aws-sdk/lib/resource_waiter.js
new file mode 100644
index 0000000000000000000000000000000000000000..732a78c406834b9470a7c3e009aa07a2ba6f4706
--- /dev/null
+++ b/node_modules/aws-sdk/lib/resource_waiter.js
@@ -0,0 +1,198 @@
+/**
+ * Copyright 2012-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You
+ * may not use this file except in compliance with the License. A copy of
+ * the License is located at
+ *
+ * http://aws.amazon.com/apache2.0/
+ *
+ * or in the "license" file accompanying this file. This file is
+ * distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
+ * ANY KIND, either express or implied. See the License for the specific
+ * language governing permissions and limitations under the License.
+ */
+
+var AWS = require('./core');
+var inherit = AWS.util.inherit;
+
+/**
+ * @api private
+ */
+AWS.ResourceWaiter = inherit({
+ /**
+ * Waits for a given state on a service object
+ * @param service [Service] the service object to wait on
+ * @param state [String] the state (defined in waiter configuration) to wait
+ * for.
+ * @example Create a waiter for running EC2 instances
+ * var ec2 = new AWS.EC2;
+ * var waiter = new AWS.ResourceWaiter(ec2, 'instanceRunning');
+ */
+ constructor: function constructor(service, state) {
+ this.service = service;
+ this.state = state;
+
+ if (typeof this.state === 'object') {
+ AWS.util.each.call(this, this.state, function (key, value) {
+ this.state = key;
+ this.expectedValue = value;
+ });
+ }
+
+ this.loadWaiterConfig(this.state);
+ if (!this.expectedValue) {
+ this.expectedValue = this.config.successValue;
+ }
+ },
+
+ service: null,
+
+ state: null,
+
+ expectedValue: null,
+
+ config: null,
+
+ waitDone: false,
+
+ Listeners: {
+ retry: new AWS.SequentialExecutor().addNamedListeners(function(add) {
+ add('RETRY_CHECK', 'retry', function(resp) {
+ var waiter = resp.request._waiter;
+ if (resp.error && resp.error.code === 'ResourceNotReady') {
+ resp.error.retryDelay = waiter.config.interval * 1000;
+ }
+ });
+ }),
+
+ output: new AWS.SequentialExecutor().addNamedListeners(function(add) {
+ add('CHECK_OUT_ERROR', 'extractError', function CHECK_OUT_ERROR(resp) {
+ if (resp.error) {
+ resp.request._waiter.setError(resp, true);
+ }
+ });
+
+ add('CHECK_OUTPUT', 'extractData', function CHECK_OUTPUT(resp) {
+ var waiter = resp.request._waiter;
+ var success = waiter.checkSuccess(resp);
+ if (!success) {
+ waiter.setError(resp, success === null ? false : true);
+ } else {
+ resp.error = null;
+ }
+ });
+ }),
+
+ error: new AWS.SequentialExecutor().addNamedListeners(function(add) {
+ add('CHECK_ERROR', 'extractError', function CHECK_ERROR(resp) {
+ var waiter = resp.request._waiter;
+ var success = waiter.checkError(resp);
+ if (!success) {
+ waiter.setError(resp, success === null ? false : true);
+ } else {
+ resp.error = null;
+ resp.data = {};
+ resp.request.removeAllListeners('extractData');
+ }
+ });
+
+ add('CHECK_ERR_OUTPUT', 'extractData', function CHECK_ERR_OUTPUT(resp) {
+ resp.request._waiter.setError(resp, true);
+ });
+ })
+ },
+
+ /**
+ * @return [AWS.Request]
+ */
+ wait: function wait(params, callback) {
+ if (typeof params === 'function') {
+ callback = params; params = undefined;
+ }
+
+ var request = this.service.makeRequest(this.config.operation, params);
+ var listeners = this.Listeners[this.config.successType];
+ request._waiter = this;
+ request.response.maxRetries = this.config.maxAttempts;
+ request.addListeners(this.Listeners.retry);
+ if (listeners) request.addListeners(listeners);
+
+ if (callback) request.send(callback);
+ return request;
+ },
+
+ setError: function setError(resp, retryable) {
+ resp.data = null;
+ resp.error = AWS.util.error(resp.error || new Error(), {
+ code: 'ResourceNotReady',
+ message: 'Resource is not in the state ' + this.state,
+ retryable: retryable
+ });
+ },
+
+ /**
+ * Checks if the terminal expected success state has been met
+ * @return [Boolean]
+ */
+ checkSuccess: function checkSuccess(resp) {
+ if (!this.config.successPath) {
+ return resp.httpResponse.statusCode < 300;
+ }
+
+ var r = AWS.util.jamespath.find(this.config.successPath, resp.data);
+
+ if (this.config.failureValue &&
+ this.config.failureValue.indexOf(r) >= 0) {
+ return null; // fast fail
+ }
+
+ if (this.expectedValue) {
+ return r === this.expectedValue;
+ } else {
+ return r ? true : false;
+ }
+ },
+
+ /**
+ * Checks if the terminal expected error state has been met
+ * @return [Boolean]
+ */
+ checkError: function checkError(resp) {
+ var value = this.config.successValue;
+ if (typeof value === 'number') {
+ return resp.httpResponse.statusCode === value;
+ } else {
+ return resp.error && resp.error.code === value;
+ }
+ },
+
+ /**
+ * Loads waiter configuration from API configuration and deals with inherited
+ * properties.
+ *
+ * @api private
+ */
+ loadWaiterConfig: function loadWaiterConfig(state, noException) {
+ if (!this.service.api.waiters[state]) {
+ if (noException) return;
+ throw new AWS.util.error(new Error(), {
+ code: 'StateNotFoundError',
+ message: 'State ' + state + ' not found.'
+ });
+ }
+
+ this.config = this.service.api.waiters[state];
+ var config = this.config;
+
+ // inherit acceptor data
+ (function () { // anonymous function to avoid max complexity count
+ config.successType = config.successType || config.acceptorType;
+ config.successPath = config.successPath || config.acceptorPath;
+ config.successValue = config.successValue || config.acceptorValue;
+ config.failureType = config.failureType || config.acceptorType;
+ config.failurePath = config.failurePath || config.acceptorPath;
+ config.failureValue = config.failureValue || config.acceptorValue;
+ })();
+ }
+});
diff --git a/node_modules/aws-sdk/lib/response.js b/node_modules/aws-sdk/lib/response.js
new file mode 100644
index 0000000000000000000000000000000000000000..ce8516299fdf49952426ea2ff03f09f564158fdd
--- /dev/null
+++ b/node_modules/aws-sdk/lib/response.js
@@ -0,0 +1,200 @@
+var AWS = require('./core');
+var inherit = AWS.util.inherit;
+
+/**
+ * This class encapsulates the response information
+ * from a service request operation sent through {AWS.Request}.
+ * The response object has two main properties for getting information
+ * back from a request:
+ *
+ * ## The `data` property
+ *
+ * The `response.data` property contains the serialized object data
+ * retrieved from the service request. For instance, for an
+ * Amazon DynamoDB `listTables` method call, the response data might
+ * look like:
+ *
+ * ```
+ * > resp.data
+ * { TableNames:
+ * [ 'table1', 'table2', ... ] }
+ * ```
+ *
+ * The `data` property can be null if an error occurs (see below).
+ *
+ * ## The `error` property
+ *
+ * In the event of a service error (or transfer error), the
+ * `response.error` property will be filled with the given
+ * error data in the form:
+ *
+ * ```
+ * { code: 'SHORT_UNIQUE_ERROR_CODE',
+ * message: 'Some human readable error message' }
+ * ```
+ *
+ * In the case of an error, the `data` property will be `null`.
+ * Note that if you handle events that can be in a failure state,
+ * you should always check whether `response.error` is set
+ * before attempting to access the `response.data` property.
+ *
+ * @!attribute data
+ * @readonly
+ * @!group Data Properties
+ * @note Inside of a {AWS.Request~httpData} event, this
+ * property contains a single raw packet instead of the
+ * full de-serialized service response.
+ * @return [Object] the de-serialized response data
+ * from the service.
+ *
+ * @!attribute error
+ * An structure containing information about a service
+ * or networking error.
+ * @readonly
+ * @!group Data Properties
+ * @note This attribute is only filled if a service or
+ * networking error occurs.
+ * @return [Error]
+ * * code [String] a unique short code representing the
+ * error that was emitted.
+ * * message [String] a longer human readable error message
+ * * retryable [Boolean] whether the error message is
+ * retryable.
+ * * statusCode [Numeric] in the case of a request that reached the service,
+ * this value contains the response status code.
+ * * time [Date] the date time object when the error occurred.
+ * * hostname [String] set when a networking error occurs to easily
+ * identify the endpoint of the request.
+ * * region [String] set when a networking error occurs to easily
+ * identify the region of the request.
+ *
+ * @!attribute requestId
+ * @readonly
+ * @!group Data Properties
+ * @return [String] the unique request ID associated with the response.
+ * Log this value when debugging requests for AWS support.
+ *
+ * @!attribute retryCount
+ * @readonly
+ * @!group Operation Properties
+ * @return [Integer] the number of retries that were
+ * attempted before the request was completed.
+ *
+ * @!attribute redirectCount
+ * @readonly
+ * @!group Operation Properties
+ * @return [Integer] the number of redirects that were
+ * followed before the request was completed.
+ *
+ * @!attribute httpResponse
+ * @readonly
+ * @!group HTTP Properties
+ * @return [AWS.HttpResponse] the raw HTTP response object
+ * containing the response headers and body information
+ * from the server.
+ *
+ * @see AWS.Request
+ */
+AWS.Response = inherit({
+
+ /**
+ * @api private
+ */
+ constructor: function Response(request) {
+ this.request = request;
+ this.data = null;
+ this.error = null;
+ this.retryCount = 0;
+ this.redirectCount = 0;
+ this.httpResponse = new AWS.HttpResponse();
+ if (request) {
+ this.maxRetries = request.service.numRetries();
+ this.maxRedirects = request.service.config.maxRedirects;
+ }
+ },
+
+ /**
+ * Creates a new request for the next page of response data, calling the
+ * callback with the page data if a callback is provided.
+ *
+ * @callback callback function(err, data)
+ * Called when a page of data is returned from the next request.
+ *
+ * @param err [Error] an error object, if an error occurred in the request
+ * @param data [Object] the next page of data, or null, if there are no
+ * more pages left.
+ * @return [AWS.Request] the request object for the next page of data
+ * @return [null] if no callback is provided and there are no pages left
+ * to retrieve.
+ * @since v1.4.0
+ */
+ nextPage: function nextPage(callback) {
+ var config;
+ var service = this.request.service;
+ var operation = this.request.operation;
+ try {
+ config = service.paginationConfig(operation, true);
+ } catch (e) { this.error = e; }
+
+ if (!this.hasNextPage()) {
+ if (callback) callback(this.error, null);
+ else if (this.error) throw this.error;
+ return null;
+ }
+
+ var params = AWS.util.copy(this.request.params);
+ if (!this.nextPageTokens) {
+ return callback ? callback(null, null) : null;
+ } else {
+ var inputTokens = config.inputToken;
+ if (typeof inputTokens === 'string') inputTokens = [inputTokens];
+ for (var i = 0; i < inputTokens.length; i++) {
+ params[inputTokens[i]] = this.nextPageTokens[i];
+ }
+ return service.makeRequest(this.request.operation, params, callback);
+ }
+ },
+
+ /**
+ * @return [Boolean] whether more pages of data can be returned by further
+ * requests
+ * @since v1.4.0
+ */
+ hasNextPage: function hasNextPage() {
+ this.cacheNextPageTokens();
+ if (this.nextPageTokens) return true;
+ if (this.nextPageTokens === undefined) return undefined;
+ else return false;
+ },
+
+ /**
+ * @api private
+ */
+ cacheNextPageTokens: function cacheNextPageTokens() {
+ if (this.hasOwnProperty('nextPageTokens')) return this.nextPageTokens;
+ this.nextPageTokens = undefined;
+
+ var config = this.request.service.paginationConfig(this.request.operation);
+ if (!config) return this.nextPageTokens;
+
+ this.nextPageTokens = null;
+ if (config.moreResults) {
+ if (!AWS.util.jamespath.find(config.moreResults, this.data)) {
+ return this.nextPageTokens;
+ }
+ }
+
+ var exprs = config.outputToken;
+ if (typeof exprs === 'string') exprs = [exprs];
+ AWS.util.arrayEach.call(this, exprs, function (expr) {
+ var output = AWS.util.jamespath.find(expr, this.data);
+ if (output) {
+ this.nextPageTokens = this.nextPageTokens || [];
+ this.nextPageTokens.push(output);
+ }
+ });
+
+ return this.nextPageTokens;
+ }
+
+});
diff --git a/node_modules/aws-sdk/lib/s3/managed_upload.js b/node_modules/aws-sdk/lib/s3/managed_upload.js
new file mode 100644
index 0000000000000000000000000000000000000000..24bcac4fa4d7002e67d425dd95f003e30ae49426
--- /dev/null
+++ b/node_modules/aws-sdk/lib/s3/managed_upload.js
@@ -0,0 +1,600 @@
+var AWS = require('../core');
+var byteLength = AWS.util.string.byteLength;
+
+/**
+ * The managed uploader allows for easy and efficient uploading of buffers,
+ * blobs, or streams, using a configurable amount of concurrency to perform
+ * multipart uploads where possible. This abstraction also enables uploading
+ * streams of unknown size due to the use of multipart uploads.
+ *
+ * To construct a managed upload object, see the {constructor} function.
+ *
+ * ## Tracking upload progress
+ *
+ * The managed upload object can also track progress by attaching an
+ * 'httpUploadProgress' listener to the upload manager. This event is similar
+ * to {AWS.Request~httpUploadProgress} but groups all concurrent upload progress
+ * into a single event. See {AWS.S3.ManagedUpload~httpUploadProgress} for more
+ * information.
+ *
+ * ## Handling Multipart Cleanup
+ *
+ * By default, this class will automatically clean up any multipart uploads
+ * when an individual part upload fails. This behavior can be disabled in order
+ * to manually handle failures by setting the `leavePartsOnError` configuration
+ * option to `true` when initializing the upload object.
+ *
+ * @!event httpUploadProgress(progress)
+ * Triggered when the uploader has uploaded more data.
+ * @note The `total` property may not be set if the stream being uploaded has
+ * not yet finished chunking. In this case the `total` will be undefined
+ * until the total stream size is known.
+ * @note This event will not be emitted in Node.js 0.8.x.
+ * @param progress [map] An object containing the `loaded` and `total` bytes
+ * of the request and the `key` of the S3 object. Note that `total` may be undefined until the payload
+ * size is known.
+ * @context (see AWS.Request~send)
+ */
+AWS.S3.ManagedUpload = AWS.util.inherit({
+ /**
+ * Creates a managed upload object with a set of configuration options.
+ *
+ * @note A "Body" parameter is required to be set prior to calling {send}.
+ * @option options params [map] a map of parameters to pass to the upload
+ * requests. The "Body" parameter is required to be specified either on
+ * the service or in the params option.
+ * @note ContentMD5 should not be provided when using the managed upload object.
+ * Instead, setting "computeChecksums" to true will enable automatic ContentMD5 generation
+ * by the managed upload object.
+ * @option options queueSize [Number] (4) the size of the concurrent queue
+ * manager to upload parts in parallel. Set to 1 for synchronous uploading
+ * of parts. Note that the uploader will buffer at most queueSize * partSize
+ * bytes into memory at any given time.
+ * @option options partSize [Number] (5mb) the size in bytes for each
+ * individual part to be uploaded. Adjust the part size to ensure the number
+ * of parts does not exceed {maxTotalParts}. See {minPartSize} for the
+ * minimum allowed part size.
+ * @option options leavePartsOnError [Boolean] (false) whether to abort the
+ * multipart upload if an error occurs. Set to true if you want to handle
+ * failures manually.
+ * @option options service [AWS.S3] an optional S3 service object to use for
+ * requests. This object might have bound parameters used by the uploader.
+ * @example Creating a default uploader for a stream object
+ * var upload = new AWS.S3.ManagedUpload({
+ * params: {Bucket: 'bucket', Key: 'key', Body: stream}
+ * });
+ * @example Creating an uploader with concurrency of 1 and partSize of 10mb
+ * var upload = new AWS.S3.ManagedUpload({
+ * partSize: 10 * 1024 * 1024, queueSize: 1,
+ * params: {Bucket: 'bucket', Key: 'key', Body: stream}
+ * });
+ * @see send
+ */
+ constructor: function ManagedUpload(options) {
+ var self = this;
+ AWS.SequentialExecutor.call(self);
+ self.body = null;
+ self.sliceFn = null;
+ self.callback = null;
+ self.parts = {};
+ self.completeInfo = [];
+ self.fillQueue = function() {
+ self.callback(new Error('Unsupported body payload ' + typeof self.body));
+ };
+
+ self.configure(options);
+ },
+
+ /**
+ * @api private
+ */
+ configure: function configure(options) {
+ options = options || {};
+ this.partSize = this.minPartSize;
+
+ if (options.queueSize) this.queueSize = options.queueSize;
+ if (options.partSize) this.partSize = options.partSize;
+ if (options.leavePartsOnError) this.leavePartsOnError = true;
+
+ if (this.partSize < this.minPartSize) {
+ throw new Error('partSize must be greater than ' +
+ this.minPartSize);
+ }
+
+ this.service = options.service;
+ this.bindServiceObject(options.params);
+ this.validateBody();
+ this.adjustTotalBytes();
+ },
+
+ /**
+ * @api private
+ */
+ leavePartsOnError: false,
+
+ /**
+ * @api private
+ */
+ queueSize: 4,
+
+ /**
+ * @api private
+ */
+ partSize: null,
+
+ /**
+ * @readonly
+ * @return [Number] the minimum number of bytes for an individual part
+ * upload.
+ */
+ minPartSize: 1024 * 1024 * 5,
+
+ /**
+ * @readonly
+ * @return [Number] the maximum allowed number of parts in a multipart upload.
+ */
+ maxTotalParts: 10000,
+
+ /**
+ * Initiates the managed upload for the payload.
+ *
+ * @callback callback function(err, data)
+ * @param err [Error] an error or null if no error occurred.
+ * @param data [map] The response data from the successful upload:
+ * * `Location` (String) the URL of the uploaded object
+ * * `ETag` (String) the ETag of the uploaded object
+ * * `Bucket` (String) the bucket to which the object was uploaded
+ * * `Key` (String) the key to which the object was uploaded
+ * @example Sending a managed upload object
+ * var params = {Bucket: 'bucket', Key: 'key', Body: stream};
+ * var upload = new AWS.S3.ManagedUpload({params: params});
+ * upload.send(function(err, data) {
+ * console.log(err, data);
+ * });
+ */
+ send: function(callback) {
+ var self = this;
+ self.failed = false;
+ self.callback = callback || function(err) { if (err) throw err; };
+
+ var runFill = true;
+ if (self.sliceFn) {
+ self.fillQueue = self.fillBuffer;
+ } else if (AWS.util.isNode()) {
+ var Stream = AWS.util.nodeRequire('stream').Stream;
+ if (self.body instanceof Stream) {
+ runFill = false;
+ self.fillQueue = self.fillStream;
+ self.partBuffers = [];
+ self.body.
+ on('readable', function() { self.fillQueue(); }).
+ on('end', function() {
+ self.isDoneChunking = true;
+ self.numParts = self.totalPartNumbers;
+ self.fillQueue.call(self);
+ });
+ }
+ }
+
+ if (runFill) self.fillQueue.call(self);
+ },
+
+ /**
+ * Aborts a managed upload, including all concurrent upload requests.
+ * @note By default, calling this function will cleanup a multipart upload
+ * if one was created. To leave the multipart upload around after aborting
+ * a request, configure `leavePartsOnError` to `true` in the {constructor}.
+ * @note Calling {abort} in the browser environment will not abort any requests
+ * that are already in flight. If a multipart upload was created, any parts
+ * not yet uploaded will not be sent, and the multipart upload will be cleaned up.
+ * @example Aborting an upload
+ * var params = {
+ * Bucket: 'bucket', Key: 'key',
+ * Body: new Buffer(1024 * 1024 * 25) // 25MB payload
+ * };
+ * var upload = s3.upload(params);
+ * upload.send(function (err, data) {
+ * if (err) console.log("Error:", err.code, err.message);
+ * else console.log(data);
+ * });
+ *
+ * // abort request in 1 second
+ * setTimeout(upload.abort.bind(upload), 1000);
+ */
+ abort: function() {
+ this.cleanup(AWS.util.error(new Error('Request aborted by user'), {
+ code: 'RequestAbortedError', retryable: false
+ }));
+ },
+
+ /**
+ * @api private
+ */
+ validateBody: function validateBody() {
+ var self = this;
+ self.body = self.service.config.params.Body;
+ if (!self.body) throw new Error('params.Body is required');
+ if (typeof self.body === 'string') {
+ self.body = new AWS.util.Buffer(self.body);
+ }
+ self.sliceFn = AWS.util.arraySliceFn(self.body);
+ },
+
+ /**
+ * @api private
+ */
+ bindServiceObject: function bindServiceObject(params) {
+ params = params || {};
+ var self = this;
+
+ // bind parameters to new service object
+ if (!self.service) {
+ self.service = new AWS.S3({params: params});
+ } else {
+ var config = AWS.util.copy(self.service.config);
+ self.service = new self.service.constructor.__super__(config);
+ self.service.config.params =
+ AWS.util.merge(self.service.config.params || {}, params);
+ }
+ },
+
+ /**
+ * @api private
+ */
+ adjustTotalBytes: function adjustTotalBytes() {
+ var self = this;
+ try { // try to get totalBytes
+ self.totalBytes = byteLength(self.body);
+ } catch (e) { }
+
+ // try to adjust partSize if we know payload length
+ if (self.totalBytes) {
+ var newPartSize = Math.ceil(self.totalBytes / self.maxTotalParts);
+ if (newPartSize > self.partSize) self.partSize = newPartSize;
+ } else {
+ self.totalBytes = undefined;
+ }
+ },
+
+ /**
+ * @api private
+ */
+ isDoneChunking: false,
+
+ /**
+ * @api private
+ */
+ partPos: 0,
+
+ /**
+ * @api private
+ */
+ totalChunkedBytes: 0,
+
+ /**
+ * @api private
+ */
+ totalUploadedBytes: 0,
+
+ /**
+ * @api private
+ */
+ totalBytes: undefined,
+
+ /**
+ * @api private
+ */
+ numParts: 0,
+
+ /**
+ * @api private
+ */
+ totalPartNumbers: 0,
+
+ /**
+ * @api private
+ */
+ activeParts: 0,
+
+ /**
+ * @api private
+ */
+ doneParts: 0,
+
+ /**
+ * @api private
+ */
+ parts: null,
+
+ /**
+ * @api private
+ */
+ completeInfo: null,
+
+ /**
+ * @api private
+ */
+ failed: false,
+
+ /**
+ * @api private
+ */
+ multipartReq: null,
+
+ /**
+ * @api private
+ */
+ partBuffers: null,
+
+ /**
+ * @api private
+ */
+ partBufferLength: 0,
+
+ /**
+ * @api private
+ */
+ fillBuffer: function fillBuffer() {
+ var self = this;
+ var bodyLen = byteLength(self.body);
+
+ if (bodyLen === 0) {
+ self.isDoneChunking = true;
+ self.numParts = 1;
+ self.nextChunk(self.body);
+ return;
+ }
+
+ while (self.activeParts < self.queueSize && self.partPos < bodyLen) {
+ var endPos = Math.min(self.partPos + self.partSize, bodyLen);
+ var buf = self.sliceFn.call(self.body, self.partPos, endPos);
+ self.partPos += self.partSize;
+
+ if (byteLength(buf) < self.partSize || self.partPos === bodyLen) {
+ self.isDoneChunking = true;
+ self.numParts = self.totalPartNumbers + 1;
+ }
+ self.nextChunk(buf);
+ }
+ },
+
+ /**
+ * @api private
+ */
+ fillStream: function fillStream() {
+ var self = this;
+ if (self.activeParts >= self.queueSize) return;
+
+ var buf = self.body.read(self.partSize - self.partBufferLength) ||
+ self.body.read();
+ if (buf) {
+ self.partBuffers.push(buf);
+ self.partBufferLength += buf.length;
+ self.totalChunkedBytes += buf.length;
+ }
+
+ if (self.partBufferLength >= self.partSize) {
+ // if we have single buffer we avoid copyfull concat
+ var pbuf = self.partBuffers.length === 1 ?
+ self.partBuffers[0] : Buffer.concat(self.partBuffers);
+ self.partBuffers = [];
+ self.partBufferLength = 0;
+
+ // if we have more than partSize, push the rest back on the queue
+ if (pbuf.length > self.partSize) {
+ var rest = pbuf.slice(self.partSize);
+ self.partBuffers.push(rest);
+ self.partBufferLength += rest.length;
+ pbuf = pbuf.slice(0, self.partSize);
+ }
+
+ self.nextChunk(pbuf);
+ }
+
+ if (self.isDoneChunking && !self.isDoneSending) {
+ // if we have single buffer we avoid copyfull concat
+ pbuf = self.partBuffers.length === 1 ?
+ self.partBuffers[0] : Buffer.concat(self.partBuffers);
+ self.partBuffers = [];
+ self.partBufferLength = 0;
+ self.totalBytes = self.totalChunkedBytes;
+ self.isDoneSending = true;
+
+ if (self.numParts === 0 || pbuf.length > 0) {
+ self.numParts++;
+ self.nextChunk(pbuf);
+ }
+ }
+
+ self.body.read(0);
+ },
+
+ /**
+ * @api private
+ */
+ nextChunk: function nextChunk(chunk) {
+ var self = this;
+ if (self.failed) return null;
+
+ var partNumber = ++self.totalPartNumbers;
+ if (self.isDoneChunking && partNumber === 1) {
+ var req = self.service.putObject({Body: chunk});
+ req._managedUpload = self;
+ req.on('httpUploadProgress', self.progress).send(self.finishSinglePart);
+ return null;
+ } else if (self.service.config.params.ContentMD5) {
+ var err = AWS.util.error(new Error('The Content-MD5 you specified is invalid for multi-part uploads.'), {
+ code: 'InvalidDigest', retryable: false
+ });
+
+ self.cleanup(err);
+ return null;
+ }
+
+ if (self.completeInfo[partNumber] && self.completeInfo[partNumber].ETag !== null) {
+ return null; // Already uploaded this part.
+ }
+
+ self.activeParts++;
+ if (!self.service.config.params.UploadId) {
+
+ if (!self.multipartReq) { // create multipart
+ self.multipartReq = self.service.createMultipartUpload();
+ self.multipartReq.on('success', function(resp) {
+ self.service.config.params.UploadId = resp.data.UploadId;
+ self.multipartReq = null;
+ });
+ self.queueChunks(chunk, partNumber);
+ self.multipartReq.on('error', function(err) {
+ self.cleanup(err);
+ });
+ self.multipartReq.send();
+ } else {
+ self.queueChunks(chunk, partNumber);
+ }
+ } else { // multipart is created, just send
+ self.uploadPart(chunk, partNumber);
+ }
+ },
+
+ /**
+ * @api private
+ */
+ uploadPart: function uploadPart(chunk, partNumber) {
+ var self = this;
+
+ var partParams = {
+ Body: chunk,
+ ContentLength: AWS.util.string.byteLength(chunk),
+ PartNumber: partNumber
+ };
+
+ var partInfo = {ETag: null, PartNumber: partNumber};
+ self.completeInfo[partNumber] = partInfo;
+
+ var req = self.service.uploadPart(partParams);
+ self.parts[partNumber] = req;
+ req._lastUploadedBytes = 0;
+ req._managedUpload = self;
+ req.on('httpUploadProgress', self.progress);
+ req.send(function(err, data) {
+ delete self.parts[partParams.PartNumber];
+ self.activeParts--;
+
+ if (!err && (!data || !data.ETag)) {
+ var message = 'No access to ETag property on response.';
+ if (AWS.util.isBrowser()) {
+ message += ' Check CORS configuration to expose ETag header.';
+ }
+
+ err = AWS.util.error(new Error(message), {
+ code: 'ETagMissing', retryable: false
+ });
+ }
+ if (err) return self.cleanup(err);
+
+ partInfo.ETag = data.ETag;
+ self.doneParts++;
+ if (self.isDoneChunking && self.doneParts === self.numParts) {
+ self.finishMultiPart();
+ } else {
+ self.fillQueue.call(self);
+ }
+ });
+ },
+
+ /**
+ * @api private
+ */
+ queueChunks: function queueChunks(chunk, partNumber) {
+ var self = this;
+ self.multipartReq.on('success', function() {
+ self.uploadPart(chunk, partNumber);
+ });
+ },
+
+ /**
+ * @api private
+ */
+ cleanup: function cleanup(err) {
+ var self = this;
+ if (self.failed) return;
+
+ // clean up stream
+ if (typeof self.body.removeAllListeners === 'function' &&
+ typeof self.body.resume === 'function') {
+ self.body.removeAllListeners('readable');
+ self.body.removeAllListeners('end');
+ self.body.resume();
+ }
+
+ if (self.service.config.params.UploadId && !self.leavePartsOnError) {
+ self.service.abortMultipartUpload().send();
+ }
+
+ AWS.util.each(self.parts, function(partNumber, part) {
+ part.removeAllListeners('complete');
+ part.abort();
+ });
+
+ self.activeParts = 0;
+ self.partPos = 0;
+ self.numParts = 0;
+ self.totalPartNumbers = 0;
+ self.parts = {};
+ self.failed = true;
+ self.callback(err);
+ },
+
+ /**
+ * @api private
+ */
+ finishMultiPart: function finishMultiPart() {
+ var self = this;
+ var completeParams = { MultipartUpload: { Parts: self.completeInfo.slice(1) } };
+ self.service.completeMultipartUpload(completeParams, function(err, data) {
+ if (err) return self.cleanup(err);
+ else self.callback(err, data);
+ });
+ },
+
+ /**
+ * @api private
+ */
+ finishSinglePart: function finishSinglePart(err, data) {
+ var upload = this.request._managedUpload;
+ var httpReq = this.request.httpRequest;
+ var endpoint = httpReq.endpoint;
+ if (err) return upload.callback(err);
+ data.Location =
+ [endpoint.protocol, '//', endpoint.host, httpReq.path].join('');
+ data.key = this.request.params.Key; // will stay undocumented
+ data.Key = this.request.params.Key;
+ data.Bucket = this.request.params.Bucket;
+ upload.callback(err, data);
+ },
+
+ /**
+ * @api private
+ */
+ progress: function progress(info) {
+ var upload = this._managedUpload;
+ if (this.operation === 'putObject') {
+ info.part = 1;
+ info.key = this.params.Key;
+ } else {
+ upload.totalUploadedBytes += info.loaded - this._lastUploadedBytes;
+ this._lastUploadedBytes = info.loaded;
+ info = {
+ loaded: upload.totalUploadedBytes,
+ total: upload.totalBytes,
+ part: this.params.PartNumber,
+ key: this.params.Key
+ };
+ }
+ upload.emit('httpUploadProgress', [info]);
+ }
+});
+
+AWS.util.mixin(AWS.S3.ManagedUpload, AWS.SequentialExecutor);
+module.exports = AWS.S3.ManagedUpload;
diff --git a/node_modules/aws-sdk/lib/sequential_executor.js b/node_modules/aws-sdk/lib/sequential_executor.js
new file mode 100644
index 0000000000000000000000000000000000000000..88c002b610d9191c364cd11a76b17110e449bf8a
--- /dev/null
+++ b/node_modules/aws-sdk/lib/sequential_executor.js
@@ -0,0 +1,231 @@
+var AWS = require('./core');
+
+/**
+ * @api private
+ * @!method on(eventName, callback)
+ * Registers an event listener callback for the event given by `eventName`.
+ * Parameters passed to the callback function depend on the individual event
+ * being triggered. See the event documentation for those parameters.
+ *
+ * @param eventName [String] the event name to register the listener for
+ * @param callback [Function] the listener callback function
+ * @return [AWS.SequentialExecutor] the same object for chaining
+ */
+AWS.SequentialExecutor = AWS.util.inherit({
+
+ constructor: function SequentialExecutor() {
+ this._events = {};
+ },
+
+ /**
+ * @api private
+ */
+ listeners: function listeners(eventName) {
+ return this._events[eventName] ? this._events[eventName].slice(0) : [];
+ },
+
+ on: function on(eventName, listener) {
+ if (this._events[eventName]) {
+ this._events[eventName].push(listener);
+ } else {
+ this._events[eventName] = [listener];
+ }
+ return this;
+ },
+
+ /**
+ * @api private
+ */
+ onAsync: function onAsync(eventName, listener) {
+ listener._isAsync = true;
+ return this.on(eventName, listener);
+ },
+
+ removeListener: function removeListener(eventName, listener) {
+ var listeners = this._events[eventName];
+ if (listeners) {
+ var length = listeners.length;
+ var position = -1;
+ for (var i = 0; i < length; ++i) {
+ if (listeners[i] === listener) {
+ position = i;
+ }
+ }
+ if (position > -1) {
+ listeners.splice(position, 1);
+ }
+ }
+ return this;
+ },
+
+ removeAllListeners: function removeAllListeners(eventName) {
+ if (eventName) {
+ delete this._events[eventName];
+ } else {
+ this._events = {};
+ }
+ return this;
+ },
+
+ /**
+ * @api private
+ */
+ emit: function emit(eventName, eventArgs, doneCallback) {
+ if (!doneCallback) doneCallback = function() { };
+ var listeners = this.listeners(eventName);
+ var count = listeners.length;
+ this.callListeners(listeners, eventArgs, doneCallback);
+ return count > 0;
+ },
+
+ /**
+ * @api private
+ */
+ callListeners: function callListeners(listeners, args, doneCallback, prevError) {
+ var self = this;
+ var error = prevError || null;
+
+ function callNextListener(err) {
+ if (err) {
+ error = AWS.util.error(error || new Error(), err);
+ if (self._haltHandlersOnError) {
+ return doneCallback.call(self, error);
+ }
+ }
+ self.callListeners(listeners, args, doneCallback, error);
+ }
+
+ while (listeners.length > 0) {
+ var listener = listeners.shift();
+ if (listener._isAsync) { // asynchronous listener
+ listener.apply(self, args.concat([callNextListener]));
+ return; // stop here, callNextListener will continue
+ } else { // synchronous listener
+ try {
+ listener.apply(self, args);
+ } catch (err) {
+ error = AWS.util.error(error || new Error(), err);
+ }
+ if (error && self._haltHandlersOnError) {
+ doneCallback.call(self, error);
+ return;
+ }
+ }
+ }
+ doneCallback.call(self, error);
+ },
+
+ /**
+ * Adds or copies a set of listeners from another list of
+ * listeners or SequentialExecutor object.
+ *
+ * @param listeners [map>, AWS.SequentialExecutor]
+ * a list of events and callbacks, or an event emitter object
+ * containing listeners to add to this emitter object.
+ * @return [AWS.SequentialExecutor] the emitter object, for chaining.
+ * @example Adding listeners from a map of listeners
+ * emitter.addListeners({
+ * event1: [function() { ... }, function() { ... }],
+ * event2: [function() { ... }]
+ * });
+ * emitter.emit('event1'); // emitter has event1
+ * emitter.emit('event2'); // emitter has event2
+ * @example Adding listeners from another emitter object
+ * var emitter1 = new AWS.SequentialExecutor();
+ * emitter1.on('event1', function() { ... });
+ * emitter1.on('event2', function() { ... });
+ * var emitter2 = new AWS.SequentialExecutor();
+ * emitter2.addListeners(emitter1);
+ * emitter2.emit('event1'); // emitter2 has event1
+ * emitter2.emit('event2'); // emitter2 has event2
+ */
+ addListeners: function addListeners(listeners) {
+ var self = this;
+
+ // extract listeners if parameter is an SequentialExecutor object
+ if (listeners._events) listeners = listeners._events;
+
+ AWS.util.each(listeners, function(event, callbacks) {
+ if (typeof callbacks === 'function') callbacks = [callbacks];
+ AWS.util.arrayEach(callbacks, function(callback) {
+ self.on(event, callback);
+ });
+ });
+
+ return self;
+ },
+
+ /**
+ * Registers an event with {on} and saves the callback handle function
+ * as a property on the emitter object using a given `name`.
+ *
+ * @param name [String] the property name to set on this object containing
+ * the callback function handle so that the listener can be removed in
+ * the future.
+ * @param (see on)
+ * @return (see on)
+ * @example Adding a named listener DATA_CALLBACK
+ * var listener = function() { doSomething(); };
+ * emitter.addNamedListener('DATA_CALLBACK', 'data', listener);
+ *
+ * // the following prints: true
+ * console.log(emitter.DATA_CALLBACK == listener);
+ */
+ addNamedListener: function addNamedListener(name, eventName, callback) {
+ this[name] = callback;
+ this.addListener(eventName, callback);
+ return this;
+ },
+
+ /**
+ * @api private
+ */
+ addNamedAsyncListener: function addNamedAsyncListener(name, eventName, callback) {
+ callback._isAsync = true;
+ return this.addNamedListener(name, eventName, callback);
+ },
+
+ /**
+ * Helper method to add a set of named listeners using
+ * {addNamedListener}. The callback contains a parameter
+ * with a handle to the `addNamedListener` method.
+ *
+ * @callback callback function(add)
+ * The callback function is called immediately in order to provide
+ * the `add` function to the block. This simplifies the addition of
+ * a large group of named listeners.
+ * @param add [Function] the {addNamedListener} function to call
+ * when registering listeners.
+ * @example Adding a set of named listeners
+ * emitter.addNamedListeners(function(add) {
+ * add('DATA_CALLBACK', 'data', function() { ... });
+ * add('OTHER', 'otherEvent', function() { ... });
+ * add('LAST', 'lastEvent', function() { ... });
+ * });
+ *
+ * // these properties are now set:
+ * emitter.DATA_CALLBACK;
+ * emitter.OTHER;
+ * emitter.LAST;
+ */
+ addNamedListeners: function addNamedListeners(callback) {
+ var self = this;
+ callback(
+ function() {
+ self.addNamedListener.apply(self, arguments);
+ },
+ function() {
+ self.addNamedAsyncListener.apply(self, arguments);
+ }
+ );
+ return this;
+ }
+});
+
+/**
+ * {on} is the prefered method.
+ * @api private
+ */
+AWS.SequentialExecutor.prototype.addListener = AWS.SequentialExecutor.prototype.on;
+
+module.exports = AWS.SequentialExecutor;
diff --git a/node_modules/aws-sdk/lib/service.js b/node_modules/aws-sdk/lib/service.js
new file mode 100644
index 0000000000000000000000000000000000000000..69070010f7bf6fd66f0bfcc8eb7a15598311421c
--- /dev/null
+++ b/node_modules/aws-sdk/lib/service.js
@@ -0,0 +1,526 @@
+var AWS = require('./core');
+var Api = require('./model/api');
+var regionConfig = require('./region_config');
+var inherit = AWS.util.inherit;
+
+/**
+ * The service class representing an AWS service.
+ *
+ * @abstract
+ *
+ * @!attribute apiVersions
+ * @return [Array] the list of API versions supported by this service.
+ * @readonly
+ */
+AWS.Service = inherit({
+ /**
+ * Create a new service object with a configuration object
+ *
+ * @param config [map] a map of configuration options
+ */
+ constructor: function Service(config) {
+ if (!this.loadServiceClass) {
+ throw AWS.util.error(new Error(),
+ 'Service must be constructed with `new\' operator');
+ }
+ var ServiceClass = this.loadServiceClass(config || {});
+ if (ServiceClass) return new ServiceClass(config);
+ this.initialize(config);
+ },
+
+ /**
+ * @api private
+ */
+ initialize: function initialize(config) {
+ var svcConfig = AWS.config[this.serviceIdentifier];
+
+ this.config = new AWS.Config(AWS.config);
+ if (svcConfig) this.config.update(svcConfig, true);
+ if (config) this.config.update(config, true);
+
+ this.validateService();
+ if (!this.config.endpoint) regionConfig(this);
+
+ this.config.endpoint = this.endpointFromTemplate(this.config.endpoint);
+ this.setEndpoint(this.config.endpoint);
+ },
+
+ /**
+ * @api private
+ */
+ validateService: function validateService() {
+ },
+
+ /**
+ * @api private
+ */
+ loadServiceClass: function loadServiceClass(serviceConfig) {
+ var config = serviceConfig;
+ if (!AWS.util.isEmpty(this.api)) {
+ return null;
+ } else if (config.apiConfig) {
+ return AWS.Service.defineServiceApi(this.constructor, config.apiConfig);
+ } else if (!this.constructor.services) {
+ return null;
+ } else {
+ config = new AWS.Config(AWS.config);
+ config.update(serviceConfig, true);
+ var version = config.apiVersions[this.constructor.serviceIdentifier];
+ version = version || config.apiVersion;
+ return this.getLatestServiceClass(version);
+ }
+ },
+
+ /**
+ * @api private
+ */
+ getLatestServiceClass: function getLatestServiceClass(version) {
+ version = this.getLatestServiceVersion(version);
+ if (this.constructor.services[version] === null) {
+ AWS.Service.defineServiceApi(this.constructor, version);
+ }
+
+ return this.constructor.services[version];
+ },
+
+ /**
+ * @api private
+ */
+ getLatestServiceVersion: function getLatestServiceVersion(version) {
+ if (!this.constructor.services || this.constructor.services.length === 0) {
+ throw new Error('No services defined on ' +
+ this.constructor.serviceIdentifier);
+ }
+
+ if (!version) {
+ version = 'latest';
+ } else if (AWS.util.isType(version, Date)) {
+ version = AWS.util.date.iso8601(version).split('T')[0];
+ }
+
+ if (Object.hasOwnProperty(this.constructor.services, version)) {
+ return version;
+ }
+
+ var keys = Object.keys(this.constructor.services).sort();
+ var selectedVersion = null;
+ for (var i = keys.length - 1; i >= 0; i--) {
+ // versions that end in "*" are not available on disk and can be
+ // skipped, so do not choose these as selectedVersions
+ if (keys[i][keys[i].length - 1] !== '*') {
+ selectedVersion = keys[i];
+ }
+ if (keys[i].substr(0, 10) <= version) {
+ return selectedVersion;
+ }
+ }
+
+ throw new Error('Could not find ' + this.constructor.serviceIdentifier +
+ ' API to satisfy version constraint `' + version + '\'');
+ },
+
+ /**
+ * @api private
+ */
+ api: {},
+
+ /**
+ * @api private
+ */
+ defaultRetryCount: 3,
+
+ /**
+ * Calls an operation on a service with the given input parameters.
+ *
+ * @param operation [String] the name of the operation to call on the service.
+ * @param params [map] a map of input options for the operation
+ * @callback callback function(err, data)
+ * If a callback is supplied, it is called when a response is returned
+ * from the service.
+ * @param err [Error] the error object returned from the request.
+ * Set to `null` if the request is successful.
+ * @param data [Object] the de-serialized data returned from
+ * the request. Set to `null` if a request error occurs.
+ */
+ makeRequest: function makeRequest(operation, params, callback) {
+ if (typeof params === 'function') {
+ callback = params;
+ params = null;
+ }
+
+ params = params || {};
+ if (this.config.params) { // copy only toplevel bound params
+ var rules = this.api.operations[operation];
+ if (rules) {
+ params = AWS.util.copy(params);
+ AWS.util.each(this.config.params, function(key, value) {
+ if (rules.input.members[key]) {
+ if (params[key] === undefined || params[key] === null) {
+ params[key] = value;
+ }
+ }
+ });
+ }
+ }
+
+ var request = new AWS.Request(this, operation, params);
+ this.addAllRequestListeners(request);
+
+ if (callback) request.send(callback);
+ return request;
+ },
+
+ /**
+ * Calls an operation on a service with the given input parameters, without
+ * any authentication data. This method is useful for "public" API operations.
+ *
+ * @param operation [String] the name of the operation to call on the service.
+ * @param params [map] a map of input options for the operation
+ * @callback callback function(err, data)
+ * If a callback is supplied, it is called when a response is returned
+ * from the service.
+ * @param err [Error] the error object returned from the request.
+ * Set to `null` if the request is successful.
+ * @param data [Object] the de-serialized data returned from
+ * the request. Set to `null` if a request error occurs.
+ */
+ makeUnauthenticatedRequest: function makeUnauthenticatedRequest(operation, params, callback) {
+ if (typeof params === 'function') {
+ callback = params;
+ params = {};
+ }
+
+ var request = this.makeRequest(operation, params).toUnauthenticated();
+ return callback ? request.send(callback) : request;
+ },
+
+ /**
+ * Waits for a given state
+ *
+ * @param state [String] the state on the service to wait for
+ * @param params [map] a map of parameters to pass with each request
+ * @callback callback function(err, data)
+ * If a callback is supplied, it is called when a response is returned
+ * from the service.
+ * @param err [Error] the error object returned from the request.
+ * Set to `null` if the request is successful.
+ * @param data [Object] the de-serialized data returned from
+ * the request. Set to `null` if a request error occurs.
+ */
+ waitFor: function waitFor(state, params, callback) {
+ var waiter = new AWS.ResourceWaiter(this, state);
+ return waiter.wait(params, callback);
+ },
+
+ /**
+ * @api private
+ */
+ addAllRequestListeners: function addAllRequestListeners(request) {
+ var list = [AWS.events, AWS.EventListeners.Core, this.serviceInterface(),
+ AWS.EventListeners.CorePost];
+ for (var i = 0; i < list.length; i++) {
+ if (list[i]) request.addListeners(list[i]);
+ }
+
+ // disable parameter validation
+ if (!this.config.paramValidation) {
+ request.removeListener('validate',
+ AWS.EventListeners.Core.VALIDATE_PARAMETERS);
+ }
+
+ if (this.config.logger) { // add logging events
+ request.addListeners(AWS.EventListeners.Logger);
+ }
+
+ this.setupRequestListeners(request);
+ },
+
+ /**
+ * Override this method to setup any custom request listeners for each
+ * new request to the service.
+ *
+ * @abstract
+ */
+ setupRequestListeners: function setupRequestListeners() {
+ },
+
+ /**
+ * Gets the signer class for a given request
+ * @api private
+ */
+ getSignerClass: function getSignerClass() {
+ var version;
+ if (this.config.signatureVersion) {
+ version = this.config.signatureVersion;
+ } else {
+ version = this.api.signatureVersion;
+ }
+ return AWS.Signers.RequestSigner.getVersion(version);
+ },
+
+ /**
+ * @api private
+ */
+ serviceInterface: function serviceInterface() {
+ switch (this.api.protocol) {
+ case 'ec2': return AWS.EventListeners.Query;
+ case 'query': return AWS.EventListeners.Query;
+ case 'json': return AWS.EventListeners.Json;
+ case 'rest-json': return AWS.EventListeners.RestJson;
+ case 'rest-xml': return AWS.EventListeners.RestXml;
+ }
+ if (this.api.protocol) {
+ throw new Error('Invalid service `protocol\' ' +
+ this.api.protocol + ' in API config');
+ }
+ },
+
+ /**
+ * @api private
+ */
+ successfulResponse: function successfulResponse(resp) {
+ return resp.httpResponse.statusCode < 300;
+ },
+
+ /**
+ * How many times a failed request should be retried before giving up.
+ * the defaultRetryCount can be overriden by service classes.
+ *
+ * @api private
+ */
+ numRetries: function numRetries() {
+ if (this.config.maxRetries !== undefined) {
+ return this.config.maxRetries;
+ } else {
+ return this.defaultRetryCount;
+ }
+ },
+
+ /**
+ * @api private
+ */
+ retryDelays: function retryDelays(retryCount) {
+ var retryDelayOptions = this.config.retryDelayOptions || {};
+ var customBackoff = retryDelayOptions.customBackoff || null;
+ if (typeof customBackoff === 'function') {
+ return customBackoff(retryCount);
+ }
+ var base = retryDelayOptions.base || 30;
+ var delay = Math.random() * (Math.pow(2, retryCount) * base);
+ return delay;
+ },
+
+ /**
+ * @api private
+ */
+ retryableError: function retryableError(error) {
+ if (this.networkingError(error)) return true;
+ if (this.expiredCredentialsError(error)) return true;
+ if (this.throttledError(error)) return true;
+ if (error.statusCode >= 500) return true;
+ return false;
+ },
+
+ /**
+ * @api private
+ */
+ networkingError: function networkingError(error) {
+ return error.code === 'NetworkingError';
+ },
+
+ /**
+ * @api private
+ */
+ expiredCredentialsError: function expiredCredentialsError(error) {
+ // TODO : this only handles *one* of the expired credential codes
+ return (error.code === 'ExpiredTokenException');
+ },
+
+ /**
+ * @api private
+ */
+ clockSkewError: function clockSkewError(error) {
+ switch (error.code) {
+ case 'RequestTimeTooSkewed':
+ case 'RequestExpired':
+ case 'InvalidSignatureException':
+ case 'SignatureDoesNotMatch':
+ case 'AuthFailure':
+ case 'RequestInTheFuture':
+ return true;
+ default: return false;
+ }
+ },
+
+ /**
+ * @api private
+ */
+ throttledError: function throttledError(error) {
+ // this logic varies between services
+ switch (error.code) {
+ case 'ProvisionedThroughputExceededException':
+ case 'Throttling':
+ case 'ThrottlingException':
+ case 'RequestLimitExceeded':
+ case 'RequestThrottled':
+ return true;
+ default:
+ return false;
+ }
+ },
+
+ /**
+ * @api private
+ */
+ endpointFromTemplate: function endpointFromTemplate(endpoint) {
+ if (typeof endpoint !== 'string') return endpoint;
+
+ var e = endpoint;
+ e = e.replace(/\{service\}/g, this.api.endpointPrefix);
+ e = e.replace(/\{region\}/g, this.config.region);
+ e = e.replace(/\{scheme\}/g, this.config.sslEnabled ? 'https' : 'http');
+ return e;
+ },
+
+ /**
+ * @api private
+ */
+ setEndpoint: function setEndpoint(endpoint) {
+ this.endpoint = new AWS.Endpoint(endpoint, this.config);
+ },
+
+ /**
+ * @api private
+ */
+ paginationConfig: function paginationConfig(operation, throwException) {
+ var paginator = this.api.operations[operation].paginator;
+ if (!paginator) {
+ if (throwException) {
+ var e = new Error();
+ throw AWS.util.error(e, 'No pagination configuration for ' + operation);
+ }
+ return null;
+ }
+
+ return paginator;
+ }
+});
+
+AWS.util.update(AWS.Service, {
+
+ /**
+ * Adds one method for each operation described in the api configuration
+ *
+ * @api private
+ */
+ defineMethods: function defineMethods(svc) {
+ AWS.util.each(svc.prototype.api.operations, function iterator(method) {
+ if (svc.prototype[method]) return;
+ svc.prototype[method] = function (params, callback) {
+ return this.makeRequest(method, params, callback);
+ };
+ });
+ },
+
+ /**
+ * Defines a new Service class using a service identifier and list of versions
+ * including an optional set of features (functions) to apply to the class
+ * prototype.
+ *
+ * @param serviceIdentifier [String] the identifier for the service
+ * @param versions [Array] a list of versions that work with this
+ * service
+ * @param features [Object] an object to attach to the prototype
+ * @return [Class] the service class defined by this function.
+ */
+ defineService: function defineService(serviceIdentifier, versions, features) {
+ AWS.Service._serviceMap[serviceIdentifier] = true;
+ if (!Array.isArray(versions)) {
+ features = versions;
+ versions = [];
+ }
+
+ var svc = inherit(AWS.Service, features || {});
+
+ if (typeof serviceIdentifier === 'string') {
+ AWS.Service.addVersions(svc, versions);
+
+ var identifier = svc.serviceIdentifier || serviceIdentifier;
+ svc.serviceIdentifier = identifier;
+ } else { // defineService called with an API
+ svc.prototype.api = serviceIdentifier;
+ AWS.Service.defineMethods(svc);
+ }
+
+ return svc;
+ },
+
+ /**
+ * @api private
+ */
+ addVersions: function addVersions(svc, versions) {
+ if (!Array.isArray(versions)) versions = [versions];
+
+ svc.services = svc.services || {};
+ for (var i = 0; i < versions.length; i++) {
+ if (svc.services[versions[i]] === undefined) {
+ svc.services[versions[i]] = null;
+ }
+ }
+
+ svc.apiVersions = Object.keys(svc.services).sort();
+ },
+
+ /**
+ * @api private
+ */
+ defineServiceApi: function defineServiceApi(superclass, version, apiConfig) {
+ var svc = inherit(superclass, {
+ serviceIdentifier: superclass.serviceIdentifier
+ });
+
+ function setApi(api) {
+ if (api.isApi) {
+ svc.prototype.api = api;
+ } else {
+ svc.prototype.api = new Api(api);
+ }
+ }
+
+ if (typeof version === 'string') {
+ if (apiConfig) {
+ setApi(apiConfig);
+ } else {
+ try {
+ setApi(AWS.apiLoader(superclass.serviceIdentifier, version));
+ } catch (err) {
+ throw AWS.util.error(err, {
+ message: 'Could not find API configuration ' +
+ superclass.serviceIdentifier + '-' + version
+ });
+ }
+ }
+ if (!superclass.services.hasOwnProperty(version)) {
+ superclass.apiVersions = superclass.apiVersions.concat(version).sort();
+ }
+ superclass.services[version] = svc;
+ } else {
+ setApi(version);
+ }
+
+ AWS.Service.defineMethods(svc);
+ return svc;
+ },
+
+ /**
+ * @api private
+ */
+ hasService: function(identifier) {
+ return AWS.Service._serviceMap.hasOwnProperty(identifier);
+ },
+
+ /**
+ * @api private
+ */
+ _serviceMap: {}
+});
diff --git a/node_modules/aws-sdk/lib/services.js b/node_modules/aws-sdk/lib/services.js
new file mode 100644
index 0000000000000000000000000000000000000000..03d1b7cbabbb70b410d50967883d236fce40ec3f
--- /dev/null
+++ b/node_modules/aws-sdk/lib/services.js
@@ -0,0 +1,15 @@
+var fs = require('fs');
+var path = require('path');
+var AWS = require('./core');
+var apis = require('./api_loader');
+
+// define services using map
+apis.services.forEach(function(identifier) {
+ var name = apis.serviceName(identifier);
+ var versions = apis.serviceVersions(identifier);
+ AWS[name] = AWS.Service.defineService(identifier, versions);
+
+ // load any customizations from lib/services/.js
+ var svcFile = path.join(__dirname, 'services', identifier + '.js');
+ if (fs.existsSync(svcFile)) require('./services/' + identifier);
+});
diff --git a/node_modules/aws-sdk/lib/services/apigateway.js b/node_modules/aws-sdk/lib/services/apigateway.js
new file mode 100644
index 0000000000000000000000000000000000000000..79e446582bb233cd1d35dff4bb74f12b76b53e51
--- /dev/null
+++ b/node_modules/aws-sdk/lib/services/apigateway.js
@@ -0,0 +1,21 @@
+var AWS = require('../core');
+
+AWS.util.update(AWS.APIGateway.prototype, {
+/**
+ * Sets the Accept header to application/json.
+ *
+ * @api private
+ */
+ setAcceptHeader: function setAcceptHeader(req) {
+ var httpRequest = req.httpRequest;
+ httpRequest.headers['Accept'] = 'application/json';
+ },
+
+ /**
+ * @api private
+ */
+ setupRequestListeners: function setupRequestListeners(request) {
+ request.addListener('build', this.setAcceptHeader);
+ }
+});
+
diff --git a/node_modules/aws-sdk/lib/services/cloudfront.js b/node_modules/aws-sdk/lib/services/cloudfront.js
new file mode 100644
index 0000000000000000000000000000000000000000..3a918c27ecc34a0728b05b44d556f17a2a87353e
--- /dev/null
+++ b/node_modules/aws-sdk/lib/services/cloudfront.js
@@ -0,0 +1,12 @@
+var AWS = require('../core');
+
+// pull in CloudFront signer
+require('../cloudfront/signer');
+
+AWS.util.update(AWS.CloudFront.prototype, {
+
+ setupRequestListeners: function setupRequestListeners(request) {
+ request.addListener('extractData', AWS.util.hoistPayloadMember);
+ }
+
+});
diff --git a/node_modules/aws-sdk/lib/services/cloudsearchdomain.js b/node_modules/aws-sdk/lib/services/cloudsearchdomain.js
new file mode 100644
index 0000000000000000000000000000000000000000..ff1c61950efade774ebfa26fc4484d3685c0b4e3
--- /dev/null
+++ b/node_modules/aws-sdk/lib/services/cloudsearchdomain.js
@@ -0,0 +1,103 @@
+var AWS = require('../core');
+
+/**
+ * Constructs a service interface object. Each API operation is exposed as a
+ * function on service.
+ *
+ * ### Sending a Request Using CloudSearchDomain
+ *
+ * ```javascript
+ * var csd = new AWS.CloudSearchDomain({endpoint: 'my.host.tld'});
+ * csd.search(params, function (err, data) {
+ * if (err) console.log(err, err.stack); // an error occurred
+ * else console.log(data); // successful response
+ * });
+ * ```
+ *
+ * ### Locking the API Version
+ *
+ * In order to ensure that the CloudSearchDomain object uses this specific API,
+ * you can construct the object by passing the `apiVersion` option to the
+ * constructor:
+ *
+ * ```javascript
+ * var csd = new AWS.CloudSearchDomain({
+ * endpoint: 'my.host.tld',
+ * apiVersion: '2013-01-01'
+ * });
+ * ```
+ *
+ * You can also set the API version globally in `AWS.config.apiVersions` using
+ * the **cloudsearchdomain** service identifier:
+ *
+ * ```javascript
+ * AWS.config.apiVersions = {
+ * cloudsearchdomain: '2013-01-01',
+ * // other service API versions
+ * };
+ *
+ * var csd = new AWS.CloudSearchDomain({endpoint: 'my.host.tld'});
+ * ```
+ *
+ * @note You *must* provide an `endpoint` configuration parameter when
+ * constructing this service. See {constructor} for more information.
+ *
+ * @!method constructor(options = {})
+ * Constructs a service object. This object has one method for each
+ * API operation.
+ *
+ * @example Constructing a CloudSearchDomain object
+ * var csd = new AWS.CloudSearchDomain({endpoint: 'my.host.tld'});
+ * @note You *must* provide an `endpoint` when constructing this service.
+ * @option (see AWS.Config.constructor)
+ *
+ * @service cloudsearchdomain
+ * @version 2013-01-01
+ */
+AWS.util.update(AWS.CloudSearchDomain.prototype, {
+ /**
+ * @api private
+ */
+ validateService: function validateService() {
+ if (!this.config.endpoint || this.config.endpoint.indexOf('{') >= 0) {
+ var msg = 'AWS.CloudSearchDomain requires an explicit ' +
+ '`endpoint\' configuration option.';
+ throw AWS.util.error(new Error(),
+ {name: 'InvalidEndpoint', message: msg});
+ }
+ },
+
+ /**
+ * @api private
+ */
+ setupRequestListeners: function setupRequestListeners(request) {
+ request.removeListener('validate',
+ AWS.EventListeners.Core.VALIDATE_CREDENTIALS
+ );
+ request.onAsync('validate', this.validateCredentials);
+ request.addListener('validate', this.updateRegion);
+ },
+
+ /**
+ * @api private
+ */
+ validateCredentials: function(req, done) {
+ if (!req.service.api.signatureVersion) return done(); // none
+ req.service.config.getCredentials(function(err) {
+ if (err) {
+ req.removeListener('sign', AWS.EventListeners.Core.SIGN);
+ }
+ done();
+ });
+ },
+
+ /**
+ * @api private
+ */
+ updateRegion: function updateRegion(request) {
+ var endpoint = request.httpRequest.endpoint.hostname;
+ var zones = endpoint.split('.');
+ request.httpRequest.region = zones[1] || request.httpRequest.region;
+ }
+
+});
diff --git a/node_modules/aws-sdk/lib/services/cognitoidentity.js b/node_modules/aws-sdk/lib/services/cognitoidentity.js
new file mode 100644
index 0000000000000000000000000000000000000000..7fa7048dd2741ba5de346d001d51a7112e627b09
--- /dev/null
+++ b/node_modules/aws-sdk/lib/services/cognitoidentity.js
@@ -0,0 +1,15 @@
+var AWS = require('../core');
+
+AWS.util.update(AWS.CognitoIdentity.prototype, {
+ getOpenIdToken: function getOpenIdToken(params, callback) {
+ return this.makeUnauthenticatedRequest('getOpenIdToken', params, callback);
+ },
+
+ getId: function getId(params, callback) {
+ return this.makeUnauthenticatedRequest('getId', params, callback);
+ },
+
+ getCredentialsForIdentity: function getCredentialsForIdentity(params, callback) {
+ return this.makeUnauthenticatedRequest('getCredentialsForIdentity', params, callback);
+ }
+});
diff --git a/node_modules/aws-sdk/lib/services/dynamodb.js b/node_modules/aws-sdk/lib/services/dynamodb.js
new file mode 100644
index 0000000000000000000000000000000000000000..735145168a971d629dc80ca430d5e35376edbf49
--- /dev/null
+++ b/node_modules/aws-sdk/lib/services/dynamodb.js
@@ -0,0 +1,52 @@
+var AWS = require('../core');
+require('../dynamodb/document_client');
+
+AWS.util.update(AWS.DynamoDB.prototype, {
+ /**
+ * @api private
+ */
+ setupRequestListeners: function setupRequestListeners(request) {
+ if (request.service.config.dynamoDbCrc32) {
+ request.removeListener('extractData', AWS.EventListeners.Json.EXTRACT_DATA);
+ request.addListener('extractData', this.checkCrc32);
+ request.addListener('extractData', AWS.EventListeners.Json.EXTRACT_DATA);
+ }
+ },
+
+ /**
+ * @api private
+ */
+ checkCrc32: function checkCrc32(resp) {
+ if (!resp.httpResponse.streaming && !resp.request.service.crc32IsValid(resp)) {
+ resp.error = AWS.util.error(new Error(), {
+ code: 'CRC32CheckFailed',
+ message: 'CRC32 integrity check failed',
+ retryable: true
+ });
+ resp.request.haltHandlersOnError();
+ throw (resp.error);
+ }
+ },
+
+ /**
+ * @api private
+ */
+ crc32IsValid: function crc32IsValid(resp) {
+ var crc = resp.httpResponse.headers['x-amz-crc32'];
+ if (!crc) return true; // no (valid) CRC32 header
+ return parseInt(crc, 10) === AWS.util.crypto.crc32(resp.httpResponse.body);
+ },
+
+ /**
+ * @api private
+ */
+ defaultRetryCount: 10,
+
+ /**
+ * @api private
+ */
+ retryDelays: function retryDelays(retryCount) {
+ var delay = retryCount > 0 ? (50 * Math.pow(2, retryCount - 1)) : 0;
+ return delay;
+ }
+});
diff --git a/node_modules/aws-sdk/lib/services/ec2.js b/node_modules/aws-sdk/lib/services/ec2.js
new file mode 100644
index 0000000000000000000000000000000000000000..94122bde96d7f5a59842eba079cb6395f1abe7e2
--- /dev/null
+++ b/node_modules/aws-sdk/lib/services/ec2.js
@@ -0,0 +1,62 @@
+var AWS = require('../core');
+
+AWS.util.update(AWS.EC2.prototype, {
+ /**
+ * @api private
+ */
+ setupRequestListeners: function setupRequestListeners(request) {
+ request.removeListener('extractError', AWS.EventListeners.Query.EXTRACT_ERROR);
+ request.addListener('extractError', this.extractError);
+
+ if (request.operation === 'copySnapshot') {
+ request.onAsync('validate', this.buildCopySnapshotPresignedUrl);
+ }
+ },
+
+ /**
+ * @api private
+ */
+ buildCopySnapshotPresignedUrl: function buildCopySnapshotPresignedUrl(req, done) {
+ if (req.params.PresignedUrl || req._subRequest) {
+ return done();
+ }
+
+ req.params = AWS.util.copy(req.params);
+ req.params.DestinationRegion = req.service.config.region;
+
+ var config = AWS.util.copy(req.service.config);
+ delete config.endpoint;
+ config.region = req.params.SourceRegion;
+ var svc = new req.service.constructor(config);
+ var newReq = svc[req.operation](req.params);
+ newReq._subRequest = true;
+ newReq.presign(function(err, url) {
+ if (err) done(err);
+ else {
+ req.params.PresignedUrl = url;
+ done();
+ }
+ });
+ },
+
+ /**
+ * @api private
+ */
+ extractError: function extractError(resp) {
+ // EC2 nests the error code and message deeper than other AWS Query services.
+ var httpResponse = resp.httpResponse;
+ var data = new AWS.XML.Parser().parse(httpResponse.body.toString() || '');
+ if (data.Errors) {
+ resp.error = AWS.util.error(new Error(), {
+ code: data.Errors.Error.Code,
+ message: data.Errors.Error.Message
+ });
+ } else {
+ resp.error = AWS.util.error(new Error(), {
+ code: httpResponse.statusCode,
+ message: null
+ });
+ }
+ resp.error.requestId = data.RequestID || null;
+ }
+});
diff --git a/node_modules/aws-sdk/lib/services/glacier.js b/node_modules/aws-sdk/lib/services/glacier.js
new file mode 100644
index 0000000000000000000000000000000000000000..115cff4d634459a11ca3e051509258989ea97c6a
--- /dev/null
+++ b/node_modules/aws-sdk/lib/services/glacier.js
@@ -0,0 +1,114 @@
+var AWS = require('../core');
+
+AWS.util.update(AWS.Glacier.prototype, {
+ /**
+ * @api private
+ */
+ setupRequestListeners: function setupRequestListeners(request) {
+ if (Array.isArray(request._events.validate)) {
+ request._events.validate.unshift(this.validateAccountId);
+ } else {
+ request.on('validate', this.validateAccountId);
+ }
+ request.removeListener('afterBuild',
+ AWS.EventListeners.Core.COMPUTE_SHA256);
+ request.on('build', this.addGlacierApiVersion);
+ request.on('build', this.addTreeHashHeaders);
+ },
+
+ /**
+ * @api private
+ */
+ validateAccountId: function validateAccountId(request) {
+ if (request.params.accountId !== undefined) return;
+ request.params = AWS.util.copy(request.params);
+ request.params.accountId = '-';
+ },
+
+ /**
+ * @api private
+ */
+ addGlacierApiVersion: function addGlacierApiVersion(request) {
+ var version = request.service.api.apiVersion;
+ request.httpRequest.headers['x-amz-glacier-version'] = version;
+ },
+
+ /**
+ * @api private
+ */
+ addTreeHashHeaders: function addTreeHashHeaders(request) {
+ if (request.params.body === undefined) return;
+
+ var hashes = request.service.computeChecksums(request.params.body);
+ request.httpRequest.headers['X-Amz-Content-Sha256'] = hashes.linearHash;
+
+ if (!request.httpRequest.headers['x-amz-sha256-tree-hash']) {
+ request.httpRequest.headers['x-amz-sha256-tree-hash'] = hashes.treeHash;
+ }
+ },
+
+ /**
+ * @!group Computing Checksums
+ */
+
+ /**
+ * Computes the SHA-256 linear and tree hash checksums for a given
+ * block of Buffer data. Pass the tree hash of the computed checksums
+ * as the checksum input to the {completeMultipartUpload} when performing
+ * a multi-part upload.
+ *
+ * @example Calculate checksum of 5.5MB data chunk
+ * var glacier = new AWS.Glacier();
+ * var data = new Buffer(5.5 * 1024 * 1024);
+ * data.fill('0'); // fill with zeros
+ * var results = glacier.computeChecksums(data);
+ * // Result: { linearHash: '68aff0c5a9...', treeHash: '154e26c78f...' }
+ * @param data [Buffer, String] data to calculate the checksum for
+ * @return [map] a map containing
+ * the linearHash and treeHash properties representing hex based digests
+ * of the respective checksums.
+ * @see completeMultipartUpload
+ */
+ computeChecksums: function computeChecksums(data) {
+ if (!AWS.util.Buffer.isBuffer(data)) data = new AWS.util.Buffer(data);
+
+ var mb = 1024 * 1024;
+ var hashes = [];
+ var hash = AWS.util.crypto.createHash('sha256');
+
+ // build leaf nodes in 1mb chunks
+ for (var i = 0; i < data.length; i += mb) {
+ var chunk = data.slice(i, Math.min(i + mb, data.length));
+ hash.update(chunk);
+ hashes.push(AWS.util.crypto.sha256(chunk));
+ }
+
+ return {
+ linearHash: hash.digest('hex'),
+ treeHash: this.buildHashTree(hashes)
+ };
+ },
+
+ /**
+ * @api private
+ */
+ buildHashTree: function buildHashTree(hashes) {
+ // merge leaf nodes
+ while (hashes.length > 1) {
+ var tmpHashes = [];
+ for (var i = 0; i < hashes.length; i += 2) {
+ if (hashes[i + 1]) {
+ var tmpHash = new AWS.util.Buffer(64);
+ tmpHash.write(hashes[i], 0, 32, 'binary');
+ tmpHash.write(hashes[i + 1], 32, 32, 'binary');
+ tmpHashes.push(AWS.util.crypto.sha256(tmpHash));
+ } else {
+ tmpHashes.push(hashes[i]);
+ }
+ }
+ hashes = tmpHashes;
+ }
+
+ return AWS.util.crypto.toHex(hashes[0]);
+ }
+});
diff --git a/node_modules/aws-sdk/lib/services/iotdata.js b/node_modules/aws-sdk/lib/services/iotdata.js
new file mode 100644
index 0000000000000000000000000000000000000000..1f09b40cfc600cc805f2387aad43a4d899442efe
--- /dev/null
+++ b/node_modules/aws-sdk/lib/services/iotdata.js
@@ -0,0 +1,88 @@
+var AWS = require('../core');
+
+/**
+ * Constructs a service interface object. Each API operation is exposed as a
+ * function on service.
+ *
+ * ### Sending a Request Using IotData
+ *
+ * ```javascript
+ * var iotdata = new AWS.IotData({endpoint: 'my.host.tld'});
+ * iotdata.getThingShadow(params, function (err, data) {
+ * if (err) console.log(err, err.stack); // an error occurred
+ * else console.log(data); // successful response
+ * });
+ * ```
+ *
+ * ### Locking the API Version
+ *
+ * In order to ensure that the IotData object uses this specific API,
+ * you can construct the object by passing the `apiVersion` option to the
+ * constructor:
+ *
+ * ```javascript
+ * var iotdata = new AWS.IotData({
+ * endpoint: 'my.host.tld',
+ * apiVersion: '2015-05-28'
+ * });
+ * ```
+ *
+ * You can also set the API version globally in `AWS.config.apiVersions` using
+ * the **iotdata** service identifier:
+ *
+ * ```javascript
+ * AWS.config.apiVersions = {
+ * iotdata: '2015-05-28',
+ * // other service API versions
+ * };
+ *
+ * var iotdata = new AWS.IotData({endpoint: 'my.host.tld'});
+ * ```
+ *
+ * @note You *must* provide an `endpoint` configuration parameter when
+ * constructing this service. See {constructor} for more information.
+ *
+ * @!method constructor(options = {})
+ * Constructs a service object. This object has one method for each
+ * API operation.
+ *
+ * @example Constructing a IotData object
+ * var iotdata = new AWS.IotData({endpoint: 'my.host.tld'});
+ * @note You *must* provide an `endpoint` when constructing this service.
+ * @option (see AWS.Config.constructor)
+ *
+ * @service iotdata
+ * @version 2015-05-28
+ */
+AWS.util.update(AWS.IotData.prototype, {
+ /**
+ * @api private
+ */
+ validateService: function validateService() {
+ if (!this.config.endpoint || this.config.endpoint.indexOf('{') >= 0) {
+ var msg = 'AWS.IotData requires an explicit ' +
+ '`endpoint\' configuration option.';
+ throw AWS.util.error(new Error(),
+ {name: 'InvalidEndpoint', message: msg});
+ }
+ },
+
+ /**
+ * @api private
+ */
+ setupRequestListeners: function setupRequestListeners(request) {
+ request.addListener('validateResponse', this.validateResponseBody)
+ },
+
+ /**
+ * @api private
+ */
+ validateResponseBody: function validateResponseBody(resp) {
+ var body = resp.httpResponse.body.toString() || '{}';
+ var bodyCheck = body.trim();
+ if (!bodyCheck || bodyCheck.charAt(0) !== '{') {
+ resp.httpResponse.body = '';
+ }
+ }
+
+});
diff --git a/node_modules/aws-sdk/lib/services/machinelearning.js b/node_modules/aws-sdk/lib/services/machinelearning.js
new file mode 100644
index 0000000000000000000000000000000000000000..e2808f43b22195320bef8577dc90f37d9be15580
--- /dev/null
+++ b/node_modules/aws-sdk/lib/services/machinelearning.js
@@ -0,0 +1,24 @@
+var AWS = require('../core');
+
+AWS.util.update(AWS.MachineLearning.prototype, {
+ /**
+ * @api private
+ */
+ setupRequestListeners: function setupRequestListeners(request) {
+ if (request.operation === 'predict') {
+ request.addListener('build', this.buildEndpoint);
+ }
+ },
+
+ /**
+ * Updates request endpoint from PredictEndpoint
+ * @api private
+ */
+ buildEndpoint: function buildEndpoint(request) {
+ var url = request.params.PredictEndpoint;
+ if (url) {
+ request.httpRequest.endpoint = new AWS.Endpoint(url);
+ }
+ }
+
+});
diff --git a/node_modules/aws-sdk/lib/services/route53.js b/node_modules/aws-sdk/lib/services/route53.js
new file mode 100644
index 0000000000000000000000000000000000000000..1dc868f990461ce7b8c609567f776faa5447fc10
--- /dev/null
+++ b/node_modules/aws-sdk/lib/services/route53.js
@@ -0,0 +1,18 @@
+var AWS = require('../core');
+
+AWS.util.update(AWS.Route53.prototype, {
+ /**
+ * @api private
+ */
+ setupRequestListeners: function setupRequestListeners(request) {
+ request.on('build', this.sanitizeUrl);
+ },
+
+ /**
+ * @api private
+ */
+ sanitizeUrl: function sanitizeUrl(request) {
+ var path = request.httpRequest.path;
+ request.httpRequest.path = path.replace(/\/%2F\w+%2F/, '/');
+ }
+});
diff --git a/node_modules/aws-sdk/lib/services/s3.js b/node_modules/aws-sdk/lib/services/s3.js
new file mode 100644
index 0000000000000000000000000000000000000000..fdcda875e4adab518168dbd46246992f317d09f2
--- /dev/null
+++ b/node_modules/aws-sdk/lib/services/s3.js
@@ -0,0 +1,473 @@
+var AWS = require('../core');
+
+// Pull in managed upload extension
+require('../s3/managed_upload');
+
+var operationsWith200StatusCodeError = {
+ 'completeMultipartUpload': true,
+ 'copyObject': true,
+ 'uploadPartCopy': true
+};
+
+AWS.util.update(AWS.S3.prototype, {
+ /**
+ * @api private
+ */
+ validateService: function validateService() {
+ // default to us-east-1 when no region is provided
+ if (!this.config.region) this.config.region = 'us-east-1';
+
+ if (!this.config.endpoint && this.config.s3BucketEndpoint) {
+ var msg = 'An endpoint must be provided when configuring ' +
+ '`s3BucketEndpoint` to true.';
+ throw AWS.util.error(new Error(),
+ {name: 'InvalidEndpoint', message: msg});
+ }
+ },
+
+ /**
+ * @api private
+ */
+ setupRequestListeners: function setupRequestListeners(request) {
+ request.addListener('validate', this.validateScheme);
+ request.addListener('validate', this.validateBucketEndpoint);
+ request.addListener('build', this.addContentType);
+ request.addListener('build', this.populateURI);
+ request.addListener('build', this.computeContentMd5);
+ request.addListener('build', this.computeSseCustomerKeyMd5);
+ request.addListener('afterBuild', this.addExpect100Continue);
+ request.removeListener('validate',
+ AWS.EventListeners.Core.VALIDATE_REGION);
+ request.addListener('extractError', this.extractError);
+ request.addListener('extractData', this.extractData);
+ request.addListener('extractData', AWS.util.hoistPayloadMember);
+ request.addListener('beforePresign', this.prepareSignedUrl);
+ },
+
+ /**
+ * @api private
+ */
+ validateScheme: function(req) {
+ var params = req.params,
+ scheme = req.httpRequest.endpoint.protocol,
+ sensitive = params.SSECustomerKey || params.CopySourceSSECustomerKey;
+ if (sensitive && scheme !== 'https:') {
+ var msg = 'Cannot send SSE keys over HTTP. Set \'sslEnabled\'' +
+ 'to \'true\' in your configuration';
+ throw AWS.util.error(new Error(),
+ { code: 'ConfigError', message: msg });
+ }
+ },
+
+ /**
+ * @api private
+ */
+ validateBucketEndpoint: function(req) {
+ if (!req.params.Bucket && req.service.config.s3BucketEndpoint) {
+ var msg = 'Cannot send requests to root API with `s3BucketEndpoint` set.';
+ throw AWS.util.error(new Error(),
+ { code: 'ConfigError', message: msg });
+ }
+ },
+
+ /**
+ * S3 prefers dns-compatible bucket names to be moved from the uri path
+ * to the hostname as a sub-domain. This is not possible, even for dns-compat
+ * buckets when using SSL and the bucket name contains a dot ('.'). The
+ * ssl wildcard certificate is only 1-level deep.
+ *
+ * @api private
+ */
+ populateURI: function populateURI(req) {
+ var httpRequest = req.httpRequest;
+ var b = req.params.Bucket;
+
+ if (b) {
+ if (!req.service.pathStyleBucketName(b)) {
+ if (!req.service.config.s3BucketEndpoint) {
+ httpRequest.endpoint.hostname =
+ b + '.' + httpRequest.endpoint.hostname;
+
+ var port = httpRequest.endpoint.port;
+ if (port !== 80 && port !== 443) {
+ httpRequest.endpoint.host = httpRequest.endpoint.hostname + ':' +
+ httpRequest.endpoint.port;
+ } else {
+ httpRequest.endpoint.host = httpRequest.endpoint.hostname;
+ }
+ }
+
+ httpRequest.virtualHostedBucket = b; // needed for signing the request
+ httpRequest.path = httpRequest.path.replace(new RegExp('/' + b), '');
+ if (httpRequest.path[0] !== '/') {
+ httpRequest.path = '/' + httpRequest.path;
+ }
+ }
+ }
+ },
+
+ /**
+ * Adds Expect: 100-continue header if payload is greater-or-equal 1MB
+ * @api private
+ */
+ addExpect100Continue: function addExpect100Continue(req) {
+ var len = req.httpRequest.headers['Content-Length'];
+ if (AWS.util.isNode() && len >= 1024 * 1024) {
+ req.httpRequest.headers['Expect'] = '100-continue';
+ }
+ },
+
+ /**
+ * Adds a default content type if none is supplied.
+ *
+ * @api private
+ */
+ addContentType: function addContentType(req) {
+ var httpRequest = req.httpRequest;
+ if (httpRequest.method === 'GET' || httpRequest.method === 'HEAD') {
+ // Content-Type is not set in GET/HEAD requests
+ delete httpRequest.headers['Content-Type'];
+ return;
+ }
+
+ if (!httpRequest.headers['Content-Type']) { // always have a Content-Type
+ httpRequest.headers['Content-Type'] = 'application/octet-stream';
+ }
+
+ var contentType = httpRequest.headers['Content-Type'];
+ if (AWS.util.isBrowser()) {
+ if (typeof httpRequest.body === 'string' && !contentType.match(/;\s*charset=/)) {
+ var charset = '; charset=UTF-8';
+ httpRequest.headers['Content-Type'] += charset;
+ } else {
+ var replaceFn = function(_, prefix, charsetName) {
+ return prefix + charsetName.toUpperCase();
+ };
+
+ httpRequest.headers['Content-Type'] =
+ contentType.replace(/(;\s*charset=)(.+)$/, replaceFn);
+ }
+ }
+ },
+
+ /**
+ * @api private
+ */
+ computableChecksumOperations: {
+ putBucketCors: true,
+ putBucketLifecycle: true,
+ putBucketLifecycleConfiguration: true,
+ putBucketTagging: true,
+ deleteObjects: true,
+ putBucketReplication: true
+ },
+
+ /**
+ * Checks whether checksums should be computed for the request.
+ * If the request requires checksums to be computed, this will always
+ * return true, otherwise it depends on whether {AWS.Config.computeChecksums}
+ * is set.
+ *
+ * @param req [AWS.Request] the request to check against
+ * @return [Boolean] whether to compute checksums for a request.
+ * @api private
+ */
+ willComputeChecksums: function willComputeChecksums(req) {
+ if (this.computableChecksumOperations[req.operation]) return true;
+ if (!this.config.computeChecksums) return false;
+
+ // TODO: compute checksums for Stream objects
+ if (!AWS.util.Buffer.isBuffer(req.httpRequest.body) &&
+ typeof req.httpRequest.body !== 'string') {
+ return false;
+ }
+
+ var rules = req.service.api.operations[req.operation].input.members;
+
+ // V4 signer uses SHA256 signatures so only compute MD5 if it is required
+ if (req.service.getSignerClass(req) === AWS.Signers.V4) {
+ if (rules.ContentMD5 && !rules.ContentMD5.required) return false;
+ }
+
+ if (rules.ContentMD5 && !req.params.ContentMD5) return true;
+ },
+
+ /**
+ * A listener that computes the Content-MD5 and sets it in the header.
+ * @see AWS.S3.willComputeChecksums
+ * @api private
+ */
+ computeContentMd5: function computeContentMd5(req) {
+ if (req.service.willComputeChecksums(req)) {
+ var md5 = AWS.util.crypto.md5(req.httpRequest.body, 'base64');
+ req.httpRequest.headers['Content-MD5'] = md5;
+ }
+ },
+
+ /**
+ * @api private
+ */
+ computeSseCustomerKeyMd5: function computeSseCustomerKeyMd5(req) {
+ var keys = {
+ SSECustomerKey: 'x-amz-server-side-encryption-customer-key-MD5',
+ CopySourceSSECustomerKey: 'x-amz-copy-source-server-side-encryption-customer-key-MD5'
+ };
+ AWS.util.each(keys, function(key, header) {
+ if (req.params[key]) {
+ var value = AWS.util.crypto.md5(req.params[key], 'base64');
+ req.httpRequest.headers[header] = value;
+ }
+ });
+ },
+
+ /**
+ * Returns true if the bucket name should be left in the URI path for
+ * a request to S3. This function takes into account the current
+ * endpoint protocol (e.g. http or https).
+ *
+ * @api private
+ */
+ pathStyleBucketName: function pathStyleBucketName(bucketName) {
+ // user can force path style requests via the configuration
+ if (this.config.s3ForcePathStyle) return true;
+ if (this.config.s3BucketEndpoint) return false;
+
+ if (this.dnsCompatibleBucketName(bucketName)) {
+ return (this.config.sslEnabled && bucketName.match(/\./)) ? true : false;
+ } else {
+ return true; // not dns compatible names must always use path style
+ }
+ },
+
+ /**
+ * Returns true if the bucket name is DNS compatible. Buckets created
+ * outside of the classic region MUST be DNS compatible.
+ *
+ * @api private
+ */
+ dnsCompatibleBucketName: function dnsCompatibleBucketName(bucketName) {
+ var b = bucketName;
+ var domain = new RegExp(/^[a-z0-9][a-z0-9\.\-]{1,61}[a-z0-9]$/);
+ var ipAddress = new RegExp(/(\d+\.){3}\d+/);
+ var dots = new RegExp(/\.\./);
+ return (b.match(domain) && !b.match(ipAddress) && !b.match(dots)) ? true : false;
+ },
+
+ /**
+ * @return [Boolean] whether response contains an error
+ * @api private
+ */
+ successfulResponse: function successfulResponse(resp) {
+ var req = resp.request;
+ var httpResponse = resp.httpResponse;
+ if (operationsWith200StatusCodeError[req.operation] &&
+ httpResponse.body.toString().match('')) {
+ return false;
+ } else {
+ return httpResponse.statusCode < 300;
+ }
+ },
+
+ /**
+ * @return [Boolean] whether the error can be retried
+ * @api private
+ */
+ retryableError: function retryableError(error, request) {
+ if (operationsWith200StatusCodeError[request.operation] &&
+ error.statusCode === 200) {
+ return true;
+ } else if (error && error.code === 'RequestTimeout') {
+ return true;
+ } else if (error && error.code === 'AuthorizationHeaderMalformed' &&
+ error.region && error.region != request.httpRequest.region) {
+ request.httpRequest.region = error.region;
+ return true;
+ } else {
+ var _super = AWS.Service.prototype.retryableError;
+ return _super.call(this, error, request);
+ }
+ },
+
+ /**
+ * Provides a specialized parser for getBucketLocation -- all other
+ * operations are parsed by the super class.
+ *
+ * @api private
+ */
+ extractData: function extractData(resp) {
+ var req = resp.request;
+ if (req.operation === 'getBucketLocation') {
+ var match = resp.httpResponse.body.toString().match(/>(.+)<\/Location/);
+ delete resp.data['_'];
+ if (match) {
+ resp.data.LocationConstraint = match[1];
+ } else {
+ resp.data.LocationConstraint = '';
+ }
+ }
+ },
+
+ /**
+ * Extracts an error object from the http response.
+ *
+ * @api private
+ */
+ extractError: function extractError(resp) {
+ var codes = {
+ 304: 'NotModified',
+ 403: 'Forbidden',
+ 400: 'BadRequest',
+ 404: 'NotFound'
+ };
+
+ var code = resp.httpResponse.statusCode;
+ var body = resp.httpResponse.body || '';
+ var requestId = resp.requestId;
+ var extendedRequestId = resp.httpResponse.headers ? resp.httpResponse.headers['x-amz-id-2'] : null;
+ if (codes[code] && body.length === 0) {
+ resp.error = AWS.util.error(new Error(), {
+ code: codes[resp.httpResponse.statusCode],
+ message: null
+ });
+ } else {
+ var data = new AWS.XML.Parser().parse(body.toString());
+ resp.error = AWS.util.error(new Error(), {
+ code: data.Code || code,
+ message: data.Message || null,
+ region: data.Region || null
+ });
+ }
+ resp.error.requestId = requestId || null;
+ resp.error.extendedRequestId = extendedRequestId || null;
+ },
+
+ /**
+ * Get a pre-signed URL for a given operation name.
+ *
+ * @note You must ensure that you have static or previously resolved
+ * credentials if you call this method synchronously (with no callback),
+ * otherwise it may not properly sign the request. If you cannot guarantee
+ * this (you are using an asynchronous credential provider, i.e., EC2
+ * IAM roles), you should always call this method with an asynchronous
+ * callback.
+ * @param operation [String] the name of the operation to call
+ * @param params [map] parameters to pass to the operation. See the given
+ * operation for the expected operation parameters. In addition, you can
+ * also pass the "Expires" parameter to inform S3 how long the URL should
+ * work for.
+ * @option params Expires [Integer] (900) the number of seconds to expire
+ * the pre-signed URL operation in. Defaults to 15 minutes.
+ * @param callback [Function] if a callback is provided, this function will
+ * pass the URL as the second parameter (after the error parameter) to
+ * the callback function.
+ * @return [String] if called synchronously (with no callback), returns the
+ * signed URL.
+ * @return [null] nothing is returned if a callback is provided.
+ * @example Pre-signing a getObject operation (synchronously)
+ * var params = {Bucket: 'bucket', Key: 'key'};
+ * var url = s3.getSignedUrl('getObject', params);
+ * console.log('The URL is', url);
+ * @example Pre-signing a putObject (asynchronously)
+ * var params = {Bucket: 'bucket', Key: 'key'};
+ * s3.getSignedUrl('putObject', params, function (err, url) {
+ * console.log('The URL is', url);
+ * });
+ * @example Pre-signing a putObject operation with a specific payload
+ * var params = {Bucket: 'bucket', Key: 'key', Body: 'body'};
+ * var url = s3.getSignedUrl('putObject', params);
+ * console.log('The URL is', url);
+ * @example Passing in a 1-minute expiry time for a pre-signed URL
+ * var params = {Bucket: 'bucket', Key: 'key', Expires: 60};
+ * var url = s3.getSignedUrl('getObject', params);
+ * console.log('The URL is', url); // expires in 60 seconds
+ */
+ getSignedUrl: function getSignedUrl(operation, params, callback) {
+ params = AWS.util.copy(params || {});
+ var expires = params.Expires || 900;
+ delete params.Expires; // we can't validate this
+ var request = this.makeRequest(operation, params);
+ return request.presign(expires, callback);
+ },
+
+ /**
+ * @api private
+ */
+ prepareSignedUrl: function prepareSignedUrl(request) {
+ request.addListener('validate', request.service.noPresignedContentLength);
+ request.removeListener('build', request.service.addContentType);
+ if (!request.params.Body) {
+ // no Content-MD5/SHA-256 if body is not provided
+ request.removeListener('build', request.service.computeContentMd5);
+ } else {
+ request.addListener('afterBuild', AWS.EventListeners.Core.COMPUTE_SHA256);
+ }
+ },
+
+ noPresignedContentLength: function noPresignedContentLength(request) {
+ if (request.params.ContentLength !== undefined) {
+ throw AWS.util.error(new Error(), {code: 'UnexpectedParameter',
+ message: 'ContentLength is not supported in pre-signed URLs.'});
+ }
+ },
+
+ createBucket: function createBucket(params, callback) {
+ // When creating a bucket *outside* the classic region, the location
+ // constraint must be set for the bucket and it must match the endpoint.
+ // This chunk of code will set the location constraint param based
+ // on the region (when possible), but it will not override a passed-in
+ // location constraint.
+ if (typeof params === 'function' || !params) {
+ callback = callback || params;
+ params = {};
+ }
+ var hostname = this.endpoint.hostname;
+ if (hostname !== this.api.globalEndpoint && !params.CreateBucketConfiguration) {
+ params.CreateBucketConfiguration = { LocationConstraint: this.config.region };
+ }
+ return this.makeRequest('createBucket', params, callback);
+ },
+
+ /**
+ * @overload upload(params = {}, [options], [callback])
+ * Uploads an arbitrarily sized buffer, blob, or stream, using intelligent
+ * concurrent handling of parts if the payload is large enough. You can
+ * configure the concurrent queue size by setting `options`.
+ *
+ * @param (see AWS.S3.putObject)
+ * @option (see AWS.S3.ManagedUpload.constructor)
+ * @return [AWS.S3.ManagedUpload] the managed upload object that can call
+ * `send()` or track progress.
+ * @example Uploading a stream object
+ * var params = {Bucket: 'bucket', Key: 'key', Body: stream};
+ * s3.upload(params, function(err, data) {
+ * console.log(err, data);
+ * });
+ * @example Uploading a stream with concurrency of 1 and partSize of 10mb
+ * var params = {Bucket: 'bucket', Key: 'key', Body: stream};
+ * var options = {partSize: 10 * 1024 * 1024, queueSize: 1};
+ * s3.upload(params, options, function(err, data) {
+ * console.log(err, data);
+ * });
+ * @callback callback function(err, data)
+ * @param err [Error] an error or null if no error occurred.
+ * @param data [map] The response data from the successful upload:
+ * * `Location` (String) the URL of the uploaded object
+ * * `ETag` (String) the ETag of the uploaded object
+ * * `Bucket` (String) the bucket to which the object was uploaded
+ * * `Key` (String) the key to which the object was uploaded
+ * @see AWS.S3.ManagedUpload
+ */
+ upload: function upload(params, options, callback) {
+ if (typeof options === 'function' && callback === undefined) {
+ callback = options;
+ options = null;
+ }
+
+ options = options || {};
+ options = AWS.util.merge(options || {}, {service: this, params: params});
+
+ var uploader = new AWS.S3.ManagedUpload(options);
+ if (typeof callback === 'function') uploader.send(callback);
+ return uploader;
+ }
+});
diff --git a/node_modules/aws-sdk/lib/services/sqs.js b/node_modules/aws-sdk/lib/services/sqs.js
new file mode 100644
index 0000000000000000000000000000000000000000..42aaf2ec1fc8143c180ea588eaeb511e11ba0aa0
--- /dev/null
+++ b/node_modules/aws-sdk/lib/services/sqs.js
@@ -0,0 +1,131 @@
+var AWS = require('../core');
+
+AWS.util.update(AWS.SQS.prototype, {
+ /**
+ * @api private
+ */
+ setupRequestListeners: function setupRequestListeners(request) {
+ request.addListener('build', this.buildEndpoint);
+
+ if (request.service.config.computeChecksums) {
+ if (request.operation === 'sendMessage') {
+ request.addListener('extractData', this.verifySendMessageChecksum);
+ } else if (request.operation === 'sendMessageBatch') {
+ request.addListener('extractData', this.verifySendMessageBatchChecksum);
+ } else if (request.operation === 'receiveMessage') {
+ request.addListener('extractData', this.verifyReceiveMessageChecksum);
+ }
+ }
+ },
+
+ /**
+ * @api private
+ */
+ verifySendMessageChecksum: function verifySendMessageChecksum(response) {
+ if (!response.data) return;
+
+ var md5 = response.data.MD5OfMessageBody;
+ var body = this.params.MessageBody;
+ var calculatedMd5 = this.service.calculateChecksum(body);
+ if (calculatedMd5 !== md5) {
+ var msg = 'Got "' + response.data.MD5OfMessageBody +
+ '", expecting "' + calculatedMd5 + '".';
+ this.service.throwInvalidChecksumError(response,
+ [response.data.MessageId], msg);
+ }
+ },
+
+ /**
+ * @api private
+ */
+ verifySendMessageBatchChecksum: function verifySendMessageBatchChecksum(response) {
+ if (!response.data) return;
+
+ var service = this.service;
+ var entries = {};
+ var errors = [];
+ var messageIds = [];
+ AWS.util.arrayEach(response.data.Successful, function (entry) {
+ entries[entry.Id] = entry;
+ });
+ AWS.util.arrayEach(this.params.Entries, function (entry) {
+ if (entries[entry.Id]) {
+ var md5 = entries[entry.Id].MD5OfMessageBody;
+ var body = entry.MessageBody;
+ if (!service.isChecksumValid(md5, body)) {
+ errors.push(entry.Id);
+ messageIds.push(entries[entry.Id].MessageId);
+ }
+ }
+ });
+
+ if (errors.length > 0) {
+ service.throwInvalidChecksumError(response, messageIds,
+ 'Invalid messages: ' + errors.join(', '));
+ }
+ },
+
+ /**
+ * @api private
+ */
+ verifyReceiveMessageChecksum: function verifyReceiveMessageChecksum(response) {
+ if (!response.data) return;
+
+ var service = this.service;
+ var messageIds = [];
+ AWS.util.arrayEach(response.data.Messages, function(message) {
+ var md5 = message.MD5OfBody;
+ var body = message.Body;
+ if (!service.isChecksumValid(md5, body)) {
+ messageIds.push(message.MessageId);
+ }
+ });
+
+ if (messageIds.length > 0) {
+ service.throwInvalidChecksumError(response, messageIds,
+ 'Invalid messages: ' + messageIds.join(', '));
+ }
+ },
+
+ /**
+ * @api private
+ */
+ throwInvalidChecksumError: function throwInvalidChecksumError(response, ids, message) {
+ response.error = AWS.util.error(new Error(), {
+ retryable: true,
+ code: 'InvalidChecksum',
+ messageIds: ids,
+ message: response.request.operation +
+ ' returned an invalid MD5 response. ' + message
+ });
+ },
+
+ /**
+ * @api private
+ */
+ isChecksumValid: function isChecksumValid(checksum, data) {
+ return this.calculateChecksum(data) === checksum;
+ },
+
+ /**
+ * @api private
+ */
+ calculateChecksum: function calculateChecksum(data) {
+ return AWS.util.crypto.md5(data, 'hex');
+ },
+
+ /**
+ * @api private
+ */
+ buildEndpoint: function buildEndpoint(request) {
+ var url = request.httpRequest.params.QueueUrl;
+ if (url) {
+ request.httpRequest.endpoint = new AWS.Endpoint(url);
+
+ // signature version 4 requires the region name to be set,
+ // sqs queue urls contain the region name
+ var matches = request.httpRequest.endpoint.host.match(/^sqs\.(.+?)\./);
+ if (matches) request.httpRequest.region = matches[1];
+ }
+ }
+});
diff --git a/node_modules/aws-sdk/lib/services/sts.js b/node_modules/aws-sdk/lib/services/sts.js
new file mode 100644
index 0000000000000000000000000000000000000000..6e9fd00c8e1b926a90a13c9fd14d43f0c0fefdf0
--- /dev/null
+++ b/node_modules/aws-sdk/lib/services/sts.js
@@ -0,0 +1,47 @@
+var AWS = require('../core');
+
+AWS.util.update(AWS.STS.prototype, {
+ /**
+ * @overload credentialsFrom(data, credentials = null)
+ * Creates a credentials object from STS response data containing
+ * credentials information. Useful for quickly setting AWS credentials.
+ *
+ * @note This is a low-level utility function. If you want to load temporary
+ * credentials into your process for subsequent requests to AWS resources,
+ * you should use {AWS.TemporaryCredentials} instead.
+ * @param data [map] data retrieved from a call to {getFederatedToken},
+ * {getSessionToken}, {assumeRole}, or {assumeRoleWithWebIdentity}.
+ * @param credentials [AWS.Credentials] an optional credentials object to
+ * fill instead of creating a new object. Useful when modifying an
+ * existing credentials object from a refresh call.
+ * @return [AWS.TemporaryCredentials] the set of temporary credentials
+ * loaded from a raw STS operation response.
+ * @example Using credentialsFrom to load global AWS credentials
+ * var sts = new AWS.STS();
+ * sts.getSessionToken(function (err, data) {
+ * if (err) console.log("Error getting credentials");
+ * else {
+ * AWS.config.credentials = sts.credentialsFrom(data);
+ * }
+ * });
+ * @see AWS.TemporaryCredentials
+ */
+ credentialsFrom: function credentialsFrom(data, credentials) {
+ if (!data) return null;
+ if (!credentials) credentials = new AWS.TemporaryCredentials();
+ credentials.expired = false;
+ credentials.accessKeyId = data.Credentials.AccessKeyId;
+ credentials.secretAccessKey = data.Credentials.SecretAccessKey;
+ credentials.sessionToken = data.Credentials.SessionToken;
+ credentials.expireTime = data.Credentials.Expiration;
+ return credentials;
+ },
+
+ assumeRoleWithWebIdentity: function assumeRoleWithWebIdentity(params, callback) {
+ return this.makeUnauthenticatedRequest('assumeRoleWithWebIdentity', params, callback);
+ },
+
+ assumeRoleWithSAML: function assumeRoleWithSAML(params, callback) {
+ return this.makeUnauthenticatedRequest('assumeRoleWithSAML', params, callback);
+ }
+});
diff --git a/node_modules/aws-sdk/lib/services/swf.js b/node_modules/aws-sdk/lib/services/swf.js
new file mode 100644
index 0000000000000000000000000000000000000000..d25208737c533ac36d0e0dc4f1c55c5039b6e1da
--- /dev/null
+++ b/node_modules/aws-sdk/lib/services/swf.js
@@ -0,0 +1,10 @@
+var AWS = require('../core');
+
+AWS.util.hideProperties(AWS, ['SimpleWorkflow']);
+
+/**
+ * @constant
+ * @readonly
+ * Backwards compatibility for access to the {AWS.SWF} service class.
+ */
+AWS.SimpleWorkflow = AWS.SWF;
diff --git a/node_modules/aws-sdk/lib/signers/presign.js b/node_modules/aws-sdk/lib/signers/presign.js
new file mode 100644
index 0000000000000000000000000000000000000000..0a521e95eb59d85fe1b79987916d7007bbf6eb5b
--- /dev/null
+++ b/node_modules/aws-sdk/lib/signers/presign.js
@@ -0,0 +1,112 @@
+var AWS = require('../core');
+var inherit = AWS.util.inherit;
+
+/**
+ * @api private
+ */
+var expiresHeader = 'presigned-expires';
+
+/**
+ * @api private
+ */
+function signedUrlBuilder(request) {
+ var expires = request.httpRequest.headers[expiresHeader];
+
+ delete request.httpRequest.headers['User-Agent'];
+ delete request.httpRequest.headers['X-Amz-User-Agent'];
+
+ if (request.service.getSignerClass() === AWS.Signers.V4) {
+ if (expires > 604800) { // one week expiry is invalid
+ var message = 'Presigning does not support expiry time greater ' +
+ 'than a week with SigV4 signing.';
+ throw AWS.util.error(new Error(), {
+ code: 'InvalidExpiryTime', message: message, retryable: false
+ });
+ }
+ request.httpRequest.headers[expiresHeader] = expires;
+ } else if (request.service.getSignerClass() === AWS.Signers.S3) {
+ request.httpRequest.headers[expiresHeader] = parseInt(
+ AWS.util.date.unixTimestamp() + expires, 10).toString();
+ } else {
+ throw AWS.util.error(new Error(), {
+ message: 'Presigning only supports S3 or SigV4 signing.',
+ code: 'UnsupportedSigner', retryable: false
+ });
+ }
+}
+
+/**
+ * @api private
+ */
+function signedUrlSigner(request) {
+ var endpoint = request.httpRequest.endpoint;
+ var parsedUrl = AWS.util.urlParse(request.httpRequest.path);
+ var queryParams = {};
+
+ if (parsedUrl.search) {
+ queryParams = AWS.util.queryStringParse(parsedUrl.search.substr(1));
+ }
+
+ AWS.util.each(request.httpRequest.headers, function (key, value) {
+ if (key === expiresHeader) key = 'Expires';
+ if (key.indexOf('x-amz-meta-') === 0) {
+ key = key.toLowerCase();
+ }
+ queryParams[key] = value;
+ });
+ delete request.httpRequest.headers[expiresHeader];
+
+ var auth = queryParams['Authorization'].split(' ');
+ if (auth[0] === 'AWS') {
+ auth = auth[1].split(':');
+ queryParams['AWSAccessKeyId'] = auth[0];
+ queryParams['Signature'] = auth[1];
+ } else if (auth[0] === 'AWS4-HMAC-SHA256') { // SigV4 signing
+ auth.shift();
+ var rest = auth.join(' ');
+ var signature = rest.match(/Signature=(.*?)(?:,|\s|\r?\n|$)/)[1];
+ queryParams['X-Amz-Signature'] = signature;
+ delete queryParams['Expires'];
+ }
+ delete queryParams['Authorization'];
+ delete queryParams['Host'];
+
+ // build URL
+ endpoint.pathname = parsedUrl.pathname;
+ endpoint.search = AWS.util.queryParamsToString(queryParams);
+}
+
+/**
+ * @api private
+ */
+AWS.Signers.Presign = inherit({
+ /**
+ * @api private
+ */
+ sign: function sign(request, expireTime, callback) {
+ request.httpRequest.headers[expiresHeader] = expireTime || 3600;
+ request.on('build', signedUrlBuilder);
+ request.on('sign', signedUrlSigner);
+ request.removeListener('afterBuild',
+ AWS.EventListeners.Core.SET_CONTENT_LENGTH);
+ request.removeListener('afterBuild',
+ AWS.EventListeners.Core.COMPUTE_SHA256);
+
+ request.emit('beforePresign', [request]);
+
+ if (callback) {
+ request.build(function() {
+ if (this.response.error) callback(this.response.error);
+ else {
+ callback(null, AWS.util.urlFormat(request.httpRequest.endpoint));
+ }
+ });
+ } else {
+ request.build();
+ if (request.response.error) throw request.response.error;
+ return AWS.util.urlFormat(request.httpRequest.endpoint);
+ }
+ }
+});
+
+module.exports = AWS.Signers.Presign;
diff --git a/node_modules/aws-sdk/lib/signers/request_signer.js b/node_modules/aws-sdk/lib/signers/request_signer.js
new file mode 100644
index 0000000000000000000000000000000000000000..7235267a7fd4a6ea61f05ec69f2b46b6cd78fd2b
--- /dev/null
+++ b/node_modules/aws-sdk/lib/signers/request_signer.js
@@ -0,0 +1,29 @@
+var AWS = require('../core');
+var inherit = AWS.util.inherit;
+
+/**
+ * @api private
+ */
+AWS.Signers.RequestSigner = inherit({
+ constructor: function RequestSigner(request) {
+ this.request = request;
+ }
+});
+
+AWS.Signers.RequestSigner.getVersion = function getVersion(version) {
+ switch (version) {
+ case 'v2': return AWS.Signers.V2;
+ case 'v3': return AWS.Signers.V3;
+ case 'v4': return AWS.Signers.V4;
+ case 's3': return AWS.Signers.S3;
+ case 'v3https': return AWS.Signers.V3Https;
+ }
+ throw new Error('Unknown signing version ' + version);
+};
+
+require('./v2');
+require('./v3');
+require('./v3https');
+require('./v4');
+require('./s3');
+require('./presign');
diff --git a/node_modules/aws-sdk/lib/signers/s3.js b/node_modules/aws-sdk/lib/signers/s3.js
new file mode 100644
index 0000000000000000000000000000000000000000..55c5d29a21999c5b15bfd7f2539045495a87c070
--- /dev/null
+++ b/node_modules/aws-sdk/lib/signers/s3.js
@@ -0,0 +1,168 @@
+var AWS = require('../core');
+var inherit = AWS.util.inherit;
+
+/**
+ * @api private
+ */
+AWS.Signers.S3 = inherit(AWS.Signers.RequestSigner, {
+ /**
+ * When building the stringToSign, these sub resource params should be
+ * part of the canonical resource string with their NON-decoded values
+ */
+ subResources: {
+ 'acl': 1,
+ 'cors': 1,
+ 'lifecycle': 1,
+ 'delete': 1,
+ 'location': 1,
+ 'logging': 1,
+ 'notification': 1,
+ 'partNumber': 1,
+ 'policy': 1,
+ 'requestPayment': 1,
+ 'replication': 1,
+ 'restore': 1,
+ 'tagging': 1,
+ 'torrent': 1,
+ 'uploadId': 1,
+ 'uploads': 1,
+ 'versionId': 1,
+ 'versioning': 1,
+ 'versions': 1,
+ 'website': 1
+ },
+
+ // when building the stringToSign, these querystring params should be
+ // part of the canonical resource string with their NON-encoded values
+ responseHeaders: {
+ 'response-content-type': 1,
+ 'response-content-language': 1,
+ 'response-expires': 1,
+ 'response-cache-control': 1,
+ 'response-content-disposition': 1,
+ 'response-content-encoding': 1
+ },
+
+ addAuthorization: function addAuthorization(credentials, date) {
+ if (!this.request.headers['presigned-expires']) {
+ this.request.headers['X-Amz-Date'] = AWS.util.date.rfc822(date);
+ }
+
+ if (credentials.sessionToken) {
+ // presigned URLs require this header to be lowercased
+ this.request.headers['x-amz-security-token'] = credentials.sessionToken;
+ }
+
+ var signature = this.sign(credentials.secretAccessKey, this.stringToSign());
+ var auth = 'AWS ' + credentials.accessKeyId + ':' + signature;
+
+ this.request.headers['Authorization'] = auth;
+ },
+
+ stringToSign: function stringToSign() {
+ var r = this.request;
+
+ var parts = [];
+ parts.push(r.method);
+ parts.push(r.headers['Content-MD5'] || '');
+ parts.push(r.headers['Content-Type'] || '');
+
+ // This is the "Date" header, but we use X-Amz-Date.
+ // The S3 signing mechanism requires us to pass an empty
+ // string for this Date header regardless.
+ parts.push(r.headers['presigned-expires'] || '');
+
+ var headers = this.canonicalizedAmzHeaders();
+ if (headers) parts.push(headers);
+ parts.push(this.canonicalizedResource());
+
+ return parts.join('\n');
+
+ },
+
+ canonicalizedAmzHeaders: function canonicalizedAmzHeaders() {
+
+ var amzHeaders = [];
+
+ AWS.util.each(this.request.headers, function (name) {
+ if (name.match(/^x-amz-/i))
+ amzHeaders.push(name);
+ });
+
+ amzHeaders.sort(function (a, b) {
+ return a.toLowerCase() < b.toLowerCase() ? -1 : 1;
+ });
+
+ var parts = [];
+ AWS.util.arrayEach.call(this, amzHeaders, function (name) {
+ parts.push(name.toLowerCase() + ':' + String(this.request.headers[name]));
+ });
+
+ return parts.join('\n');
+
+ },
+
+ canonicalizedResource: function canonicalizedResource() {
+
+ var r = this.request;
+
+ var parts = r.path.split('?');
+ var path = parts[0];
+ var querystring = parts[1];
+
+ var resource = '';
+
+ if (r.virtualHostedBucket)
+ resource += '/' + r.virtualHostedBucket;
+
+ resource += path;
+
+ if (querystring) {
+
+ // collect a list of sub resources and query params that need to be signed
+ var resources = [];
+
+ AWS.util.arrayEach.call(this, querystring.split('&'), function (param) {
+ var name = param.split('=')[0];
+ var value = param.split('=')[1];
+ if (this.subResources[name] || this.responseHeaders[name]) {
+ var subresource = { name: name };
+ if (value !== undefined) {
+ if (this.subResources[name]) {
+ subresource.value = value;
+ } else {
+ subresource.value = decodeURIComponent(value);
+ }
+ }
+ resources.push(subresource);
+ }
+ });
+
+ resources.sort(function (a, b) { return a.name < b.name ? -1 : 1; });
+
+ if (resources.length) {
+
+ querystring = [];
+ AWS.util.arrayEach(resources, function (res) {
+ if (res.value === undefined) {
+ querystring.push(res.name);
+ } else {
+ querystring.push(res.name + '=' + res.value);
+ }
+ });
+
+ resource += '?' + querystring.join('&');
+ }
+
+ }
+
+ return resource;
+
+ },
+
+ sign: function sign(secret, string) {
+ return AWS.util.crypto.hmac(secret, string, 'base64', 'sha1');
+ }
+});
+
+module.exports = AWS.Signers.S3;
diff --git a/node_modules/aws-sdk/lib/signers/v2.js b/node_modules/aws-sdk/lib/signers/v2.js
new file mode 100644
index 0000000000000000000000000000000000000000..9c7d03f46a9aadcfb0ac24205709d27cdb879e76
--- /dev/null
+++ b/node_modules/aws-sdk/lib/signers/v2.js
@@ -0,0 +1,45 @@
+var AWS = require('../core');
+var inherit = AWS.util.inherit;
+
+/**
+ * @api private
+ */
+AWS.Signers.V2 = inherit(AWS.Signers.RequestSigner, {
+ addAuthorization: function addAuthorization(credentials, date) {
+
+ if (!date) date = AWS.util.date.getDate();
+
+ var r = this.request;
+
+ r.params.Timestamp = AWS.util.date.iso8601(date);
+ r.params.SignatureVersion = '2';
+ r.params.SignatureMethod = 'HmacSHA256';
+ r.params.AWSAccessKeyId = credentials.accessKeyId;
+
+ if (credentials.sessionToken) {
+ r.params.SecurityToken = credentials.sessionToken;
+ }
+
+ delete r.params.Signature; // delete old Signature for re-signing
+ r.params.Signature = this.signature(credentials);
+
+ r.body = AWS.util.queryParamsToString(r.params);
+ r.headers['Content-Length'] = r.body.length;
+ },
+
+ signature: function signature(credentials) {
+ return AWS.util.crypto.hmac(credentials.secretAccessKey, this.stringToSign(), 'base64');
+ },
+
+ stringToSign: function stringToSign() {
+ var parts = [];
+ parts.push(this.request.method);
+ parts.push(this.request.endpoint.host.toLowerCase());
+ parts.push(this.request.pathname());
+ parts.push(AWS.util.queryParamsToString(this.request.params));
+ return parts.join('\n');
+ }
+
+});
+
+module.exports = AWS.Signers.V2;
diff --git a/node_modules/aws-sdk/lib/signers/v3.js b/node_modules/aws-sdk/lib/signers/v3.js
new file mode 100644
index 0000000000000000000000000000000000000000..40f342d5ff2a447a7830e274b8a4ff74f6964b49
--- /dev/null
+++ b/node_modules/aws-sdk/lib/signers/v3.js
@@ -0,0 +1,74 @@
+var AWS = require('../core');
+var inherit = AWS.util.inherit;
+
+/**
+ * @api private
+ */
+AWS.Signers.V3 = inherit(AWS.Signers.RequestSigner, {
+ addAuthorization: function addAuthorization(credentials, date) {
+
+ var datetime = AWS.util.date.rfc822(date);
+
+ this.request.headers['X-Amz-Date'] = datetime;
+
+ if (credentials.sessionToken) {
+ this.request.headers['x-amz-security-token'] = credentials.sessionToken;
+ }
+
+ this.request.headers['X-Amzn-Authorization'] =
+ this.authorization(credentials, datetime);
+
+ },
+
+ authorization: function authorization(credentials) {
+ return 'AWS3 ' +
+ 'AWSAccessKeyId=' + credentials.accessKeyId + ',' +
+ 'Algorithm=HmacSHA256,' +
+ 'SignedHeaders=' + this.signedHeaders() + ',' +
+ 'Signature=' + this.signature(credentials);
+ },
+
+ signedHeaders: function signedHeaders() {
+ var headers = [];
+ AWS.util.arrayEach(this.headersToSign(), function iterator(h) {
+ headers.push(h.toLowerCase());
+ });
+ return headers.sort().join(';');
+ },
+
+ canonicalHeaders: function canonicalHeaders() {
+ var headers = this.request.headers;
+ var parts = [];
+ AWS.util.arrayEach(this.headersToSign(), function iterator(h) {
+ parts.push(h.toLowerCase().trim() + ':' + String(headers[h]).trim());
+ });
+ return parts.sort().join('\n') + '\n';
+ },
+
+ headersToSign: function headersToSign() {
+ var headers = [];
+ AWS.util.each(this.request.headers, function iterator(k) {
+ if (k === 'Host' || k === 'Content-Encoding' || k.match(/^X-Amz/i)) {
+ headers.push(k);
+ }
+ });
+ return headers;
+ },
+
+ signature: function signature(credentials) {
+ return AWS.util.crypto.hmac(credentials.secretAccessKey, this.stringToSign(), 'base64');
+ },
+
+ stringToSign: function stringToSign() {
+ var parts = [];
+ parts.push(this.request.method);
+ parts.push('/');
+ parts.push('');
+ parts.push(this.canonicalHeaders());
+ parts.push(this.request.body);
+ return AWS.util.crypto.sha256(parts.join('\n'));
+ }
+
+});
+
+module.exports = AWS.Signers.V3;
diff --git a/node_modules/aws-sdk/lib/signers/v3https.js b/node_modules/aws-sdk/lib/signers/v3https.js
new file mode 100644
index 0000000000000000000000000000000000000000..b70a9305f4e271cf6f69622a7f63c0b92ad9c9b8
--- /dev/null
+++ b/node_modules/aws-sdk/lib/signers/v3https.js
@@ -0,0 +1,22 @@
+var AWS = require('../core');
+var inherit = AWS.util.inherit;
+
+require('./v3');
+
+/**
+ * @api private
+ */
+AWS.Signers.V3Https = inherit(AWS.Signers.V3, {
+ authorization: function authorization(credentials) {
+ return 'AWS3-HTTPS ' +
+ 'AWSAccessKeyId=' + credentials.accessKeyId + ',' +
+ 'Algorithm=HmacSHA256,' +
+ 'Signature=' + this.signature(credentials);
+ },
+
+ stringToSign: function stringToSign() {
+ return this.request.headers['X-Amz-Date'];
+ }
+});
+
+module.exports = AWS.Signers.V3Https;
diff --git a/node_modules/aws-sdk/lib/signers/v4.js b/node_modules/aws-sdk/lib/signers/v4.js
new file mode 100644
index 0000000000000000000000000000000000000000..2912d05e24276dddc3950820a0c5ed85c8d3f580
--- /dev/null
+++ b/node_modules/aws-sdk/lib/signers/v4.js
@@ -0,0 +1,216 @@
+var AWS = require('../core');
+var inherit = AWS.util.inherit;
+
+/**
+ * @api private
+ */
+var cachedSecret = {};
+
+/**
+ * @api private
+ */
+var expiresHeader = 'presigned-expires';
+
+/**
+ * @api private
+ */
+AWS.Signers.V4 = inherit(AWS.Signers.RequestSigner, {
+ constructor: function V4(request, serviceName, signatureCache) {
+ AWS.Signers.RequestSigner.call(this, request);
+ this.serviceName = serviceName;
+ this.signatureCache = signatureCache;
+ },
+
+ algorithm: 'AWS4-HMAC-SHA256',
+
+ addAuthorization: function addAuthorization(credentials, date) {
+ var datetime = AWS.util.date.iso8601(date).replace(/[:\-]|\.\d{3}/g, '');
+
+ if (this.isPresigned()) {
+ this.updateForPresigned(credentials, datetime);
+ } else {
+ this.addHeaders(credentials, datetime);
+ }
+
+ this.request.headers['Authorization'] =
+ this.authorization(credentials, datetime);
+ },
+
+ addHeaders: function addHeaders(credentials, datetime) {
+ this.request.headers['X-Amz-Date'] = datetime;
+ if (credentials.sessionToken) {
+ this.request.headers['x-amz-security-token'] = credentials.sessionToken;
+ }
+ },
+
+ updateForPresigned: function updateForPresigned(credentials, datetime) {
+ var credString = this.credentialString(datetime);
+ var qs = {
+ 'X-Amz-Date': datetime,
+ 'X-Amz-Algorithm': this.algorithm,
+ 'X-Amz-Credential': credentials.accessKeyId + '/' + credString,
+ 'X-Amz-Expires': this.request.headers[expiresHeader],
+ 'X-Amz-SignedHeaders': this.signedHeaders()
+ };
+
+ if (credentials.sessionToken) {
+ qs['X-Amz-Security-Token'] = credentials.sessionToken;
+ }
+
+ if (this.request.headers['Content-Type']) {
+ qs['Content-Type'] = this.request.headers['Content-Type'];
+ }
+ if (this.request.headers['Content-MD5']) {
+ qs['Content-MD5'] = this.request.headers['Content-MD5'];
+ }
+ if (this.request.headers['Cache-Control']) {
+ qs['Cache-Control'] = this.request.headers['Cache-Control'];
+ }
+
+ // need to pull in any other X-Amz-* headers
+ AWS.util.each.call(this, this.request.headers, function(key, value) {
+ if (key === expiresHeader) return;
+ if (this.isSignableHeader(key) &&
+ key.toLowerCase().indexOf('x-amz-') === 0) {
+ qs[key] = value;
+ }
+ });
+
+ var sep = this.request.path.indexOf('?') >= 0 ? '&' : '?';
+ this.request.path += sep + AWS.util.queryParamsToString(qs);
+ },
+
+ authorization: function authorization(credentials, datetime) {
+ var parts = [];
+ var credString = this.credentialString(datetime);
+ parts.push(this.algorithm + ' Credential=' +
+ credentials.accessKeyId + '/' + credString);
+ parts.push('SignedHeaders=' + this.signedHeaders());
+ parts.push('Signature=' + this.signature(credentials, datetime));
+ return parts.join(', ');
+ },
+
+ signature: function signature(credentials, datetime) {
+ var cache = null;
+ if (this.signatureCache) {
+ var cache = cachedSecret[this.serviceName];
+ }
+ var date = datetime.substr(0, 8);
+
+ if (!cache ||
+ cache.akid !== credentials.accessKeyId ||
+ cache.region !== this.request.region ||
+ cache.date !== date) {
+
+ var kSecret = credentials.secretAccessKey;
+ var kDate = AWS.util.crypto.hmac('AWS4' + kSecret, date, 'buffer');
+ var kRegion = AWS.util.crypto.hmac(kDate, this.request.region, 'buffer');
+ var kService = AWS.util.crypto.hmac(kRegion, this.serviceName, 'buffer');
+ var kCredentials = AWS.util.crypto.hmac(kService, 'aws4_request', 'buffer');
+
+ if (!this.signatureCache) {
+ return AWS.util.crypto.hmac(kCredentials, this.stringToSign(datetime), 'hex');
+ }
+
+ cachedSecret[this.serviceName] = {
+ region: this.request.region, date: date,
+ key: kCredentials, akid: credentials.accessKeyId
+ };
+ }
+
+ var key = cachedSecret[this.serviceName].key;
+ return AWS.util.crypto.hmac(key, this.stringToSign(datetime), 'hex');
+ },
+
+ stringToSign: function stringToSign(datetime) {
+ var parts = [];
+ parts.push('AWS4-HMAC-SHA256');
+ parts.push(datetime);
+ parts.push(this.credentialString(datetime));
+ parts.push(this.hexEncodedHash(this.canonicalString()));
+ return parts.join('\n');
+ },
+
+ canonicalString: function canonicalString() {
+ var parts = [], pathname = this.request.pathname();
+ if (this.serviceName !== 's3') pathname = AWS.util.uriEscapePath(pathname);
+
+ parts.push(this.request.method);
+ parts.push(pathname);
+ parts.push(this.request.search());
+ parts.push(this.canonicalHeaders() + '\n');
+ parts.push(this.signedHeaders());
+ parts.push(this.hexEncodedBodyHash());
+ return parts.join('\n');
+ },
+
+ canonicalHeaders: function canonicalHeaders() {
+ var headers = [];
+ AWS.util.each.call(this, this.request.headers, function (key, item) {
+ headers.push([key, item]);
+ });
+ headers.sort(function (a, b) {
+ return a[0].toLowerCase() < b[0].toLowerCase() ? -1 : 1;
+ });
+ var parts = [];
+ AWS.util.arrayEach.call(this, headers, function (item) {
+ var key = item[0].toLowerCase();
+ if (this.isSignableHeader(key)) {
+ parts.push(key + ':' +
+ this.canonicalHeaderValues(item[1].toString()));
+ }
+ });
+ return parts.join('\n');
+ },
+
+ canonicalHeaderValues: function canonicalHeaderValues(values) {
+ return values.replace(/\s+/g, ' ').replace(/^\s+|\s+$/g, '');
+ },
+
+ signedHeaders: function signedHeaders() {
+ var keys = [];
+ AWS.util.each.call(this, this.request.headers, function (key) {
+ key = key.toLowerCase();
+ if (this.isSignableHeader(key)) keys.push(key);
+ });
+ return keys.sort().join(';');
+ },
+
+ credentialString: function credentialString(datetime) {
+ var parts = [];
+ parts.push(datetime.substr(0, 8));
+ parts.push(this.request.region);
+ parts.push(this.serviceName);
+ parts.push('aws4_request');
+ return parts.join('/');
+ },
+
+ hexEncodedHash: function hash(string) {
+ return AWS.util.crypto.sha256(string, 'hex');
+ },
+
+ hexEncodedBodyHash: function hexEncodedBodyHash() {
+ if (this.isPresigned() && this.serviceName === 's3') {
+ return 'UNSIGNED-PAYLOAD';
+ } else if (this.request.headers['X-Amz-Content-Sha256']) {
+ return this.request.headers['X-Amz-Content-Sha256'];
+ } else {
+ return this.hexEncodedHash(this.request.body || '');
+ }
+ },
+
+ unsignableHeaders: ['authorization', 'content-type', 'content-length',
+ 'user-agent', expiresHeader],
+
+ isSignableHeader: function isSignableHeader(key) {
+ if (key.toLowerCase().indexOf('x-amz-') === 0) return true;
+ return this.unsignableHeaders.indexOf(key) < 0;
+ },
+
+ isPresigned: function isPresigned() {
+ return this.request.headers[expiresHeader] ? true : false;
+ }
+
+});
+
+module.exports = AWS.Signers.V4;
diff --git a/node_modules/aws-sdk/lib/state_machine.js b/node_modules/aws-sdk/lib/state_machine.js
new file mode 100644
index 0000000000000000000000000000000000000000..0be8922ece407a7a9c4fcbed71c736749fe30102
--- /dev/null
+++ b/node_modules/aws-sdk/lib/state_machine.js
@@ -0,0 +1,42 @@
+function AcceptorStateMachine(states, state) {
+ this.currentState = state || null;
+ this.states = states || {};
+}
+
+AcceptorStateMachine.prototype.runTo = function runTo(finalState, done, bindObject, inputError) {
+ if (typeof finalState === 'function') {
+ inputError = bindObject; bindObject = done;
+ done = finalState; finalState = null;
+ }
+
+ var self = this;
+ var state = self.states[self.currentState];
+ state.fn.call(bindObject || self, inputError, function(err) {
+ if (err) {
+ if (state.fail) self.currentState = state.fail;
+ else return done ? done.call(bindObject, err) : null;
+ } else {
+ if (state.accept) self.currentState = state.accept;
+ else return done ? done.call(bindObject) : null;
+ }
+ if (self.currentState === finalState) {
+ return done ? done.call(bindObject, err) : null;
+ }
+
+ self.runTo(finalState, done, bindObject, err);
+ });
+};
+
+AcceptorStateMachine.prototype.addState = function addState(name, acceptState, failState, fn) {
+ if (typeof acceptState === 'function') {
+ fn = acceptState; acceptState = null; failState = null;
+ } else if (typeof failState === 'function') {
+ fn = failState; failState = null;
+ }
+
+ if (!this.currentState) this.currentState = name;
+ this.states[name] = { accept: acceptState, fail: failState, fn: fn };
+ return this;
+};
+
+module.exports = AcceptorStateMachine;
diff --git a/node_modules/aws-sdk/lib/util.js b/node_modules/aws-sdk/lib/util.js
new file mode 100644
index 0000000000000000000000000000000000000000..45e8c23d51ebf50600b75aed8c40098761534bda
--- /dev/null
+++ b/node_modules/aws-sdk/lib/util.js
@@ -0,0 +1,811 @@
+/* eslint guard-for-in:0 */
+
+var cryptoLib = require('crypto');
+var Buffer = require('buffer').Buffer;
+var AWS;
+
+/**
+ * A set of utility methods for use with the AWS SDK.
+ *
+ * @!attribute abort
+ * Return this value from an iterator function {each} or {arrayEach}
+ * to break out of the iteration.
+ * @example Breaking out of an iterator function
+ * AWS.util.each({a: 1, b: 2, c: 3}, function(key, value) {
+ * if (key == 'b') return AWS.util.abort;
+ * });
+ * @see each
+ * @see arrayEach
+ * @api private
+ */
+var util = {
+ engine: function engine() {
+ if (util.isBrowser() && typeof navigator !== 'undefined') {
+ return navigator.userAgent;
+ } else {
+ return process.platform + '/' + process.version;
+ }
+ },
+
+ userAgent: function userAgent() {
+ var name = util.isBrowser() ? 'js' : 'nodejs';
+ var agent = 'aws-sdk-' + name + '/' + require('./core').VERSION;
+ if (name === 'nodejs') agent += ' ' + util.engine();
+ return agent;
+ },
+
+ isBrowser: function isBrowser() { return process && process.browser; },
+ isNode: function isNode() { return !util.isBrowser(); },
+ nodeRequire: function nodeRequire(module) {
+ if (util.isNode()) return require(module);
+ },
+ multiRequire: function multiRequire(module1, module2) {
+ return require(util.isNode() ? module1 : module2);
+ },
+
+ uriEscape: function uriEscape(string) {
+ var output = encodeURIComponent(string);
+ output = output.replace(/[^A-Za-z0-9_.~\-%]+/g, escape);
+
+ // AWS percent-encodes some extra non-standard characters in a URI
+ output = output.replace(/[*]/g, function(ch) {
+ return '%' + ch.charCodeAt(0).toString(16).toUpperCase();
+ });
+
+ return output;
+ },
+
+ uriEscapePath: function uriEscapePath(string) {
+ var parts = [];
+ util.arrayEach(string.split('/'), function (part) {
+ parts.push(util.uriEscape(part));
+ });
+ return parts.join('/');
+ },
+
+ urlParse: function urlParse(url) {
+ return require('url').parse(url);
+ },
+
+ urlFormat: function urlFormat(url) {
+ return require('url').format(url);
+ },
+
+ queryStringParse: function queryStringParse(qs) {
+ return require('querystring').parse(qs);
+ },
+
+ queryParamsToString: function queryParamsToString(params) {
+ var items = [];
+ var escape = util.uriEscape;
+ var sortedKeys = Object.keys(params).sort();
+
+ util.arrayEach(sortedKeys, function(name) {
+ var value = params[name];
+ var ename = escape(name);
+ var result = ename + '=';
+ if (Array.isArray(value)) {
+ var vals = [];
+ util.arrayEach(value, function(item) { vals.push(escape(item)); });
+ result = ename + '=' + vals.sort().join('&' + ename + '=');
+ } else if (value !== undefined && value !== null) {
+ result = ename + '=' + escape(value);
+ }
+ items.push(result);
+ });
+
+ return items.join('&');
+ },
+
+ readFileSync: function readFileSync(path) {
+ if (typeof window !== 'undefined') return null;
+ return util.nodeRequire('fs').readFileSync(path, 'utf-8');
+ },
+
+ base64: {
+
+ encode: function encode64(string) {
+ return new Buffer(string).toString('base64');
+ },
+
+ decode: function decode64(string) {
+ return new Buffer(string, 'base64');
+ }
+
+ },
+
+ Buffer: Buffer,
+
+ buffer: {
+ toStream: function toStream(buffer) {
+ if (!util.Buffer.isBuffer(buffer)) buffer = new util.Buffer(buffer);
+
+ var readable = new (util.nodeRequire('stream').Readable)();
+ var pos = 0;
+ readable._read = function(size) {
+ if (pos >= buffer.length) return readable.push(null);
+
+ var end = pos + size;
+ if (end > buffer.length) end = buffer.length;
+ readable.push(buffer.slice(pos, end));
+ pos = end;
+ };
+
+ return readable;
+ },
+
+ /**
+ * Concatenates a list of Buffer objects.
+ */
+ concat: function(buffers) {
+ var length = 0,
+ offset = 0,
+ buffer = null, i;
+
+ for (i = 0; i < buffers.length; i++) {
+ length += buffers[i].length;
+ }
+
+ buffer = new Buffer(length);
+
+ for (i = 0; i < buffers.length; i++) {
+ buffers[i].copy(buffer, offset);
+ offset += buffers[i].length;
+ }
+
+ return buffer;
+ }
+ },
+
+ string: {
+ byteLength: function byteLength(string) {
+ if (string === null || string === undefined) return 0;
+ if (typeof string === 'string') string = new Buffer(string);
+
+ if (typeof string.byteLength === 'number') {
+ return string.byteLength;
+ } else if (typeof string.length === 'number') {
+ return string.length;
+ } else if (typeof string.size === 'number') {
+ return string.size;
+ } else if (typeof string.path === 'string') {
+ return util.nodeRequire('fs').lstatSync(string.path).size;
+ } else {
+ throw util.error(new Error('Cannot determine length of ' + string),
+ { object: string });
+ }
+ },
+
+ upperFirst: function upperFirst(string) {
+ return string[0].toUpperCase() + string.substr(1);
+ },
+
+ lowerFirst: function lowerFirst(string) {
+ return string[0].toLowerCase() + string.substr(1);
+ }
+ },
+
+ ini: {
+ parse: function string(ini) {
+ var currentSection, map = {};
+ util.arrayEach(ini.split(/\r?\n/), function(line) {
+ line = line.split(/(^|\s);/)[0]; // remove comments
+ var section = line.match(/^\s*\[([^\[\]]+)\]\s*$/);
+ if (section) {
+ currentSection = section[1];
+ } else if (currentSection) {
+ var item = line.match(/^\s*(.+?)\s*=\s*(.+?)\s*$/);
+ if (item) {
+ map[currentSection] = map[currentSection] || {};
+ map[currentSection][item[1]] = item[2];
+ }
+ }
+ });
+
+ return map;
+ }
+ },
+
+ fn: {
+ noop: function() {},
+
+ /**
+ * Turn a synchronous function into as "async" function by making it call
+ * a callback. The underlying function is called with all but the last argument,
+ * which is treated as the callback. The callback is passed passed a first argument
+ * of null on success to mimick standard node callbacks.
+ */
+ makeAsync: function makeAsync(fn, expectedArgs) {
+ if (expectedArgs && expectedArgs <= fn.length) {
+ return fn;
+ }
+
+ return function() {
+ var args = Array.prototype.slice.call(arguments, 0);
+ var callback = args.pop();
+ var result = fn.apply(null, args);
+ callback(result);
+ };
+ }
+ },
+
+ jamespath: {
+ query: function query(expression, data) {
+ if (!data) return [];
+
+ var results = [];
+ var expressions = expression.split(/\s+\|\|\s+/);
+ util.arrayEach.call(this, expressions, function (expr) {
+ var objects = [data];
+ var tokens = expr.split('.');
+ util.arrayEach.call(this, tokens, function (token) {
+ var match = token.match('^(.+?)(?:\\[(-?\\d+|\\*|)\\])?$');
+ var newObjects = [];
+ util.arrayEach.call(this, objects, function (obj) {
+ if (match[1] === '*') {
+ util.arrayEach.call(this, obj, function (value) {
+ newObjects.push(value);
+ });
+ } else if (obj.hasOwnProperty(match[1])) {
+ newObjects.push(obj[match[1]]);
+ }
+ });
+ objects = newObjects;
+
+ // handle indexing (token[0], token[-1])
+ if (match[2] !== undefined) {
+ newObjects = [];
+ util.arrayEach.call(this, objects, function (obj) {
+ if (Array.isArray(obj)) {
+ if (match[2] === '*' || match[2] === '') {
+ newObjects = newObjects.concat(obj);
+ } else {
+ var idx = parseInt(match[2], 10);
+ if (idx < 0) idx = obj.length + idx; // negative indexing
+ newObjects.push(obj[idx]);
+ }
+ }
+ });
+ objects = newObjects;
+ }
+
+ if (objects.length === 0) return util.abort;
+ });
+
+ if (objects.length > 0) {
+ results = objects;
+ return util.abort;
+ }
+ });
+
+ return results;
+ },
+
+ find: function find(expression, data) {
+ return util.jamespath.query(expression, data)[0];
+ }
+ },
+
+ /**
+ * Date and time utility functions.
+ */
+ date: {
+
+ /**
+ * @return [Date] the current JavaScript date object. Since all
+ * AWS services rely on this date object, you can override
+ * this function to provide a special time value to AWS service
+ * requests.
+ */
+ getDate: function getDate() {
+ if (!AWS) AWS = require('./core');
+ if (AWS.config.systemClockOffset) { // use offset when non-zero
+ return new Date(new Date().getTime() + AWS.config.systemClockOffset);
+ } else {
+ return new Date();
+ }
+ },
+
+ /**
+ * @return [String] the date in ISO-8601 format
+ */
+ iso8601: function iso8601(date) {
+ if (date === undefined) { date = util.date.getDate(); }
+ return date.toISOString().replace(/\.\d{3}Z$/, 'Z');
+ },
+
+ /**
+ * @return [String] the date in RFC 822 format
+ */
+ rfc822: function rfc822(date) {
+ if (date === undefined) { date = util.date.getDate(); }
+ return date.toUTCString();
+ },
+
+ /**
+ * @return [Integer] the UNIX timestamp value for the current time
+ */
+ unixTimestamp: function unixTimestamp(date) {
+ if (date === undefined) { date = util.date.getDate(); }
+ return date.getTime() / 1000;
+ },
+
+ /**
+ * @param [String,number,Date] date
+ * @return [Date]
+ */
+ from: function format(date) {
+ if (typeof date === 'number') {
+ return new Date(date * 1000); // unix timestamp
+ } else {
+ return new Date(date);
+ }
+ },
+
+ /**
+ * Given a Date or date-like value, this function formats the
+ * date into a string of the requested value.
+ * @param [String,number,Date] date
+ * @param [String] formatter Valid formats are:
+ # * 'iso8601'
+ # * 'rfc822'
+ # * 'unixTimestamp'
+ * @return [String]
+ */
+ format: function format(date, formatter) {
+ if (!formatter) formatter = 'iso8601';
+ return util.date[formatter](util.date.from(date));
+ },
+
+ parseTimestamp: function parseTimestamp(value) {
+ if (typeof value === 'number') { // unix timestamp (number)
+ return new Date(value * 1000);
+ } else if (value.match(/^\d+$/)) { // unix timestamp
+ return new Date(value * 1000);
+ } else if (value.match(/^\d{4}/)) { // iso8601
+ return new Date(value);
+ } else if (value.match(/^\w{3},/)) { // rfc822
+ return new Date(value);
+ } else {
+ throw util.error(
+ new Error('unhandled timestamp format: ' + value),
+ {code: 'TimestampParserError'});
+ }
+ }
+
+ },
+
+ crypto: {
+ crc32Table: [
+ 0x00000000, 0x77073096, 0xEE0E612C, 0x990951BA, 0x076DC419,
+ 0x706AF48F, 0xE963A535, 0x9E6495A3, 0x0EDB8832, 0x79DCB8A4,
+ 0xE0D5E91E, 0x97D2D988, 0x09B64C2B, 0x7EB17CBD, 0xE7B82D07,
+ 0x90BF1D91, 0x1DB71064, 0x6AB020F2, 0xF3B97148, 0x84BE41DE,
+ 0x1ADAD47D, 0x6DDDE4EB, 0xF4D4B551, 0x83D385C7, 0x136C9856,
+ 0x646BA8C0, 0xFD62F97A, 0x8A65C9EC, 0x14015C4F, 0x63066CD9,
+ 0xFA0F3D63, 0x8D080DF5, 0x3B6E20C8, 0x4C69105E, 0xD56041E4,
+ 0xA2677172, 0x3C03E4D1, 0x4B04D447, 0xD20D85FD, 0xA50AB56B,
+ 0x35B5A8FA, 0x42B2986C, 0xDBBBC9D6, 0xACBCF940, 0x32D86CE3,
+ 0x45DF5C75, 0xDCD60DCF, 0xABD13D59, 0x26D930AC, 0x51DE003A,
+ 0xC8D75180, 0xBFD06116, 0x21B4F4B5, 0x56B3C423, 0xCFBA9599,
+ 0xB8BDA50F, 0x2802B89E, 0x5F058808, 0xC60CD9B2, 0xB10BE924,
+ 0x2F6F7C87, 0x58684C11, 0xC1611DAB, 0xB6662D3D, 0x76DC4190,
+ 0x01DB7106, 0x98D220BC, 0xEFD5102A, 0x71B18589, 0x06B6B51F,
+ 0x9FBFE4A5, 0xE8B8D433, 0x7807C9A2, 0x0F00F934, 0x9609A88E,
+ 0xE10E9818, 0x7F6A0DBB, 0x086D3D2D, 0x91646C97, 0xE6635C01,
+ 0x6B6B51F4, 0x1C6C6162, 0x856530D8, 0xF262004E, 0x6C0695ED,
+ 0x1B01A57B, 0x8208F4C1, 0xF50FC457, 0x65B0D9C6, 0x12B7E950,
+ 0x8BBEB8EA, 0xFCB9887C, 0x62DD1DDF, 0x15DA2D49, 0x8CD37CF3,
+ 0xFBD44C65, 0x4DB26158, 0x3AB551CE, 0xA3BC0074, 0xD4BB30E2,
+ 0x4ADFA541, 0x3DD895D7, 0xA4D1C46D, 0xD3D6F4FB, 0x4369E96A,
+ 0x346ED9FC, 0xAD678846, 0xDA60B8D0, 0x44042D73, 0x33031DE5,
+ 0xAA0A4C5F, 0xDD0D7CC9, 0x5005713C, 0x270241AA, 0xBE0B1010,
+ 0xC90C2086, 0x5768B525, 0x206F85B3, 0xB966D409, 0xCE61E49F,
+ 0x5EDEF90E, 0x29D9C998, 0xB0D09822, 0xC7D7A8B4, 0x59B33D17,
+ 0x2EB40D81, 0xB7BD5C3B, 0xC0BA6CAD, 0xEDB88320, 0x9ABFB3B6,
+ 0x03B6E20C, 0x74B1D29A, 0xEAD54739, 0x9DD277AF, 0x04DB2615,
+ 0x73DC1683, 0xE3630B12, 0x94643B84, 0x0D6D6A3E, 0x7A6A5AA8,
+ 0xE40ECF0B, 0x9309FF9D, 0x0A00AE27, 0x7D079EB1, 0xF00F9344,
+ 0x8708A3D2, 0x1E01F268, 0x6906C2FE, 0xF762575D, 0x806567CB,
+ 0x196C3671, 0x6E6B06E7, 0xFED41B76, 0x89D32BE0, 0x10DA7A5A,
+ 0x67DD4ACC, 0xF9B9DF6F, 0x8EBEEFF9, 0x17B7BE43, 0x60B08ED5,
+ 0xD6D6A3E8, 0xA1D1937E, 0x38D8C2C4, 0x4FDFF252, 0xD1BB67F1,
+ 0xA6BC5767, 0x3FB506DD, 0x48B2364B, 0xD80D2BDA, 0xAF0A1B4C,
+ 0x36034AF6, 0x41047A60, 0xDF60EFC3, 0xA867DF55, 0x316E8EEF,
+ 0x4669BE79, 0xCB61B38C, 0xBC66831A, 0x256FD2A0, 0x5268E236,
+ 0xCC0C7795, 0xBB0B4703, 0x220216B9, 0x5505262F, 0xC5BA3BBE,
+ 0xB2BD0B28, 0x2BB45A92, 0x5CB36A04, 0xC2D7FFA7, 0xB5D0CF31,
+ 0x2CD99E8B, 0x5BDEAE1D, 0x9B64C2B0, 0xEC63F226, 0x756AA39C,
+ 0x026D930A, 0x9C0906A9, 0xEB0E363F, 0x72076785, 0x05005713,
+ 0x95BF4A82, 0xE2B87A14, 0x7BB12BAE, 0x0CB61B38, 0x92D28E9B,
+ 0xE5D5BE0D, 0x7CDCEFB7, 0x0BDBDF21, 0x86D3D2D4, 0xF1D4E242,
+ 0x68DDB3F8, 0x1FDA836E, 0x81BE16CD, 0xF6B9265B, 0x6FB077E1,
+ 0x18B74777, 0x88085AE6, 0xFF0F6A70, 0x66063BCA, 0x11010B5C,
+ 0x8F659EFF, 0xF862AE69, 0x616BFFD3, 0x166CCF45, 0xA00AE278,
+ 0xD70DD2EE, 0x4E048354, 0x3903B3C2, 0xA7672661, 0xD06016F7,
+ 0x4969474D, 0x3E6E77DB, 0xAED16A4A, 0xD9D65ADC, 0x40DF0B66,
+ 0x37D83BF0, 0xA9BCAE53, 0xDEBB9EC5, 0x47B2CF7F, 0x30B5FFE9,
+ 0xBDBDF21C, 0xCABAC28A, 0x53B39330, 0x24B4A3A6, 0xBAD03605,
+ 0xCDD70693, 0x54DE5729, 0x23D967BF, 0xB3667A2E, 0xC4614AB8,
+ 0x5D681B02, 0x2A6F2B94, 0xB40BBE37, 0xC30C8EA1, 0x5A05DF1B,
+ 0x2D02EF8D],
+
+ crc32: function crc32(data) {
+ var tbl = util.crypto.crc32Table;
+ var crc = 0 ^ -1;
+
+ if (typeof data === 'string') {
+ data = new Buffer(data);
+ }
+
+ for (var i = 0; i < data.length; i++) {
+ var code = data.readUInt8(i);
+ crc = (crc >>> 8) ^ tbl[(crc ^ code) & 0xFF];
+ }
+ return (crc ^ -1) >>> 0;
+ },
+
+ hmac: function hmac(key, string, digest, fn) {
+ if (!digest) digest = 'binary';
+ if (digest === 'buffer') { digest = undefined; }
+ if (!fn) fn = 'sha256';
+ if (typeof string === 'string') string = new Buffer(string);
+ return cryptoLib.createHmac(fn, key).update(string).digest(digest);
+ },
+
+ md5: function md5(data, digest, callback) {
+ return util.crypto.hash('md5', data, digest, callback);
+ },
+
+ sha256: function sha256(data, digest, callback) {
+ return util.crypto.hash('sha256', data, digest, callback);
+ },
+
+ hash: function(algorithm, data, digest, callback) {
+ var hash = util.crypto.createHash(algorithm);
+ if (!digest) { digest = 'binary'; }
+ if (digest === 'buffer') { digest = undefined; }
+ if (typeof data === 'string') data = new Buffer(data);
+ var sliceFn = util.arraySliceFn(data);
+ var isBuffer = Buffer.isBuffer(data);
+ //Identifying objects with an ArrayBuffer as buffers
+ if (util.isBrowser() && typeof ArrayBuffer !== 'undefined' && data && data.buffer instanceof ArrayBuffer) isBuffer = true;
+
+ if (callback && typeof data === 'object' &&
+ typeof data.on === 'function' && !isBuffer) {
+ data.on('data', function(chunk) { hash.update(chunk); });
+ data.on('error', function(err) { callback(err); });
+ data.on('end', function() { callback(null, hash.digest(digest)); });
+ } else if (callback && sliceFn && !isBuffer &&
+ typeof FileReader !== 'undefined') {
+ // this might be a File/Blob
+ var index = 0, size = 1024 * 512;
+ var reader = new FileReader();
+ reader.onerror = function() {
+ callback(new Error('Failed to read data.'));
+ };
+ reader.onload = function() {
+ var buf = new Buffer(new Uint8Array(reader.result));
+ hash.update(buf);
+ index += buf.length;
+ reader._continueReading();
+ };
+ reader._continueReading = function() {
+ if (index >= data.size) {
+ callback(null, hash.digest(digest));
+ return;
+ }
+
+ var back = index + size;
+ if (back > data.size) back = data.size;
+ reader.readAsArrayBuffer(sliceFn.call(data, index, back));
+ };
+
+ reader._continueReading();
+ } else {
+ if (util.isBrowser() && typeof data === 'object' && !isBuffer) {
+ data = new Buffer(new Uint8Array(data));
+ }
+ var out = hash.update(data).digest(digest);
+ if (callback) callback(null, out);
+ return out;
+ }
+ },
+
+ toHex: function toHex(data) {
+ var out = [];
+ for (var i = 0; i < data.length; i++) {
+ out.push(('0' + data.charCodeAt(i).toString(16)).substr(-2, 2));
+ }
+ return out.join('');
+ },
+
+ createHash: function createHash(algorithm) {
+ return cryptoLib.createHash(algorithm);
+ }
+
+ },
+
+ /** @!ignore */
+
+ /* Abort constant */
+ abort: {},
+
+ each: function each(object, iterFunction) {
+ for (var key in object) {
+ if (Object.prototype.hasOwnProperty.call(object, key)) {
+ var ret = iterFunction.call(this, key, object[key]);
+ if (ret === util.abort) break;
+ }
+ }
+ },
+
+ arrayEach: function arrayEach(array, iterFunction) {
+ for (var idx in array) {
+ if (array.hasOwnProperty(idx)) {
+ var ret = iterFunction.call(this, array[idx], parseInt(idx, 10));
+ if (ret === util.abort) break;
+ }
+ }
+ },
+
+ update: function update(obj1, obj2) {
+ util.each(obj2, function iterator(key, item) {
+ obj1[key] = item;
+ });
+ return obj1;
+ },
+
+ merge: function merge(obj1, obj2) {
+ return util.update(util.copy(obj1), obj2);
+ },
+
+ copy: function copy(object) {
+ if (object === null || object === undefined) return object;
+ var dupe = {};
+ // jshint forin:false
+ for (var key in object) {
+ dupe[key] = object[key];
+ }
+ return dupe;
+ },
+
+ isEmpty: function isEmpty(obj) {
+ for (var prop in obj) {
+ if (obj.hasOwnProperty(prop)) {
+ return false;
+ }
+ }
+ return true;
+ },
+
+ arraySliceFn: function arraySliceFn(obj) {
+ var fn = obj.slice || obj.webkitSlice || obj.mozSlice;
+ return typeof fn === 'function' ? fn : null;
+ },
+
+ isType: function isType(obj, type) {
+ // handle cross-"frame" objects
+ if (typeof type === 'function') type = util.typeName(type);
+ return Object.prototype.toString.call(obj) === '[object ' + type + ']';
+ },
+
+ typeName: function typeName(type) {
+ if (type.hasOwnProperty('name')) return type.name;
+ var str = type.toString();
+ var match = str.match(/^\s*function (.+)\(/);
+ return match ? match[1] : str;
+ },
+
+ error: function error(err, options) {
+ var originalError = null;
+ if (typeof err.message === 'string' && err.message !== '') {
+ if (typeof options === 'string' || (options && options.message)) {
+ originalError = util.copy(err);
+ originalError.message = err.message;
+ }
+ }
+ err.message = err.message || null;
+
+ if (typeof options === 'string') {
+ err.message = options;
+ } else if (typeof options === 'object' && options !== null) {
+ util.update(err, options);
+ if (options.message)
+ err.message = options.message;
+ if (options.code || options.name)
+ err.code = options.code || options.name;
+ if (options.stack)
+ err.stack = options.stack;
+ }
+
+ if (typeof Object.defineProperty === 'function') {
+ Object.defineProperty(err, 'name', {writable: true, enumerable: false});
+ Object.defineProperty(err, 'message', {enumerable: true});
+ }
+
+ err.name = options && options.name || err.name || err.code || 'Error';
+ err.time = new Date();
+
+ if (originalError) err.originalError = originalError;
+
+ return err;
+ },
+
+ /**
+ * @api private
+ */
+ inherit: function inherit(klass, features) {
+ var newObject = null;
+ if (features === undefined) {
+ features = klass;
+ klass = Object;
+ newObject = {};
+ } else {
+ var ctor = function ConstructorWrapper() {};
+ ctor.prototype = klass.prototype;
+ newObject = new ctor();
+ }
+
+ // constructor not supplied, create pass-through ctor
+ if (features.constructor === Object) {
+ features.constructor = function() {
+ if (klass !== Object) {
+ return klass.apply(this, arguments);
+ }
+ };
+ }
+
+ features.constructor.prototype = newObject;
+ util.update(features.constructor.prototype, features);
+ features.constructor.__super__ = klass;
+ return features.constructor;
+ },
+
+ /**
+ * @api private
+ */
+ mixin: function mixin() {
+ var klass = arguments[0];
+ for (var i = 1; i < arguments.length; i++) {
+ // jshint forin:false
+ for (var prop in arguments[i].prototype) {
+ var fn = arguments[i].prototype[prop];
+ if (prop !== 'constructor') {
+ klass.prototype[prop] = fn;
+ }
+ }
+ }
+ return klass;
+ },
+
+ /**
+ * @api private
+ */
+ hideProperties: function hideProperties(obj, props) {
+ if (typeof Object.defineProperty !== 'function') return;
+
+ util.arrayEach(props, function (key) {
+ Object.defineProperty(obj, key, {
+ enumerable: false, writable: true, configurable: true });
+ });
+ },
+
+ /**
+ * @api private
+ */
+ property: function property(obj, name, value, enumerable, isValue) {
+ var opts = {
+ configurable: true,
+ enumerable: enumerable !== undefined ? enumerable : true
+ };
+ if (typeof value === 'function' && !isValue) {
+ opts.get = value;
+ }
+ else {
+ opts.value = value; opts.writable = true;
+ }
+
+ Object.defineProperty(obj, name, opts);
+ },
+
+ /**
+ * @api private
+ */
+ memoizedProperty: function memoizedProperty(obj, name, get, enumerable) {
+ var cachedValue = null;
+
+ // build enumerable attribute for each value with lazy accessor.
+ util.property(obj, name, function() {
+ if (cachedValue === null) {
+ cachedValue = get();
+ }
+ return cachedValue;
+ }, enumerable);
+ },
+
+ /**
+ * TODO Remove in major version revision
+ * This backfill populates response data without the
+ * top-level payload name.
+ *
+ * @api private
+ */
+ hoistPayloadMember: function hoistPayloadMember(resp) {
+ var req = resp.request;
+ var operation = req.operation;
+ var output = req.service.api.operations[operation].output;
+ if (output.payload) {
+ var payloadMember = output.members[output.payload];
+ var responsePayload = resp.data[output.payload];
+ if (payloadMember.type === 'structure') {
+ util.each(responsePayload, function(key, value) {
+ util.property(resp.data, key, value, false);
+ });
+ }
+ }
+ },
+
+ /**
+ * Compute SHA-256 checksums of streams
+ *
+ * @api private
+ */
+ computeSha256: function computeSha256(body, done) {
+ if (util.isNode()) {
+ var Stream = util.nodeRequire('stream').Stream;
+ var fs = util.nodeRequire('fs');
+ if (body instanceof Stream) {
+ if (typeof body.path === 'string') { // assume file object
+ body = fs.createReadStream(body.path);
+ } else { // TODO support other stream types
+ return done(new Error('Non-file stream objects are ' +
+ 'not supported with SigV4'));
+ }
+ }
+ }
+
+ util.crypto.sha256(body, 'hex', function(err, sha) {
+ if (err) done(err);
+ else done(null, sha);
+ });
+ },
+
+ /**
+ * @api private
+ */
+ isClockSkewed: function isClockSkewed(serverTime) {
+ if (serverTime) {
+ util.property(AWS.config, 'isClockSkewed',
+ Math.abs(new Date().getTime() - serverTime) >= 300000, false);
+ return AWS.config.isClockSkewed;
+ }
+ },
+
+ applyClockOffset: function applyClockOffset(serverTime) {
+ if (serverTime)
+ AWS.config.systemClockOffset = serverTime - new Date().getTime();
+ },
+
+ /**
+ * @api private
+ */
+ extractRequestId: function extractRequestId(resp) {
+ var requestId = resp.httpResponse.headers['x-amz-request-id'] ||
+ resp.httpResponse.headers['x-amzn-requestid'];
+
+ if (!requestId && resp.data && resp.data.ResponseMetadata) {
+ requestId = resp.data.ResponseMetadata.RequestId;
+ }
+
+ if (requestId) {
+ resp.requestId = requestId;
+ }
+
+ if (resp.error) {
+ resp.error.requestId = requestId;
+ }
+ }
+};
+
+module.exports = util;
diff --git a/node_modules/aws-sdk/lib/xml/browser_parser.js b/node_modules/aws-sdk/lib/xml/browser_parser.js
new file mode 100644
index 0000000000000000000000000000000000000000..31580727e6a9dc0c49298771bd6ca11f2632f484
--- /dev/null
+++ b/node_modules/aws-sdk/lib/xml/browser_parser.js
@@ -0,0 +1,186 @@
+var util = require('../util');
+var Shape = require('../model/shape');
+
+function DomXmlParser() { }
+
+DomXmlParser.prototype.parse = function(xml, shape) {
+ if (xml.replace(/^\s+/, '') === '') return {};
+
+ var result, error;
+ try {
+ if (window.DOMParser) {
+ try {
+ var parser = new DOMParser();
+ result = parser.parseFromString(xml, 'text/xml');
+ } catch (syntaxError) {
+ throw util.error(new Error('Parse error in document'),
+ {
+ originalError: syntaxError,
+ code: 'XMLParserError',
+ retryable: true
+ });
+ }
+
+ if (result.documentElement === null) {
+ throw util.error(new Error('Cannot parse empty document.'),
+ {
+ code: 'XMLParserError',
+ retryable: true
+ });
+ }
+
+ var isError = result.getElementsByTagName('parsererror')[0];
+ if (isError && (isError.parentNode === result ||
+ isError.parentNode.nodeName === 'body' ||
+ isError.parentNode.parentNode === result ||
+ isError.parentNode.parentNode.nodeName === 'body')) {
+ var errorElement = isError.getElementsByTagName('div')[0] || isError;
+ throw util.error(new Error(errorElement.textContent || 'Parser error in document'),
+ {
+ code: 'XMLParserError',
+ retryable: true
+ });
+ }
+ } else if (window.ActiveXObject) {
+ result = new window.ActiveXObject('Microsoft.XMLDOM');
+ result.async = false;
+
+ if (!result.loadXML(xml)) {
+ throw util.error(new Error('Parse error in document'),
+ {
+ code: 'XMLParserError',
+ retryable: true
+ });
+ }
+ } else {
+ throw new Error('Cannot load XML parser');
+ }
+ } catch (e) {
+ error = e;
+ }
+
+ if (result && result.documentElement && !error) {
+ var data = parseXml(result.documentElement, shape);
+ var metadata = result.getElementsByTagName('ResponseMetadata')[0];
+ if (metadata) {
+ data.ResponseMetadata = parseXml(metadata, {});
+ }
+ return data;
+ } else if (error) {
+ throw util.error(error || new Error(), {code: 'XMLParserError', retryable: true});
+ } else { // empty xml document
+ return {};
+ }
+};
+
+function parseXml(xml, shape) {
+ if (!shape) shape = {};
+ switch (shape.type) {
+ case 'structure': return parseStructure(xml, shape);
+ case 'map': return parseMap(xml, shape);
+ case 'list': return parseList(xml, shape);
+ case undefined: case null: return parseUnknown(xml);
+ default: return parseScalar(xml, shape);
+ }
+}
+
+function parseStructure(xml, shape) {
+ var data = {};
+ if (xml === null) return data;
+
+ util.each(shape.members, function(memberName, memberShape) {
+ if (memberShape.isXmlAttribute) {
+ if (xml.attributes.hasOwnProperty(memberShape.name)) {
+ var value = xml.attributes[memberShape.name].value;
+ data[memberName] = parseXml({textContent: value}, memberShape);
+ }
+ } else {
+ var xmlChild = memberShape.flattened ? xml :
+ xml.getElementsByTagName(memberShape.name)[0];
+ if (xmlChild) {
+ data[memberName] = parseXml(xmlChild, memberShape);
+ } else if (!memberShape.flattened && memberShape.type === 'list') {
+ data[memberName] = memberShape.defaultValue;
+ }
+ }
+ });
+
+ return data;
+}
+
+function parseMap(xml, shape) {
+ var data = {};
+ var xmlKey = shape.key.name || 'key';
+ var xmlValue = shape.value.name || 'value';
+ var tagName = shape.flattened ? shape.name : 'entry';
+
+ var child = xml.firstElementChild;
+ while (child) {
+ if (child.nodeName === tagName) {
+ var key = child.getElementsByTagName(xmlKey)[0].textContent;
+ var value = child.getElementsByTagName(xmlValue)[0];
+ data[key] = parseXml(value, shape.value);
+ }
+ child = child.nextElementSibling;
+ }
+ return data;
+}
+
+function parseList(xml, shape) {
+ var data = [];
+ var tagName = shape.flattened ? shape.name : (shape.member.name || 'member');
+
+ var child = xml.firstElementChild;
+ while (child) {
+ if (child.nodeName === tagName) {
+ data.push(parseXml(child, shape.member));
+ }
+ child = child.nextElementSibling;
+ }
+ return data;
+}
+
+function parseScalar(xml, shape) {
+ if (xml.getAttribute) {
+ var encoding = xml.getAttribute('encoding');
+ if (encoding === 'base64') {
+ shape = new Shape.create({type: encoding});
+ }
+ }
+
+ var text = xml.textContent;
+ if (text === '') text = null;
+ if (typeof shape.toType === 'function') {
+ return shape.toType(text);
+ } else {
+ return text;
+ }
+}
+
+function parseUnknown(xml) {
+ if (xml === undefined || xml === null) return '';
+
+ // empty object
+ if (!xml.firstElementChild) {
+ if (xml.parentNode.parentNode === null) return {};
+ if (xml.childNodes.length === 0) return '';
+ else return xml.textContent;
+ }
+
+ // object, parse as structure
+ var shape = {type: 'structure', members: {}};
+ var child = xml.firstElementChild;
+ while (child) {
+ var tag = child.nodeName;
+ if (shape.members.hasOwnProperty(tag)) {
+ // multiple tags of the same name makes it a list
+ shape.members[tag].type = 'list';
+ } else {
+ shape.members[tag] = {name: tag};
+ }
+ child = child.nextElementSibling;
+ }
+ return parseStructure(xml, shape);
+}
+
+module.exports = DomXmlParser;
diff --git a/node_modules/aws-sdk/lib/xml/builder.js b/node_modules/aws-sdk/lib/xml/builder.js
new file mode 100644
index 0000000000000000000000000000000000000000..400deeb19098567056ff4bb9c3694457e2808f9f
--- /dev/null
+++ b/node_modules/aws-sdk/lib/xml/builder.js
@@ -0,0 +1,86 @@
+var util = require('../util');
+var builder = require('xmlbuilder');
+
+function XmlBuilder() { }
+
+XmlBuilder.prototype.toXML = function(params, shape, rootElement, noEmpty) {
+ var xml = builder.create(rootElement);
+ applyNamespaces(xml, shape);
+ serialize(xml, params, shape);
+ return xml.children.length > 0 || noEmpty ? xml.root().toString() : '';
+};
+
+function serialize(xml, value, shape) {
+ switch (shape.type) {
+ case 'structure': return serializeStructure(xml, value, shape);
+ case 'map': return serializeMap(xml, value, shape);
+ case 'list': return serializeList(xml, value, shape);
+ default: return serializeScalar(xml, value, shape);
+ }
+}
+
+function serializeStructure(xml, params, shape) {
+ util.arrayEach(shape.memberNames, function(memberName) {
+ var memberShape = shape.members[memberName];
+ if (memberShape.location !== 'body') return;
+
+ var value = params[memberName];
+ var name = memberShape.name;
+ if (value !== undefined && value !== null) {
+ if (memberShape.isXmlAttribute) {
+ xml.att(name, value);
+ } else if (memberShape.flattened) {
+ serialize(xml, value, memberShape);
+ } else {
+ var element = xml.ele(name);
+ applyNamespaces(element, memberShape);
+ serialize(element, value, memberShape);
+ }
+ }
+ });
+}
+
+function serializeMap(xml, map, shape) {
+ var xmlKey = shape.key.name || 'key';
+ var xmlValue = shape.value.name || 'value';
+
+ util.each(map, function(key, value) {
+ var entry = xml.ele(shape.flattened ? shape.name : 'entry');
+ serialize(entry.ele(xmlKey), key, shape.key);
+ serialize(entry.ele(xmlValue), value, shape.value);
+ });
+}
+
+function serializeList(xml, list, shape) {
+ if (shape.flattened) {
+ util.arrayEach(list, function(value) {
+ var name = shape.member.name || shape.name;
+ var element = xml.ele(name);
+ serialize(element, value, shape.member);
+ });
+ } else {
+ util.arrayEach(list, function(value) {
+ var name = shape.member.name || 'member';
+ var element = xml.ele(name);
+ serialize(element, value, shape.member);
+ });
+ }
+}
+
+function serializeScalar(xml, value, shape) {
+ xml.txt(shape.toWireFormat(value));
+}
+
+function applyNamespaces(xml, shape) {
+ var uri, prefix = 'xmlns';
+ if (shape.xmlNamespaceUri) {
+ uri = shape.xmlNamespaceUri;
+ if (shape.xmlNamespacePrefix) prefix += ':' + shape.xmlNamespacePrefix;
+ } else if (xml.isRoot && shape.api.xmlNamespaceUri) {
+ uri = shape.api.xmlNamespaceUri;
+ }
+
+ if (uri) xml.att(prefix, uri);
+}
+
+module.exports = XmlBuilder;
diff --git a/node_modules/aws-sdk/lib/xml/node_parser.js b/node_modules/aws-sdk/lib/xml/node_parser.js
new file mode 100644
index 0000000000000000000000000000000000000000..28ac5082e68224fa9e578ced813f744cb8209f37
--- /dev/null
+++ b/node_modules/aws-sdk/lib/xml/node_parser.js
@@ -0,0 +1,159 @@
+var util = require('../util');
+var Shape = require('../model/shape');
+
+var xml2js = require('xml2js');
+
+/**
+ * @api private
+ */
+var options = { // options passed to xml2js parser
+ explicitCharkey: false, // undocumented
+ trim: false, // trim the leading/trailing whitespace from text nodes
+ normalize: false, // trim interior whitespace inside text nodes
+ explicitRoot: false, // return the root node in the resulting object?
+ emptyTag: null, // the default value for empty nodes
+ explicitArray: true, // always put child nodes in an array
+ ignoreAttrs: false, // ignore attributes, only create text nodes
+ mergeAttrs: false, // merge attributes and child elements
+ validator: null // a callable validator
+};
+
+function NodeXmlParser() { }
+
+NodeXmlParser.prototype.parse = function(xml, shape) {
+ shape = shape || {};
+
+ var result = null;
+ var error = null;
+
+ var parser = new xml2js.Parser(options);
+ parser.parseString(xml, function (e, r) {
+ error = e;
+ result = r;
+ });
+
+ if (result) {
+ var data = parseXml(result, shape);
+ if (result.ResponseMetadata) {
+ data.ResponseMetadata = parseXml(result.ResponseMetadata[0], {});
+ }
+ return data;
+ } else if (error) {
+ throw util.error(error, {code: 'XMLParserError', retryable: true});
+ } else { // empty xml document
+ return parseXml({}, shape);
+ }
+};
+
+function parseXml(xml, shape) {
+ switch (shape.type) {
+ case 'structure': return parseStructure(xml, shape);
+ case 'map': return parseMap(xml, shape);
+ case 'list': return parseList(xml, shape);
+ case undefined: case null: return parseUnknown(xml);
+ default: return parseScalar(xml, shape);
+ }
+}
+
+function parseStructure(xml, shape) {
+ var data = {};
+ if (xml === null) return data;
+
+ util.each(shape.members, function(memberName, memberShape) {
+ var xmlName = memberShape.name;
+ if (xml.hasOwnProperty(xmlName) && Array.isArray(xml[xmlName])) {
+ var xmlChild = xml[xmlName];
+ if (!memberShape.flattened) xmlChild = xmlChild[0];
+
+ data[memberName] = parseXml(xmlChild, memberShape);
+ } else if (memberShape.isXmlAttribute &&
+ xml.$ && xml.$.hasOwnProperty(xmlName)) {
+ data[memberName] = parseScalar(xml.$[xmlName], memberShape);
+ } else if (memberShape.type === 'list') {
+ data[memberName] = memberShape.defaultValue;
+ }
+ });
+
+ return data;
+}
+
+function parseMap(xml, shape) {
+ var data = {};
+ if (xml === null) return data;
+
+ var xmlKey = shape.key.name || 'key';
+ var xmlValue = shape.value.name || 'value';
+ var iterable = shape.flattened ? xml : xml.entry;
+
+ if (Array.isArray(iterable)) {
+ util.arrayEach(iterable, function(child) {
+ data[child[xmlKey][0]] = parseXml(child[xmlValue][0], shape.value);
+ });
+ }
+
+ return data;
+}
+
+function parseList(xml, shape) {
+ var data = [];
+ var name = shape.member.name || 'member';
+ if (shape.flattened) {
+ util.arrayEach(xml, function(xmlChild) {
+ data.push(parseXml(xmlChild, shape.member));
+ });
+ } else if (xml && Array.isArray(xml[name])) {
+ util.arrayEach(xml[name], function(child) {
+ data.push(parseXml(child, shape.member));
+ });
+ }
+
+ return data;
+}
+
+function parseScalar(text, shape) {
+ if (text && text.$ && text.$.encoding === 'base64') {
+ shape = new Shape.create({type: text.$.encoding});
+ }
+ if (text && text._) text = text._;
+
+ if (typeof shape.toType === 'function') {
+ return shape.toType(text);
+ } else {
+ return text;
+ }
+}
+
+function parseUnknown(xml) {
+ if (xml === undefined || xml === null) return '';
+ if (typeof xml === 'string') return xml;
+
+ // parse a list
+ if (Array.isArray(xml)) {
+ var arr = [];
+ for (i = 0; i < xml.length; i++) {
+ arr.push(parseXml(xml[i], {}));
+ }
+ return arr;
+ }
+
+ // empty object
+ var keys = Object.keys(xml), i;
+ if (keys.length === 0 || keys === ['$']) {
+ return {};
+ }
+
+ // object, parse as structure
+ var data = {};
+ for (i = 0; i < keys.length; i++) {
+ var key = keys[i], value = xml[key];
+ if (key === '$') continue;
+ if (value.length > 1) { // this member is a list
+ data[key] = parseList(value, {member: {}});
+ } else { // this member is a single item
+ data[key] = parseXml(value[0], {});
+ }
+ }
+ return data;
+}
+
+module.exports = NodeXmlParser;
diff --git a/node_modules/aws-sdk/node_modules/sax/LICENSE b/node_modules/aws-sdk/node_modules/sax/LICENSE
new file mode 100644
index 0000000000000000000000000000000000000000..ccffa082c991e46997f0d13c9d4c7922ffff3401
--- /dev/null
+++ b/node_modules/aws-sdk/node_modules/sax/LICENSE
@@ -0,0 +1,41 @@
+The ISC License
+
+Copyright (c) Isaac Z. Schlueter and Contributors
+
+Permission to use, copy, modify, and/or distribute this software for any
+purpose with or without fee is hereby granted, provided that the above
+copyright notice and this permission notice appear in all copies.
+
+THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
+IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+
+====
+
+`String.fromCodePoint` by Mathias Bynens used according to terms of MIT
+License, as follows:
+
+ Copyright Mathias Bynens
+
+ Permission is hereby granted, free of charge, to any person obtaining
+ a copy of this software and associated documentation files (the
+ "Software"), to deal in the Software without restriction, including
+ without limitation the rights to use, copy, modify, merge, publish,
+ distribute, sublicense, and/or sell copies of the Software, and to
+ permit persons to whom the Software is furnished to do so, subject to
+ the following conditions:
+
+ The above copyright notice and this permission notice shall be
+ included in all copies or substantial portions of the Software.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/node_modules/aws-sdk/node_modules/sax/LICENSE-W3C.html b/node_modules/aws-sdk/node_modules/sax/LICENSE-W3C.html
new file mode 100644
index 0000000000000000000000000000000000000000..a611e3f907fc3318e5e90ad07775642017520b0c
--- /dev/null
+++ b/node_modules/aws-sdk/node_modules/sax/LICENSE-W3C.html
@@ -0,0 +1,188 @@
+
+W3C Software Notice and License
+
+
+
+
+
+
+ W3C
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
W3C Software Notice and License
+
+
+
This work (and included software, documentation such as READMEs, or other
+related items) is being provided by the copyright holders under the following
+license.
+
License
+
+
+By obtaining, using and/or copying this work, you (the licensee)
+agree that you have read, understood, and will comply with the following
+terms and conditions.
+
+
Permission to copy, modify, and distribute this software and its
+documentation, with or without modification, for any purpose and without
+fee or royalty is hereby granted, provided that you include the following on
+ALL copies of the software and documentation or portions thereof, including
+modifications:
+
+
The full text of this NOTICE in a location viewable to users of the
+ redistributed or derivative work. Any pre-existing intellectual property disclaimers, notices, or terms
+ and conditions. If none exist, the W3C Software Short
+ Notice should be included (hypertext is preferred, text is permitted)
+ within the body of any redistributed or derivative code. Notice of any changes or modifications to the files, including the date
+ changes were made. (We recommend you provide URIs to the location from
+ which the code is derived.)
+
+
Disclaimers
+
+
THIS SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS
+MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT
+LIMITED TO, WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR
+PURPOSE OR THAT THE USE OF THE SOFTWARE OR DOCUMENTATION WILL NOT INFRINGE
+ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.
+
+
COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR
+CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR
+DOCUMENTATION.
+
+
The name and trademarks of copyright holders may NOT be used in
+advertising or publicity pertaining to the software without specific, written
+prior permission. Title to copyright in this software and any associated
+documentation will at all times remain with copyright holders.
+
+
Notes
+
+
This version: http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
+
+
This formulation of W3C's notice and license became active on December 31
+2002. This version removes the copyright ownership notice such that this
+license can be used with materials other than those owned by the W3C,
+reflects that ERCIM is now a host of the W3C, includes references to this
+specific dated version of the license, and removes the ambiguous grant of
+"use". Otherwise, this version is the same as the previous
+version and is written so as to preserve the Free
+Software Foundation's assessment of GPL compatibility and OSI's certification
+under the Open Source
+Definition .
+
+
+
+
+
+
+
+
+
+
diff --git a/node_modules/aws-sdk/node_modules/sax/README.md b/node_modules/aws-sdk/node_modules/sax/README.md
new file mode 100644
index 0000000000000000000000000000000000000000..91a03143de1c464271efb218b208b39044c1038f
--- /dev/null
+++ b/node_modules/aws-sdk/node_modules/sax/README.md
@@ -0,0 +1,220 @@
+# sax js
+
+A sax-style parser for XML and HTML.
+
+Designed with [node](http://nodejs.org/) in mind, but should work fine in
+the browser or other CommonJS implementations.
+
+## What This Is
+
+* A very simple tool to parse through an XML string.
+* A stepping stone to a streaming HTML parser.
+* A handy way to deal with RSS and other mostly-ok-but-kinda-broken XML
+ docs.
+
+## What This Is (probably) Not
+
+* An HTML Parser - That's a fine goal, but this isn't it. It's just
+ XML.
+* A DOM Builder - You can use it to build an object model out of XML,
+ but it doesn't do that out of the box.
+* XSLT - No DOM = no querying.
+* 100% Compliant with (some other SAX implementation) - Most SAX
+ implementations are in Java and do a lot more than this does.
+* An XML Validator - It does a little validation when in strict mode, but
+ not much.
+* A Schema-Aware XSD Thing - Schemas are an exercise in fetishistic
+ masochism.
+* A DTD-aware Thing - Fetching DTDs is a much bigger job.
+
+## Regarding `Hello, world !').close();
+
+// stream usage
+// takes the same options as the parser
+var saxStream = require("sax").createStream(strict, options)
+saxStream.on("error", function (e) {
+ // unhandled errors will throw, since this is a proper node
+ // event emitter.
+ console.error("error!", e)
+ // clear the error
+ this._parser.error = null
+ this._parser.resume()
+})
+saxStream.on("opentag", function (node) {
+ // same object as above
+})
+// pipe is supported, and it's readable/writable
+// same chunks coming in also go out.
+fs.createReadStream("file.xml")
+ .pipe(saxStream)
+ .pipe(fs.createWriteStream("file-copy.xml"))
+```
+
+
+## Arguments
+
+Pass the following arguments to the parser function. All are optional.
+
+`strict` - Boolean. Whether or not to be a jerk. Default: `false`.
+
+`opt` - Object bag of settings regarding string formatting. All default to `false`.
+
+Settings supported:
+
+* `trim` - Boolean. Whether or not to trim text and comment nodes.
+* `normalize` - Boolean. If true, then turn any whitespace into a single
+ space.
+* `lowercase` - Boolean. If true, then lowercase tag names and attribute names
+ in loose mode, rather than uppercasing them.
+* `xmlns` - Boolean. If true, then namespaces are supported.
+* `position` - Boolean. If false, then don't track line/col/position.
+* `strictEntities` - Boolean. If true, only parse [predefined XML
+ entities](http://www.w3.org/TR/REC-xml/#sec-predefined-ent)
+ (`&`, `'`, `>`, `<`, and `"`)
+
+## Methods
+
+`write` - Write bytes onto the stream. You don't have to do this all at
+once. You can keep writing as much as you want.
+
+`close` - Close the stream. Once closed, no more data may be written until
+it is done processing the buffer, which is signaled by the `end` event.
+
+`resume` - To gracefully handle errors, assign a listener to the `error`
+event. Then, when the error is taken care of, you can call `resume` to
+continue parsing. Otherwise, the parser will not continue while in an error
+state.
+
+## Members
+
+At all times, the parser object will have the following members:
+
+`line`, `column`, `position` - Indications of the position in the XML
+document where the parser currently is looking.
+
+`startTagPosition` - Indicates the position where the current tag starts.
+
+`closed` - Boolean indicating whether or not the parser can be written to.
+If it's `true`, then wait for the `ready` event to write again.
+
+`strict` - Boolean indicating whether or not the parser is a jerk.
+
+`opt` - Any options passed into the constructor.
+
+`tag` - The current tag being dealt with.
+
+And a bunch of other stuff that you probably shouldn't touch.
+
+## Events
+
+All events emit with a single argument. To listen to an event, assign a
+function to `on`. Functions get executed in the this-context of
+the parser object. The list of supported events are also in the exported
+`EVENTS` array.
+
+When using the stream interface, assign handlers using the EventEmitter
+`on` function in the normal fashion.
+
+`error` - Indication that something bad happened. The error will be hanging
+out on `parser.error`, and must be deleted before parsing can continue. By
+listening to this event, you can keep an eye on that kind of stuff. Note:
+this happens *much* more in strict mode. Argument: instance of `Error`.
+
+`text` - Text node. Argument: string of text.
+
+`doctype` - The ``. Argument:
+object with `name` and `body` members. Attributes are not parsed, as
+processing instructions have implementation dependent semantics.
+
+`sgmldeclaration` - Random SGML declarations. Stuff like ``
+would trigger this kind of event. This is a weird thing to support, so it
+might go away at some point. SAX isn't intended to be used to parse SGML,
+after all.
+
+`opentag` - An opening tag. Argument: object with `name` and `attributes`.
+In non-strict mode, tag names are uppercased, unless the `lowercase`
+option is set. If the `xmlns` option is set, then it will contain
+namespace binding information on the `ns` member, and will have a
+`local`, `prefix`, and `uri` member.
+
+`closetag` - A closing tag. In loose mode, tags are auto-closed if their
+parent closes. In strict mode, well-formedness is enforced. Note that
+self-closing tags will have `closeTag` emitted immediately after `openTag`.
+Argument: tag name.
+
+`attribute` - An attribute node. Argument: object with `name` and `value`.
+In non-strict mode, attribute names are uppercased, unless the `lowercase`
+option is set. If the `xmlns` option is set, it will also contains namespace
+information.
+
+`comment` - A comment node. Argument: the string of the comment.
+
+`opencdata` - The opening tag of a ``) of a `` tags trigger a `"script"`
+event, and their contents are not checked for special xml characters.
+If you pass `noscript: true`, then this behavior is suppressed.
+
+## Reporting Problems
+
+It's best to write a failing test if you find an issue. I will always
+accept pull requests with failing tests if they demonstrate intended
+behavior, but it is very hard to figure out what issue you're describing
+without a test. Writing a test is also the best way for you yourself
+to figure out if you really understand the issue you think you have with
+sax-js.
diff --git a/node_modules/aws-sdk/node_modules/sax/lib/sax.js b/node_modules/aws-sdk/node_modules/sax/lib/sax.js
new file mode 100644
index 0000000000000000000000000000000000000000..ffb2d40562730ef27b0c9819377adfe2fb10f645
--- /dev/null
+++ b/node_modules/aws-sdk/node_modules/sax/lib/sax.js
@@ -0,0 +1,1571 @@
+;(function (sax) { // wrapper for non-node envs
+ sax.parser = function (strict, opt) { return new SAXParser(strict, opt) }
+ sax.SAXParser = SAXParser
+ sax.SAXStream = SAXStream
+ sax.createStream = createStream
+
+ // When we pass the MAX_BUFFER_LENGTH position, start checking for buffer overruns.
+ // When we check, schedule the next check for MAX_BUFFER_LENGTH - (max(buffer lengths)),
+ // since that's the earliest that a buffer overrun could occur. This way, checks are
+ // as rare as required, but as often as necessary to ensure never crossing this bound.
+ // Furthermore, buffers are only tested at most once per write(), so passing a very
+ // large string into write() might have undesirable effects, but this is manageable by
+ // the caller, so it is assumed to be safe. Thus, a call to write() may, in the extreme
+ // edge case, result in creating at most one complete copy of the string passed in.
+ // Set to Infinity to have unlimited buffers.
+ sax.MAX_BUFFER_LENGTH = 64 * 1024
+
+ var buffers = [
+ 'comment', 'sgmlDecl', 'textNode', 'tagName', 'doctype',
+ 'procInstName', 'procInstBody', 'entity', 'attribName',
+ 'attribValue', 'cdata', 'script'
+ ]
+
+ sax.EVENTS = [
+ 'text',
+ 'processinginstruction',
+ 'sgmldeclaration',
+ 'doctype',
+ 'comment',
+ 'attribute',
+ 'opentag',
+ 'closetag',
+ 'opencdata',
+ 'cdata',
+ 'closecdata',
+ 'error',
+ 'end',
+ 'ready',
+ 'script',
+ 'opennamespace',
+ 'closenamespace'
+ ]
+
+ function SAXParser (strict, opt) {
+ if (!(this instanceof SAXParser)) {
+ return new SAXParser(strict, opt)
+ }
+
+ var parser = this
+ clearBuffers(parser)
+ parser.q = parser.c = ''
+ parser.bufferCheckPosition = sax.MAX_BUFFER_LENGTH
+ parser.opt = opt || {}
+ parser.opt.lowercase = parser.opt.lowercase || parser.opt.lowercasetags
+ parser.looseCase = parser.opt.lowercase ? 'toLowerCase' : 'toUpperCase'
+ parser.tags = []
+ parser.closed = parser.closedRoot = parser.sawRoot = false
+ parser.tag = parser.error = null
+ parser.strict = !!strict
+ parser.noscript = !!(strict || parser.opt.noscript)
+ parser.state = S.BEGIN
+ parser.strictEntities = parser.opt.strictEntities
+ parser.ENTITIES = parser.strictEntities ? Object.create(sax.XML_ENTITIES) : Object.create(sax.ENTITIES)
+ parser.attribList = []
+
+ // namespaces form a prototype chain.
+ // it always points at the current tag,
+ // which protos to its parent tag.
+ if (parser.opt.xmlns) {
+ parser.ns = Object.create(rootNS)
+ }
+
+ // mostly just for error reporting
+ parser.trackPosition = parser.opt.position !== false
+ if (parser.trackPosition) {
+ parser.position = parser.line = parser.column = 0
+ }
+ emit(parser, 'onready')
+ }
+
+ if (!Object.create) {
+ Object.create = function (o) {
+ function F () {}
+ F.prototype = o
+ var newf = new F()
+ return newf
+ }
+ }
+
+ if (!Object.keys) {
+ Object.keys = function (o) {
+ var a = []
+ for (var i in o) if (o.hasOwnProperty(i)) a.push(i)
+ return a
+ }
+ }
+
+ function checkBufferLength (parser) {
+ var maxAllowed = Math.max(sax.MAX_BUFFER_LENGTH, 10)
+ var maxActual = 0
+ for (var i = 0, l = buffers.length; i < l; i++) {
+ var len = parser[buffers[i]].length
+ if (len > maxAllowed) {
+ // Text/cdata nodes can get big, and since they're buffered,
+ // we can get here under normal conditions.
+ // Avoid issues by emitting the text node now,
+ // so at least it won't get any bigger.
+ switch (buffers[i]) {
+ case 'textNode':
+ closeText(parser)
+ break
+
+ case 'cdata':
+ emitNode(parser, 'oncdata', parser.cdata)
+ parser.cdata = ''
+ break
+
+ case 'script':
+ emitNode(parser, 'onscript', parser.script)
+ parser.script = ''
+ break
+
+ default:
+ error(parser, 'Max buffer length exceeded: ' + buffers[i])
+ }
+ }
+ maxActual = Math.max(maxActual, len)
+ }
+ // schedule the next check for the earliest possible buffer overrun.
+ var m = sax.MAX_BUFFER_LENGTH - maxActual
+ parser.bufferCheckPosition = m + parser.position
+ }
+
+ function clearBuffers (parser) {
+ for (var i = 0, l = buffers.length; i < l; i++) {
+ parser[buffers[i]] = ''
+ }
+ }
+
+ function flushBuffers (parser) {
+ closeText(parser)
+ if (parser.cdata !== '') {
+ emitNode(parser, 'oncdata', parser.cdata)
+ parser.cdata = ''
+ }
+ if (parser.script !== '') {
+ emitNode(parser, 'onscript', parser.script)
+ parser.script = ''
+ }
+ }
+
+ SAXParser.prototype = {
+ end: function () { end(this) },
+ write: write,
+ resume: function () { this.error = null; return this },
+ close: function () { return this.write(null) },
+ flush: function () { flushBuffers(this) }
+ }
+
+ var Stream
+ try {
+ Stream = require('stream').Stream
+ } catch (ex) {
+ Stream = function () {}
+ }
+
+ var streamWraps = sax.EVENTS.filter(function (ev) {
+ return ev !== 'error' && ev !== 'end'
+ })
+
+ function createStream (strict, opt) {
+ return new SAXStream(strict, opt)
+ }
+
+ function SAXStream (strict, opt) {
+ if (!(this instanceof SAXStream)) {
+ return new SAXStream(strict, opt)
+ }
+
+ Stream.apply(this)
+
+ this._parser = new SAXParser(strict, opt)
+ this.writable = true
+ this.readable = true
+
+ var me = this
+
+ this._parser.onend = function () {
+ me.emit('end')
+ }
+
+ this._parser.onerror = function (er) {
+ me.emit('error', er)
+
+ // if didn't throw, then means error was handled.
+ // go ahead and clear error, so we can write again.
+ me._parser.error = null
+ }
+
+ this._decoder = null
+
+ streamWraps.forEach(function (ev) {
+ Object.defineProperty(me, 'on' + ev, {
+ get: function () {
+ return me._parser['on' + ev]
+ },
+ set: function (h) {
+ if (!h) {
+ me.removeAllListeners(ev)
+ me._parser['on' + ev] = h
+ return h
+ }
+ me.on(ev, h)
+ },
+ enumerable: true,
+ configurable: false
+ })
+ })
+ }
+
+ SAXStream.prototype = Object.create(Stream.prototype, {
+ constructor: {
+ value: SAXStream
+ }
+ })
+
+ SAXStream.prototype.write = function (data) {
+ if (typeof Buffer === 'function' &&
+ typeof Buffer.isBuffer === 'function' &&
+ Buffer.isBuffer(data)) {
+ if (!this._decoder) {
+ var SD = require('string_decoder').StringDecoder
+ this._decoder = new SD('utf8')
+ }
+ data = this._decoder.write(data)
+ }
+
+ this._parser.write(data.toString())
+ this.emit('data', data)
+ return true
+ }
+
+ SAXStream.prototype.end = function (chunk) {
+ if (chunk && chunk.length) {
+ this.write(chunk)
+ }
+ this._parser.end()
+ return true
+ }
+
+ SAXStream.prototype.on = function (ev, handler) {
+ var me = this
+ if (!me._parser['on' + ev] && streamWraps.indexOf(ev) !== -1) {
+ me._parser['on' + ev] = function () {
+ var args = arguments.length === 1 ? [arguments[0]] : Array.apply(null, arguments)
+ args.splice(0, 0, ev)
+ me.emit.apply(me, args)
+ }
+ }
+
+ return Stream.prototype.on.call(me, ev, handler)
+ }
+
+ // character classes and tokens
+ var whitespace = '\r\n\t '
+
+ // this really needs to be replaced with character classes.
+ // XML allows all manner of ridiculous numbers and digits.
+ var number = '0124356789'
+ var letter = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'
+
+ // (Letter | "_" | ":")
+ var quote = '\'"'
+ var attribEnd = whitespace + '>'
+ var CDATA = '[CDATA['
+ var DOCTYPE = 'DOCTYPE'
+ var XML_NAMESPACE = 'http://www.w3.org/XML/1998/namespace'
+ var XMLNS_NAMESPACE = 'http://www.w3.org/2000/xmlns/'
+ var rootNS = { xml: XML_NAMESPACE, xmlns: XMLNS_NAMESPACE }
+
+ // turn all the string character sets into character class objects.
+ whitespace = charClass(whitespace)
+ number = charClass(number)
+ letter = charClass(letter)
+
+ // http://www.w3.org/TR/REC-xml/#NT-NameStartChar
+ // This implementation works on strings, a single character at a time
+ // as such, it cannot ever support astral-plane characters (10000-EFFFF)
+ // without a significant breaking change to either this parser, or the
+ // JavaScript language. Implementation of an emoji-capable xml parser
+ // is left as an exercise for the reader.
+ var nameStart = /[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/
+
+ var nameBody = /[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040\.\d-]/
+
+ var entityStart = /[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/
+ var entityBody = /[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040\.\d-]/
+
+ quote = charClass(quote)
+ attribEnd = charClass(attribEnd)
+
+ function charClass (str) {
+ return str.split('').reduce(function (s, c) {
+ s[c] = true
+ return s
+ }, {})
+ }
+
+ function isRegExp (c) {
+ return Object.prototype.toString.call(c) === '[object RegExp]'
+ }
+
+ function is (charclass, c) {
+ return isRegExp(charclass) ? !!c.match(charclass) : charclass[c]
+ }
+
+ function not (charclass, c) {
+ return !is(charclass, c)
+ }
+
+ var S = 0
+ sax.STATE = {
+ BEGIN: S++, // leading byte order mark or whitespace
+ BEGIN_WHITESPACE: S++, // leading whitespace
+ TEXT: S++, // general stuff
+ TEXT_ENTITY: S++, // & and such.
+ OPEN_WAKA: S++, // <
+ SGML_DECL: S++, //
+ SCRIPT: S++, //