├── CHANGELOG.md ├── input └── game.input_binding ├── aws-sdk ├── core │ ├── request_handlers │ │ ├── query.lua │ │ ├── rest_json.lua │ │ ├── rest_xml.lua │ │ └── json.lua │ ├── request_headers.lua │ ├── request_handlers.lua │ └── content_type.lua ├── lockbox │ ├── util │ │ ├── bit.lua │ │ └── queue.lua │ ├── LICENSE │ └── mac │ │ └── hmac.lua └── utils │ ├── xml.lua │ ├── sync.lua │ └── strut.lua ├── apis ├── mq-2017-11-27.paginators.json ├── ce-2017-10-25.paginators.json ├── dax-2017-04-19.paginators.json ├── dlm-2018-01-12.paginators.json ├── eks-2017-11-01.paginators.json ├── fms-2018-01-01.paginators.json ├── iot-2015-05-28.paginators.json ├── mediatailor-2018-04-23.paginators.json ├── pi-2018-02-27.paginators.json ├── rds-2014-09-01.paginators.json ├── sts-2011-06-15.paginators.json ├── waf-2015-08-24.paginators.json ├── acm-pca-2017-08-22.paginators.json ├── appsync-2017-07-25.paginators.json ├── batch-2016-08-10.paginators.json ├── budgets-2016-10-20.paginators.json ├── cloudhsm-2014-05-30.paginators.json ├── codebuild-2016-10-06.paginators.json ├── codestar-2017-04-19.paginators.json ├── events-2015-10-07.paginators.json ├── firehose-2015-08-04.paginators.json ├── gamelift-2015-10-01.paginators.json ├── lightsail-2016-11-28.paginators.json ├── shield-2016-06-02.paginators.json ├── translate-2017-07-01.paginators.json ├── codepipeline-2015-07-09.paginators.json ├── cognito-idp-2016-04-18.paginators.json ├── iot-jobs-data-2017-09-29.paginators.json ├── kinesisvideo-2017-09-30.paginators.json ├── mediastore-2017-09-01.paginators.json ├── opsworkscm-2016-11-01.paginators.json ├── runtime.lex-2016-11-28.paginators.json ├── waf-regional-2016-11-28.paginators.json ├── AWSMigrationHub-2017-05-31.paginators.json ├── autoscaling-plans-2018-01-06.paginators.json ├── cognito-identity-2014-06-30.paginators.json ├── elasticfilesystem-2015-02-01.paginators.json ├── iot1click-projects-2018-05-14.paginators.json ├── kinesis-2013-12-02.examples.json ├── kinesis-video-media-2017-09-30.paginators.json ├── kinesisanalytics-2015-08-14.paginators.json ├── mediastore-data-2017-09-01.paginators.json ├── runtime.sagemaker-2017-05-13.paginators.json ├── streams.dynamodb-2012-08-10.paginators.json ├── acm-2015-12-08.examples.json ├── ce-2017-10-25.examples.json ├── dax-2017-04-19.examples.json ├── dlm-2018-01-12.examples.json ├── ds-2015-04-16.examples.json ├── entitlement.marketplace-2017-01-11.paginators.json ├── es-2015-01-01.examples.json ├── fms-2018-01-01.examples.json ├── glue-2017-03-31.examples.json ├── iot-2015-05-28.examples.json ├── logs-2014-03-28.examples.json ├── macie-2017-12-19.examples.json ├── pi-2018-02-27.examples.json ├── rds-2013-01-10.examples.json ├── rds-2013-02-12.examples.json ├── rds-2013-09-09.examples.json ├── rds-2014-09-01.examples.json ├── sns-2010-03-31.examples.json ├── sqs-2012-11-05.examples.json ├── ssm-2014-11-06.examples.json ├── swf-2012-01-25.examples.json ├── xray-2016-04-12.examples.json ├── acm-pca-2017-08-22.examples.json ├── appstream-2016-12-01.examples.json ├── appsync-2017-07-25.examples.json ├── athena-2017-05-18.examples.json ├── budgets-2016-10-20.examples.json ├── chime-2018-05-01.examples.json ├── cloudhsm-2014-05-30.examples.json ├── codestar-2017-04-19.examples.json ├── config-2014-11-12.examples.json ├── connect-2017-08-08.examples.json ├── discovery-2015-11-01.examples.json ├── dynamodb-2011-12-05.examples.json ├── events-2015-10-07.examples.json ├── firehose-2015-08-04.examples.json ├── gamelift-2015-10-01.examples.json ├── health-2016-08-04.examples.json ├── kinesis-video-archived-media-2017-09-30.paginators.json ├── lightsail-2016-11-28.examples.json ├── marketplacecommerceanalytics-2015-07-01.paginators.json ├── mobile-2017-07-01.examples.json ├── neptune-2014-10-31.examples.json ├── opsworks-2013-02-18.examples.json ├── pinpoint-2016-12-01.examples.json ├── redshift-2012-12-01.examples.json ├── sagemaker-2017-07-24.examples.json ├── shield-2016-06-02.examples.json ├── signer-2017-08-25.examples.json ├── states-2016-11-23.examples.json ├── translate-2017-07-01.examples.json ├── workdocs-2016-05-01.examples.json ├── workmail-2017-10-01.examples.json ├── apigateway-2015-07-09.examples.json ├── clouddirectory-2016-05-10.examples.json ├── clouddirectory-2017-01-11.examples.json ├── cloudformation-2010-05-15.examples.json ├── cloudfront-2017-10-30.examples.json ├── cloudfront-2018-06-18.examples.json ├── cloudhsmv2-2017-04-28.examples.json ├── cloudtrail-2013-11-01.examples.json ├── codecommit-2015-04-13.examples.json ├── codedeploy-2014-10-06.examples.json ├── codepipeline-2015-07-09.examples.json ├── cognito-idp-2016-04-18.examples.json ├── comprehend-2017-11-27.examples.json ├── directconnect-2012-10-25.examples.json ├── iot-jobs-data-2017-09-29.examples.json ├── iotanalytics-2017-11-27.examples.json ├── kinesisvideo-2017-09-30.examples.json ├── mediastore-2017-09-01.examples.json ├── monitoring-2010-08-01.examples.json ├── opsworkscm-2016-11-01.examples.json ├── route53domains-2014-05-15.examples.json ├── runtime.lex-2016-11-28.examples.json ├── servicecatalog-2015-12-10.examples.json ├── transcribe-2017-10-26.examples.json ├── workspaces-2015-04-08.examples.json ├── AWSMigrationHub-2017-05-31.examples.json ├── alexaforbusiness-2017-11-09.examples.json ├── autoscaling-plans-2018-01-06.examples.json ├── elasticmapreduce-2009-03-31.examples.json ├── elastictranscoder-2012-09-25.examples.json ├── iot1click-projects-2018-05-14.examples.json ├── kinesis-video-media-2017-09-30.examples.json ├── kinesisanalytics-2015-08-14.examples.json ├── mediastore-data-2017-09-01.examples.json ├── mturk-requester-2017-01-17.examples.json ├── resource-groups-2017-11-27.examples.json ├── runtime.sagemaker-2017-05-13.examples.json ├── servicediscovery-2017-03-14.examples.json ├── entitlement.marketplace-2017-01-11.examples.json ├── resourcegroupstaggingapi-2017-01-26.examples.json ├── kinesis-video-archived-media-2017-09-30.examples.json ├── marketplacecommerceanalytics-2015-07-01.examples.json ├── sqs-2012-11-05.paginators.json ├── ds-2015-04-16.paginators.json ├── cur-2017-01-06.paginators.json ├── polly-2016-06-10.paginators.json ├── discovery-2015-11-01.paginators.json ├── acm-2015-12-08.paginators.json ├── config-2014-11-12.paginators.json ├── importexport-2010-06-01.paginators.json ├── cloudsearch-2011-02-01.paginators.json ├── cloudtrail-2013-11-01.paginators.json ├── chime-2018-05-01.paginators.json ├── macie-2017-12-19.paginators.json ├── mobile-2017-07-01.paginators.json ├── connect-2017-08-08.paginators.json ├── appstream-2016-12-01.paginators.json ├── secretsmanager-2017-10-17.paginators.json ├── transcribe-2017-10-26.paginators.json ├── cloud9-2017-09-23.paginators.json ├── serverlessrepo-2017-09-08.paginators.json ├── sdb-2009-04-15.paginators.json ├── monitoring-2010-08-01.waiters2.json ├── route53-2013-04-01.waiters2.json ├── lambda-2014-11-11.paginators.json ├── route53domains-2014-05-15.paginators.json ├── snowball-2016-06-30.paginators.json ├── lambda-2015-03-31.paginators.json ├── mediapackage-2017-10-12.paginators.json ├── email-2010-12-01.waiters2.json ├── cloudsearch-2013-01-01.paginators.json ├── email-2010-12-01.paginators.json ├── cloudhsmv2-2017-04-28.paginators.json ├── athena-2017-05-18.paginators.json ├── pricing-2017-10-15.paginators.json ├── resource-groups-2017-11-27.paginators.json ├── signer-2017-08-25.paginators.json ├── elasticloadbalancing-2012-06-01.paginators.json ├── elasticloadbalancingv2-2015-12-01.paginators.json ├── workspaces-2015-04-08.paginators.json ├── directconnect-2012-10-25.paginators.json ├── resourcegroupstaggingapi-2017-01-26.paginators.json ├── ecr-2015-09-21.paginators.json ├── workdocs-2016-05-01.paginators.json ├── xray-2016-04-12.paginators.json ├── elastictranscoder-2012-09-25.paginators.json ├── application-autoscaling-2016-02-06.paginators.json ├── monitoring-2010-08-01.paginators.json ├── elasticbeanstalk-2010-12-01.paginators.json ├── opsworkscm-2016-11-01.waiters2.json ├── support-2013-04-15.paginators.json ├── signer-2017-08-25.waiters2.json ├── dynamodb-2011-12-05.paginators.json ├── dynamodb-2012-08-10.paginators.json ├── glacier-2012-06-01.paginators.json ├── kinesis-2013-12-02.paginators.json ├── kinesis-2013-12-02.waiters2.json ├── datapipeline-2012-10-29.paginators.json ├── elastictranscoder-2012-09-25.waiters2.json ├── codedeploy-2014-10-06.waiters2.json ├── machinelearning-2014-12-12.paginators.json ├── states-2016-11-23.paginators.json ├── iotanalytics-2017-11-27.paginators.json ├── servicediscovery-2017-03-14.paginators.json ├── sns-2010-03-31.paginators.json ├── comprehend-2017-11-27.paginators.json ├── dynamodb-2011-12-05.waiters2.json ├── dynamodb-2012-08-10.waiters2.json ├── es-2015-01-01.paginators.json ├── kms-2014-11-01.paginators.json ├── health-2016-08-04.paginators.json ├── iam-2010-05-08.waiters2.json ├── route53-2013-04-01.paginators.json ├── glacier-2012-06-01.waiters2.json ├── sms-2016-10-24.paginators.json ├── mediaconvert-2017-08-29.paginators.json ├── acm-2015-12-08.waiters2.json ├── codedeploy-2014-10-06.paginators.json ├── elasticmapreduce-2009-03-31.paginators.json ├── cloudformation-2010-05-15.paginators.json ├── workmail-2017-10-01.paginators.json ├── codecommit-2015-04-13.paginators.json ├── medialive-2017-10-14.paginators.json ├── ecs-2014-11-13.paginators.json ├── cloudfront-2017-03-25.paginators.json ├── cloudfront-2017-10-30.paginators.json ├── cloudfront-2018-06-18.paginators.json ├── translate-2017-07-01.min.json ├── cloudfront-2016-11-25.paginators.json ├── guardduty-2017-11-28.paginators.json ├── cloudfront-2016-11-25.waiters2.json ├── cloudfront-2017-03-25.waiters2.json ├── cloudfront-2017-10-30.waiters2.json ├── cloudfront-2018-06-18.waiters2.json ├── logs-2014-03-28.paginators.json ├── appstream-2016-12-01.waiters2.json ├── swf-2012-01-25.paginators.json ├── opsworks-2013-02-18.paginators.json ├── rekognition-2016-06-27.paginators.json ├── storagegateway-2013-06-30.paginators.json ├── lex-models-2017-04-19.paginators.json ├── inspector-2016-02-16.paginators.json ├── sagemaker-2017-07-24.paginators.json ├── kinesis-video-media-2017-09-30.min.json ├── mturk-requester-2017-01-17.paginators.json ├── autoscaling-2011-01-01.paginators.json ├── ssm-2014-11-06.paginators.json ├── s3-2006-03-01.waiters2.json ├── elasticloadbalancing-2012-06-01.waiters2.json └── s3-2006-03-01.paginators.json ├── tests ├── aws-sig-v4-test-suite │ ├── get-utf8 │ │ ├── get-utf8.req │ │ ├── get-utf8.sts │ │ ├── get-utf8.creq │ │ ├── get-utf8.authz │ │ └── get-utf8.sreq │ ├── get-vanilla │ │ ├── get-vanilla.req │ │ ├── get-vanilla.sts │ │ ├── get-vanilla.creq │ │ ├── get-vanilla.authz │ │ └── get-vanilla.sreq │ ├── post-vanilla │ │ ├── post-vanilla.req │ │ ├── post-vanilla.sts │ │ ├── post-vanilla.creq │ │ ├── post-vanilla.authz │ │ └── post-vanilla.sreq │ ├── get-vanilla-query │ │ ├── get-vanilla-query.req │ │ ├── get-vanilla-query.sts │ │ ├── get-vanilla-query.creq │ │ ├── get-vanilla-query.authz │ │ └── get-vanilla-query.sreq │ ├── normalize-path │ │ ├── get-slash │ │ │ ├── get-slash.req │ │ │ ├── get-slash.sts │ │ │ ├── get-slash.creq │ │ │ ├── get-slash.authz │ │ │ └── get-slash.sreq │ │ ├── get-slashes │ │ │ ├── get-slashes.req │ │ │ ├── get-slashes.sts │ │ │ ├── get-slashes.creq │ │ │ ├── get-slashes.authz │ │ │ └── get-slashes.sreq │ │ ├── get-space │ │ │ ├── get-space.req │ │ │ ├── get-space.sts │ │ │ ├── get-space.authz │ │ │ ├── get-space.creq │ │ │ └── get-space.sreq │ │ ├── get-relative │ │ │ ├── get-relative.req │ │ │ ├── get-relative.sts │ │ │ ├── get-relative.creq │ │ │ ├── get-relative.authz │ │ │ └── get-relative.sreq │ │ ├── get-slash-dot-slash │ │ │ ├── get-slash-dot-slash.req │ │ │ ├── get-slash-dot-slash.sts │ │ │ ├── get-slash-dot-slash.creq │ │ │ ├── get-slash-dot-slash.authz │ │ │ └── get-slash-dot-slash.sreq │ │ ├── get-slash-pointless-dot │ │ │ ├── get-slash-pointless-dot.req │ │ │ ├── get-slash-pointless-dot.sts │ │ │ ├── get-slash-pointless-dot.creq │ │ │ ├── get-slash-pointless-dot.authz │ │ │ └── get-slash-pointless-dot.sreq │ │ ├── get-relative-relative │ │ │ ├── get-relative-relative.req │ │ │ ├── get-relative-relative.sts │ │ │ ├── get-relative-relative.creq │ │ │ ├── get-relative-relative.authz │ │ │ └── get-relative-relative.sreq │ │ └── normalize-path.txt │ ├── post-header-key-case │ │ ├── post-header-key-case.req │ │ ├── post-header-key-case.sts │ │ ├── post-header-key-case.creq │ │ ├── post-header-key-case.authz │ │ └── post-header-key-case.sreq │ ├── get-vanilla-utf8-query │ │ ├── get-vanilla-utf8-query.req │ │ ├── get-vanilla-utf8-query.sts │ │ ├── get-vanilla-utf8-query.creq │ │ ├── get-vanilla-utf8-query.authz │ │ └── get-vanilla-utf8-query.sreq │ ├── post-vanilla-query │ │ ├── post-vanilla-query.req │ │ ├── post-vanilla-query.sts │ │ ├── post-vanilla-query.authz │ │ ├── post-vanilla-query.creq │ │ └── post-vanilla-query.sreq │ ├── post-sts-token │ │ ├── post-sts-header-after │ │ │ ├── post-sts-header-after.req │ │ │ ├── post-sts-header-after.sts │ │ │ ├── post-sts-header-after.creq │ │ │ ├── post-sts-header-after.authz │ │ │ └── post-sts-header-after.sreq │ │ ├── post-sts-header-before │ │ │ ├── post-sts-header-before.sts │ │ │ ├── post-sts-header-before.authz │ │ │ ├── post-sts-header-before.req │ │ │ ├── post-sts-header-before.creq │ │ │ └── post-sts-header-before.sreq │ │ └── readme.txt │ ├── post-header-key-sort │ │ ├── post-header-key-sort.req │ │ ├── post-header-key-sort.sts │ │ ├── post-header-key-sort.authz │ │ ├── post-header-key-sort.creq │ │ └── post-header-key-sort.sreq │ ├── get-vanilla-empty-query-key │ │ ├── get-vanilla-empty-query-key.req │ │ ├── get-vanilla-empty-query-key.sts │ │ ├── get-vanilla-empty-query-key.creq │ │ ├── get-vanilla-empty-query-key.authz │ │ └── get-vanilla-empty-query-key.sreq │ ├── post-header-value-case │ │ ├── post-header-value-case.req │ │ ├── post-header-value-case.sts │ │ ├── post-header-value-case.authz │ │ ├── post-header-value-case.creq │ │ └── post-header-value-case.sreq │ ├── post-vanilla-empty-query-value │ │ ├── post-vanilla-empty-query-value.req │ │ ├── post-vanilla-empty-query-value.sts │ │ ├── post-vanilla-empty-query-value.authz │ │ ├── post-vanilla-empty-query-value.creq │ │ └── post-vanilla-empty-query-value.sreq │ ├── get-vanilla-query-order-key │ │ ├── get-vanilla-query-order-key.req │ │ ├── get-vanilla-query-order-key.sts │ │ ├── get-vanilla-query-order-key.authz │ │ ├── get-vanilla-query-order-key.creq │ │ └── get-vanilla-query-order-key.sreq │ ├── get-vanilla-query-order-value │ │ ├── get-vanilla-query-order-value.req │ │ ├── get-vanilla-query-order-value.sts │ │ ├── get-vanilla-query-order-value.authz │ │ ├── get-vanilla-query-order-value.creq │ │ └── get-vanilla-query-order-value.sreq │ ├── get-header-value-trim │ │ ├── get-header-value-trim.req │ │ ├── get-header-value-trim.sts │ │ ├── get-header-value-trim.authz │ │ ├── get-header-value-trim.creq │ │ └── get-header-value-trim.sreq │ ├── get-vanilla-query-order-key-case │ │ ├── get-vanilla-query-order-key-case.req │ │ ├── get-vanilla-query-order-key-case.sts │ │ ├── get-vanilla-query-order-key-case.authz │ │ ├── get-vanilla-query-order-key-case.creq │ │ └── get-vanilla-query-order-key-case.sreq │ ├── get-unreserved │ │ ├── get-unreserved.req │ │ ├── get-unreserved.sts │ │ ├── get-unreserved.authz │ │ ├── get-unreserved.creq │ │ └── get-unreserved.sreq │ ├── get-header-value-multiline │ │ ├── get-header-value-multiline.req │ │ ├── get-header-value-multiline.sts │ │ ├── get-header-value-multiline.authz │ │ ├── get-header-value-multiline.creq │ │ └── get-header-value-multiline.sreq │ ├── get-header-key-duplicate │ │ ├── get-header-key-duplicate.req │ │ ├── get-header-key-duplicate.sts │ │ ├── get-header-key-duplicate.authz │ │ ├── get-header-key-duplicate.creq │ │ └── get-header-key-duplicate.sreq │ ├── get-header-value-order │ │ ├── get-header-value-order.sts │ │ ├── get-header-value-order.req │ │ ├── get-header-value-order.authz │ │ ├── get-header-value-order.creq │ │ └── get-header-value-order.sreq │ ├── post-x-www-form-urlencoded │ │ ├── post-x-www-form-urlencoded.req │ │ ├── post-x-www-form-urlencoded.sts │ │ ├── post-x-www-form-urlencoded.authz │ │ ├── post-x-www-form-urlencoded.creq │ │ └── post-x-www-form-urlencoded.sreq │ ├── get-vanilla-query-unreserved │ │ ├── get-vanilla-query-unreserved.sts │ │ ├── get-vanilla-query-unreserved.authz │ │ ├── get-vanilla-query-unreserved.req │ │ ├── get-vanilla-query-unreserved.creq │ │ └── get-vanilla-query-unreserved.sreq │ └── post-x-www-form-urlencoded-parameters │ │ ├── post-x-www-form-urlencoded-parameters.sts │ │ ├── post-x-www-form-urlencoded-parameters.req │ │ ├── post-x-www-form-urlencoded-parameters.authz │ │ ├── post-x-www-form-urlencoded-parameters.creq │ │ └── post-x-www-form-urlencoded-parameters.sreq ├── test.script └── test.collection ├── .gitignore ├── game.project ├── .travis.yml └── .test └── run.sh /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /input/game.input_binding: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /aws-sdk/core/request_handlers/query.lua: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /apis/mq-2017-11-27.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination" : { } 3 | } -------------------------------------------------------------------------------- /apis/ce-2017-10-25.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /apis/dax-2017-04-19.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /apis/dlm-2018-01-12.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /apis/eks-2017-11-01.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /apis/fms-2018-01-01.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /apis/iot-2015-05-28.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /apis/mediatailor-2018-04-23.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination" : { } 3 | } -------------------------------------------------------------------------------- /apis/pi-2018-02-27.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /apis/rds-2014-09-01.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /apis/sts-2011-06-15.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /apis/waf-2015-08-24.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /apis/acm-pca-2017-08-22.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination":{ 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /apis/appsync-2017-07-25.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /apis/batch-2016-08-10.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /apis/budgets-2016-10-20.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /apis/cloudhsm-2014-05-30.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /apis/codebuild-2016-10-06.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /apis/codestar-2017-04-19.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /apis/events-2015-10-07.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /apis/firehose-2015-08-04.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /apis/gamelift-2015-10-01.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /apis/lightsail-2016-11-28.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /apis/shield-2016-06-02.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /apis/translate-2017-07-01.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /apis/codepipeline-2015-07-09.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /apis/cognito-idp-2016-04-18.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /apis/iot-jobs-data-2017-09-29.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /apis/kinesisvideo-2017-09-30.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /apis/mediastore-2017-09-01.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /apis/opsworkscm-2016-11-01.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /apis/runtime.lex-2016-11-28.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /apis/waf-regional-2016-11-28.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /apis/AWSMigrationHub-2017-05-31.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /apis/autoscaling-plans-2018-01-06.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /apis/cognito-identity-2014-06-30.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /apis/elasticfilesystem-2015-02-01.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /apis/iot1click-projects-2018-05-14.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /apis/kinesis-2013-12-02.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": {} 4 | } -------------------------------------------------------------------------------- /apis/kinesis-video-media-2017-09-30.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /apis/kinesisanalytics-2015-08-14.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /apis/mediastore-data-2017-09-01.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /apis/runtime.sagemaker-2017-05-13.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /apis/streams.dynamodb-2012-08-10.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /apis/acm-2015-12-08.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/ce-2017-10-25.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/dax-2017-04-19.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/dlm-2018-01-12.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/ds-2015-04-16.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/entitlement.marketplace-2017-01-11.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /apis/es-2015-01-01.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/fms-2018-01-01.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/glue-2017-03-31.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/iot-2015-05-28.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/logs-2014-03-28.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/macie-2017-12-19.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version":"1.0", 3 | "examples":{ 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/pi-2018-02-27.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/rds-2013-01-10.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/rds-2013-02-12.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/rds-2013-09-09.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/rds-2014-09-01.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/sns-2010-03-31.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/sqs-2012-11-05.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/ssm-2014-11-06.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/swf-2012-01-25.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/xray-2016-04-12.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/acm-pca-2017-08-22.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version":"1.0", 3 | "examples":{ 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/appstream-2016-12-01.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/appsync-2017-07-25.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/athena-2017-05-18.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/budgets-2016-10-20.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/chime-2018-05-01.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/cloudhsm-2014-05-30.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/codestar-2017-04-19.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/config-2014-11-12.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/connect-2017-08-08.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/discovery-2015-11-01.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/dynamodb-2011-12-05.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/events-2015-10-07.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/firehose-2015-08-04.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/gamelift-2015-10-01.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/health-2016-08-04.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/kinesis-video-archived-media-2017-09-30.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /apis/lightsail-2016-11-28.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/marketplacecommerceanalytics-2015-07-01.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /apis/mobile-2017-07-01.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/neptune-2014-10-31.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version":"1.0", 3 | "examples":{ 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/opsworks-2013-02-18.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/pinpoint-2016-12-01.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/redshift-2012-12-01.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/sagemaker-2017-07-24.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/shield-2016-06-02.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/signer-2017-08-25.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/states-2016-11-23.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/translate-2017-07-01.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/workdocs-2016-05-01.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/workmail-2017-10-01.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/apigateway-2015-07-09.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/clouddirectory-2016-05-10.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/clouddirectory-2017-01-11.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/cloudformation-2010-05-15.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/cloudfront-2017-10-30.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/cloudfront-2018-06-18.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/cloudhsmv2-2017-04-28.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/cloudtrail-2013-11-01.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/codecommit-2015-04-13.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/codedeploy-2014-10-06.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/codepipeline-2015-07-09.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/cognito-idp-2016-04-18.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/comprehend-2017-11-27.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/directconnect-2012-10-25.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/iot-jobs-data-2017-09-29.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/iotanalytics-2017-11-27.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/kinesisvideo-2017-09-30.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/mediastore-2017-09-01.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/monitoring-2010-08-01.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/opsworkscm-2016-11-01.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/route53domains-2014-05-15.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/runtime.lex-2016-11-28.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/servicecatalog-2015-12-10.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/transcribe-2017-10-26.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/workspaces-2015-04-08.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/AWSMigrationHub-2017-05-31.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/alexaforbusiness-2017-11-09.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/autoscaling-plans-2018-01-06.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/elasticmapreduce-2009-03-31.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/elastictranscoder-2012-09-25.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/iot1click-projects-2018-05-14.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/kinesis-video-media-2017-09-30.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/kinesisanalytics-2015-08-14.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/mediastore-data-2017-09-01.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/mturk-requester-2017-01-17.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/resource-groups-2017-11-27.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/runtime.sagemaker-2017-05-13.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/servicediscovery-2017-03-14.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/entitlement.marketplace-2017-01-11.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/resourcegroupstaggingapi-2017-01-26.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/kinesis-video-archived-media-2017-09-30.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/marketplacecommerceanalytics-2015-07-01.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/get-utf8/get-utf8.req: -------------------------------------------------------------------------------- 1 | GET /ሴ HTTP/1.1 2 | Host:example.amazonaws.com 3 | X-Amz-Date:20150830T123600Z -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/get-vanilla/get-vanilla.req: -------------------------------------------------------------------------------- 1 | GET / HTTP/1.1 2 | Host:example.amazonaws.com 3 | X-Amz-Date:20150830T123600Z -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/post-vanilla/post-vanilla.req: -------------------------------------------------------------------------------- 1 | POST / HTTP/1.1 2 | Host:example.amazonaws.com 3 | X-Amz-Date:20150830T123600Z -------------------------------------------------------------------------------- /apis/sqs-2012-11-05.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListQueues": { 4 | "result_key": "QueueUrls" 5 | } 6 | } 7 | } -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/get-vanilla-query/get-vanilla-query.req: -------------------------------------------------------------------------------- 1 | GET / HTTP/1.1 2 | Host:example.amazonaws.com 3 | X-Amz-Date:20150830T123600Z -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/normalize-path/get-slash/get-slash.req: -------------------------------------------------------------------------------- 1 | GET // HTTP/1.1 2 | Host:example.amazonaws.com 3 | X-Amz-Date:20150830T123600Z -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/post-header-key-case/post-header-key-case.req: -------------------------------------------------------------------------------- 1 | POST / HTTP/1.1 2 | Host:example.amazonaws.com 3 | X-Amz-Date:20150830T123600Z -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | 2 | .externalToolBuilders 3 | .DS_Store 4 | .lock-wscript 5 | build 6 | *.pyc 7 | .project 8 | .cproject 9 | builtins 10 | .internal 11 | -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/normalize-path/get-slashes/get-slashes.req: -------------------------------------------------------------------------------- 1 | GET //example// HTTP/1.1 2 | Host:example.amazonaws.com 3 | X-Amz-Date:20150830T123600Z -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/normalize-path/get-space/get-space.req: -------------------------------------------------------------------------------- 1 | GET /example space/ HTTP/1.1 2 | Host:example.amazonaws.com 3 | X-Amz-Date:20150830T123600Z -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/get-vanilla-utf8-query/get-vanilla-utf8-query.req: -------------------------------------------------------------------------------- 1 | GET /?ሴ=bar HTTP/1.1 2 | Host:example.amazonaws.com 3 | X-Amz-Date:20150830T123600Z -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/normalize-path/get-relative/get-relative.req: -------------------------------------------------------------------------------- 1 | GET /example/.. HTTP/1.1 2 | Host:example.amazonaws.com 3 | X-Amz-Date:20150830T123600Z -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/post-vanilla-query/post-vanilla-query.req: -------------------------------------------------------------------------------- 1 | POST /?Param1=value1 HTTP/1.1 2 | Host:example.amazonaws.com 3 | X-Amz-Date:20150830T123600Z -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/normalize-path/get-slash-dot-slash/get-slash-dot-slash.req: -------------------------------------------------------------------------------- 1 | GET /./ HTTP/1.1 2 | Host:example.amazonaws.com 3 | X-Amz-Date:20150830T123600Z -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/post-sts-token/post-sts-header-after/post-sts-header-after.req: -------------------------------------------------------------------------------- 1 | POST / HTTP/1.1 2 | Host:example.amazonaws.com 3 | X-Amz-Date:20150830T123600Z -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/post-header-key-sort/post-header-key-sort.req: -------------------------------------------------------------------------------- 1 | POST / HTTP/1.1 2 | Host:example.amazonaws.com 3 | My-Header1:value1 4 | X-Amz-Date:20150830T123600Z -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/get-vanilla-empty-query-key/get-vanilla-empty-query-key.req: -------------------------------------------------------------------------------- 1 | GET /?Param1=value1 HTTP/1.1 2 | Host:example.amazonaws.com 3 | X-Amz-Date:20150830T123600Z -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/post-header-value-case/post-header-value-case.req: -------------------------------------------------------------------------------- 1 | POST / HTTP/1.1 2 | Host:example.amazonaws.com 3 | My-Header1:VALUE1 4 | X-Amz-Date:20150830T123600Z -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/normalize-path/get-slash-pointless-dot/get-slash-pointless-dot.req: -------------------------------------------------------------------------------- 1 | GET /./example HTTP/1.1 2 | Host:example.amazonaws.com 3 | X-Amz-Date:20150830T123600Z -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/post-vanilla-empty-query-value/post-vanilla-empty-query-value.req: -------------------------------------------------------------------------------- 1 | POST /?Param1=value1 HTTP/1.1 2 | Host:example.amazonaws.com 3 | X-Amz-Date:20150830T123600Z -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/get-vanilla-query-order-key/get-vanilla-query-order-key.req: -------------------------------------------------------------------------------- 1 | GET /?Param1=value2&Param1=Value1 HTTP/1.1 2 | Host:example.amazonaws.com 3 | X-Amz-Date:20150830T123600Z -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/normalize-path/get-relative-relative/get-relative-relative.req: -------------------------------------------------------------------------------- 1 | GET /example1/example2/../.. HTTP/1.1 2 | Host:example.amazonaws.com 3 | X-Amz-Date:20150830T123600Z -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/get-vanilla-query-order-value/get-vanilla-query-order-value.req: -------------------------------------------------------------------------------- 1 | GET /?Param1=value2&Param1=value1 HTTP/1.1 2 | Host:example.amazonaws.com 3 | X-Amz-Date:20150830T123600Z -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/get-header-value-trim/get-header-value-trim.req: -------------------------------------------------------------------------------- 1 | GET / HTTP/1.1 2 | Host:example.amazonaws.com 3 | My-Header1: value1 4 | My-Header2: "a b c" 5 | X-Amz-Date:20150830T123600Z -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/get-utf8/get-utf8.sts: -------------------------------------------------------------------------------- 1 | AWS4-HMAC-SHA256 2 | 20150830T123600Z 3 | 20150830/us-east-1/service/aws4_request 4 | 2a0a97d02205e45ce2e994789806b19270cfbbb0921b278ccf58f5249ac42102 -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/get-vanilla-query-order-key-case/get-vanilla-query-order-key-case.req: -------------------------------------------------------------------------------- 1 | GET /?Param2=value2&Param1=value1 HTTP/1.1 2 | Host:example.amazonaws.com 3 | X-Amz-Date:20150830T123600Z -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/get-unreserved/get-unreserved.req: -------------------------------------------------------------------------------- 1 | GET /-._~0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz HTTP/1.1 2 | Host:example.amazonaws.com 3 | X-Amz-Date:20150830T123600Z -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/get-vanilla/get-vanilla.sts: -------------------------------------------------------------------------------- 1 | AWS4-HMAC-SHA256 2 | 20150830T123600Z 3 | 20150830/us-east-1/service/aws4_request 4 | bb579772317eb040ac9ed261061d46c1f17a8133879d6129b6e1c25292927e63 -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/post-vanilla/post-vanilla.sts: -------------------------------------------------------------------------------- 1 | AWS4-HMAC-SHA256 2 | 20150830T123600Z 3 | 20150830/us-east-1/service/aws4_request 4 | 553f88c9e4d10fc9e109e2aeb65f030801b70c2f6468faca261d401ae622fc87 -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/get-header-value-multiline/get-header-value-multiline.req: -------------------------------------------------------------------------------- 1 | GET / HTTP/1.1 2 | Host:example.amazonaws.com 3 | My-Header1:value1 4 | value2 5 | value3 6 | X-Amz-Date:20150830T123600Z -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/get-unreserved/get-unreserved.sts: -------------------------------------------------------------------------------- 1 | AWS4-HMAC-SHA256 2 | 20150830T123600Z 3 | 20150830/us-east-1/service/aws4_request 4 | 6a968768eefaa713e2a6b16b589a8ea192661f098f37349f4e2c0082757446f9 -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/get-vanilla-query/get-vanilla-query.sts: -------------------------------------------------------------------------------- 1 | AWS4-HMAC-SHA256 2 | 20150830T123600Z 3 | 20150830/us-east-1/service/aws4_request 4 | bb579772317eb040ac9ed261061d46c1f17a8133879d6129b6e1c25292927e63 -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/normalize-path/get-slash/get-slash.sts: -------------------------------------------------------------------------------- 1 | AWS4-HMAC-SHA256 2 | 20150830T123600Z 3 | 20150830/us-east-1/service/aws4_request 4 | bb579772317eb040ac9ed261061d46c1f17a8133879d6129b6e1c25292927e63 -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/normalize-path/get-space/get-space.sts: -------------------------------------------------------------------------------- 1 | AWS4-HMAC-SHA256 2 | 20150830T123600Z 3 | 20150830/us-east-1/service/aws4_request 4 | 63ee75631ed7234ae61b5f736dfc7754cdccfedbff4b5128a915706ee9390d86 -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/normalize-path/get-relative/get-relative.sts: -------------------------------------------------------------------------------- 1 | AWS4-HMAC-SHA256 2 | 20150830T123600Z 3 | 20150830/us-east-1/service/aws4_request 4 | bb579772317eb040ac9ed261061d46c1f17a8133879d6129b6e1c25292927e63 -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/normalize-path/get-slashes/get-slashes.sts: -------------------------------------------------------------------------------- 1 | AWS4-HMAC-SHA256 2 | 20150830T123600Z 3 | 20150830/us-east-1/service/aws4_request 4 | cb96b4ac96d501f7c5c15bc6d67b3035061cfced4af6585ad927f7e6c985c015 -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/post-header-key-case/post-header-key-case.sts: -------------------------------------------------------------------------------- 1 | AWS4-HMAC-SHA256 2 | 20150830T123600Z 3 | 20150830/us-east-1/service/aws4_request 4 | 553f88c9e4d10fc9e109e2aeb65f030801b70c2f6468faca261d401ae622fc87 -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/post-header-key-sort/post-header-key-sort.sts: -------------------------------------------------------------------------------- 1 | AWS4-HMAC-SHA256 2 | 20150830T123600Z 3 | 20150830/us-east-1/service/aws4_request 4 | 9368318c2967cf6de74404b30c65a91e8f6253e0a8659d6d5319f1a812f87d65 -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/post-vanilla-query/post-vanilla-query.sts: -------------------------------------------------------------------------------- 1 | AWS4-HMAC-SHA256 2 | 20150830T123600Z 3 | 20150830/us-east-1/service/aws4_request 4 | 9d659678c1756bb3113e2ce898845a0a79dbbc57b740555917687f1b3340fbbd -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/get-header-key-duplicate/get-header-key-duplicate.req: -------------------------------------------------------------------------------- 1 | GET / HTTP/1.1 2 | Host:example.amazonaws.com 3 | My-Header1:value2 4 | My-Header1:value2 5 | My-Header1:value1 6 | X-Amz-Date:20150830T123600Z -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/get-header-value-order/get-header-value-order.sts: -------------------------------------------------------------------------------- 1 | AWS4-HMAC-SHA256 2 | 20150830T123600Z 3 | 20150830/us-east-1/service/aws4_request 4 | 31ce73cd3f3d9f66977ad3dd957dc47af14df92fcd8509f59b349e9137c58b86 -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/get-header-value-trim/get-header-value-trim.sts: -------------------------------------------------------------------------------- 1 | AWS4-HMAC-SHA256 2 | 20150830T123600Z 3 | 20150830/us-east-1/service/aws4_request 4 | a726db9b0df21c14f559d0a978e563112acb1b9e05476f0a6a1c7d68f28605c7 -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/get-vanilla-utf8-query/get-vanilla-utf8-query.sts: -------------------------------------------------------------------------------- 1 | AWS4-HMAC-SHA256 2 | 20150830T123600Z 3 | 20150830/us-east-1/service/aws4_request 4 | eb30c5bed55734080471a834cc727ae56beb50e5f39d1bff6d0d38cb192a7073 -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/get-vanilla/get-vanilla.creq: -------------------------------------------------------------------------------- 1 | GET 2 | / 3 | 4 | host:example.amazonaws.com 5 | x-amz-date:20150830T123600Z 6 | 7 | host;x-amz-date 8 | e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/post-header-value-case/post-header-value-case.sts: -------------------------------------------------------------------------------- 1 | AWS4-HMAC-SHA256 2 | 20150830T123600Z 3 | 20150830/us-east-1/service/aws4_request 4 | d51ced243e649e3de6ef63afbbdcbca03131a21a7103a1583706a64618606a93 -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/get-header-key-duplicate/get-header-key-duplicate.sts: -------------------------------------------------------------------------------- 1 | AWS4-HMAC-SHA256 2 | 20150830T123600Z 3 | 20150830/us-east-1/service/aws4_request 4 | dc7f04a3abfde8d472b0ab1a418b741b7c67174dad1551b4117b15527fbe966c -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/get-utf8/get-utf8.creq: -------------------------------------------------------------------------------- 1 | GET 2 | /%E1%88%B4 3 | 4 | host:example.amazonaws.com 5 | x-amz-date:20150830T123600Z 6 | 7 | host;x-amz-date 8 | e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/post-vanilla/post-vanilla.creq: -------------------------------------------------------------------------------- 1 | POST 2 | / 3 | 4 | host:example.amazonaws.com 5 | x-amz-date:20150830T123600Z 6 | 7 | host;x-amz-date 8 | e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/get-header-value-multiline/get-header-value-multiline.sts: -------------------------------------------------------------------------------- 1 | AWS4-HMAC-SHA256 2 | 20150830T123600Z 3 | 20150830/us-east-1/service/aws4_request 4 | b7b6cbfd8a0430b78891e986784da2630c8a135a8595cec25b26ea94f926ee55 -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/get-utf8/get-utf8.authz: -------------------------------------------------------------------------------- 1 | AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;x-amz-date, Signature=8318018e0b0f223aa2bbf98705b62bb787dc9c0e678f255a891fd03141be5d85 -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/get-vanilla-empty-query-key/get-vanilla-empty-query-key.sts: -------------------------------------------------------------------------------- 1 | AWS4-HMAC-SHA256 2 | 20150830T123600Z 3 | 20150830/us-east-1/service/aws4_request 4 | 1e24db194ed7d0eec2de28d7369675a243488e08526e8c1c73571282f7c517ab -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/get-vanilla-query-order-key/get-vanilla-query-order-key.sts: -------------------------------------------------------------------------------- 1 | AWS4-HMAC-SHA256 2 | 20150830T123600Z 3 | 20150830/us-east-1/service/aws4_request 4 | 704b4cef673542d84cdff252633f065e8daeba5f168b77116f8b1bcaf3d38f89 -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/normalize-path/get-slash-dot-slash/get-slash-dot-slash.sts: -------------------------------------------------------------------------------- 1 | AWS4-HMAC-SHA256 2 | 20150830T123600Z 3 | 20150830/us-east-1/service/aws4_request 4 | bb579772317eb040ac9ed261061d46c1f17a8133879d6129b6e1c25292927e63 -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/normalize-path/get-slash/get-slash.creq: -------------------------------------------------------------------------------- 1 | GET 2 | / 3 | 4 | host:example.amazonaws.com 5 | x-amz-date:20150830T123600Z 6 | 7 | host;x-amz-date 8 | e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/post-x-www-form-urlencoded/post-x-www-form-urlencoded.req: -------------------------------------------------------------------------------- 1 | POST / HTTP/1.1 2 | Content-Type:application/x-www-form-urlencoded 3 | Host:example.amazonaws.com 4 | X-Amz-Date:20150830T123600Z 5 | 6 | Param1=value1 -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/post-x-www-form-urlencoded/post-x-www-form-urlencoded.sts: -------------------------------------------------------------------------------- 1 | AWS4-HMAC-SHA256 2 | 20150830T123600Z 3 | 20150830/us-east-1/service/aws4_request 4 | 42a5e5bb34198acb3e84da4f085bb7927f2bc277ca766e6d19c73c2154021281 -------------------------------------------------------------------------------- /apis/ds-2015-04-16.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "DescribeDomainControllers": { 4 | "input_token": "NextToken", 5 | "output_token": "NextToken", 6 | "limit_key": "Limit" 7 | } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/get-header-value-order/get-header-value-order.req: -------------------------------------------------------------------------------- 1 | GET / HTTP/1.1 2 | Host:example.amazonaws.com 3 | My-Header1:value4 4 | My-Header1:value1 5 | My-Header1:value3 6 | My-Header1:value2 7 | X-Amz-Date:20150830T123600Z -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/get-vanilla-query-order-value/get-vanilla-query-order-value.sts: -------------------------------------------------------------------------------- 1 | AWS4-HMAC-SHA256 2 | 20150830T123600Z 3 | 20150830/us-east-1/service/aws4_request 4 | c968629d70850097a2d8781c9bf7edcb988b04cac14cca9be4acc3595f884606 -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/get-vanilla-query-unreserved/get-vanilla-query-unreserved.sts: -------------------------------------------------------------------------------- 1 | AWS4-HMAC-SHA256 2 | 20150830T123600Z 3 | 20150830/us-east-1/service/aws4_request 4 | c30d4703d9f799439be92736156d47ccfb2d879ddf56f5befa6d1d6aab979177 -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/get-vanilla-query/get-vanilla-query.creq: -------------------------------------------------------------------------------- 1 | GET 2 | / 3 | 4 | host:example.amazonaws.com 5 | x-amz-date:20150830T123600Z 6 | 7 | host;x-amz-date 8 | e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/get-vanilla/get-vanilla.authz: -------------------------------------------------------------------------------- 1 | AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;x-amz-date, Signature=5fa00fa31553b73ebf1942676e86291e8372ff2a2260956d9b8aae1d763fbf31 -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/normalize-path/get-relative-relative/get-relative-relative.sts: -------------------------------------------------------------------------------- 1 | AWS4-HMAC-SHA256 2 | 20150830T123600Z 3 | 20150830/us-east-1/service/aws4_request 4 | bb579772317eb040ac9ed261061d46c1f17a8133879d6129b6e1c25292927e63 -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/post-sts-token/post-sts-header-after/post-sts-header-after.sts: -------------------------------------------------------------------------------- 1 | AWS4-HMAC-SHA256 2 | 20150830T123600Z 3 | 20150830/us-east-1/service/aws4_request 4 | 553f88c9e4d10fc9e109e2aeb65f030801b70c2f6468faca261d401ae622fc87 -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/post-sts-token/post-sts-header-before/post-sts-header-before.sts: -------------------------------------------------------------------------------- 1 | AWS4-HMAC-SHA256 2 | 20150830T123600Z 3 | 20150830/us-east-1/service/aws4_request 4 | c237e1b440d4c63c32ca95b5b99481081cb7b13c7e40434868e71567c1a882f6 -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/post-vanilla-empty-query-value/post-vanilla-empty-query-value.sts: -------------------------------------------------------------------------------- 1 | AWS4-HMAC-SHA256 2 | 20150830T123600Z 3 | 20150830/us-east-1/service/aws4_request 4 | 9d659678c1756bb3113e2ce898845a0a79dbbc57b740555917687f1b3340fbbd -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/get-vanilla-query-order-key-case/get-vanilla-query-order-key-case.sts: -------------------------------------------------------------------------------- 1 | AWS4-HMAC-SHA256 2 | 20150830T123600Z 3 | 20150830/us-east-1/service/aws4_request 4 | 816cd5b414d056048ba4f7c5386d6e0533120fb1fcfa93762cf0fc39e2cf19e0 -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/normalize-path/get-relative/get-relative.creq: -------------------------------------------------------------------------------- 1 | GET 2 | / 3 | 4 | host:example.amazonaws.com 5 | x-amz-date:20150830T123600Z 6 | 7 | host;x-amz-date 8 | e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/normalize-path/get-slash-pointless-dot/get-slash-pointless-dot.sts: -------------------------------------------------------------------------------- 1 | AWS4-HMAC-SHA256 2 | 20150830T123600Z 3 | 20150830/us-east-1/service/aws4_request 4 | 214d50c111a8edc4819da6a636336472c916b5240f51e9a51b5c3305180cf702 -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/post-header-key-case/post-header-key-case.creq: -------------------------------------------------------------------------------- 1 | POST 2 | / 3 | 4 | host:example.amazonaws.com 5 | x-amz-date:20150830T123600Z 6 | 7 | host;x-amz-date 8 | e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/post-vanilla/post-vanilla.authz: -------------------------------------------------------------------------------- 1 | AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;x-amz-date, Signature=5da7c1a2acd57cee7505fc6676e4e544621c30862966e37dddb68e92efbe5d6b -------------------------------------------------------------------------------- /apis/cur-2017-01-06.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "DescribeReportDefinitions": { 4 | "input_token": "NextToken", 5 | "output_token": "NextToken", 6 | "limit_key": "MaxResults" 7 | } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /apis/polly-2016-06-10.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListSpeechSynthesisTasks": { 4 | "input_token": "NextToken", 5 | "output_token": "NextToken", 6 | "limit_key": "MaxResults" 7 | } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/get-unreserved/get-unreserved.authz: -------------------------------------------------------------------------------- 1 | AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;x-amz-date, Signature=07ef7494c76fa4850883e2b006601f940f8a34d404d0cfa977f52a65bbf5f24f -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/normalize-path/get-slashes/get-slashes.creq: -------------------------------------------------------------------------------- 1 | GET 2 | /example/ 3 | 4 | host:example.amazonaws.com 5 | x-amz-date:20150830T123600Z 6 | 7 | host;x-amz-date 8 | e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 -------------------------------------------------------------------------------- /apis/discovery-2015-11-01.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "DescribeContinuousExports": { 4 | "input_token": "nextToken", 5 | "output_token": "nextToken", 6 | "limit_key": "maxResults" 7 | } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/get-vanilla-query/get-vanilla-query.authz: -------------------------------------------------------------------------------- 1 | AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;x-amz-date, Signature=5fa00fa31553b73ebf1942676e86291e8372ff2a2260956d9b8aae1d763fbf31 -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/normalize-path/get-slash-dot-slash/get-slash-dot-slash.creq: -------------------------------------------------------------------------------- 1 | GET 2 | / 3 | 4 | host:example.amazonaws.com 5 | x-amz-date:20150830T123600Z 6 | 7 | host;x-amz-date 8 | e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/normalize-path/get-slash/get-slash.authz: -------------------------------------------------------------------------------- 1 | AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;x-amz-date, Signature=5fa00fa31553b73ebf1942676e86291e8372ff2a2260956d9b8aae1d763fbf31 -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/normalize-path/get-slashes/get-slashes.authz: -------------------------------------------------------------------------------- 1 | AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;x-amz-date, Signature=9a624bd73a37c9a373b5312afbebe7a714a789de108f0bdfe846570885f57e84 -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/normalize-path/get-space/get-space.authz: -------------------------------------------------------------------------------- 1 | AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;x-amz-date, Signature=652487583200325589f1fba4c7e578f72c47cb61beeca81406b39ddec1366741 -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/normalize-path/get-space/get-space.creq: -------------------------------------------------------------------------------- 1 | GET 2 | /example%20space/ 3 | 4 | host:example.amazonaws.com 5 | x-amz-date:20150830T123600Z 6 | 7 | host;x-amz-date 8 | e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/post-vanilla-query/post-vanilla-query.authz: -------------------------------------------------------------------------------- 1 | AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;x-amz-date, Signature=28038455d6de14eafc1f9222cf5aa6f1a96197d7deb8263271d420d138af7f11 -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/post-vanilla-query/post-vanilla-query.creq: -------------------------------------------------------------------------------- 1 | POST 2 | / 3 | Param1=value1 4 | host:example.amazonaws.com 5 | x-amz-date:20150830T123600Z 6 | 7 | host;x-amz-date 8 | e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/post-x-www-form-urlencoded-parameters/post-x-www-form-urlencoded-parameters.sts: -------------------------------------------------------------------------------- 1 | AWS4-HMAC-SHA256 2 | 20150830T123600Z 3 | 20150830/us-east-1/service/aws4_request 4 | 2e1cf7ed91881a30569e46552437e4156c823447bf1781b921b5d486c568dd1c -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/get-vanilla-utf8-query/get-vanilla-utf8-query.creq: -------------------------------------------------------------------------------- 1 | GET 2 | / 3 | %E1%88%B4=bar 4 | host:example.amazonaws.com 5 | x-amz-date:20150830T123600Z 6 | 7 | host;x-amz-date 8 | e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/normalize-path/get-relative-relative/get-relative-relative.creq: -------------------------------------------------------------------------------- 1 | GET 2 | / 3 | 4 | host:example.amazonaws.com 5 | x-amz-date:20150830T123600Z 6 | 7 | host;x-amz-date 8 | e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/normalize-path/get-relative/get-relative.authz: -------------------------------------------------------------------------------- 1 | AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;x-amz-date, Signature=5fa00fa31553b73ebf1942676e86291e8372ff2a2260956d9b8aae1d763fbf31 -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/post-header-key-case/post-header-key-case.authz: -------------------------------------------------------------------------------- 1 | AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;x-amz-date, Signature=5da7c1a2acd57cee7505fc6676e4e544621c30862966e37dddb68e92efbe5d6b -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/post-sts-token/post-sts-header-after/post-sts-header-after.creq: -------------------------------------------------------------------------------- 1 | POST 2 | / 3 | 4 | host:example.amazonaws.com 5 | x-amz-date:20150830T123600Z 6 | 7 | host;x-amz-date 8 | e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/get-vanilla-utf8-query/get-vanilla-utf8-query.authz: -------------------------------------------------------------------------------- 1 | AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;x-amz-date, Signature=2cdec8eed098649ff3a119c94853b13c643bcf08f8b0a1d91e12c9027818dd04 -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/get-vanilla-empty-query-key/get-vanilla-empty-query-key.creq: -------------------------------------------------------------------------------- 1 | GET 2 | / 3 | Param1=value1 4 | host:example.amazonaws.com 5 | x-amz-date:20150830T123600Z 6 | 7 | host;x-amz-date 8 | e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/normalize-path/get-slash-pointless-dot/get-slash-pointless-dot.creq: -------------------------------------------------------------------------------- 1 | GET 2 | /example 3 | 4 | host:example.amazonaws.com 5 | x-amz-date:20150830T123600Z 6 | 7 | host;x-amz-date 8 | e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/post-header-key-sort/post-header-key-sort.authz: -------------------------------------------------------------------------------- 1 | AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;my-header1;x-amz-date, Signature=c5410059b04c1ee005303aed430f6e6645f61f4dc9e1461ec8f8916fdf18852c -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/post-x-www-form-urlencoded-parameters/post-x-www-form-urlencoded-parameters.req: -------------------------------------------------------------------------------- 1 | POST / HTTP/1.1 2 | Content-Type:application/x-www-form-urlencoded; charset=utf8 3 | Host:example.amazonaws.com 4 | X-Amz-Date:20150830T123600Z 5 | 6 | Param1=value1 -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/get-header-value-order/get-header-value-order.authz: -------------------------------------------------------------------------------- 1 | AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;my-header1;x-amz-date, Signature=08c7e5a9acfcfeb3ab6b2185e75ce8b1deb5e634ec47601a50643f830c755c01 -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/get-vanilla-empty-query-key/get-vanilla-empty-query-key.authz: -------------------------------------------------------------------------------- 1 | AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;x-amz-date, Signature=a67d582fa61cc504c4bae71f336f98b97f1ea3c7a6bfe1b6e45aec72011b9aeb -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/get-vanilla-query-order-key/get-vanilla-query-order-key.authz: -------------------------------------------------------------------------------- 1 | AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;x-amz-date, Signature=eedbc4e291e521cf13422ffca22be7d2eb8146eecf653089df300a15b2382bd1 -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/get-vanilla-query-unreserved/get-vanilla-query-unreserved.authz: -------------------------------------------------------------------------------- 1 | AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;x-amz-date, Signature=9c3e54bfcdf0b19771a7f523ee5669cdf59bc7cc0884027167c21bb143a40197 -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/normalize-path/get-relative-relative/get-relative-relative.authz: -------------------------------------------------------------------------------- 1 | AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;x-amz-date, Signature=5fa00fa31553b73ebf1942676e86291e8372ff2a2260956d9b8aae1d763fbf31 -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/normalize-path/get-slash-dot-slash/get-slash-dot-slash.authz: -------------------------------------------------------------------------------- 1 | AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;x-amz-date, Signature=5fa00fa31553b73ebf1942676e86291e8372ff2a2260956d9b8aae1d763fbf31 -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/post-header-value-case/post-header-value-case.authz: -------------------------------------------------------------------------------- 1 | AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;my-header1;x-amz-date, Signature=cdbc9802e29d2942e5e10b5bccfdd67c5f22c7c4e8ae67b53629efa58b974b7d -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/post-sts-token/post-sts-header-after/post-sts-header-after.authz: -------------------------------------------------------------------------------- 1 | AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;x-amz-date, Signature=5da7c1a2acd57cee7505fc6676e4e544621c30862966e37dddb68e92efbe5d6b -------------------------------------------------------------------------------- /apis/acm-2015-12-08.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListCertificates": { 4 | "input_token": "NextToken", 5 | "limit_key": "MaxItems", 6 | "output_token": "NextToken", 7 | "result_key": "CertificateSummaryList" 8 | } 9 | } 10 | } -------------------------------------------------------------------------------- /aws-sdk/lockbox/util/bit.lua: -------------------------------------------------------------------------------- 1 | -- Workaround to support Lua 5.2 bit32 API with the LuaJIT bit one 2 | if bit.rol and not bit.lrotate then 3 | bit.lrotate = bit.rol 4 | end 5 | if bit.ror and not bit.rrotate then 6 | bit.rrotate = bit.ror 7 | end 8 | 9 | return bit 10 | -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/get-header-key-duplicate/get-header-key-duplicate.authz: -------------------------------------------------------------------------------- 1 | AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;my-header1;x-amz-date, Signature=c9d5ea9f3f72853aea855b47ea873832890dbdd183b4468f858259531a5138ea -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/get-vanilla-query-order-value/get-vanilla-query-order-value.authz: -------------------------------------------------------------------------------- 1 | AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;x-amz-date, Signature=5772eed61e12b33fae39ee5e7012498b51d56abc0abb7c60486157bd471c4694 -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/normalize-path/get-slash-pointless-dot/get-slash-pointless-dot.authz: -------------------------------------------------------------------------------- 1 | AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;x-amz-date, Signature=ef75d96142cf21edca26f06005da7988e4f8dc83a165a80865db7089db637ec5 -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/post-header-key-sort/post-header-key-sort.creq: -------------------------------------------------------------------------------- 1 | POST 2 | / 3 | 4 | host:example.amazonaws.com 5 | my-header1:value1 6 | x-amz-date:20150830T123600Z 7 | 8 | host;my-header1;x-amz-date 9 | e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/post-header-value-case/post-header-value-case.creq: -------------------------------------------------------------------------------- 1 | POST 2 | / 3 | 4 | host:example.amazonaws.com 5 | my-header1:VALUE1 6 | x-amz-date:20150830T123600Z 7 | 8 | host;my-header1;x-amz-date 9 | e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/post-vanilla-empty-query-value/post-vanilla-empty-query-value.authz: -------------------------------------------------------------------------------- 1 | AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;x-amz-date, Signature=28038455d6de14eafc1f9222cf5aa6f1a96197d7deb8263271d420d138af7f11 -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/post-vanilla-empty-query-value/post-vanilla-empty-query-value.creq: -------------------------------------------------------------------------------- 1 | POST 2 | / 3 | Param1=value1 4 | host:example.amazonaws.com 5 | x-amz-date:20150830T123600Z 6 | 7 | host;x-amz-date 8 | e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 -------------------------------------------------------------------------------- /apis/config-2014-11-12.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "GetResourceConfigHistory": { 4 | "input_token": "nextToken", 5 | "limit_key": "limit", 6 | "output_token": "nextToken", 7 | "result_key": "configurationItems" 8 | } 9 | } 10 | } -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/get-header-value-multiline/get-header-value-multiline.authz: -------------------------------------------------------------------------------- 1 | AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;my-header1;x-amz-date, Signature=ba17b383a53190154eb5fa66a1b836cc297cc0a3d70a5d00705980573d8ff790 -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/get-header-value-trim/get-header-value-trim.authz: -------------------------------------------------------------------------------- 1 | AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;my-header1;my-header2;x-amz-date, Signature=acc3ed3afb60bb290fc8d2dd0098b9911fcaa05412b367055dee359757a9c736 -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/get-vanilla-query-order-key-case/get-vanilla-query-order-key-case.authz: -------------------------------------------------------------------------------- 1 | AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;x-amz-date, Signature=b97d918cfa904a5beff61c982a1b6f458b799221646efd99d3219ec94cdf2500 -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/get-vanilla-query-order-key/get-vanilla-query-order-key.creq: -------------------------------------------------------------------------------- 1 | GET 2 | / 3 | Param1=Value1&Param1=value2 4 | host:example.amazonaws.com 5 | x-amz-date:20150830T123600Z 6 | 7 | host;x-amz-date 8 | e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/post-x-www-form-urlencoded/post-x-www-form-urlencoded.authz: -------------------------------------------------------------------------------- 1 | AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature=ff11897932ad3f4e8b18135d722051e5ac45fc38421b1da7b9d196a0fe09473a -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/get-vanilla-query-order-value/get-vanilla-query-order-value.creq: -------------------------------------------------------------------------------- 1 | GET 2 | / 3 | Param1=value1&Param1=value2 4 | host:example.amazonaws.com 5 | x-amz-date:20150830T123600Z 6 | 7 | host;x-amz-date 8 | e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/get-vanilla-query-order-key-case/get-vanilla-query-order-key-case.creq: -------------------------------------------------------------------------------- 1 | GET 2 | / 3 | Param1=value1&Param2=value2 4 | host:example.amazonaws.com 5 | x-amz-date:20150830T123600Z 6 | 7 | host;x-amz-date 8 | e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/get-header-key-duplicate/get-header-key-duplicate.creq: -------------------------------------------------------------------------------- 1 | GET 2 | / 3 | 4 | host:example.amazonaws.com 5 | my-header1:value2,value2,value1 6 | x-amz-date:20150830T123600Z 7 | 8 | host;my-header1;x-amz-date 9 | e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/get-header-value-order/get-header-value-order.creq: -------------------------------------------------------------------------------- 1 | GET 2 | / 3 | 4 | host:example.amazonaws.com 5 | my-header1:value4,value1,value3,value2 6 | x-amz-date:20150830T123600Z 7 | 8 | host;my-header1;x-amz-date 9 | e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/get-unreserved/get-unreserved.creq: -------------------------------------------------------------------------------- 1 | GET 2 | /-._~0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz 3 | 4 | host:example.amazonaws.com 5 | x-amz-date:20150830T123600Z 6 | 7 | host;x-amz-date 8 | e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/get-vanilla-query-unreserved/get-vanilla-query-unreserved.req: -------------------------------------------------------------------------------- 1 | GET /?-._~0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz=-._~0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz HTTP/1.1 2 | Host:example.amazonaws.com 3 | X-Amz-Date:20150830T123600Z -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/post-sts-token/post-sts-header-before/post-sts-header-before.authz: -------------------------------------------------------------------------------- 1 | AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;x-amz-date;x-amz-security-token, Signature=85d96828115b5dc0cfc3bd16ad9e210dd772bbebba041836c64533a82be05ead -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/get-header-value-multiline/get-header-value-multiline.creq: -------------------------------------------------------------------------------- 1 | GET 2 | / 3 | 4 | host:example.amazonaws.com 5 | my-header1:value1,value2,value3 6 | x-amz-date:20150830T123600Z 7 | 8 | host;my-header1;x-amz-date 9 | e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/post-x-www-form-urlencoded-parameters/post-x-www-form-urlencoded-parameters.authz: -------------------------------------------------------------------------------- 1 | AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature=1a72ec8f64bd914b0e42e42607c7fbce7fb2c7465f63e3092b3b0d39fa77a6fe -------------------------------------------------------------------------------- /apis/importexport-2010-06-01.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListJobs": { 4 | "input_token": "Marker", 5 | "output_token": "Jobs[-1].JobId", 6 | "more_results": "IsTruncated", 7 | "limit_key": "MaxJobs", 8 | "result_key": "Jobs" 9 | } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/post-x-www-form-urlencoded/post-x-www-form-urlencoded.creq: -------------------------------------------------------------------------------- 1 | POST 2 | / 3 | 4 | content-type:application/x-www-form-urlencoded 5 | host:example.amazonaws.com 6 | x-amz-date:20150830T123600Z 7 | 8 | content-type;host;x-amz-date 9 | 9095672bbd1f56dfc5b65f3e153adc8731a4a654192329106275f4c7b24d0b6e -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/get-header-value-trim/get-header-value-trim.creq: -------------------------------------------------------------------------------- 1 | GET 2 | / 3 | 4 | host:example.amazonaws.com 5 | my-header1:value1 6 | my-header2:"a b c" 7 | x-amz-date:20150830T123600Z 8 | 9 | host;my-header1;my-header2;x-amz-date 10 | e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/get-utf8/get-utf8.sreq: -------------------------------------------------------------------------------- 1 | GET /ሴ HTTP/1.1 2 | Host:example.amazonaws.com 3 | X-Amz-Date:20150830T123600Z 4 | Authorization: AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;x-amz-date, Signature=8318018e0b0f223aa2bbf98705b62bb787dc9c0e678f255a891fd03141be5d85 -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/get-vanilla/get-vanilla.sreq: -------------------------------------------------------------------------------- 1 | GET / HTTP/1.1 2 | Host:example.amazonaws.com 3 | X-Amz-Date:20150830T123600Z 4 | Authorization: AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;x-amz-date, Signature=5fa00fa31553b73ebf1942676e86291e8372ff2a2260956d9b8aae1d763fbf31 -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/post-vanilla/post-vanilla.sreq: -------------------------------------------------------------------------------- 1 | POST / HTTP/1.1 2 | Host:example.amazonaws.com 3 | X-Amz-Date:20150830T123600Z 4 | Authorization: AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;x-amz-date, Signature=5da7c1a2acd57cee7505fc6676e4e544621c30862966e37dddb68e92efbe5d6b -------------------------------------------------------------------------------- /game.project: -------------------------------------------------------------------------------- 1 | [project] 2 | title = AWS-SDK-Lua 3 | dependencies = https://github.com/britzl/deftest/archive/1.2.zip 4 | 5 | [display] 6 | width = 1136 7 | height = 640 8 | 9 | [script] 10 | shared_state = 1 11 | 12 | [library] 13 | include_dirs = aws-sdk 14 | 15 | [bootstrap] 16 | main_collection = /tests/test.collectionc 17 | 18 | -------------------------------------------------------------------------------- /apis/cloudsearch-2011-02-01.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "DescribeDomains": { 4 | "result_key": "DomainStatusList" 5 | }, 6 | "DescribeIndexFields": { 7 | "result_key": "IndexFields" 8 | }, 9 | "DescribeRankExpressions": { 10 | "result_key": "RankExpressions" 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /apis/cloudtrail-2013-11-01.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "DescribeTrails": { 4 | "result_key": "trailList" 5 | }, 6 | "LookupEvents": { 7 | "input_token": "NextToken", 8 | "limit_key": "MaxResults", 9 | "output_token": "NextToken", 10 | "result_key": "Events" 11 | } 12 | } 13 | } -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/get-vanilla-query/get-vanilla-query.sreq: -------------------------------------------------------------------------------- 1 | GET / HTTP/1.1 2 | Host:example.amazonaws.com 3 | X-Amz-Date:20150830T123600Z 4 | Authorization: AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;x-amz-date, Signature=5fa00fa31553b73ebf1942676e86291e8372ff2a2260956d9b8aae1d763fbf31 -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/normalize-path/get-slash/get-slash.sreq: -------------------------------------------------------------------------------- 1 | GET // HTTP/1.1 2 | Host:example.amazonaws.com 3 | X-Amz-Date:20150830T123600Z 4 | Authorization: AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;x-amz-date, Signature=5fa00fa31553b73ebf1942676e86291e8372ff2a2260956d9b8aae1d763fbf31 -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/post-header-key-case/post-header-key-case.sreq: -------------------------------------------------------------------------------- 1 | POST / HTTP/1.1 2 | Host:example.amazonaws.com 3 | X-Amz-Date:20150830T123600Z 4 | Authorization: AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;x-amz-date, Signature=5da7c1a2acd57cee7505fc6676e4e544621c30862966e37dddb68e92efbe5d6b -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/post-x-www-form-urlencoded-parameters/post-x-www-form-urlencoded-parameters.creq: -------------------------------------------------------------------------------- 1 | POST 2 | / 3 | 4 | content-type:application/x-www-form-urlencoded; charset=utf8 5 | host:example.amazonaws.com 6 | x-amz-date:20150830T123600Z 7 | 8 | content-type;host;x-amz-date 9 | 9095672bbd1f56dfc5b65f3e153adc8731a4a654192329106275f4c7b24d0b6e -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/get-vanilla-utf8-query/get-vanilla-utf8-query.sreq: -------------------------------------------------------------------------------- 1 | GET /?ሴ=bar HTTP/1.1 2 | Host:example.amazonaws.com 3 | X-Amz-Date:20150830T123600Z 4 | Authorization: AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;x-amz-date, Signature=2cdec8eed098649ff3a119c94853b13c643bcf08f8b0a1d91e12c9027818dd04 -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/normalize-path/get-relative/get-relative.sreq: -------------------------------------------------------------------------------- 1 | GET /example/.. HTTP/1.1 2 | Host:example.amazonaws.com 3 | X-Amz-Date:20150830T123600Z 4 | Authorization: AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;x-amz-date, Signature=5fa00fa31553b73ebf1942676e86291e8372ff2a2260956d9b8aae1d763fbf31 -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/normalize-path/get-slashes/get-slashes.sreq: -------------------------------------------------------------------------------- 1 | GET //example// HTTP/1.1 2 | Host:example.amazonaws.com 3 | X-Amz-Date:20150830T123600Z 4 | Authorization: AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;x-amz-date, Signature=9a624bd73a37c9a373b5312afbebe7a714a789de108f0bdfe846570885f57e84 -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/normalize-path/get-space/get-space.sreq: -------------------------------------------------------------------------------- 1 | GET /example space/ HTTP/1.1 2 | Host:example.amazonaws.com 3 | X-Amz-Date:20150830T123600Z 4 | Authorization: AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;x-amz-date, Signature=652487583200325589f1fba4c7e578f72c47cb61beeca81406b39ddec1366741 -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/post-vanilla-query/post-vanilla-query.sreq: -------------------------------------------------------------------------------- 1 | POST /?Param1=value1 HTTP/1.1 2 | Host:example.amazonaws.com 3 | X-Amz-Date:20150830T123600Z 4 | Authorization: AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;x-amz-date, Signature=28038455d6de14eafc1f9222cf5aa6f1a96197d7deb8263271d420d138af7f11 -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/normalize-path/get-slash-dot-slash/get-slash-dot-slash.sreq: -------------------------------------------------------------------------------- 1 | GET /./ HTTP/1.1 2 | Host:example.amazonaws.com 3 | X-Amz-Date:20150830T123600Z 4 | Authorization: AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;x-amz-date, Signature=5fa00fa31553b73ebf1942676e86291e8372ff2a2260956d9b8aae1d763fbf31 -------------------------------------------------------------------------------- /aws-sdk/utils/xml.lua: -------------------------------------------------------------------------------- 1 | local xml2lua = require 'aws-sdk.xml2lua.xml2lua' 2 | local handler = require 'aws-sdk.xml2lua.xmlhandler.tree' 3 | 4 | local M = {} 5 | 6 | function M.parse(s) 7 | handler = handler:new() 8 | local parser = xml2lua.parser(handler) 9 | parser:parse(s) 10 | return handler.root 11 | end 12 | 13 | return M 14 | -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/get-vanilla-empty-query-key/get-vanilla-empty-query-key.sreq: -------------------------------------------------------------------------------- 1 | GET /?Param1=value1 HTTP/1.1 2 | Host:example.amazonaws.com 3 | X-Amz-Date:20150830T123600Z 4 | Authorization: AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;x-amz-date, Signature=a67d582fa61cc504c4bae71f336f98b97f1ea3c7a6bfe1b6e45aec72011b9aeb -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/normalize-path/get-slash-pointless-dot/get-slash-pointless-dot.sreq: -------------------------------------------------------------------------------- 1 | GET /./example HTTP/1.1 2 | Host:example.amazonaws.com 3 | X-Amz-Date:20150830T123600Z 4 | Authorization: AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;x-amz-date, Signature=ef75d96142cf21edca26f06005da7988e4f8dc83a165a80865db7089db637ec5 -------------------------------------------------------------------------------- /apis/chime-2018-05-01.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListAccounts": { 4 | "input_token": "NextToken", 5 | "output_token": "NextToken", 6 | "limit_key": "MaxResults" 7 | }, 8 | "ListUsers": { 9 | "input_token": "NextToken", 10 | "output_token": "NextToken", 11 | "limit_key": "MaxResults" 12 | } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /apis/macie-2017-12-19.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination":{ 3 | "ListMemberAccounts":{ 4 | "input_token":"nextToken", 5 | "output_token":"nextToken", 6 | "limit_key":"maxResults" 7 | }, 8 | "ListS3Resources":{ 9 | "input_token":"nextToken", 10 | "output_token":"nextToken", 11 | "limit_key":"maxResults" 12 | } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /apis/mobile-2017-07-01.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListBundles": { 4 | "input_token": "nextToken", 5 | "output_token": "nextToken", 6 | "limit_key": "maxResults" 7 | }, 8 | "ListProjects": { 9 | "input_token": "nextToken", 10 | "output_token": "nextToken", 11 | "limit_key": "maxResults" 12 | } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/post-header-key-sort/post-header-key-sort.sreq: -------------------------------------------------------------------------------- 1 | POST / HTTP/1.1 2 | Host:example.amazonaws.com 3 | My-Header1:value1 4 | X-Amz-Date:20150830T123600Z 5 | Authorization: AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;my-header1;x-amz-date, Signature=c5410059b04c1ee005303aed430f6e6645f61f4dc9e1461ec8f8916fdf18852c -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/post-vanilla-empty-query-value/post-vanilla-empty-query-value.sreq: -------------------------------------------------------------------------------- 1 | POST /?Param1=value1 HTTP/1.1 2 | Host:example.amazonaws.com 3 | X-Amz-Date:20150830T123600Z 4 | Authorization: AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;x-amz-date, Signature=28038455d6de14eafc1f9222cf5aa6f1a96197d7deb8263271d420d138af7f11 -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/get-vanilla-query-unreserved/get-vanilla-query-unreserved.creq: -------------------------------------------------------------------------------- 1 | GET 2 | / 3 | -._~0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz=-._~0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz 4 | host:example.amazonaws.com 5 | x-amz-date:20150830T123600Z 6 | 7 | host;x-amz-date 8 | e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/normalize-path/get-relative-relative/get-relative-relative.sreq: -------------------------------------------------------------------------------- 1 | GET /example1/example2/../.. HTTP/1.1 2 | Host:example.amazonaws.com 3 | X-Amz-Date:20150830T123600Z 4 | Authorization: AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;x-amz-date, Signature=5fa00fa31553b73ebf1942676e86291e8372ff2a2260956d9b8aae1d763fbf31 -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/post-header-value-case/post-header-value-case.sreq: -------------------------------------------------------------------------------- 1 | POST / HTTP/1.1 2 | Host:example.amazonaws.com 3 | My-Header1:VALUE1 4 | X-Amz-Date:20150830T123600Z 5 | Authorization: AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;my-header1;x-amz-date, Signature=cdbc9802e29d2942e5e10b5bccfdd67c5f22c7c4e8ae67b53629efa58b974b7d -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/get-vanilla-query-order-key/get-vanilla-query-order-key.sreq: -------------------------------------------------------------------------------- 1 | GET /?Param1=value2&Param1=Value1 HTTP/1.1 2 | Host:example.amazonaws.com 3 | X-Amz-Date:20150830T123600Z 4 | Authorization: AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;x-amz-date, Signature=eedbc4e291e521cf13422ffca22be7d2eb8146eecf653089df300a15b2382bd1 -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/get-vanilla-query-order-value/get-vanilla-query-order-value.sreq: -------------------------------------------------------------------------------- 1 | GET /?Param1=value2&Param1=value1 HTTP/1.1 2 | Host:example.amazonaws.com 3 | X-Amz-Date:20150830T123600Z 4 | Authorization: AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;x-amz-date, Signature=5772eed61e12b33fae39ee5e7012498b51d56abc0abb7c60486157bd471c4694 -------------------------------------------------------------------------------- /apis/connect-2017-08-08.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "GetCurrentMetricData": { 4 | "input_token": "NextToken", 5 | "output_token": "NextToken", 6 | "limit_key": "MaxResults" 7 | }, 8 | "GetMetricData": { 9 | "input_token": "NextToken", 10 | "output_token": "NextToken", 11 | "limit_key": "MaxResults" 12 | } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /apis/appstream-2016-12-01.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "DescribeImagePermissions": { 4 | "input_token": "NextToken", 5 | "output_token": "NextToken", 6 | "limit_key": "MaxResults" 7 | }, 8 | "DescribeImages": { 9 | "input_token": "NextToken", 10 | "output_token": "NextToken", 11 | "limit_key": "MaxResults" 12 | } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /apis/secretsmanager-2017-10-17.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListSecretVersionIds": { 4 | "input_token": "NextToken", 5 | "output_token": "NextToken", 6 | "limit_key": "MaxResults" 7 | }, 8 | "ListSecrets": { 9 | "input_token": "NextToken", 10 | "output_token": "NextToken", 11 | "limit_key": "MaxResults" 12 | } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /apis/transcribe-2017-10-26.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListTranscriptionJobs": { 4 | "input_token": "NextToken", 5 | "output_token": "NextToken", 6 | "limit_key": "MaxResults" 7 | }, 8 | "ListVocabularies": { 9 | "input_token": "NextToken", 10 | "output_token": "NextToken", 11 | "limit_key": "MaxResults" 12 | } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/get-unreserved/get-unreserved.sreq: -------------------------------------------------------------------------------- 1 | GET /-._~0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz HTTP/1.1 2 | Host:example.amazonaws.com 3 | X-Amz-Date:20150830T123600Z 4 | Authorization: AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;x-amz-date, Signature=07ef7494c76fa4850883e2b006601f940f8a34d404d0cfa977f52a65bbf5f24f -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/get-vanilla-query-order-key-case/get-vanilla-query-order-key-case.sreq: -------------------------------------------------------------------------------- 1 | GET /?Param2=value2&Param1=value1 HTTP/1.1 2 | Host:example.amazonaws.com 3 | X-Amz-Date:20150830T123600Z 4 | Authorization: AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;x-amz-date, Signature=b97d918cfa904a5beff61c982a1b6f458b799221646efd99d3219ec94cdf2500 -------------------------------------------------------------------------------- /apis/cloud9-2017-09-23.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "DescribeEnvironmentMemberships": { 4 | "input_token": "nextToken", 5 | "output_token": "nextToken", 6 | "limit_key": "maxResults" 7 | }, 8 | "ListEnvironments": { 9 | "input_token": "nextToken", 10 | "output_token": "nextToken", 11 | "limit_key": "maxResults" 12 | } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /apis/serverlessrepo-2017-09-08.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination" : { 3 | "ListApplicationVersions" : { 4 | "input_token" : "NextToken", 5 | "output_token" : "NextToken", 6 | "limit_key" : "MaxItems" 7 | }, 8 | "ListApplications" : { 9 | "input_token" : "NextToken", 10 | "output_token" : "NextToken", 11 | "limit_key" : "MaxItems" 12 | } 13 | } 14 | } -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: required 2 | 3 | dist: bionic 4 | 5 | script: 6 | - sudo unlink /usr/bin/gcc && sudo ln -s /usr/bin/gcc-5 /usr/bin/gcc 7 | - gcc --version 8 | 9 | addons: 10 | apt: 11 | sources: 12 | - ubuntu-toolchain-r-test 13 | packages: 14 | - gcc-5 15 | - g++-5 16 | 17 | language: java 18 | 19 | jdk: 20 | - oraclejdk11 21 | 22 | script: 23 | - "./.test/run.sh" 24 | -------------------------------------------------------------------------------- /apis/sdb-2009-04-15.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListDomains": { 4 | "input_token": "NextToken", 5 | "output_token": "NextToken", 6 | "limit_key": "MaxNumberOfDomains", 7 | "result_key": "DomainNames" 8 | }, 9 | "Select": { 10 | "input_token": "NextToken", 11 | "output_token": "NextToken", 12 | "result_key": "Items" 13 | } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/get-header-value-multiline/get-header-value-multiline.sreq: -------------------------------------------------------------------------------- 1 | GET / HTTP/1.1 2 | Host:example.amazonaws.com 3 | My-Header1:value1 4 | value2 5 | value3 6 | X-Amz-Date:20150830T123600Z 7 | Authorization: AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;my-header1;x-amz-date, Signature=ba17b383a53190154eb5fa66a1b836cc297cc0a3d70a5d00705980573d8ff790 -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/get-header-value-trim/get-header-value-trim.sreq: -------------------------------------------------------------------------------- 1 | GET / HTTP/1.1 2 | Host:example.amazonaws.com 3 | My-Header1: value1 4 | My-Header2: "a b c" 5 | X-Amz-Date:20150830T123600Z 6 | Authorization: AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;my-header1;my-header2;x-amz-date, Signature=acc3ed3afb60bb290fc8d2dd0098b9911fcaa05412b367055dee359757a9c736 -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/get-header-key-duplicate/get-header-key-duplicate.sreq: -------------------------------------------------------------------------------- 1 | GET / HTTP/1.1 2 | Host:example.amazonaws.com 3 | My-Header1:value2 4 | My-Header1:value2 5 | My-Header1:value1 6 | X-Amz-Date:20150830T123600Z 7 | Authorization: AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;my-header1;x-amz-date, Signature=c9d5ea9f3f72853aea855b47ea873832890dbdd183b4468f858259531a5138ea -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/post-x-www-form-urlencoded/post-x-www-form-urlencoded.sreq: -------------------------------------------------------------------------------- 1 | POST / HTTP/1.1 2 | Content-Type:application/x-www-form-urlencoded 3 | Host:example.amazonaws.com 4 | X-Amz-Date:20150830T123600Z 5 | Authorization: AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature=ff11897932ad3f4e8b18135d722051e5ac45fc38421b1da7b9d196a0fe09473a 6 | 7 | Param1=value1 -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/get-header-value-order/get-header-value-order.sreq: -------------------------------------------------------------------------------- 1 | GET / HTTP/1.1 2 | Host:example.amazonaws.com 3 | My-Header1:value4 4 | My-Header1:value1 5 | My-Header1:value3 6 | My-Header1:value2 7 | X-Amz-Date:20150830T123600Z 8 | Authorization: AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;my-header1;x-amz-date, Signature=08c7e5a9acfcfeb3ab6b2185e75ce8b1deb5e634ec47601a50643f830c755c01 -------------------------------------------------------------------------------- /apis/monitoring-2010-08-01.waiters2.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 2, 3 | "waiters": { 4 | "AlarmExists": { 5 | "delay": 5, 6 | "maxAttempts": 40, 7 | "operation": "DescribeAlarms", 8 | "acceptors": [ 9 | { 10 | "matcher": "path", 11 | "expected": true, 12 | "argument": "length(MetricAlarms[]) > `0`", 13 | "state": "success" 14 | } 15 | ] 16 | } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /apis/route53-2013-04-01.waiters2.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 2, 3 | "waiters": { 4 | "ResourceRecordSetsChanged": { 5 | "delay": 30, 6 | "maxAttempts": 60, 7 | "operation": "GetChange", 8 | "acceptors": [ 9 | { 10 | "matcher": "path", 11 | "expected": "INSYNC", 12 | "argument": "ChangeInfo.Status", 13 | "state": "success" 14 | } 15 | ] 16 | } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /apis/lambda-2014-11-11.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListEventSources": { 4 | "input_token": "Marker", 5 | "output_token": "NextMarker", 6 | "limit_key": "MaxItems", 7 | "result_key": "EventSources" 8 | }, 9 | "ListFunctions": { 10 | "input_token": "Marker", 11 | "output_token": "NextMarker", 12 | "limit_key": "MaxItems", 13 | "result_key": "Functions" 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /apis/route53domains-2014-05-15.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListDomains": { 4 | "input_token": "Marker", 5 | "limit_key": "MaxItems", 6 | "output_token": "NextPageMarker", 7 | "result_key": "Domains" 8 | }, 9 | "ListOperations": { 10 | "input_token": "Marker", 11 | "limit_key": "MaxItems", 12 | "output_token": "NextPageMarker", 13 | "result_key": "Operations" 14 | } 15 | } 16 | } -------------------------------------------------------------------------------- /apis/snowball-2016-06-30.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "DescribeAddresses": { 4 | "input_token": "NextToken", 5 | "limit_key": "MaxResults", 6 | "output_token": "NextToken", 7 | "result_key": "Addresses" 8 | }, 9 | "ListJobs": { 10 | "input_token": "NextToken", 11 | "limit_key": "MaxResults", 12 | "output_token": "NextToken", 13 | "result_key": "JobListEntries" 14 | } 15 | } 16 | } -------------------------------------------------------------------------------- /apis/lambda-2015-03-31.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListEventSourceMappings": { 4 | "input_token": "Marker", 5 | "limit_key": "MaxItems", 6 | "output_token": "NextMarker", 7 | "result_key": "EventSourceMappings" 8 | }, 9 | "ListFunctions": { 10 | "input_token": "Marker", 11 | "limit_key": "MaxItems", 12 | "output_token": "NextMarker", 13 | "result_key": "Functions" 14 | } 15 | } 16 | } -------------------------------------------------------------------------------- /apis/mediapackage-2017-10-12.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListChannels": { 4 | "input_token": "NextToken", 5 | "output_token": "NextToken", 6 | "limit_key": "MaxResults", 7 | "result_key": "Channels" 8 | }, 9 | "ListOriginEndpoints": { 10 | "input_token": "NextToken", 11 | "output_token": "NextToken", 12 | "limit_key": "MaxResults", 13 | "result_key": "OriginEndpoints" 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/post-x-www-form-urlencoded-parameters/post-x-www-form-urlencoded-parameters.sreq: -------------------------------------------------------------------------------- 1 | POST / HTTP/1.1 2 | Content-Type:application/x-www-form-urlencoded; charset=utf8 3 | Host:example.amazonaws.com 4 | X-Amz-Date:20150830T123600Z 5 | Authorization: AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature=1a72ec8f64bd914b0e42e42607c7fbce7fb2c7465f63e3092b3b0d39fa77a6fe 6 | 7 | Param1=value1 -------------------------------------------------------------------------------- /apis/email-2010-12-01.waiters2.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 2, 3 | "waiters": { 4 | "IdentityExists": { 5 | "delay": 3, 6 | "operation": "GetIdentityVerificationAttributes", 7 | "maxAttempts": 20, 8 | "acceptors": [ 9 | { 10 | "expected": "Success", 11 | "matcher": "pathAll", 12 | "state": "success", 13 | "argument": "VerificationAttributes.*.VerificationStatus" 14 | } 15 | ] 16 | } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/get-vanilla-query-unreserved/get-vanilla-query-unreserved.sreq: -------------------------------------------------------------------------------- 1 | GET /?-._~0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz=-._~0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz HTTP/1.1 2 | Host:example.amazonaws.com 3 | X-Amz-Date:20150830T123600Z 4 | Authorization: AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;x-amz-date, Signature=9c3e54bfcdf0b19771a7f523ee5669cdf59bc7cc0884027167c21bb143a40197 -------------------------------------------------------------------------------- /apis/cloudsearch-2013-01-01.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "DescribeAnalysisSchemes": { 4 | "result_key": "AnalysisSchemes" 5 | }, 6 | "DescribeDomains": { 7 | "result_key": "DomainStatusList" 8 | }, 9 | "DescribeExpressions": { 10 | "result_key": "Expressions" 11 | }, 12 | "DescribeIndexFields": { 13 | "result_key": "IndexFields" 14 | }, 15 | "DescribeSuggesters": { 16 | "result_key": "Suggesters" 17 | } 18 | } 19 | } 20 | 21 | -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/post-sts-token/post-sts-header-before/post-sts-header-before.req: -------------------------------------------------------------------------------- 1 | POST / HTTP/1.1 2 | Host:example.amazonaws.com 3 | X-Amz-Date:20150830T123600Z 4 | X-Amz-Security-Token:AQoDYXdzEPT//////////wEXAMPLEtc764bNrC9SAPBSM22wDOk4x4HIZ8j4FZTwdQWLWsKWHGBuFqwAeMicRXmxfpSPfIeoIYRqTflfKD8YUuwthAx7mSEI/qkPpKPi/kMcGdQrmGdeehM4IC1NtBmUpp2wUE8phUZampKsburEDy0KPkyQDYwT7WZ0wq5VSXDvp75YU9HFvlRd8Tx6q6fE8YQcHNVXAkiY9q6d+xo0rKwT38xVqr7ZD0u0iPPkUL64lIZbqBAz+scqKmlzm8FDrypNC9Yjc8fPOLn9FX9KSYvKTr4rvx3iSIlTJabIQwj2ICCR/oLxBA== 5 | -------------------------------------------------------------------------------- /apis/email-2010-12-01.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListCustomVerificationEmailTemplates": { 4 | "input_token": "NextToken", 5 | "limit_key": "MaxResults", 6 | "output_token": "NextToken" 7 | }, 8 | "ListIdentities": { 9 | "input_token": "NextToken", 10 | "limit_key": "MaxItems", 11 | "output_token": "NextToken", 12 | "result_key": "Identities" 13 | }, 14 | "ListVerifiedEmailAddresses": { 15 | "result_key": "VerifiedEmailAddresses" 16 | } 17 | } 18 | } -------------------------------------------------------------------------------- /apis/cloudhsmv2-2017-04-28.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "DescribeBackups": { 4 | "input_token": "NextToken", 5 | "output_token": "NextToken", 6 | "limit_key": "MaxResults" 7 | }, 8 | "DescribeClusters": { 9 | "input_token": "NextToken", 10 | "output_token": "NextToken", 11 | "limit_key": "MaxResults" 12 | }, 13 | "ListTags": { 14 | "input_token": "NextToken", 15 | "output_token": "NextToken", 16 | "limit_key": "MaxResults" 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /tests/test.script: -------------------------------------------------------------------------------- 1 | local deftest = require "deftest.deftest" 2 | local test_request_signer = require "tests.test_request_signer" 3 | local test_content_type = require "tests.test_content_type" 4 | local test_credentials = require "tests.test_credentials" 5 | local test_basic_credentials = require "tests.test_basic_credentials" 6 | 7 | 8 | function init(self) 9 | deftest.add(test_request_signer) 10 | deftest.add(test_content_type) 11 | deftest.add(test_credentials) 12 | deftest.add(test_basic_credentials) 13 | deftest.run() 14 | end 15 | -------------------------------------------------------------------------------- /apis/athena-2017-05-18.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "GetQueryResults": { 4 | "input_token": "NextToken", 5 | "output_token": "NextToken", 6 | "limit_key": "MaxResults" 7 | }, 8 | "ListNamedQueries": { 9 | "input_token": "NextToken", 10 | "output_token": "NextToken", 11 | "limit_key": "MaxResults" 12 | }, 13 | "ListQueryExecutions": { 14 | "input_token": "NextToken", 15 | "output_token": "NextToken", 16 | "limit_key": "MaxResults" 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /apis/pricing-2017-10-15.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "DescribeServices": { 4 | "input_token": "NextToken", 5 | "output_token": "NextToken", 6 | "limit_key": "MaxResults" 7 | }, 8 | "GetAttributeValues": { 9 | "input_token": "NextToken", 10 | "output_token": "NextToken", 11 | "limit_key": "MaxResults" 12 | }, 13 | "GetProducts": { 14 | "input_token": "NextToken", 15 | "output_token": "NextToken", 16 | "limit_key": "MaxResults" 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /apis/resource-groups-2017-11-27.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListGroupResources": { 4 | "input_token": "NextToken", 5 | "output_token": "NextToken", 6 | "limit_key": "MaxResults" 7 | }, 8 | "ListGroups": { 9 | "input_token": "NextToken", 10 | "output_token": "NextToken", 11 | "limit_key": "MaxResults" 12 | }, 13 | "SearchResources": { 14 | "input_token": "NextToken", 15 | "output_token": "NextToken", 16 | "limit_key": "MaxResults" 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /apis/signer-2017-08-25.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListSigningJobs": { 4 | "input_token": "nextToken", 5 | "output_token": "nextToken", 6 | "limit_key": "maxResults" 7 | }, 8 | "ListSigningPlatforms": { 9 | "input_token": "nextToken", 10 | "output_token": "nextToken", 11 | "limit_key": "maxResults" 12 | }, 13 | "ListSigningProfiles": { 14 | "input_token": "nextToken", 15 | "output_token": "nextToken", 16 | "limit_key": "maxResults" 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /apis/elasticloadbalancing-2012-06-01.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "DescribeInstanceHealth": { 4 | "result_key": "InstanceStates" 5 | }, 6 | "DescribeLoadBalancerPolicies": { 7 | "result_key": "PolicyDescriptions" 8 | }, 9 | "DescribeLoadBalancerPolicyTypes": { 10 | "result_key": "PolicyTypeDescriptions" 11 | }, 12 | "DescribeLoadBalancers": { 13 | "input_token": "Marker", 14 | "output_token": "NextMarker", 15 | "result_key": "LoadBalancerDescriptions" 16 | } 17 | } 18 | } -------------------------------------------------------------------------------- /apis/elasticloadbalancingv2-2015-12-01.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "DescribeListeners": { 4 | "input_token": "Marker", 5 | "output_token": "NextMarker", 6 | "result_key": "Listeners" 7 | }, 8 | "DescribeLoadBalancers": { 9 | "input_token": "Marker", 10 | "output_token": "NextMarker", 11 | "result_key": "LoadBalancers" 12 | }, 13 | "DescribeTargetGroups": { 14 | "input_token": "Marker", 15 | "output_token": "NextMarker", 16 | "result_key": "TargetGroups" 17 | } 18 | } 19 | } -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/normalize-path/normalize-path.txt: -------------------------------------------------------------------------------- 1 | A note about signing requests to Amazon S3: 2 | 3 | In exception to this, you do not normalize URI paths for requests to Amazon S3. For example, if you have a bucket with an object named my-object//example//photo.user, use that path. Normalizing the path to my-object/example/photo.user will cause the request to fail. For more information, see Task 1: Create a Canonical Request in the Amazon Simple Storage Service API Reference: http://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-header-based-auth.html#canonical-request -------------------------------------------------------------------------------- /apis/workspaces-2015-04-08.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "DescribeWorkspaceBundles": { 4 | "input_token": "NextToken", 5 | "output_token": "NextToken", 6 | "result_key": "Bundles" 7 | }, 8 | "DescribeWorkspaceDirectories": { 9 | "input_token": "NextToken", 10 | "output_token": "NextToken", 11 | "result_key": "Directories" 12 | }, 13 | "DescribeWorkspaces": { 14 | "input_token": "NextToken", 15 | "limit_key": "Limit", 16 | "output_token": "NextToken", 17 | "result_key": "Workspaces" 18 | } 19 | } 20 | } -------------------------------------------------------------------------------- /apis/directconnect-2012-10-25.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "DescribeConnections": { 4 | "result_key": "connections" 5 | }, 6 | "DescribeConnectionsOnInterconnect": { 7 | "result_key": "connections" 8 | }, 9 | "DescribeInterconnects": { 10 | "result_key": "interconnects" 11 | }, 12 | "DescribeLocations": { 13 | "result_key": "locations" 14 | }, 15 | "DescribeVirtualGateways": { 16 | "result_key": "virtualGateways" 17 | }, 18 | "DescribeVirtualInterfaces": { 19 | "result_key": "virtualInterfaces" 20 | } 21 | } 22 | } -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/post-sts-token/post-sts-header-before/post-sts-header-before.creq: -------------------------------------------------------------------------------- 1 | POST 2 | / 3 | 4 | host:example.amazonaws.com 5 | x-amz-date:20150830T123600Z 6 | x-amz-security-token:AQoDYXdzEPT//////////wEXAMPLEtc764bNrC9SAPBSM22wDOk4x4HIZ8j4FZTwdQWLWsKWHGBuFqwAeMicRXmxfpSPfIeoIYRqTflfKD8YUuwthAx7mSEI/qkPpKPi/kMcGdQrmGdeehM4IC1NtBmUpp2wUE8phUZampKsburEDy0KPkyQDYwT7WZ0wq5VSXDvp75YU9HFvlRd8Tx6q6fE8YQcHNVXAkiY9q6d+xo0rKwT38xVqr7ZD0u0iPPkUL64lIZbqBAz+scqKmlzm8FDrypNC9Yjc8fPOLn9FX9KSYvKTr4rvx3iSIlTJabIQwj2ICCR/oLxBA== 7 | 8 | host;x-amz-date;x-amz-security-token 9 | e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 -------------------------------------------------------------------------------- /apis/resourcegroupstaggingapi-2017-01-26.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "GetResources": { 4 | "input_token": "PaginationToken", 5 | "limit_key": "ResourcesPerPage", 6 | "output_token": "PaginationToken", 7 | "result_key": "ResourceTagMappingList" 8 | }, 9 | "GetTagKeys": { 10 | "input_token": "PaginationToken", 11 | "output_token": "PaginationToken", 12 | "result_key": "TagKeys" 13 | }, 14 | "GetTagValues": { 15 | "input_token": "PaginationToken", 16 | "output_token": "PaginationToken", 17 | "result_key": "TagValues" 18 | } 19 | } 20 | } -------------------------------------------------------------------------------- /apis/ecr-2015-09-21.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "DescribeImages": { 4 | "input_token": "nextToken", 5 | "limit_key": "maxResults", 6 | "output_token": "nextToken", 7 | "result_key": "imageDetails" 8 | }, 9 | "DescribeRepositories": { 10 | "input_token": "nextToken", 11 | "limit_key": "maxResults", 12 | "output_token": "nextToken", 13 | "result_key": "repositories" 14 | }, 15 | "ListImages": { 16 | "input_token": "nextToken", 17 | "limit_key": "maxResults", 18 | "output_token": "nextToken", 19 | "result_key": "imageIds" 20 | } 21 | } 22 | } -------------------------------------------------------------------------------- /apis/workdocs-2016-05-01.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "DescribeDocumentVersions": { 4 | "input_token": "Marker", 5 | "limit_key": "Limit", 6 | "output_token": "Marker", 7 | "result_key": "DocumentVersions" 8 | }, 9 | "DescribeFolderContents": { 10 | "input_token": "Marker", 11 | "limit_key": "Limit", 12 | "output_token": "Marker", 13 | "result_key": [ 14 | "Folders", 15 | "Documents" 16 | ] 17 | }, 18 | "DescribeUsers": { 19 | "input_token": "Marker", 20 | "limit_key": "Limit", 21 | "output_token": "Marker", 22 | "result_key": "Users" 23 | } 24 | } 25 | } -------------------------------------------------------------------------------- /apis/xray-2016-04-12.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "BatchGetTraces": { 4 | "input_token": "NextToken", 5 | "output_token": "NextToken", 6 | "result_key": "Traces" 7 | }, 8 | "GetServiceGraph": { 9 | "input_token": "NextToken", 10 | "output_token": "NextToken", 11 | "result_key": "Services" 12 | }, 13 | "GetTraceGraph": { 14 | "input_token": "NextToken", 15 | "output_token": "NextToken", 16 | "result_key": "Services" 17 | }, 18 | "GetTraceSummaries": { 19 | "input_token": "NextToken", 20 | "output_token": "NextToken", 21 | "result_key": "TraceSummaries" 22 | } 23 | } 24 | } -------------------------------------------------------------------------------- /tests/test.collection: -------------------------------------------------------------------------------- 1 | name: "default" 2 | scale_along_z: 0 3 | embedded_instances { 4 | id: "go" 5 | data: "components {\n" 6 | " id: \"test\"\n" 7 | " component: \"/tests/test.script\"\n" 8 | " position {\n" 9 | " x: 0.0\n" 10 | " y: 0.0\n" 11 | " z: 0.0\n" 12 | " }\n" 13 | " rotation {\n" 14 | " x: 0.0\n" 15 | " y: 0.0\n" 16 | " z: 0.0\n" 17 | " w: 1.0\n" 18 | " }\n" 19 | "}\n" 20 | "" 21 | position { 22 | x: 0.0 23 | y: 0.0 24 | z: 0.0 25 | } 26 | rotation { 27 | x: 0.0 28 | y: 0.0 29 | z: 0.0 30 | w: 1.0 31 | } 32 | scale3 { 33 | x: 1.0 34 | y: 1.0 35 | z: 1.0 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /apis/elastictranscoder-2012-09-25.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListJobsByPipeline": { 4 | "input_token": "PageToken", 5 | "output_token": "NextPageToken", 6 | "result_key": "Jobs" 7 | }, 8 | "ListJobsByStatus": { 9 | "input_token": "PageToken", 10 | "output_token": "NextPageToken", 11 | "result_key": "Jobs" 12 | }, 13 | "ListPipelines": { 14 | "input_token": "PageToken", 15 | "output_token": "NextPageToken", 16 | "result_key": "Pipelines" 17 | }, 18 | "ListPresets": { 19 | "input_token": "PageToken", 20 | "output_token": "NextPageToken", 21 | "result_key": "Presets" 22 | } 23 | } 24 | } -------------------------------------------------------------------------------- /apis/application-autoscaling-2016-02-06.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "DescribeScalableTargets": { 4 | "input_token": "NextToken", 5 | "limit_key": "MaxResults", 6 | "output_token": "NextToken", 7 | "result_key": "ScalableTargets" 8 | }, 9 | "DescribeScalingActivities": { 10 | "input_token": "NextToken", 11 | "limit_key": "MaxResults", 12 | "output_token": "NextToken", 13 | "result_key": "ScalingActivities" 14 | }, 15 | "DescribeScalingPolicies": { 16 | "input_token": "NextToken", 17 | "limit_key": "MaxResults", 18 | "output_token": "NextToken", 19 | "result_key": "ScalingPolicies" 20 | } 21 | } 22 | } -------------------------------------------------------------------------------- /apis/monitoring-2010-08-01.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "DescribeAlarmHistory": { 4 | "input_token": "NextToken", 5 | "limit_key": "MaxRecords", 6 | "output_token": "NextToken", 7 | "result_key": "AlarmHistoryItems" 8 | }, 9 | "DescribeAlarms": { 10 | "input_token": "NextToken", 11 | "limit_key": "MaxRecords", 12 | "output_token": "NextToken", 13 | "result_key": "MetricAlarms" 14 | }, 15 | "DescribeAlarmsForMetric": { 16 | "result_key": "MetricAlarms" 17 | }, 18 | "ListMetrics": { 19 | "input_token": "NextToken", 20 | "output_token": "NextToken", 21 | "result_key": "Metrics" 22 | } 23 | } 24 | } -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/post-sts-token/post-sts-header-after/post-sts-header-after.sreq: -------------------------------------------------------------------------------- 1 | POST / HTTP/1.1 2 | Host:example.amazonaws.com 3 | X-Amz-Date:20150830T123600Z 4 | X-Amz-Security-Token:AQoDYXdzEPT//////////wEXAMPLEtc764bNrC9SAPBSM22wDOk4x4HIZ8j4FZTwdQWLWsKWHGBuFqwAeMicRXmxfpSPfIeoIYRqTflfKD8YUuwthAx7mSEI/qkPpKPi/kMcGdQrmGdeehM4IC1NtBmUpp2wUE8phUZampKsburEDy0KPkyQDYwT7WZ0wq5VSXDvp75YU9HFvlRd8Tx6q6fE8YQcHNVXAkiY9q6d+xo0rKwT38xVqr7ZD0u0iPPkUL64lIZbqBAz+scqKmlzm8FDrypNC9Yjc8fPOLn9FX9KSYvKTr4rvx3iSIlTJabIQwj2ICCR/oLxBA== 5 | Authorization: AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;x-amz-date, Signature=5da7c1a2acd57cee7505fc6676e4e544621c30862966e37dddb68e92efbe5d6b -------------------------------------------------------------------------------- /apis/elasticbeanstalk-2010-12-01.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "DescribeApplicationVersions": { 4 | "result_key": "ApplicationVersions" 5 | }, 6 | "DescribeApplications": { 7 | "result_key": "Applications" 8 | }, 9 | "DescribeConfigurationOptions": { 10 | "result_key": "Options" 11 | }, 12 | "DescribeEnvironments": { 13 | "result_key": "Environments" 14 | }, 15 | "DescribeEvents": { 16 | "input_token": "NextToken", 17 | "limit_key": "MaxRecords", 18 | "output_token": "NextToken", 19 | "result_key": "Events" 20 | }, 21 | "ListAvailableSolutionStacks": { 22 | "result_key": "SolutionStacks" 23 | } 24 | } 25 | } -------------------------------------------------------------------------------- /apis/opsworkscm-2016-11-01.waiters2.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 2, 3 | "waiters": { 4 | "NodeAssociated": { 5 | "delay": 15, 6 | "maxAttempts": 15, 7 | "operation": "DescribeNodeAssociationStatus", 8 | "description": "Wait until node is associated or disassociated.", 9 | "acceptors": [ 10 | { 11 | "expected": "SUCCESS", 12 | "state": "success", 13 | "matcher": "path", 14 | "argument": "NodeAssociationStatus" 15 | }, 16 | { 17 | "expected": "FAILED", 18 | "state": "failure", 19 | "matcher": "path", 20 | "argument": "NodeAssociationStatus" 21 | } 22 | ] 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /aws-sdk/utils/sync.lua: -------------------------------------------------------------------------------- 1 | local M = {} 2 | 3 | function M.sync(fn) 4 | assert(fn, "You must provide a function to synchronize") 5 | local co = coroutine.running() 6 | assert(co, "You must run this from within a coroutine") 7 | 8 | local results 9 | 10 | local async 11 | fn(function(...) 12 | results = {...} 13 | results.length = select("#", ...) 14 | if async == true then 15 | coroutine.resume(co) 16 | else 17 | async = false 18 | end 19 | end) 20 | if async == nil then 21 | async = true 22 | coroutine.yield() 23 | end 24 | return unpack(results, 1, results.length) 25 | end 26 | 27 | 28 | 29 | return setmetatable(M, { 30 | __call = function(self, ...) 31 | return M.sync(...) 32 | end 33 | }) 34 | -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/post-sts-token/post-sts-header-before/post-sts-header-before.sreq: -------------------------------------------------------------------------------- 1 | POST / HTTP/1.1 2 | Host:example.amazonaws.com 3 | X-Amz-Date:20150830T123600Z 4 | X-Amz-Security-Token:AQoDYXdzEPT//////////wEXAMPLEtc764bNrC9SAPBSM22wDOk4x4HIZ8j4FZTwdQWLWsKWHGBuFqwAeMicRXmxfpSPfIeoIYRqTflfKD8YUuwthAx7mSEI/qkPpKPi/kMcGdQrmGdeehM4IC1NtBmUpp2wUE8phUZampKsburEDy0KPkyQDYwT7WZ0wq5VSXDvp75YU9HFvlRd8Tx6q6fE8YQcHNVXAkiY9q6d+xo0rKwT38xVqr7ZD0u0iPPkUL64lIZbqBAz+scqKmlzm8FDrypNC9Yjc8fPOLn9FX9KSYvKTr4rvx3iSIlTJabIQwj2ICCR/oLxBA== 5 | Authorization: AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;x-amz-date;x-amz-security-token, Signature=85d96828115b5dc0cfc3bd16ad9e210dd772bbebba041836c64533a82be05ead -------------------------------------------------------------------------------- /apis/support-2013-04-15.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "DescribeCases": { 4 | "input_token": "nextToken", 5 | "output_token": "nextToken", 6 | "limit_key": "maxResults", 7 | "result_key": "cases" 8 | }, 9 | "DescribeCommunications": { 10 | "input_token": "nextToken", 11 | "output_token": "nextToken", 12 | "limit_key": "maxResults", 13 | "result_key": "communications" 14 | }, 15 | "DescribeServices": { 16 | "result_key": "services" 17 | }, 18 | "DescribeTrustedAdvisorCheckRefreshStatuses": { 19 | "result_key": "statuses" 20 | }, 21 | "DescribeTrustedAdvisorCheckSummaries": { 22 | "result_key": "summaries" 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /apis/signer-2017-08-25.waiters2.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 2, 3 | "waiters": { 4 | "SuccessfulSigningJob": { 5 | "delay": 20, 6 | "operation": "DescribeSigningJob", 7 | "maxAttempts": 25, 8 | "acceptors": [ 9 | { 10 | "expected": "Succeeded", 11 | "matcher": "path", 12 | "state": "success", 13 | "argument": "status" 14 | }, 15 | { 16 | "expected": "Failed", 17 | "matcher": "path", 18 | "state": "failure", 19 | "argument": "status" 20 | }, 21 | { 22 | "expected": "ResourceNotFoundException", 23 | "matcher": "error", 24 | "state": "failure" 25 | } 26 | ] 27 | } 28 | } 29 | } -------------------------------------------------------------------------------- /apis/dynamodb-2011-12-05.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "BatchGetItem": { 4 | "input_token": "RequestItems", 5 | "output_token": "UnprocessedKeys" 6 | }, 7 | "ListTables": { 8 | "input_token": "ExclusiveStartTableName", 9 | "limit_key": "Limit", 10 | "output_token": "LastEvaluatedTableName", 11 | "result_key": "TableNames" 12 | }, 13 | "Query": { 14 | "input_token": "ExclusiveStartKey", 15 | "limit_key": "Limit", 16 | "output_token": "LastEvaluatedKey", 17 | "result_key": "Items" 18 | }, 19 | "Scan": { 20 | "input_token": "ExclusiveStartKey", 21 | "limit_key": "Limit", 22 | "output_token": "LastEvaluatedKey", 23 | "result_key": "Items" 24 | } 25 | } 26 | } -------------------------------------------------------------------------------- /apis/dynamodb-2012-08-10.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "BatchGetItem": { 4 | "input_token": "RequestItems", 5 | "output_token": "UnprocessedKeys" 6 | }, 7 | "ListTables": { 8 | "input_token": "ExclusiveStartTableName", 9 | "limit_key": "Limit", 10 | "output_token": "LastEvaluatedTableName", 11 | "result_key": "TableNames" 12 | }, 13 | "Query": { 14 | "input_token": "ExclusiveStartKey", 15 | "limit_key": "Limit", 16 | "output_token": "LastEvaluatedKey", 17 | "result_key": "Items" 18 | }, 19 | "Scan": { 20 | "input_token": "ExclusiveStartKey", 21 | "limit_key": "Limit", 22 | "output_token": "LastEvaluatedKey", 23 | "result_key": "Items" 24 | } 25 | } 26 | } -------------------------------------------------------------------------------- /apis/glacier-2012-06-01.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListJobs": { 4 | "input_token": "marker", 5 | "limit_key": "limit", 6 | "output_token": "Marker", 7 | "result_key": "JobList" 8 | }, 9 | "ListMultipartUploads": { 10 | "input_token": "marker", 11 | "limit_key": "limit", 12 | "output_token": "Marker", 13 | "result_key": "UploadsList" 14 | }, 15 | "ListParts": { 16 | "input_token": "marker", 17 | "limit_key": "limit", 18 | "output_token": "Marker", 19 | "result_key": "Parts" 20 | }, 21 | "ListVaults": { 22 | "input_token": "marker", 23 | "limit_key": "limit", 24 | "output_token": "Marker", 25 | "result_key": "VaultList" 26 | } 27 | } 28 | } -------------------------------------------------------------------------------- /apis/kinesis-2013-12-02.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "DescribeStream": { 4 | "input_token": "ExclusiveStartShardId", 5 | "limit_key": "Limit", 6 | "more_results": "StreamDescription.HasMoreShards", 7 | "output_token": "StreamDescription.Shards[-1].ShardId", 8 | "result_key": "StreamDescription.Shards" 9 | }, 10 | "ListStreamConsumers": { 11 | "input_token": "NextToken", 12 | "limit_key": "MaxResults", 13 | "output_token": "NextToken" 14 | }, 15 | "ListStreams": { 16 | "input_token": "ExclusiveStartStreamName", 17 | "limit_key": "Limit", 18 | "more_results": "HasMoreStreams", 19 | "output_token": "StreamNames[-1]", 20 | "result_key": "StreamNames" 21 | } 22 | } 23 | } -------------------------------------------------------------------------------- /apis/kinesis-2013-12-02.waiters2.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 2, 3 | "waiters": { 4 | "StreamExists": { 5 | "delay": 10, 6 | "operation": "DescribeStream", 7 | "maxAttempts": 18, 8 | "acceptors": [ 9 | { 10 | "expected": "ACTIVE", 11 | "matcher": "path", 12 | "state": "success", 13 | "argument": "StreamDescription.StreamStatus" 14 | } 15 | ] 16 | }, 17 | "StreamNotExists": { 18 | "delay": 10, 19 | "operation": "DescribeStream", 20 | "maxAttempts": 18, 21 | "acceptors": [ 22 | { 23 | "expected": "ResourceNotFoundException", 24 | "matcher": "error", 25 | "state": "success" 26 | } 27 | ] 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /apis/datapipeline-2012-10-29.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListPipelines": { 4 | "input_token": "marker", 5 | "output_token": "marker", 6 | "more_results": "hasMoreResults", 7 | "result_key": "pipelineIdList" 8 | }, 9 | "DescribeObjects": { 10 | "input_token": "marker", 11 | "output_token": "marker", 12 | "more_results": "hasMoreResults", 13 | "result_key": "pipelineObjects" 14 | }, 15 | "DescribePipelines": { 16 | "result_key": "pipelineDescriptionList" 17 | }, 18 | "QueryObjects": { 19 | "input_token": "marker", 20 | "output_token": "marker", 21 | "more_results": "hasMoreResults", 22 | "limit_key": "limit", 23 | "result_key": "ids" 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /apis/elastictranscoder-2012-09-25.waiters2.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 2, 3 | "waiters": { 4 | "JobComplete": { 5 | "delay": 30, 6 | "operation": "ReadJob", 7 | "maxAttempts": 120, 8 | "acceptors": [ 9 | { 10 | "expected": "Complete", 11 | "matcher": "path", 12 | "state": "success", 13 | "argument": "Job.Status" 14 | }, 15 | { 16 | "expected": "Canceled", 17 | "matcher": "path", 18 | "state": "failure", 19 | "argument": "Job.Status" 20 | }, 21 | { 22 | "expected": "Error", 23 | "matcher": "path", 24 | "state": "failure", 25 | "argument": "Job.Status" 26 | } 27 | ] 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /apis/codedeploy-2014-10-06.waiters2.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 2, 3 | "waiters": { 4 | "DeploymentSuccessful": { 5 | "delay": 15, 6 | "operation": "GetDeployment", 7 | "maxAttempts": 120, 8 | "acceptors": [ 9 | { 10 | "expected": "Succeeded", 11 | "matcher": "path", 12 | "state": "success", 13 | "argument": "deploymentInfo.status" 14 | }, 15 | { 16 | "expected": "Failed", 17 | "matcher": "path", 18 | "state": "failure", 19 | "argument": "deploymentInfo.status" 20 | }, 21 | { 22 | "expected": "Stopped", 23 | "matcher": "path", 24 | "state": "failure", 25 | "argument": "deploymentInfo.status" 26 | } 27 | ] 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /aws-sdk/lockbox/util/queue.lua: -------------------------------------------------------------------------------- 1 | local Queue = function() 2 | local queue = {} 3 | local tail = 0 4 | local head = 0 5 | 6 | local public = {} 7 | 8 | public.push = function(obj) 9 | queue[head] = obj 10 | head = head + 1 11 | return 12 | end 13 | 14 | public.pop = function() 15 | if tail < head 16 | then 17 | local obj = queue[tail] 18 | queue[tail] = nil 19 | tail = tail + 1 20 | return obj 21 | else 22 | return nil 23 | end 24 | end 25 | 26 | public.size = function() 27 | return head - tail 28 | end 29 | 30 | public.getHead = function() 31 | return head 32 | end 33 | 34 | public.getTail = function() 35 | return tail 36 | end 37 | 38 | public.reset = function() 39 | queue = {} 40 | head = 0 41 | tail = 0 42 | end 43 | 44 | return public 45 | end 46 | 47 | return Queue 48 | -------------------------------------------------------------------------------- /apis/machinelearning-2014-12-12.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "DescribeBatchPredictions": { 4 | "limit_key": "Limit", 5 | "output_token": "NextToken", 6 | "input_token": "NextToken", 7 | "result_key": "Results" 8 | }, 9 | "DescribeDataSources": { 10 | "limit_key": "Limit", 11 | "output_token": "NextToken", 12 | "input_token": "NextToken", 13 | "result_key": "Results" 14 | }, 15 | "DescribeEvaluations": { 16 | "limit_key": "Limit", 17 | "output_token": "NextToken", 18 | "input_token": "NextToken", 19 | "result_key": "Results" 20 | }, 21 | "DescribeMLModels": { 22 | "limit_key": "Limit", 23 | "output_token": "NextToken", 24 | "input_token": "NextToken", 25 | "result_key": "Results" 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /aws-sdk/core/request_headers.lua: -------------------------------------------------------------------------------- 1 | --- HTTP Request header constants 2 | 3 | local M = {} 4 | 5 | M.ACCEPT_HEADER = "Accept" 6 | M.AWS_DATE_HEADER = "X-Amz-Date" 7 | M.AWS_SECURITY_TOKEN = "X-Amz-Security-Token" 8 | M.AMZ_TARGET_HEADER = "X-Amz-Target" 9 | M.ACCEPT_CHAR_SET_HEADER = "Accept-Charset" 10 | M.ACCEPT_ENCODING_HEADER = "Accept-Encoding" 11 | M.AUTHORIZATION_HEADER = "Authorization" 12 | M.AWS_AUTHORIZATION_HEADER = "Authorization" 13 | M.COOKIE_HEADER = "Cookie" 14 | M.CONTENT_LENGTH_HEADER = "Content-Length" 15 | M.CONTENT_MD5_HEADER = "Content-md5" 16 | M.CONTENT_TYPE_HEADER = "Content-Type" 17 | M.DATE_HEADER = "Date" 18 | M.HOST_HEADER = "Host" 19 | M.USER_AGENT_HEADER = "User-Agent" 20 | M.VIA_HEADER = "Via" 21 | M.X_AMZ_EXPIRES_HEADER = "X-Amz-Expires" 22 | M.X_AMZ_CONTENT_SHA256 = "X-Amz-Content-Sha256" 23 | 24 | return M 25 | -------------------------------------------------------------------------------- /apis/states-2016-11-23.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "GetExecutionHistory": { 4 | "input_token": "nextToken", 5 | "limit_key": "maxResults", 6 | "output_token": "nextToken", 7 | "result_key": "events" 8 | }, 9 | "ListActivities": { 10 | "input_token": "nextToken", 11 | "limit_key": "maxResults", 12 | "output_token": "nextToken", 13 | "result_key": "activities" 14 | }, 15 | "ListExecutions": { 16 | "input_token": "nextToken", 17 | "limit_key": "maxResults", 18 | "output_token": "nextToken", 19 | "result_key": "executions" 20 | }, 21 | "ListStateMachines": { 22 | "input_token": "nextToken", 23 | "limit_key": "maxResults", 24 | "output_token": "nextToken", 25 | "result_key": "stateMachines" 26 | } 27 | } 28 | } -------------------------------------------------------------------------------- /apis/iotanalytics-2017-11-27.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListChannels": { 4 | "input_token": "nextToken", 5 | "output_token": "nextToken", 6 | "limit_key": "maxResults" 7 | }, 8 | "ListDatasetContents": { 9 | "input_token": "nextToken", 10 | "output_token": "nextToken", 11 | "limit_key": "maxResults" 12 | }, 13 | "ListDatasets": { 14 | "input_token": "nextToken", 15 | "output_token": "nextToken", 16 | "limit_key": "maxResults" 17 | }, 18 | "ListDatastores": { 19 | "input_token": "nextToken", 20 | "output_token": "nextToken", 21 | "limit_key": "maxResults" 22 | }, 23 | "ListPipelines": { 24 | "input_token": "nextToken", 25 | "output_token": "nextToken", 26 | "limit_key": "maxResults" 27 | } 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /apis/servicediscovery-2017-03-14.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "GetInstancesHealthStatus": { 4 | "input_token": "NextToken", 5 | "output_token": "NextToken", 6 | "limit_key": "MaxResults" 7 | }, 8 | "ListInstances": { 9 | "input_token": "NextToken", 10 | "output_token": "NextToken", 11 | "limit_key": "MaxResults" 12 | }, 13 | "ListNamespaces": { 14 | "input_token": "NextToken", 15 | "output_token": "NextToken", 16 | "limit_key": "MaxResults" 17 | }, 18 | "ListOperations": { 19 | "input_token": "NextToken", 20 | "output_token": "NextToken", 21 | "limit_key": "MaxResults" 22 | }, 23 | "ListServices": { 24 | "input_token": "NextToken", 25 | "output_token": "NextToken", 26 | "limit_key": "MaxResults" 27 | } 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /apis/sns-2010-03-31.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListEndpointsByPlatformApplication": { 4 | "input_token": "NextToken", 5 | "output_token": "NextToken", 6 | "result_key": "Endpoints" 7 | }, 8 | "ListPlatformApplications": { 9 | "input_token": "NextToken", 10 | "output_token": "NextToken", 11 | "result_key": "PlatformApplications" 12 | }, 13 | "ListSubscriptions": { 14 | "input_token": "NextToken", 15 | "output_token": "NextToken", 16 | "result_key": "Subscriptions" 17 | }, 18 | "ListSubscriptionsByTopic": { 19 | "input_token": "NextToken", 20 | "output_token": "NextToken", 21 | "result_key": "Subscriptions" 22 | }, 23 | "ListTopics": { 24 | "input_token": "NextToken", 25 | "output_token": "NextToken", 26 | "result_key": "Topics" 27 | } 28 | } 29 | } -------------------------------------------------------------------------------- /apis/comprehend-2017-11-27.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListDominantLanguageDetectionJobs": { 4 | "input_token": "NextToken", 5 | "output_token": "NextToken", 6 | "limit_key": "MaxResults" 7 | }, 8 | "ListEntitiesDetectionJobs": { 9 | "input_token": "NextToken", 10 | "output_token": "NextToken", 11 | "limit_key": "MaxResults" 12 | }, 13 | "ListKeyPhrasesDetectionJobs": { 14 | "input_token": "NextToken", 15 | "output_token": "NextToken", 16 | "limit_key": "MaxResults" 17 | }, 18 | "ListSentimentDetectionJobs": { 19 | "input_token": "NextToken", 20 | "output_token": "NextToken", 21 | "limit_key": "MaxResults" 22 | }, 23 | "ListTopicsDetectionJobs": { 24 | "input_token": "NextToken", 25 | "output_token": "NextToken", 26 | "limit_key": "MaxResults" 27 | } 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /apis/dynamodb-2011-12-05.waiters2.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 2, 3 | "waiters": { 4 | "TableExists": { 5 | "delay": 20, 6 | "operation": "DescribeTable", 7 | "maxAttempts": 25, 8 | "acceptors": [ 9 | { 10 | "expected": "ACTIVE", 11 | "matcher": "path", 12 | "state": "success", 13 | "argument": "Table.TableStatus" 14 | }, 15 | { 16 | "expected": "ResourceNotFoundException", 17 | "matcher": "error", 18 | "state": "retry" 19 | } 20 | ] 21 | }, 22 | "TableNotExists": { 23 | "delay": 20, 24 | "operation": "DescribeTable", 25 | "maxAttempts": 25, 26 | "acceptors": [ 27 | { 28 | "expected": "ResourceNotFoundException", 29 | "matcher": "error", 30 | "state": "success" 31 | } 32 | ] 33 | } 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /apis/dynamodb-2012-08-10.waiters2.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 2, 3 | "waiters": { 4 | "TableExists": { 5 | "delay": 20, 6 | "operation": "DescribeTable", 7 | "maxAttempts": 25, 8 | "acceptors": [ 9 | { 10 | "expected": "ACTIVE", 11 | "matcher": "path", 12 | "state": "success", 13 | "argument": "Table.TableStatus" 14 | }, 15 | { 16 | "expected": "ResourceNotFoundException", 17 | "matcher": "error", 18 | "state": "retry" 19 | } 20 | ] 21 | }, 22 | "TableNotExists": { 23 | "delay": 20, 24 | "operation": "DescribeTable", 25 | "maxAttempts": 25, 26 | "acceptors": [ 27 | { 28 | "expected": "ResourceNotFoundException", 29 | "matcher": "error", 30 | "state": "success" 31 | } 32 | ] 33 | } 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /apis/es-2015-01-01.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "DescribeReservedElasticsearchInstanceOfferings": { 4 | "input_token": "NextToken", 5 | "output_token": "NextToken", 6 | "limit_key": "MaxResults" 7 | }, 8 | "DescribeReservedElasticsearchInstances": { 9 | "input_token": "NextToken", 10 | "output_token": "NextToken", 11 | "limit_key": "MaxResults" 12 | }, 13 | "GetUpgradeHistory": { 14 | "input_token": "NextToken", 15 | "output_token": "NextToken", 16 | "limit_key": "MaxResults" 17 | }, 18 | "ListElasticsearchInstanceTypes": { 19 | "input_token": "NextToken", 20 | "output_token": "NextToken", 21 | "limit_key": "MaxResults" 22 | }, 23 | "ListElasticsearchVersions": { 24 | "input_token": "NextToken", 25 | "output_token": "NextToken", 26 | "limit_key": "MaxResults" 27 | } 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /apis/kms-2014-11-01.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListAliases": { 4 | "input_token": "Marker", 5 | "limit_key": "Limit", 6 | "more_results": "Truncated", 7 | "output_token": "NextMarker", 8 | "result_key": "Aliases" 9 | }, 10 | "ListGrants": { 11 | "input_token": "Marker", 12 | "limit_key": "Limit", 13 | "more_results": "Truncated", 14 | "output_token": "NextMarker", 15 | "result_key": "Grants" 16 | }, 17 | "ListKeyPolicies": { 18 | "input_token": "Marker", 19 | "limit_key": "Limit", 20 | "more_results": "Truncated", 21 | "output_token": "NextMarker", 22 | "result_key": "PolicyNames" 23 | }, 24 | "ListKeys": { 25 | "input_token": "Marker", 26 | "limit_key": "Limit", 27 | "more_results": "Truncated", 28 | "output_token": "NextMarker", 29 | "result_key": "Keys" 30 | } 31 | } 32 | } -------------------------------------------------------------------------------- /apis/health-2016-08-04.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "DescribeAffectedEntities": { 4 | "input_token": "nextToken", 5 | "limit_key": "maxResults", 6 | "output_token": "nextToken", 7 | "result_key": "entities" 8 | }, 9 | "DescribeEntityAggregates": { 10 | "result_key": "entityAggregates" 11 | }, 12 | "DescribeEventAggregates": { 13 | "input_token": "nextToken", 14 | "limit_key": "maxResults", 15 | "output_token": "nextToken", 16 | "result_key": "eventAggregates" 17 | }, 18 | "DescribeEventTypes": { 19 | "input_token": "nextToken", 20 | "limit_key": "maxResults", 21 | "output_token": "nextToken", 22 | "result_key": "eventTypes" 23 | }, 24 | "DescribeEvents": { 25 | "input_token": "nextToken", 26 | "limit_key": "maxResults", 27 | "output_token": "nextToken", 28 | "result_key": "events" 29 | } 30 | } 31 | } -------------------------------------------------------------------------------- /apis/iam-2010-05-08.waiters2.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 2, 3 | "waiters": { 4 | "InstanceProfileExists": { 5 | "delay": 1, 6 | "operation": "GetInstanceProfile", 7 | "maxAttempts": 40, 8 | "acceptors": [ 9 | { 10 | "expected": 200, 11 | "matcher": "status", 12 | "state": "success" 13 | }, 14 | { 15 | "state": "retry", 16 | "matcher": "status", 17 | "expected": 404 18 | } 19 | ] 20 | }, 21 | "UserExists": { 22 | "delay": 1, 23 | "operation": "GetUser", 24 | "maxAttempts": 20, 25 | "acceptors": [ 26 | { 27 | "state": "success", 28 | "matcher": "status", 29 | "expected": 200 30 | }, 31 | { 32 | "state": "retry", 33 | "matcher": "error", 34 | "expected": "NoSuchEntity" 35 | } 36 | ] 37 | } 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /apis/route53-2013-04-01.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListHealthChecks": { 4 | "input_token": "Marker", 5 | "limit_key": "MaxItems", 6 | "more_results": "IsTruncated", 7 | "output_token": "NextMarker", 8 | "result_key": "HealthChecks" 9 | }, 10 | "ListHostedZones": { 11 | "input_token": "Marker", 12 | "limit_key": "MaxItems", 13 | "more_results": "IsTruncated", 14 | "output_token": "NextMarker", 15 | "result_key": "HostedZones" 16 | }, 17 | "ListResourceRecordSets": { 18 | "input_token": [ 19 | "StartRecordName", 20 | "StartRecordType", 21 | "StartRecordIdentifier" 22 | ], 23 | "limit_key": "MaxItems", 24 | "more_results": "IsTruncated", 25 | "output_token": [ 26 | "NextRecordName", 27 | "NextRecordType", 28 | "NextRecordIdentifier" 29 | ], 30 | "result_key": "ResourceRecordSets" 31 | } 32 | } 33 | } -------------------------------------------------------------------------------- /apis/glacier-2012-06-01.waiters2.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 2, 3 | "waiters": { 4 | "VaultExists": { 5 | "operation": "DescribeVault", 6 | "delay": 3, 7 | "maxAttempts": 15, 8 | "acceptors": [ 9 | { 10 | "state": "success", 11 | "matcher": "status", 12 | "expected": 200 13 | }, 14 | { 15 | "state": "retry", 16 | "matcher": "error", 17 | "expected": "ResourceNotFoundException" 18 | } 19 | ] 20 | }, 21 | "VaultNotExists": { 22 | "operation": "DescribeVault", 23 | "delay": 3, 24 | "maxAttempts": 15, 25 | "acceptors": [ 26 | { 27 | "state": "retry", 28 | "matcher": "status", 29 | "expected": 200 30 | }, 31 | { 32 | "state": "success", 33 | "matcher": "error", 34 | "expected": "ResourceNotFoundException" 35 | } 36 | ] 37 | } 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /apis/sms-2016-10-24.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination":{ 3 | "GetReplicationJobs": { 4 | "input_token": "nextToken", 5 | "output_token": "nextToken", 6 | "limit_key": "maxResults", 7 | "result_key": "replicationJobList" 8 | }, 9 | "GetReplicationRuns": { 10 | "input_token": "nextToken", 11 | "output_token": "nextToken", 12 | "limit_key": "maxResults", 13 | "result_key": "replicationRunList" 14 | }, 15 | "GetConnectors": { 16 | "input_token": "nextToken", 17 | "output_token": "nextToken", 18 | "limit_key": "maxResults", 19 | "result_key": "connectorList" 20 | }, 21 | "GetServers": { 22 | "input_token": "nextToken", 23 | "output_token": "nextToken", 24 | "limit_key": "maxResults", 25 | "result_key": "serverList" 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /apis/mediaconvert-2017-08-29.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "DescribeEndpoints": { 4 | "input_token": "NextToken", 5 | "output_token": "NextToken", 6 | "limit_key": "MaxResults", 7 | "result_key": "Endpoints" 8 | }, 9 | "ListJobs": { 10 | "input_token": "NextToken", 11 | "output_token": "NextToken", 12 | "limit_key": "MaxResults", 13 | "result_key": "Jobs" 14 | }, 15 | "ListPresets": { 16 | "input_token": "NextToken", 17 | "output_token": "NextToken", 18 | "limit_key": "MaxResults", 19 | "result_key": "Presets" 20 | }, 21 | "ListJobTemplates": { 22 | "input_token": "NextToken", 23 | "output_token": "NextToken", 24 | "limit_key": "MaxResults", 25 | "result_key": "JobTemplates" 26 | }, 27 | "ListQueues": { 28 | "input_token": "NextToken", 29 | "output_token": "NextToken", 30 | "limit_key": "MaxResults", 31 | "result_key": "Queues" 32 | } 33 | } 34 | } -------------------------------------------------------------------------------- /apis/acm-2015-12-08.waiters2.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 2, 3 | "waiters": { 4 | "CertificateValidated": { 5 | "delay": 60, 6 | "maxAttempts": 40, 7 | "operation": "DescribeCertificate", 8 | "acceptors": [ 9 | { 10 | "matcher": "pathAll", 11 | "expected": "SUCCESS", 12 | "argument": "Certificate.DomainValidationOptions[].ValidationStatus", 13 | "state": "success" 14 | }, 15 | { 16 | "matcher": "pathAny", 17 | "expected": "PENDING_VALIDATION", 18 | "argument": "Certificate.DomainValidationOptions[].ValidationStatus", 19 | "state": "retry" 20 | }, 21 | { 22 | "matcher": "path", 23 | "expected": "FAILED", 24 | "argument": "Certificate.Status", 25 | "state": "failure" 26 | }, 27 | { 28 | "matcher": "error", 29 | "expected": "ResourceNotFoundException", 30 | "state": "failure" 31 | } 32 | ] 33 | } 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /apis/codedeploy-2014-10-06.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListApplicationRevisions": { 4 | "input_token": "nextToken", 5 | "output_token": "nextToken", 6 | "result_key": "revisions" 7 | }, 8 | "ListApplications": { 9 | "input_token": "nextToken", 10 | "output_token": "nextToken", 11 | "result_key": "applications" 12 | }, 13 | "ListDeploymentConfigs": { 14 | "input_token": "nextToken", 15 | "output_token": "nextToken", 16 | "result_key": "deploymentConfigsList" 17 | }, 18 | "ListDeploymentGroups": { 19 | "input_token": "nextToken", 20 | "output_token": "nextToken", 21 | "result_key": "deploymentGroups" 22 | }, 23 | "ListDeploymentInstances": { 24 | "input_token": "nextToken", 25 | "output_token": "nextToken", 26 | "result_key": "instancesList" 27 | }, 28 | "ListDeployments": { 29 | "input_token": "nextToken", 30 | "output_token": "nextToken", 31 | "result_key": "deployments" 32 | } 33 | } 34 | } -------------------------------------------------------------------------------- /apis/elasticmapreduce-2009-03-31.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "DescribeJobFlows": { 4 | "result_key": "JobFlows" 5 | }, 6 | "ListBootstrapActions": { 7 | "input_token": "Marker", 8 | "output_token": "Marker", 9 | "result_key": "BootstrapActions" 10 | }, 11 | "ListClusters": { 12 | "input_token": "Marker", 13 | "output_token": "Marker", 14 | "result_key": "Clusters" 15 | }, 16 | "ListInstanceFleets": { 17 | "input_token": "Marker", 18 | "output_token": "Marker", 19 | "result_key": "InstanceFleets" 20 | }, 21 | "ListInstanceGroups": { 22 | "input_token": "Marker", 23 | "output_token": "Marker", 24 | "result_key": "InstanceGroups" 25 | }, 26 | "ListInstances": { 27 | "input_token": "Marker", 28 | "output_token": "Marker", 29 | "result_key": "Instances" 30 | }, 31 | "ListSteps": { 32 | "input_token": "Marker", 33 | "output_token": "Marker", 34 | "result_key": "Steps" 35 | } 36 | } 37 | } -------------------------------------------------------------------------------- /.test/run.sh: -------------------------------------------------------------------------------- 1 | 2 | if [ $# -eq 0 ]; then 3 | PLATFORM="x86_64-linux" 4 | else 5 | PLATFORM="$1" 6 | fi 7 | 8 | echo "${PLATFORM}" 9 | 10 | # {"version": "1.2.89", "sha1": "5ca3dd134cc960c35ecefe12f6dc81a48f212d40"} 11 | SHA1=$(curl -s http://d.defold.com/stable/info.json | sed 's/.*sha1": "\(.*\)".*/\1/') 12 | echo "Using Defold dmengine_headless version ${SHA1}" 13 | 14 | #DMENGINE_URL="http://d.defold.com/archive/${SHA1}/engine/linux/dmengine_headless" 15 | DMENGINE_URL="http://d.defold.com/archive/${SHA1}/engine/${PLATFORM}/dmengine_headless" 16 | BOB_URL="http://d.defold.com/archive/${SHA1}/bob/bob.jar" 17 | 18 | echo "Downloading ${DMENGINE_URL}" 19 | curl -o dmengine_headless ${DMENGINE_URL} 20 | chmod +x dmengine_headless 21 | 22 | echo "Downloading ${BOB_URL}" 23 | curl -o bob.jar ${BOB_URL} 24 | 25 | echo "Running bob.jar - resolving dependencies" 26 | java -jar bob.jar --auth "foo" --email "bar" resolve 27 | 28 | echo "Running bob.jar - building" 29 | java -jar bob.jar --debug build 30 | 31 | echo "Starting dmengine_headless" 32 | ./dmengine_headless 33 | -------------------------------------------------------------------------------- /apis/cloudformation-2010-05-15.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "DescribeStackEvents": { 4 | "input_token": "NextToken", 5 | "output_token": "NextToken", 6 | "result_key": "StackEvents" 7 | }, 8 | "DescribeStackResources": { 9 | "result_key": "StackResources" 10 | }, 11 | "DescribeStacks": { 12 | "input_token": "NextToken", 13 | "output_token": "NextToken", 14 | "result_key": "Stacks" 15 | }, 16 | "ListExports": { 17 | "input_token": "NextToken", 18 | "output_token": "NextToken", 19 | "result_key": "Exports" 20 | }, 21 | "ListImports": { 22 | "input_token": "NextToken", 23 | "output_token": "NextToken", 24 | "result_key": "Imports" 25 | }, 26 | "ListStackResources": { 27 | "input_token": "NextToken", 28 | "output_token": "NextToken", 29 | "result_key": "StackResourceSummaries" 30 | }, 31 | "ListStacks": { 32 | "input_token": "NextToken", 33 | "output_token": "NextToken", 34 | "result_key": "StackSummaries" 35 | } 36 | } 37 | } -------------------------------------------------------------------------------- /aws-sdk/core/request_handlers.lua: -------------------------------------------------------------------------------- 1 | -- Request handler provider for AWS service requests 2 | local json_request_handler = require "aws-sdk.core.request_handlers.json" 3 | local rest_json_request_handler = require "aws-sdk.core.request_handlers.rest_json" 4 | local rest_xml_request_handler = require "aws-sdk.core.request_handlers.rest_xml" 5 | local query_request_handler = require "aws-sdk.core.request_handlers.query" 6 | 7 | local M = {} 8 | 9 | function M.from_protocol_and_method(protocol, method) 10 | local handler 11 | if protocol == "json" then 12 | handler = json_request_handler[method:lower()] 13 | elseif protocol == "rest-json" then 14 | handler = rest_json_request_handler[method:lower()] 15 | elseif protocol == "rest-xml" then 16 | handler = rest_xml_request_handler[method:lower()] 17 | elseif protocol == "query" then 18 | handler = query_request_handler[method:lower()] 19 | else 20 | return nil, "Unknown protocol " .. protocol 21 | end 22 | if handler then 23 | return handler 24 | else 25 | return nil, method .. " not yet implemented for " .. protocol 26 | end 27 | end 28 | 29 | return M 30 | -------------------------------------------------------------------------------- /apis/workmail-2017-10-01.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListAliases": { 4 | "input_token": "NextToken", 5 | "output_token": "NextToken", 6 | "limit_key": "MaxResults" 7 | }, 8 | "ListGroupMembers": { 9 | "input_token": "NextToken", 10 | "output_token": "NextToken", 11 | "limit_key": "MaxResults" 12 | }, 13 | "ListGroups": { 14 | "input_token": "NextToken", 15 | "output_token": "NextToken", 16 | "limit_key": "MaxResults" 17 | }, 18 | "ListMailboxPermissions": { 19 | "input_token": "NextToken", 20 | "output_token": "NextToken", 21 | "limit_key": "MaxResults" 22 | }, 23 | "ListOrganizations": { 24 | "input_token": "NextToken", 25 | "output_token": "NextToken", 26 | "limit_key": "MaxResults" 27 | }, 28 | "ListResources": { 29 | "input_token": "NextToken", 30 | "output_token": "NextToken", 31 | "limit_key": "MaxResults" 32 | }, 33 | "ListUsers": { 34 | "input_token": "NextToken", 35 | "output_token": "NextToken", 36 | "limit_key": "MaxResults" 37 | } 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /aws-sdk/lockbox/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2015 James L. 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | 23 | -------------------------------------------------------------------------------- /apis/codecommit-2015-04-13.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "DescribePullRequestEvents": { 4 | "input_token": "nextToken", 5 | "limit_key": "maxResults", 6 | "output_token": "nextToken" 7 | }, 8 | "GetCommentsForComparedCommit": { 9 | "input_token": "nextToken", 10 | "limit_key": "maxResults", 11 | "output_token": "nextToken" 12 | }, 13 | "GetCommentsForPullRequest": { 14 | "input_token": "nextToken", 15 | "limit_key": "maxResults", 16 | "output_token": "nextToken" 17 | }, 18 | "GetDifferences": { 19 | "input_token": "NextToken", 20 | "limit_key": "MaxResults", 21 | "output_token": "NextToken" 22 | }, 23 | "ListBranches": { 24 | "input_token": "nextToken", 25 | "output_token": "nextToken", 26 | "result_key": "branches" 27 | }, 28 | "ListPullRequests": { 29 | "input_token": "nextToken", 30 | "limit_key": "maxResults", 31 | "output_token": "nextToken" 32 | }, 33 | "ListRepositories": { 34 | "input_token": "nextToken", 35 | "output_token": "nextToken", 36 | "result_key": "repositories" 37 | } 38 | } 39 | } -------------------------------------------------------------------------------- /apis/medialive-2017-10-14.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "DescribeSchedule": { 4 | "input_token": "NextToken", 5 | "output_token": "NextToken", 6 | "limit_key": "MaxResults", 7 | "result_key": "ScheduleActions" 8 | }, 9 | "ListChannels": { 10 | "input_token": "NextToken", 11 | "output_token": "NextToken", 12 | "limit_key": "MaxResults", 13 | "result_key": "Channels" 14 | }, 15 | "ListInputSecurityGroups": { 16 | "input_token": "NextToken", 17 | "output_token": "NextToken", 18 | "limit_key": "MaxResults", 19 | "result_key": "InputSecurityGroups" 20 | }, 21 | "ListInputs": { 22 | "input_token": "NextToken", 23 | "output_token": "NextToken", 24 | "limit_key": "MaxResults", 25 | "result_key": "Inputs" 26 | }, 27 | "ListOfferings": { 28 | "input_token": "NextToken", 29 | "output_token": "NextToken", 30 | "limit_key": "MaxResults", 31 | "result_key": "Offerings" 32 | }, 33 | "ListReservations": { 34 | "input_token": "NextToken", 35 | "output_token": "NextToken", 36 | "limit_key": "MaxResults", 37 | "result_key": "Reservations" 38 | } 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /apis/ecs-2014-11-13.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListClusters": { 4 | "input_token": "nextToken", 5 | "limit_key": "maxResults", 6 | "output_token": "nextToken", 7 | "result_key": "clusterArns" 8 | }, 9 | "ListContainerInstances": { 10 | "input_token": "nextToken", 11 | "limit_key": "maxResults", 12 | "output_token": "nextToken", 13 | "result_key": "containerInstanceArns" 14 | }, 15 | "ListServices": { 16 | "input_token": "nextToken", 17 | "limit_key": "maxResults", 18 | "output_token": "nextToken", 19 | "result_key": "serviceArns" 20 | }, 21 | "ListTaskDefinitionFamilies": { 22 | "input_token": "nextToken", 23 | "limit_key": "maxResults", 24 | "output_token": "nextToken", 25 | "result_key": "families" 26 | }, 27 | "ListTaskDefinitions": { 28 | "input_token": "nextToken", 29 | "limit_key": "maxResults", 30 | "output_token": "nextToken", 31 | "result_key": "taskDefinitionArns" 32 | }, 33 | "ListTasks": { 34 | "input_token": "nextToken", 35 | "limit_key": "maxResults", 36 | "output_token": "nextToken", 37 | "result_key": "taskArns" 38 | } 39 | } 40 | } -------------------------------------------------------------------------------- /aws-sdk/core/content_type.lua: -------------------------------------------------------------------------------- 1 | --- Constants for the HTTP header "Content-Type" 2 | -- Also provides a function to return the correct content type based on the 3 | -- protocol format for an AWS service 4 | local M = {} 5 | 6 | M.JSON_CONTENT_TYPE = "application/json" 7 | M.AMZN_JSON_CONTENT_TYPE_1_0 = "application/x-amz-json-1.0" 8 | M.AMZN_JSON_CONTENT_TYPE_1_1 = "application/x-amz-json-1.1" 9 | M.FORM_CONTENT_TYPE = "application/x-www-form-urlencoded" 10 | M.AMZN_XML_CONTENT_TYPE = "application/xml" 11 | 12 | --- Get the correct content type from a protocol and version 13 | -- @param protocol 14 | -- @param version 15 | -- @return content_type The content type string, or nil if protocol is unknown 16 | -- @return error_message 17 | function M.from_protocol(protocol, version) 18 | if protocol == "json" or protocol == "rest-json" then 19 | if version == "1.1" then 20 | return M.AMZN_JSON_CONTENT_TYPE_1_1 21 | else 22 | return M.AMZN_JSON_CONTENT_TYPE_1_0 23 | end 24 | elseif protocol == "rest-xml" then 25 | return M.AMZN_XML_CONTENT_TYPE 26 | elseif protocol == "query" then 27 | return M.FORM_CONTENT_TYPE 28 | else 29 | return nil, ("Unknown protocol '%s' and/or version '%s'"):format(protocol, version) 30 | end 31 | end 32 | 33 | return M 34 | -------------------------------------------------------------------------------- /apis/cloudfront-2017-03-25.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListCloudFrontOriginAccessIdentities": { 4 | "input_token": "Marker", 5 | "limit_key": "MaxItems", 6 | "more_results": "CloudFrontOriginAccessIdentityList.IsTruncated", 7 | "output_token": "CloudFrontOriginAccessIdentityList.NextMarker", 8 | "result_key": "CloudFrontOriginAccessIdentityList.Items" 9 | }, 10 | "ListDistributions": { 11 | "input_token": "Marker", 12 | "limit_key": "MaxItems", 13 | "more_results": "DistributionList.IsTruncated", 14 | "output_token": "DistributionList.NextMarker", 15 | "result_key": "DistributionList.Items" 16 | }, 17 | "ListInvalidations": { 18 | "input_token": "Marker", 19 | "limit_key": "MaxItems", 20 | "more_results": "InvalidationList.IsTruncated", 21 | "output_token": "InvalidationList.NextMarker", 22 | "result_key": "InvalidationList.Items" 23 | }, 24 | "ListStreamingDistributions": { 25 | "input_token": "Marker", 26 | "limit_key": "MaxItems", 27 | "more_results": "StreamingDistributionList.IsTruncated", 28 | "output_token": "StreamingDistributionList.NextMarker", 29 | "result_key": "StreamingDistributionList.Items" 30 | } 31 | } 32 | } -------------------------------------------------------------------------------- /apis/cloudfront-2017-10-30.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListCloudFrontOriginAccessIdentities": { 4 | "input_token": "Marker", 5 | "limit_key": "MaxItems", 6 | "more_results": "CloudFrontOriginAccessIdentityList.IsTruncated", 7 | "output_token": "CloudFrontOriginAccessIdentityList.NextMarker", 8 | "result_key": "CloudFrontOriginAccessIdentityList.Items" 9 | }, 10 | "ListDistributions": { 11 | "input_token": "Marker", 12 | "limit_key": "MaxItems", 13 | "more_results": "DistributionList.IsTruncated", 14 | "output_token": "DistributionList.NextMarker", 15 | "result_key": "DistributionList.Items" 16 | }, 17 | "ListInvalidations": { 18 | "input_token": "Marker", 19 | "limit_key": "MaxItems", 20 | "more_results": "InvalidationList.IsTruncated", 21 | "output_token": "InvalidationList.NextMarker", 22 | "result_key": "InvalidationList.Items" 23 | }, 24 | "ListStreamingDistributions": { 25 | "input_token": "Marker", 26 | "limit_key": "MaxItems", 27 | "more_results": "StreamingDistributionList.IsTruncated", 28 | "output_token": "StreamingDistributionList.NextMarker", 29 | "result_key": "StreamingDistributionList.Items" 30 | } 31 | } 32 | } -------------------------------------------------------------------------------- /apis/cloudfront-2018-06-18.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListCloudFrontOriginAccessIdentities": { 4 | "input_token": "Marker", 5 | "limit_key": "MaxItems", 6 | "more_results": "CloudFrontOriginAccessIdentityList.IsTruncated", 7 | "output_token": "CloudFrontOriginAccessIdentityList.NextMarker", 8 | "result_key": "CloudFrontOriginAccessIdentityList.Items" 9 | }, 10 | "ListDistributions": { 11 | "input_token": "Marker", 12 | "limit_key": "MaxItems", 13 | "more_results": "DistributionList.IsTruncated", 14 | "output_token": "DistributionList.NextMarker", 15 | "result_key": "DistributionList.Items" 16 | }, 17 | "ListInvalidations": { 18 | "input_token": "Marker", 19 | "limit_key": "MaxItems", 20 | "more_results": "InvalidationList.IsTruncated", 21 | "output_token": "InvalidationList.NextMarker", 22 | "result_key": "InvalidationList.Items" 23 | }, 24 | "ListStreamingDistributions": { 25 | "input_token": "Marker", 26 | "limit_key": "MaxItems", 27 | "more_results": "StreamingDistributionList.IsTruncated", 28 | "output_token": "StreamingDistributionList.NextMarker", 29 | "result_key": "StreamingDistributionList.Items" 30 | } 31 | } 32 | } -------------------------------------------------------------------------------- /apis/translate-2017-07-01.min.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "2.0", 3 | "metadata": { 4 | "apiVersion": "2017-07-01", 5 | "endpointPrefix": "translate", 6 | "jsonVersion": "1.1", 7 | "protocol": "json", 8 | "serviceFullName": "Amazon Translate", 9 | "serviceId": "Translate", 10 | "signatureVersion": "v4", 11 | "signingName": "translate", 12 | "targetPrefix": "AWSShineFrontendService_20170701", 13 | "uid": "translate-2017-07-01" 14 | }, 15 | "operations": { 16 | "TranslateText": { 17 | "input": { 18 | "type": "structure", 19 | "required": [ 20 | "Text", 21 | "SourceLanguageCode", 22 | "TargetLanguageCode" 23 | ], 24 | "members": { 25 | "Text": {}, 26 | "SourceLanguageCode": {}, 27 | "TargetLanguageCode": {} 28 | } 29 | }, 30 | "output": { 31 | "type": "structure", 32 | "required": [ 33 | "TranslatedText", 34 | "SourceLanguageCode", 35 | "TargetLanguageCode" 36 | ], 37 | "members": { 38 | "TranslatedText": {}, 39 | "SourceLanguageCode": {}, 40 | "TargetLanguageCode": {} 41 | } 42 | } 43 | } 44 | }, 45 | "shapes": {} 46 | } -------------------------------------------------------------------------------- /apis/cloudfront-2016-11-25.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListCloudFrontOriginAccessIdentities": { 4 | "input_token": "Marker", 5 | "output_token": "CloudFrontOriginAccessIdentityList.NextMarker", 6 | "limit_key": "MaxItems", 7 | "more_results": "CloudFrontOriginAccessIdentityList.IsTruncated", 8 | "result_key": "CloudFrontOriginAccessIdentityList.Items" 9 | }, 10 | "ListDistributions": { 11 | "input_token": "Marker", 12 | "output_token": "DistributionList.NextMarker", 13 | "limit_key": "MaxItems", 14 | "more_results": "DistributionList.IsTruncated", 15 | "result_key": "DistributionList.Items" 16 | }, 17 | "ListInvalidations": { 18 | "input_token": "Marker", 19 | "output_token": "InvalidationList.NextMarker", 20 | "limit_key": "MaxItems", 21 | "more_results": "InvalidationList.IsTruncated", 22 | "result_key": "InvalidationList.Items" 23 | }, 24 | "ListStreamingDistributions": { 25 | "input_token": "Marker", 26 | "output_token": "StreamingDistributionList.NextMarker", 27 | "limit_key": "MaxItems", 28 | "more_results": "StreamingDistributionList.IsTruncated", 29 | "result_key": "StreamingDistributionList.Items" 30 | } 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /apis/guardduty-2017-11-28.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListDetectors": { 4 | "input_token": "NextToken", 5 | "limit_key": "MaxResults", 6 | "output_token": "NextToken", 7 | "result_key": "DetectorIds" 8 | }, 9 | "ListFindings": { 10 | "input_token": "NextToken", 11 | "limit_key": "MaxResults", 12 | "output_token": "NextToken", 13 | "result_key": "FindingIds" 14 | }, 15 | "ListIPSets": { 16 | "input_token": "NextToken", 17 | "limit_key": "MaxResults", 18 | "output_token": "NextToken", 19 | "result_key": "IpSetIds" 20 | }, 21 | "ListThreatIntelSets": { 22 | "input_token": "NextToken", 23 | "limit_key": "MaxResults", 24 | "output_token": "NextToken", 25 | "result_key": "ThreatIntelSetIds" 26 | }, 27 | "ListInvitations": { 28 | "input_token": "NextToken", 29 | "limit_key": "MaxResults", 30 | "output_token": "NextToken", 31 | "result_key": "Invitations" 32 | }, 33 | "ListMembers": { 34 | "input_token": "NextToken", 35 | "limit_key": "MaxResults", 36 | "output_token": "NextToken", 37 | "result_key": "Members" 38 | }, 39 | "ListFilters": { 40 | "input_token": "NextToken", 41 | "limit_key": "MaxResults", 42 | "output_token": "NextToken", 43 | "result_key": "FilterNames" 44 | } 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /apis/cloudfront-2016-11-25.waiters2.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 2, 3 | "waiters": { 4 | "DistributionDeployed": { 5 | "delay": 60, 6 | "operation": "GetDistribution", 7 | "maxAttempts": 25, 8 | "description": "Wait until a distribution is deployed.", 9 | "acceptors": [ 10 | { 11 | "expected": "Deployed", 12 | "matcher": "path", 13 | "state": "success", 14 | "argument": "Distribution.Status" 15 | } 16 | ] 17 | }, 18 | "InvalidationCompleted": { 19 | "delay": 20, 20 | "operation": "GetInvalidation", 21 | "maxAttempts": 30, 22 | "description": "Wait until an invalidation has completed.", 23 | "acceptors": [ 24 | { 25 | "expected": "Completed", 26 | "matcher": "path", 27 | "state": "success", 28 | "argument": "Invalidation.Status" 29 | } 30 | ] 31 | }, 32 | "StreamingDistributionDeployed": { 33 | "delay": 60, 34 | "operation": "GetStreamingDistribution", 35 | "maxAttempts": 25, 36 | "description": "Wait until a streaming distribution is deployed.", 37 | "acceptors": [ 38 | { 39 | "expected": "Deployed", 40 | "matcher": "path", 41 | "state": "success", 42 | "argument": "StreamingDistribution.Status" 43 | } 44 | ] 45 | } 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /apis/cloudfront-2017-03-25.waiters2.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 2, 3 | "waiters": { 4 | "DistributionDeployed": { 5 | "delay": 60, 6 | "operation": "GetDistribution", 7 | "maxAttempts": 25, 8 | "description": "Wait until a distribution is deployed.", 9 | "acceptors": [ 10 | { 11 | "expected": "Deployed", 12 | "matcher": "path", 13 | "state": "success", 14 | "argument": "Distribution.Status" 15 | } 16 | ] 17 | }, 18 | "InvalidationCompleted": { 19 | "delay": 20, 20 | "operation": "GetInvalidation", 21 | "maxAttempts": 30, 22 | "description": "Wait until an invalidation has completed.", 23 | "acceptors": [ 24 | { 25 | "expected": "Completed", 26 | "matcher": "path", 27 | "state": "success", 28 | "argument": "Invalidation.Status" 29 | } 30 | ] 31 | }, 32 | "StreamingDistributionDeployed": { 33 | "delay": 60, 34 | "operation": "GetStreamingDistribution", 35 | "maxAttempts": 25, 36 | "description": "Wait until a streaming distribution is deployed.", 37 | "acceptors": [ 38 | { 39 | "expected": "Deployed", 40 | "matcher": "path", 41 | "state": "success", 42 | "argument": "StreamingDistribution.Status" 43 | } 44 | ] 45 | } 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /apis/cloudfront-2017-10-30.waiters2.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 2, 3 | "waiters": { 4 | "DistributionDeployed": { 5 | "delay": 60, 6 | "operation": "GetDistribution", 7 | "maxAttempts": 25, 8 | "description": "Wait until a distribution is deployed.", 9 | "acceptors": [ 10 | { 11 | "expected": "Deployed", 12 | "matcher": "path", 13 | "state": "success", 14 | "argument": "Distribution.Status" 15 | } 16 | ] 17 | }, 18 | "InvalidationCompleted": { 19 | "delay": 20, 20 | "operation": "GetInvalidation", 21 | "maxAttempts": 30, 22 | "description": "Wait until an invalidation has completed.", 23 | "acceptors": [ 24 | { 25 | "expected": "Completed", 26 | "matcher": "path", 27 | "state": "success", 28 | "argument": "Invalidation.Status" 29 | } 30 | ] 31 | }, 32 | "StreamingDistributionDeployed": { 33 | "delay": 60, 34 | "operation": "GetStreamingDistribution", 35 | "maxAttempts": 25, 36 | "description": "Wait until a streaming distribution is deployed.", 37 | "acceptors": [ 38 | { 39 | "expected": "Deployed", 40 | "matcher": "path", 41 | "state": "success", 42 | "argument": "StreamingDistribution.Status" 43 | } 44 | ] 45 | } 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /apis/cloudfront-2018-06-18.waiters2.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 2, 3 | "waiters": { 4 | "DistributionDeployed": { 5 | "delay": 60, 6 | "operation": "GetDistribution", 7 | "maxAttempts": 25, 8 | "description": "Wait until a distribution is deployed.", 9 | "acceptors": [ 10 | { 11 | "expected": "Deployed", 12 | "matcher": "path", 13 | "state": "success", 14 | "argument": "Distribution.Status" 15 | } 16 | ] 17 | }, 18 | "InvalidationCompleted": { 19 | "delay": 20, 20 | "operation": "GetInvalidation", 21 | "maxAttempts": 30, 22 | "description": "Wait until an invalidation has completed.", 23 | "acceptors": [ 24 | { 25 | "expected": "Completed", 26 | "matcher": "path", 27 | "state": "success", 28 | "argument": "Invalidation.Status" 29 | } 30 | ] 31 | }, 32 | "StreamingDistributionDeployed": { 33 | "delay": 60, 34 | "operation": "GetStreamingDistribution", 35 | "maxAttempts": 25, 36 | "description": "Wait until a streaming distribution is deployed.", 37 | "acceptors": [ 38 | { 39 | "expected": "Deployed", 40 | "matcher": "path", 41 | "state": "success", 42 | "argument": "StreamingDistribution.Status" 43 | } 44 | ] 45 | } 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /aws-sdk/utils/strut.lua: -------------------------------------------------------------------------------- 1 | -- String Utilities 2 | 3 | local M = {} 4 | 5 | --- from http://lua-users.org/wiki/StringRecipes 6 | function M.urldecode(str) 7 | str = string.gsub (str, "+", " ") 8 | str = string.gsub (str, "%%(%x%x)", function(h) return string.char(tonumber(h,16)) end) 9 | str = string.gsub (str, "\r\n", "\n") 10 | return str 11 | end 12 | 13 | --- from http://lua-users.org/wiki/StringRecipes 14 | function M.urlencode(str) 15 | if str then 16 | str = string.gsub (str, "\n", "\r\n") 17 | str = string.gsub (str, "([^%w %-%_%.%~])", function (c) return string.format ("%%%02X", string.byte(c)) end) 18 | str = string.gsub (str, " ", "+") 19 | end 20 | return str 21 | end 22 | 23 | --- http://lua-users.org/wiki/StringTrim 24 | function M.trim(str) 25 | return str:match("^%s*(.-)%s*$") 26 | end 27 | 28 | 29 | function M.split(str, delimiter) 30 | if str:find(delimiter) == nil then 31 | return { str } 32 | end 33 | local result = {} 34 | if delimiter == "" then 35 | for char in str:gmatch(".") do 36 | table.insert(result, char) 37 | end 38 | else 39 | local last_pos 40 | local pattern = "(.-)" .. delimiter .. "()" 41 | for part, pos in str:gmatch(pattern) do 42 | table.insert(result, part) 43 | last_pos = pos 44 | end 45 | if not last_pos then 46 | table.insert(result, s) 47 | else 48 | table.insert(result, str:sub(last_pos)) 49 | end 50 | end 51 | return result 52 | end 53 | 54 | return M 55 | -------------------------------------------------------------------------------- /apis/logs-2014-03-28.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "DescribeDestinations": { 4 | "input_token": "nextToken", 5 | "limit_key": "limit", 6 | "output_token": "nextToken", 7 | "result_key": "destinations" 8 | }, 9 | "DescribeLogGroups": { 10 | "input_token": "nextToken", 11 | "limit_key": "limit", 12 | "output_token": "nextToken", 13 | "result_key": "logGroups" 14 | }, 15 | "DescribeLogStreams": { 16 | "input_token": "nextToken", 17 | "limit_key": "limit", 18 | "output_token": "nextToken", 19 | "result_key": "logStreams" 20 | }, 21 | "DescribeMetricFilters": { 22 | "input_token": "nextToken", 23 | "limit_key": "limit", 24 | "output_token": "nextToken", 25 | "result_key": "metricFilters" 26 | }, 27 | "DescribeSubscriptionFilters": { 28 | "input_token": "nextToken", 29 | "limit_key": "limit", 30 | "output_token": "nextToken", 31 | "result_key": "subscriptionFilters" 32 | }, 33 | "FilterLogEvents": { 34 | "input_token": "nextToken", 35 | "limit_key": "limit", 36 | "output_token": "nextToken", 37 | "result_key": [ 38 | "events", 39 | "searchedLogStreams" 40 | ] 41 | }, 42 | "GetLogEvents": { 43 | "input_token": "nextToken", 44 | "limit_key": "limit", 45 | "output_token": "nextForwardToken", 46 | "result_key": "events" 47 | } 48 | } 49 | } -------------------------------------------------------------------------------- /tests/aws-sig-v4-test-suite/post-sts-token/readme.txt: -------------------------------------------------------------------------------- 1 | A note about using temporary security credentials: 2 | 3 | You can use temporary security credentials provided by the AWS Security Token Service (AWS STS) to sign a request. The process is the same as using long-term credentials but requires an additional HTTP header or query string parameter for the security token. The name of the header or query string parameter is X-Amz-Security-Token, and the value is the session token (the string that you received from AWS STS when you obtained temporary security credentials). 4 | 5 | When you add X-Amz-Security-Token, some services require that you include this parameter in the canonical (signed) request. For other services, you add this parameter at the end, after you calculate the signature. For details see the API reference documentation for that service. 6 | 7 | The test suite has 2 examples: 8 | 9 | post-sts-header-before - The X-Amz-Security-Token header is part of the canonical request. 10 | 11 | post-sts-header-after - The X-Amz-Security-Token header is added to the request after you calculate the signature. 12 | 13 | The test suite uses this example value for X-Amz-Security-Token: 14 | 15 | AQoDYXdzEPT//////////wEXAMPLEtc764bNrC9SAPBSM22wDOk4x4HIZ8j4FZTwdQWLWsKWHGBuFqwAeMicRXmxfpSPfIeoIYRqTflfKD8YUuwthAx7mSEI/qkPpKPi/kMcGdQrmGdeehM4IC1NtBmUpp2wUE8phUZampKsburEDy0KPkyQDYwT7WZ0wq5VSXDvp75YU9HFvlRd8Tx6q6fE8YQcHNVXAkiY9q6d+xo0rKwT38xVqr7ZD0u0iPPkUL64lIZbqBAz+scqKmlzm8FDrypNC9Yjc8fPOLn9FX9KSYvKTr4rvx3iSIlTJabIQwj2ICCR/oLxBA== -------------------------------------------------------------------------------- /apis/appstream-2016-12-01.waiters2.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 2, 3 | "waiters": { 4 | "FleetStarted": { 5 | "delay": 30, 6 | "maxAttempts": 40, 7 | "operation": "DescribeFleets", 8 | "acceptors": [ 9 | { 10 | "state": "success", 11 | "matcher": "pathAll", 12 | "argument": "Fleets[].State", 13 | "expected": "ACTIVE" 14 | }, 15 | { 16 | "state": "failure", 17 | "matcher": "pathAny", 18 | "argument": "Fleets[].State", 19 | "expected": "PENDING_DEACTIVATE" 20 | }, 21 | { 22 | "state": "failure", 23 | "matcher": "pathAny", 24 | "argument": "Fleets[].State", 25 | "expected": "INACTIVE" 26 | } 27 | ] 28 | }, 29 | "FleetStopped": { 30 | "delay": 30, 31 | "maxAttempts": 40, 32 | "operation": "DescribeFleets", 33 | "acceptors": [ 34 | { 35 | "state": "success", 36 | "matcher": "pathAll", 37 | "argument": "Fleets[].State", 38 | "expected": "INACTIVE" 39 | }, 40 | { 41 | "state": "failure", 42 | "matcher": "pathAny", 43 | "argument": "Fleets[].State", 44 | "expected": "PENDING_ACTIVATE" 45 | }, 46 | { 47 | "state": "failure", 48 | "matcher": "pathAny", 49 | "argument": "Fleets[].State", 50 | "expected": "ACTIVE" 51 | } 52 | ] 53 | } 54 | } 55 | } -------------------------------------------------------------------------------- /apis/swf-2012-01-25.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "GetWorkflowExecutionHistory": { 4 | "input_token": "nextPageToken", 5 | "limit_key": "maximumPageSize", 6 | "output_token": "nextPageToken", 7 | "result_key": "events" 8 | }, 9 | "ListActivityTypes": { 10 | "input_token": "nextPageToken", 11 | "limit_key": "maximumPageSize", 12 | "output_token": "nextPageToken", 13 | "result_key": "typeInfos" 14 | }, 15 | "ListClosedWorkflowExecutions": { 16 | "input_token": "nextPageToken", 17 | "limit_key": "maximumPageSize", 18 | "output_token": "nextPageToken", 19 | "result_key": "executionInfos" 20 | }, 21 | "ListDomains": { 22 | "input_token": "nextPageToken", 23 | "limit_key": "maximumPageSize", 24 | "output_token": "nextPageToken", 25 | "result_key": "domainInfos" 26 | }, 27 | "ListOpenWorkflowExecutions": { 28 | "input_token": "nextPageToken", 29 | "limit_key": "maximumPageSize", 30 | "output_token": "nextPageToken", 31 | "result_key": "executionInfos" 32 | }, 33 | "ListWorkflowTypes": { 34 | "input_token": "nextPageToken", 35 | "limit_key": "maximumPageSize", 36 | "output_token": "nextPageToken", 37 | "result_key": "typeInfos" 38 | }, 39 | "PollForDecisionTask": { 40 | "input_token": "nextPageToken", 41 | "limit_key": "maximumPageSize", 42 | "output_token": "nextPageToken", 43 | "result_key": "events" 44 | } 45 | } 46 | } -------------------------------------------------------------------------------- /apis/opsworks-2013-02-18.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "DescribeApps": { 4 | "result_key": "Apps" 5 | }, 6 | "DescribeCommands": { 7 | "result_key": "Commands" 8 | }, 9 | "DescribeDeployments": { 10 | "result_key": "Deployments" 11 | }, 12 | "DescribeEcsClusters": { 13 | "input_token": "NextToken", 14 | "limit_key": "MaxResults", 15 | "output_token": "NextToken", 16 | "result_key": "EcsClusters" 17 | }, 18 | "DescribeElasticIps": { 19 | "result_key": "ElasticIps" 20 | }, 21 | "DescribeElasticLoadBalancers": { 22 | "result_key": "ElasticLoadBalancers" 23 | }, 24 | "DescribeInstances": { 25 | "result_key": "Instances" 26 | }, 27 | "DescribeLayers": { 28 | "result_key": "Layers" 29 | }, 30 | "DescribeLoadBasedAutoScaling": { 31 | "result_key": "LoadBasedAutoScalingConfigurations" 32 | }, 33 | "DescribePermissions": { 34 | "result_key": "Permissions" 35 | }, 36 | "DescribeRaidArrays": { 37 | "result_key": "RaidArrays" 38 | }, 39 | "DescribeServiceErrors": { 40 | "result_key": "ServiceErrors" 41 | }, 42 | "DescribeStacks": { 43 | "result_key": "Stacks" 44 | }, 45 | "DescribeTimeBasedAutoScaling": { 46 | "result_key": "TimeBasedAutoScalingConfigurations" 47 | }, 48 | "DescribeUserProfiles": { 49 | "result_key": "UserProfiles" 50 | }, 51 | "DescribeVolumes": { 52 | "result_key": "Volumes" 53 | } 54 | } 55 | } -------------------------------------------------------------------------------- /apis/rekognition-2016-06-27.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "GetCelebrityRecognition": { 4 | "input_token": "NextToken", 5 | "limit_key": "MaxResults", 6 | "output_token": "NextToken" 7 | }, 8 | "GetContentModeration": { 9 | "input_token": "NextToken", 10 | "limit_key": "MaxResults", 11 | "output_token": "NextToken" 12 | }, 13 | "GetFaceDetection": { 14 | "input_token": "NextToken", 15 | "limit_key": "MaxResults", 16 | "output_token": "NextToken" 17 | }, 18 | "GetFaceSearch": { 19 | "input_token": "NextToken", 20 | "limit_key": "MaxResults", 21 | "output_token": "NextToken" 22 | }, 23 | "GetLabelDetection": { 24 | "input_token": "NextToken", 25 | "limit_key": "MaxResults", 26 | "output_token": "NextToken" 27 | }, 28 | "GetPersonTracking": { 29 | "input_token": "NextToken", 30 | "limit_key": "MaxResults", 31 | "output_token": "NextToken" 32 | }, 33 | "ListCollections": { 34 | "input_token": "NextToken", 35 | "limit_key": "MaxResults", 36 | "output_token": "NextToken", 37 | "result_key": "CollectionIds" 38 | }, 39 | "ListFaces": { 40 | "input_token": "NextToken", 41 | "limit_key": "MaxResults", 42 | "output_token": "NextToken", 43 | "result_key": "Faces" 44 | }, 45 | "ListStreamProcessors": { 46 | "input_token": "NextToken", 47 | "limit_key": "MaxResults", 48 | "output_token": "NextToken" 49 | } 50 | } 51 | } -------------------------------------------------------------------------------- /apis/storagegateway-2013-06-30.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "DescribeCachediSCSIVolumes": { 4 | "result_key": "CachediSCSIVolumes" 5 | }, 6 | "DescribeStorediSCSIVolumes": { 7 | "result_key": "StorediSCSIVolumes" 8 | }, 9 | "DescribeTapeArchives": { 10 | "input_token": "Marker", 11 | "limit_key": "Limit", 12 | "output_token": "Marker", 13 | "result_key": "TapeArchives" 14 | }, 15 | "DescribeTapeRecoveryPoints": { 16 | "input_token": "Marker", 17 | "limit_key": "Limit", 18 | "output_token": "Marker", 19 | "result_key": "TapeRecoveryPointInfos" 20 | }, 21 | "DescribeTapes": { 22 | "input_token": "Marker", 23 | "limit_key": "Limit", 24 | "output_token": "Marker", 25 | "result_key": "Tapes" 26 | }, 27 | "DescribeVTLDevices": { 28 | "input_token": "Marker", 29 | "limit_key": "Limit", 30 | "output_token": "Marker", 31 | "result_key": "VTLDevices" 32 | }, 33 | "ListGateways": { 34 | "input_token": "Marker", 35 | "limit_key": "Limit", 36 | "output_token": "Marker", 37 | "result_key": "Gateways" 38 | }, 39 | "ListLocalDisks": { 40 | "result_key": "Disks" 41 | }, 42 | "ListVolumeRecoveryPoints": { 43 | "result_key": "VolumeRecoveryPointInfos" 44 | }, 45 | "ListVolumes": { 46 | "input_token": "Marker", 47 | "limit_key": "Limit", 48 | "output_token": "Marker", 49 | "result_key": "VolumeInfos" 50 | } 51 | } 52 | } -------------------------------------------------------------------------------- /apis/lex-models-2017-04-19.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "GetBotAliases": { 4 | "input_token": "nextToken", 5 | "output_token": "nextToken", 6 | "limit_key": "maxResults" 7 | }, 8 | "GetBotChannelAssociations": { 9 | "input_token": "nextToken", 10 | "output_token": "nextToken", 11 | "limit_key": "maxResults" 12 | }, 13 | "GetBotVersions": { 14 | "input_token": "nextToken", 15 | "output_token": "nextToken", 16 | "limit_key": "maxResults" 17 | }, 18 | "GetBots": { 19 | "input_token": "nextToken", 20 | "output_token": "nextToken", 21 | "limit_key": "maxResults" 22 | }, 23 | "GetBuiltinIntents": { 24 | "input_token": "nextToken", 25 | "output_token": "nextToken", 26 | "limit_key": "maxResults" 27 | }, 28 | "GetBuiltinSlotTypes": { 29 | "input_token": "nextToken", 30 | "output_token": "nextToken", 31 | "limit_key": "maxResults" 32 | }, 33 | "GetIntentVersions": { 34 | "input_token": "nextToken", 35 | "output_token": "nextToken", 36 | "limit_key": "maxResults" 37 | }, 38 | "GetIntents": { 39 | "input_token": "nextToken", 40 | "output_token": "nextToken", 41 | "limit_key": "maxResults" 42 | }, 43 | "GetSlotTypeVersions": { 44 | "input_token": "nextToken", 45 | "output_token": "nextToken", 46 | "limit_key": "maxResults" 47 | }, 48 | "GetSlotTypes": { 49 | "input_token": "nextToken", 50 | "output_token": "nextToken", 51 | "limit_key": "maxResults" 52 | } 53 | } 54 | } 55 | -------------------------------------------------------------------------------- /aws-sdk/core/request_handlers/rest_json.lua: -------------------------------------------------------------------------------- 1 | -- Request Handler for REST-JSON requests 2 | local config = require "aws-sdk.core.config" 3 | local credentials = require "aws-sdk.core.credentials" 4 | local request_signer = require "aws-sdk.core.request_signer" 5 | local request_headers = require "aws-sdk.core.request_headers" 6 | local json = require "aws-sdk.utils.json" 7 | 8 | local M = {} 9 | 10 | function M.get(base_uri, request_uri, args, headers, settings, cb) 11 | print(base_uri, request_uri, args, headers, settings, cb) 12 | 13 | for arg,value in pairs(args.uri) do 14 | request_uri = request_uri:gsub(arg, value) 15 | end 16 | 17 | if not credentials.is_empty() then 18 | local payload = "" 19 | headers[request_headers.AWS_DATE_HEADER] = os.date('!%Y%m%dT%H%M%SZ') 20 | headers[request_headers.HOST_HEADER] = settings.endpoint 21 | local authorization, err = request_signer.sign(settings.signature_version, 22 | "GET", 23 | request_uri, 24 | payload, 25 | headers, 26 | settings.service, 27 | settings.region) 28 | if not authorization then 29 | cb(false, err) 30 | return 31 | end 32 | headers[request_headers.AUTHORIZATION_HEADER] = authorization 33 | headers[request_headers.HOST_HEADER] = nil 34 | end 35 | 36 | config.http_request(base_uri .. request_uri, "GET", headers, nil, function(response) 37 | local data = assert(json.decode(response.response)) 38 | if response.status >= 200 and response.status < 300 then 39 | cb(data) 40 | else 41 | cb(false, data.__type, data.Message) 42 | end 43 | end) 44 | end 45 | 46 | return M 47 | -------------------------------------------------------------------------------- /apis/inspector-2016-02-16.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "GetExclusionsPreview": { 4 | "input_token": "nextToken", 5 | "output_token": "nextToken", 6 | "limit_key": "maxResults" 7 | }, 8 | "ListAssessmentRunAgents": { 9 | "input_token": "nextToken", 10 | "output_token": "nextToken", 11 | "limit_key": "maxResults" 12 | }, 13 | "ListAssessmentRuns": { 14 | "input_token": "nextToken", 15 | "output_token": "nextToken", 16 | "limit_key": "maxResults" 17 | }, 18 | "ListAssessmentTargets": { 19 | "input_token": "nextToken", 20 | "output_token": "nextToken", 21 | "limit_key": "maxResults" 22 | }, 23 | "ListAssessmentTemplates": { 24 | "input_token": "nextToken", 25 | "output_token": "nextToken", 26 | "limit_key": "maxResults" 27 | }, 28 | "ListEventSubscriptions": { 29 | "input_token": "nextToken", 30 | "output_token": "nextToken", 31 | "limit_key": "maxResults" 32 | }, 33 | "ListExclusions": { 34 | "input_token": "nextToken", 35 | "output_token": "nextToken", 36 | "limit_key": "maxResults" 37 | }, 38 | "ListFindings": { 39 | "input_token": "nextToken", 40 | "output_token": "nextToken", 41 | "limit_key": "maxResults" 42 | }, 43 | "ListRulesPackages": { 44 | "input_token": "nextToken", 45 | "output_token": "nextToken", 46 | "limit_key": "maxResults" 47 | }, 48 | "PreviewAgents": { 49 | "input_token": "nextToken", 50 | "output_token": "nextToken", 51 | "limit_key": "maxResults" 52 | } 53 | } 54 | } 55 | -------------------------------------------------------------------------------- /apis/sagemaker-2017-07-24.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListEndpointConfigs": { 4 | "input_token": "NextToken", 5 | "output_token": "NextToken", 6 | "limit_key": "MaxResults" 7 | }, 8 | "ListEndpoints": { 9 | "input_token": "NextToken", 10 | "output_token": "NextToken", 11 | "limit_key": "MaxResults" 12 | }, 13 | "ListHyperParameterTuningJobs": { 14 | "input_token": "NextToken", 15 | "output_token": "NextToken", 16 | "limit_key": "MaxResults" 17 | }, 18 | "ListModels": { 19 | "input_token": "NextToken", 20 | "output_token": "NextToken", 21 | "limit_key": "MaxResults" 22 | }, 23 | "ListNotebookInstanceLifecycleConfigs": { 24 | "input_token": "NextToken", 25 | "output_token": "NextToken", 26 | "limit_key": "MaxResults" 27 | }, 28 | "ListNotebookInstances": { 29 | "input_token": "NextToken", 30 | "output_token": "NextToken", 31 | "limit_key": "MaxResults" 32 | }, 33 | "ListTags": { 34 | "input_token": "NextToken", 35 | "output_token": "NextToken", 36 | "limit_key": "MaxResults" 37 | }, 38 | "ListTrainingJobs": { 39 | "input_token": "NextToken", 40 | "output_token": "NextToken", 41 | "limit_key": "MaxResults" 42 | }, 43 | "ListTrainingJobsForHyperParameterTuningJob": { 44 | "input_token": "NextToken", 45 | "output_token": "NextToken", 46 | "limit_key": "MaxResults" 47 | }, 48 | "ListTransformJobs": { 49 | "input_token": "NextToken", 50 | "output_token": "NextToken", 51 | "limit_key": "MaxResults" 52 | } 53 | } 54 | } 55 | -------------------------------------------------------------------------------- /apis/kinesis-video-media-2017-09-30.min.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "2.0", 3 | "metadata": { 4 | "apiVersion": "2017-09-30", 5 | "endpointPrefix": "kinesisvideo", 6 | "protocol": "rest-json", 7 | "serviceAbbreviation": "Kinesis Video Media", 8 | "serviceFullName": "Amazon Kinesis Video Streams Media", 9 | "serviceId": "Kinesis Video Media", 10 | "signatureVersion": "v4", 11 | "uid": "kinesis-video-media-2017-09-30" 12 | }, 13 | "operations": { 14 | "GetMedia": { 15 | "http": { 16 | "requestUri": "/getMedia" 17 | }, 18 | "input": { 19 | "type": "structure", 20 | "required": [ 21 | "StartSelector" 22 | ], 23 | "members": { 24 | "StreamName": {}, 25 | "StreamARN": {}, 26 | "StartSelector": { 27 | "type": "structure", 28 | "required": [ 29 | "StartSelectorType" 30 | ], 31 | "members": { 32 | "StartSelectorType": {}, 33 | "AfterFragmentNumber": {}, 34 | "StartTimestamp": { 35 | "type": "timestamp" 36 | }, 37 | "ContinuationToken": {} 38 | } 39 | } 40 | } 41 | }, 42 | "output": { 43 | "type": "structure", 44 | "members": { 45 | "ContentType": { 46 | "location": "header", 47 | "locationName": "Content-Type" 48 | }, 49 | "Payload": { 50 | "type": "blob", 51 | "streaming": true 52 | } 53 | }, 54 | "payload": "Payload" 55 | } 56 | } 57 | }, 58 | "shapes": {} 59 | } -------------------------------------------------------------------------------- /apis/mturk-requester-2017-01-17.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListAssignmentsForHIT": { 4 | "input_token": "NextToken", 5 | "output_token": "NextToken", 6 | "limit_key": "MaxResults" 7 | }, 8 | "ListBonusPayments": { 9 | "input_token": "NextToken", 10 | "output_token": "NextToken", 11 | "limit_key": "MaxResults" 12 | }, 13 | "ListHITs": { 14 | "input_token": "NextToken", 15 | "output_token": "NextToken", 16 | "limit_key": "MaxResults" 17 | }, 18 | "ListHITsForQualificationType": { 19 | "input_token": "NextToken", 20 | "output_token": "NextToken", 21 | "limit_key": "MaxResults" 22 | }, 23 | "ListQualificationRequests": { 24 | "input_token": "NextToken", 25 | "output_token": "NextToken", 26 | "limit_key": "MaxResults" 27 | }, 28 | "ListQualificationTypes": { 29 | "input_token": "NextToken", 30 | "output_token": "NextToken", 31 | "limit_key": "MaxResults" 32 | }, 33 | "ListReviewPolicyResultsForHIT": { 34 | "input_token": "NextToken", 35 | "output_token": "NextToken", 36 | "limit_key": "MaxResults" 37 | }, 38 | "ListReviewableHITs": { 39 | "input_token": "NextToken", 40 | "output_token": "NextToken", 41 | "limit_key": "MaxResults" 42 | }, 43 | "ListWorkerBlocks": { 44 | "input_token": "NextToken", 45 | "output_token": "NextToken", 46 | "limit_key": "MaxResults" 47 | }, 48 | "ListWorkersWithQualificationType": { 49 | "input_token": "NextToken", 50 | "output_token": "NextToken", 51 | "limit_key": "MaxResults" 52 | } 53 | } 54 | } 55 | -------------------------------------------------------------------------------- /aws-sdk/core/request_handlers/rest_xml.lua: -------------------------------------------------------------------------------- 1 | -- Request handler for REST-XML requests 2 | local config = require "aws-sdk.core.config" 3 | local credentials = require "aws-sdk.core.credentials" 4 | local request_signer = require "aws-sdk.core.request_signer" 5 | local request_headers = require "aws-sdk.core.request_headers" 6 | local xml = require "aws-sdk.utils.xml" 7 | 8 | local M = {} 9 | 10 | function M.get(base_uri, request_uri, args, headers, settings, cb) 11 | for arg,value in pairs(args.uri) do 12 | request_uri = request_uri:gsub(arg, value) 13 | end 14 | 15 | if not credentials.is_empty() then 16 | local payload = "" 17 | headers[request_headers.AWS_DATE_HEADER] = os.date('!%Y%m%dT%H%M%SZ') 18 | headers[request_headers.HOST_HEADER] = settings.endpoint 19 | headers[request_headers.CONTENT_TYPE_HEADER] = nil 20 | headers[request_headers.AMZ_TARGET_HEADER] = nil 21 | local authorization, err = request_signer.sign(settings.signature_version, 22 | "GET", 23 | request_uri, 24 | payload, 25 | headers, 26 | settings.service, 27 | settings.region) 28 | if not authorization then 29 | cb(false, err) 30 | return 31 | end 32 | headers[request_headers.AUTHORIZATION_HEADER] = authorization 33 | headers[request_headers.HOST_HEADER] = nil 34 | end 35 | 36 | config.http_request(base_uri .. request_uri, "GET", headers, nil, function(response) 37 | local data = assert(xml.parse(response.response)) 38 | if response.status >= 200 and response.status < 300 then 39 | cb(data) 40 | else 41 | cb(false, data.__type, data.Error.Message) 42 | end 43 | end) 44 | end 45 | 46 | return M 47 | -------------------------------------------------------------------------------- /aws-sdk/core/request_handlers/json.lua: -------------------------------------------------------------------------------- 1 | -- Request Handler for AWS service requests 2 | local config = require "aws-sdk.core.config" 3 | local credentials = require "aws-sdk.core.credentials" 4 | local request_signer = require "aws-sdk.core.request_signer" 5 | local request_headers = require "aws-sdk.core.request_headers" 6 | local json = require "aws-sdk.utils.json" 7 | 8 | local M = {} 9 | 10 | local function encode(data) 11 | local _, encoded_data = assert(pcall(json.encode, data)) 12 | if encoded_data == "[]" then 13 | encoded_data = "{}" 14 | end 15 | return encoded_data 16 | end 17 | 18 | function M.post(base_uri, request_uri, args, headers, settings, cb) 19 | local post_data = encode(args.all) 20 | 21 | if not credentials.is_empty() then 22 | headers[request_headers.AWS_DATE_HEADER] = os.date('!%Y%m%dT%H%M%SZ') 23 | headers[request_headers.HOST_HEADER] = settings.endpoint 24 | local authorization, err = request_signer.sign(settings.signature_version, 25 | "POST", 26 | request_uri, 27 | post_data, 28 | headers, 29 | settings.service, 30 | settings.region) 31 | if not authorization then 32 | cb(false, err) 33 | return 34 | end 35 | headers[request_headers.AUTHORIZATION_HEADER] = authorization 36 | headers[request_headers.HOST_HEADER] = nil 37 | end 38 | 39 | config.http_request(base_uri .. request_uri, "POST", headers, post_data, function (response) 40 | local data = assert(json.decode(response.response)) 41 | if response.status >= 200 and response.status < 300 then 42 | cb(data) 43 | else 44 | cb(false, data.__type, data.Message) 45 | end 46 | end) 47 | end 48 | 49 | return M 50 | -------------------------------------------------------------------------------- /apis/autoscaling-2011-01-01.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "DescribeAutoScalingGroups": { 4 | "input_token": "NextToken", 5 | "limit_key": "MaxRecords", 6 | "output_token": "NextToken", 7 | "result_key": "AutoScalingGroups" 8 | }, 9 | "DescribeAutoScalingInstances": { 10 | "input_token": "NextToken", 11 | "limit_key": "MaxRecords", 12 | "output_token": "NextToken", 13 | "result_key": "AutoScalingInstances" 14 | }, 15 | "DescribeLaunchConfigurations": { 16 | "input_token": "NextToken", 17 | "limit_key": "MaxRecords", 18 | "output_token": "NextToken", 19 | "result_key": "LaunchConfigurations" 20 | }, 21 | "DescribeNotificationConfigurations": { 22 | "input_token": "NextToken", 23 | "limit_key": "MaxRecords", 24 | "output_token": "NextToken", 25 | "result_key": "NotificationConfigurations" 26 | }, 27 | "DescribePolicies": { 28 | "input_token": "NextToken", 29 | "limit_key": "MaxRecords", 30 | "output_token": "NextToken", 31 | "result_key": "ScalingPolicies" 32 | }, 33 | "DescribeScalingActivities": { 34 | "input_token": "NextToken", 35 | "limit_key": "MaxRecords", 36 | "output_token": "NextToken", 37 | "result_key": "Activities" 38 | }, 39 | "DescribeScheduledActions": { 40 | "input_token": "NextToken", 41 | "limit_key": "MaxRecords", 42 | "output_token": "NextToken", 43 | "result_key": "ScheduledUpdateGroupActions" 44 | }, 45 | "DescribeTags": { 46 | "input_token": "NextToken", 47 | "limit_key": "MaxRecords", 48 | "output_token": "NextToken", 49 | "result_key": "Tags" 50 | } 51 | } 52 | } -------------------------------------------------------------------------------- /apis/ssm-2014-11-06.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "DescribeActivations": { 4 | "input_token": "NextToken", 5 | "limit_key": "MaxResults", 6 | "output_token": "NextToken", 7 | "result_key": "ActivationList" 8 | }, 9 | "DescribeInstanceInformation": { 10 | "input_token": "NextToken", 11 | "limit_key": "MaxResults", 12 | "output_token": "NextToken", 13 | "result_key": "InstanceInformationList" 14 | }, 15 | "DescribeParameters": { 16 | "input_token": "NextToken", 17 | "limit_key": "MaxResults", 18 | "output_token": "NextToken" 19 | }, 20 | "GetParameterHistory": { 21 | "input_token": "NextToken", 22 | "limit_key": "MaxResults", 23 | "output_token": "NextToken" 24 | }, 25 | "GetParametersByPath": { 26 | "input_token": "NextToken", 27 | "limit_key": "MaxResults", 28 | "output_token": "NextToken" 29 | }, 30 | "ListAssociations": { 31 | "input_token": "NextToken", 32 | "limit_key": "MaxResults", 33 | "output_token": "NextToken", 34 | "result_key": "Associations" 35 | }, 36 | "ListCommandInvocations": { 37 | "input_token": "NextToken", 38 | "limit_key": "MaxResults", 39 | "output_token": "NextToken", 40 | "result_key": "CommandInvocations" 41 | }, 42 | "ListCommands": { 43 | "input_token": "NextToken", 44 | "limit_key": "MaxResults", 45 | "output_token": "NextToken", 46 | "result_key": "Commands" 47 | }, 48 | "ListDocuments": { 49 | "input_token": "NextToken", 50 | "limit_key": "MaxResults", 51 | "output_token": "NextToken", 52 | "result_key": "DocumentIdentifiers" 53 | } 54 | } 55 | } -------------------------------------------------------------------------------- /apis/s3-2006-03-01.waiters2.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 2, 3 | "waiters": { 4 | "BucketExists": { 5 | "delay": 5, 6 | "operation": "HeadBucket", 7 | "maxAttempts": 20, 8 | "acceptors": [ 9 | { 10 | "expected": 200, 11 | "matcher": "status", 12 | "state": "success" 13 | }, 14 | { 15 | "expected": 301, 16 | "matcher": "status", 17 | "state": "success" 18 | }, 19 | { 20 | "expected": 403, 21 | "matcher": "status", 22 | "state": "success" 23 | }, 24 | { 25 | "expected": 404, 26 | "matcher": "status", 27 | "state": "retry" 28 | } 29 | ] 30 | }, 31 | "BucketNotExists": { 32 | "delay": 5, 33 | "operation": "HeadBucket", 34 | "maxAttempts": 20, 35 | "acceptors": [ 36 | { 37 | "expected": 404, 38 | "matcher": "status", 39 | "state": "success" 40 | } 41 | ] 42 | }, 43 | "ObjectExists": { 44 | "delay": 5, 45 | "operation": "HeadObject", 46 | "maxAttempts": 20, 47 | "acceptors": [ 48 | { 49 | "expected": 200, 50 | "matcher": "status", 51 | "state": "success" 52 | }, 53 | { 54 | "expected": 404, 55 | "matcher": "status", 56 | "state": "retry" 57 | } 58 | ] 59 | }, 60 | "ObjectNotExists": { 61 | "delay": 5, 62 | "operation": "HeadObject", 63 | "maxAttempts": 20, 64 | "acceptors": [ 65 | { 66 | "expected": 404, 67 | "matcher": "status", 68 | "state": "success" 69 | } 70 | ] 71 | } 72 | } 73 | } 74 | -------------------------------------------------------------------------------- /apis/elasticloadbalancing-2012-06-01.waiters2.json: -------------------------------------------------------------------------------- 1 | { 2 | "version":2, 3 | "waiters":{ 4 | "InstanceDeregistered": { 5 | "delay": 15, 6 | "operation": "DescribeInstanceHealth", 7 | "maxAttempts": 40, 8 | "acceptors": [ 9 | { 10 | "expected": "OutOfService", 11 | "matcher": "pathAll", 12 | "state": "success", 13 | "argument": "InstanceStates[].State" 14 | }, 15 | { 16 | "matcher": "error", 17 | "expected": "InvalidInstance", 18 | "state": "success" 19 | } 20 | ] 21 | }, 22 | "AnyInstanceInService":{ 23 | "acceptors":[ 24 | { 25 | "argument":"InstanceStates[].State", 26 | "expected":"InService", 27 | "matcher":"pathAny", 28 | "state":"success" 29 | } 30 | ], 31 | "delay":15, 32 | "maxAttempts":40, 33 | "operation":"DescribeInstanceHealth" 34 | }, 35 | "InstanceInService":{ 36 | "acceptors":[ 37 | { 38 | "argument":"InstanceStates[].State", 39 | "expected":"InService", 40 | "matcher":"pathAll", 41 | "state":"success" 42 | }, 43 | { 44 | "matcher": "error", 45 | "expected": "InvalidInstance", 46 | "state": "retry" 47 | } 48 | ], 49 | "delay":15, 50 | "maxAttempts":40, 51 | "operation":"DescribeInstanceHealth" 52 | } 53 | } 54 | } 55 | -------------------------------------------------------------------------------- /apis/s3-2006-03-01.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListBuckets": { 4 | "result_key": "Buckets" 5 | }, 6 | "ListMultipartUploads": { 7 | "input_token": [ 8 | "KeyMarker", 9 | "UploadIdMarker" 10 | ], 11 | "limit_key": "MaxUploads", 12 | "more_results": "IsTruncated", 13 | "output_token": [ 14 | "NextKeyMarker", 15 | "NextUploadIdMarker" 16 | ], 17 | "result_key": [ 18 | "Uploads", 19 | "CommonPrefixes" 20 | ] 21 | }, 22 | "ListObjectVersions": { 23 | "input_token": [ 24 | "KeyMarker", 25 | "VersionIdMarker" 26 | ], 27 | "limit_key": "MaxKeys", 28 | "more_results": "IsTruncated", 29 | "output_token": [ 30 | "NextKeyMarker", 31 | "NextVersionIdMarker" 32 | ], 33 | "result_key": [ 34 | "Versions", 35 | "DeleteMarkers", 36 | "CommonPrefixes" 37 | ] 38 | }, 39 | "ListObjects": { 40 | "input_token": "Marker", 41 | "limit_key": "MaxKeys", 42 | "more_results": "IsTruncated", 43 | "output_token": "NextMarker || Contents[-1].Key", 44 | "result_key": [ 45 | "Contents", 46 | "CommonPrefixes" 47 | ] 48 | }, 49 | "ListObjectsV2": { 50 | "input_token": "ContinuationToken", 51 | "limit_key": "MaxKeys", 52 | "output_token": "NextContinuationToken", 53 | "result_key": [ 54 | "Contents", 55 | "CommonPrefixes" 56 | ] 57 | }, 58 | "ListParts": { 59 | "input_token": "PartNumberMarker", 60 | "limit_key": "MaxParts", 61 | "more_results": "IsTruncated", 62 | "output_token": "NextPartNumberMarker", 63 | "result_key": "Parts" 64 | } 65 | } 66 | } -------------------------------------------------------------------------------- /aws-sdk/lockbox/mac/hmac.lua: -------------------------------------------------------------------------------- 1 | local Bit = require("aws-sdk.lockbox.util.bit") 2 | local Stream = require("aws-sdk.lockbox.util.stream") 3 | local Array = require("aws-sdk.lockbox.util.array") 4 | 5 | local XOR = Bit.bxor 6 | 7 | local HMAC = function() 8 | 9 | local public = {} 10 | local blockSize = 64 11 | local Digest = nil 12 | local outerPadding = {} 13 | local innerPadding = {} 14 | local digest 15 | 16 | public.setBlockSize = function(bytes) 17 | blockSize = bytes 18 | return public 19 | end 20 | 21 | public.setDigest = function(digestModule) 22 | Digest = digestModule 23 | digest = Digest() 24 | return public 25 | end 26 | 27 | public.setKey = function(key) 28 | local keyStream 29 | 30 | if(Array.size(key) > blockSize) then 31 | keyStream = Stream.fromArray(Digest() 32 | .update(Stream.fromArray(key)) 33 | .finish() 34 | .asBytes()) 35 | else 36 | keyStream = Stream.fromArray(key) 37 | end 38 | 39 | outerPadding = {} 40 | innerPadding = {} 41 | 42 | for i=1,blockSize do 43 | local byte = keyStream() 44 | if byte == nil then byte = 0x00 end 45 | outerPadding[i] = XOR(0x5C,byte) 46 | innerPadding[i] = XOR(0x36,byte) 47 | end 48 | 49 | return public 50 | end 51 | 52 | public.init = function() 53 | digest .init() 54 | .update(Stream.fromArray(innerPadding)) 55 | return public 56 | end 57 | 58 | public.update = function(messageStream) 59 | digest.update(messageStream) 60 | return public 61 | end 62 | 63 | public.finish = function() 64 | local inner = digest.finish().asBytes() 65 | digest .init() 66 | .update(Stream.fromArray(outerPadding)) 67 | .update(Stream.fromArray(inner)) 68 | .finish() 69 | 70 | return public 71 | end 72 | 73 | public.asBytes = function() 74 | return digest.asBytes() 75 | end 76 | 77 | public.asHex = function() 78 | return digest.asHex() 79 | end 80 | 81 | return public 82 | 83 | end 84 | 85 | return HMAC 86 | --------------------------------------------------------------------------------