├── test ├── resource │ ├── subdir │ │ └── .gitkeep │ └── BmB9X3YIEAARNWy.jpg ├── tools │ ├── lambda │ │ ├── .gitignore │ │ ├── test.js │ │ ├── Dockerfile │ │ ├── package.json │ │ ├── app.js │ │ └── package-lock.json │ └── Dockerfile ├── modules │ ├── credentials.lua │ └── api.lua ├── athena.lua ├── firehose.lua ├── sts.lua ├── dynamodb.lua ├── iam_role.lua ├── service │ └── base.lua ├── swf.lua └── cloudwatch.lua ├── .gitignore ├── lua-aws ├── init.lua ├── signers │ ├── v3.lua │ ├── cloudfront.lua │ ├── v3https.lua │ └── base.lua ├── services │ ├── specs │ │ ├── apigatewayv2-2018-11-29.paginators.json │ │ ├── dax-2017-04-19.paginators.json │ │ ├── dlm-2018-01-12.paginators.json │ │ ├── events-2015-10-07.paginators.json │ │ ├── pi-2018-02-27.paginators.json │ │ ├── rds-2014-09-01.paginators.json │ │ ├── runtime.lex.v2-2020-08-07.paginators.json │ │ ├── sts-2011-06-15.paginators.json │ │ ├── waf-2015-08-24.paginators.json │ │ ├── wafv2-2019-07-29.paginators.json │ │ ├── account-2021-02-01.paginators.json │ │ ├── amplify-2017-07-25.paginators.json │ │ ├── appsync-2017-07-25.paginators.json │ │ ├── cloudhsm-2014-05-30.paginators.json │ │ ├── codestar-2017-04-19.paginators.json │ │ ├── eventbridge-2015-10-07.paginators.json │ │ ├── finspace-2021-03-12.paginators.json │ │ ├── firehose-2015-08-04.paginators.json │ │ ├── iotevents-2018-07-27.paginators.json │ │ ├── lightsail-2016-11-28.paginators.json │ │ ├── memorydb-2021-01-01.paginators.json │ │ ├── rds-data-2018-08-01.paginators.json │ │ ├── runtime.lex-2016-11-28.paginators.json │ │ ├── sso-oidc-2019-06-10.paginators.json │ │ ├── textract-2018-06-27.paginators.json │ │ ├── apigatewaymanagementapi-2018-11-29.paginators.json │ │ ├── appintegrations-2020-07-29.paginators.json │ │ ├── appmesh-2018-10-01.examples.json │ │ ├── cognito-sync-2014-06-30.paginators.json │ │ ├── finspace-data-2020-07-13.paginators.json │ │ ├── forecastquery-2018-06-26.paginators.json │ │ ├── iot-jobs-data-2017-09-29.paginators.json │ │ ├── iotevents-data-2018-10-23.paginators.json │ │ ├── kinesis-2013-12-02.examples.json │ │ ├── kinesisanalytics-2015-08-14.paginators.json │ │ ├── license-manager-2018-08-01.paginators.json │ │ ├── qldb-session-2019-07-11.paginators.json │ │ ├── sagemaker-edge-2020-09-23.paginators.json │ │ ├── savingsplans-2019-06-28.paginators.json │ │ ├── streams.dynamodb-2012-08-10.paginators.json │ │ ├── waf-regional-2016-11-28.paginators.json │ │ ├── autoscaling-plans-2018-01-06.paginators.json │ │ ├── comprehendmedical-2018-10-30.paginators.json │ │ ├── compute-optimizer-2019-11-01.paginators.json │ │ ├── customer-profiles-2020-08-15.paginators.json │ │ ├── ec2-instance-connect-2018-04-02.paginators.json │ │ ├── kinesis-video-media-2017-09-30.paginators.json │ │ ├── kinesisanalyticsv2-2018-05-23.paginators.json │ │ ├── meteringmarketplace-2016-01-14.paginators.json │ │ ├── personalize-events-2018-03-22.paginators.json │ │ ├── personalize-runtime-2018-05-22.paginators.json │ │ ├── runtime.sagemaker-2017-05-13.paginators.json │ │ ├── workmailmessageflow-2019-05-01.paginators.json │ │ ├── acm-2015-12-08.examples.json │ │ ├── amp-2020-08-01.examples.json │ │ ├── athena-2017-05-18.examples.json │ │ ├── backup-2018-11-15.examples.json │ │ ├── braket-2019-09-01.examples.json │ │ ├── ce-2017-10-25.examples.json │ │ ├── chime-2018-05-01.examples.json │ │ ├── config-2014-11-12.examples.json │ │ ├── dax-2017-04-19.examples.json │ │ ├── dlm-2018-01-12.examples.json │ │ ├── docdb-2014-10-31.examples.json │ │ ├── ds-2015-04-16.examples.json │ │ ├── ebs-2019-11-02.examples.json │ │ ├── entitlement.marketplace-2017-01-11.paginators.json │ │ ├── es-2015-01-01.examples.json │ │ ├── events-2015-10-07.examples.json │ │ ├── fis-2020-12-01.examples.json │ │ ├── fms-2018-01-01.examples.json │ │ ├── glue-2017-03-31.examples.json │ │ ├── health-2016-08-04.examples.json │ │ ├── iot-2015-05-28.examples.json │ │ ├── ivs-2020-07-14.examples.json │ │ ├── kendra-2019-02-03.examples.json │ │ ├── kinesis-video-signaling-2019-12-04.paginators.json │ │ ├── lambda-2015-03-31.examples.json │ │ ├── logs-2014-03-28.examples.json │ │ ├── macie-2017-12-19.examples.json │ │ ├── mgn-2020-02-26.examples.json │ │ ├── mobile-2017-07-01.examples.json │ │ ├── mwaa-2020-07-01.examples.json │ │ ├── pi-2018-02-27.examples.json │ │ ├── proton-2020-07-20.examples.json │ │ ├── qldb-2019-01-02.examples.json │ │ ├── ram-2018-01-04.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 │ │ ├── route53-recovery-cluster-2019-12-02.paginators.json │ │ ├── runtime.lex.v2-2020-08-07.examples.json │ │ ├── sesv2-2019-09-27.examples.json │ │ ├── shield-2016-06-02.examples.json │ │ ├── signer-2017-08-25.examples.json │ │ ├── sms-2016-10-24.examples.json │ │ ├── sns-2010-03-31.examples.json │ │ ├── sqs-2012-11-05.examples.json │ │ ├── ssm-2014-11-06.examples.json │ │ ├── sso-2019-06-10.examples.json │ │ ├── states-2016-11-23.examples.json │ │ ├── swf-2012-01-25.examples.json │ │ ├── wafv2-2019-07-29.examples.json │ │ ├── wisdom-2020-10-19.examples.json │ │ ├── xray-2016-04-12.examples.json │ │ ├── account-2021-02-01.examples.json │ │ ├── acm-pca-2017-08-22.examples.json │ │ ├── amplify-2017-07-25.examples.json │ │ ├── apigateway-2015-07-09.examples.json │ │ ├── appconfig-2019-10-09.examples.json │ │ ├── appflow-2020-08-23.examples.json │ │ ├── appmesh-2019-01-25.examples.json │ │ ├── apprunner-2020-05-15.examples.json │ │ ├── appstream-2016-12-01.examples.json │ │ ├── appsync-2017-07-25.examples.json │ │ ├── budgets-2016-10-20.examples.json │ │ ├── cloudfront-2017-10-30.examples.json │ │ ├── cloudfront-2018-06-18.examples.json │ │ ├── cloudfront-2018-11-05.examples.json │ │ ├── cloudfront-2019-03-26.examples.json │ │ ├── cloudfront-2020-05-31.examples.json │ │ ├── cloudhsm-2014-05-30.examples.json │ │ ├── cloudhsmv2-2017-04-28.examples.json │ │ ├── cloudsearch-2013-01-01.examples.json │ │ ├── cloudtrail-2013-11-01.examples.json │ │ ├── codebuild-2016-10-06.examples.json │ │ ├── codecommit-2015-04-13.examples.json │ │ ├── codedeploy-2014-10-06.examples.json │ │ ├── codestar-2017-04-19.examples.json │ │ ├── cognito-idp-2016-04-18.examples.json │ │ ├── comprehend-2017-11-27.examples.json │ │ ├── connect-2017-08-08.examples.json │ │ ├── databrew-2017-07-25.examples.json │ │ ├── datasync-2018-11-09.examples.json │ │ ├── detective-2018-10-26.examples.json │ │ ├── devops-guru-2020-12-01.examples.json │ │ ├── discovery-2015-11-01.examples.json │ │ ├── dynamodb-2011-12-05.examples.json │ │ ├── ecr-public-2020-10-30.examples.json │ │ ├── eventbridge-2015-10-07.examples.json │ │ ├── finspace-2021-03-12.examples.json │ │ ├── firehose-2015-08-04.examples.json │ │ ├── forecast-2018-06-26.examples.json │ │ ├── gamelift-2015-10-01.examples.json │ │ ├── guardduty-2017-11-28.examples.json │ │ ├── healthlake-2017-07-01.examples.json │ │ ├── honeycode-2020-03-01.examples.json │ │ ├── iot-data-2015-05-28.examples.json │ │ ├── iotevents-2018-07-27.examples.json │ │ ├── iotfleethub-2020-11-03.examples.json │ │ ├── iotsitewise-2019-12-02.examples.json │ │ ├── iotwireless-2020-11-22.examples.json │ │ ├── lightsail-2016-11-28.examples.json │ │ ├── location-2020-11-19.examples.json │ │ ├── marketplacecommerceanalytics-2015-07-01.paginators.json │ │ ├── mediastore-2017-09-01.examples.json │ │ ├── memorydb-2021-01-01.examples.json │ │ ├── monitoring-2010-08-01.examples.json │ │ ├── neptune-2014-10-31.examples.json │ │ ├── opensearch-2021-01-01.examples.json │ │ ├── opsworks-2013-02-18.examples.json │ │ ├── opsworkscm-2016-11-01.examples.json │ │ ├── outposts-2019-12-03.examples.json │ │ ├── personalize-2018-05-22.examples.json │ │ ├── pinpoint-2016-12-01.examples.json │ │ ├── quicksight-2018-04-01.examples.json │ │ ├── rds-data-2018-08-01.examples.json │ │ ├── redshift-2012-12-01.examples.json │ │ ├── robomaker-2018-06-29.examples.json │ │ ├── runtime.lex-2016-11-28.examples.json │ │ ├── s3control-2018-08-20.examples.json │ │ ├── s3outposts-2017-07-25.examples.json │ │ ├── sagemaker-2017-07-24.examples.json │ │ ├── sagemaker-featurestore-runtime-2020-07-01.paginators.json │ │ ├── securityhub-2018-10-26.examples.json │ │ ├── sso-admin-2020-07-20.examples.json │ │ ├── sso-oidc-2019-06-10.examples.json │ │ ├── support-2013-04-15.examples.json │ │ ├── synthetics-2017-10-11.examples.json │ │ ├── textract-2018-06-27.examples.json │ │ ├── transcribe-2017-10-26.examples.json │ │ ├── transfer-2018-11-05.examples.json │ │ ├── translate-2017-07-01.examples.json │ │ ├── voice-id-2021-09-27.examples.json │ │ ├── workdocs-2016-05-01.examples.json │ │ ├── worklink-2018-09-25.examples.json │ │ ├── workmail-2017-10-01.examples.json │ │ ├── workspaces-2015-04-08.examples.json │ │ ├── AWSMigrationHub-2017-05-31.examples.json │ │ ├── accessanalyzer-2019-11-01.examples.json │ │ ├── alexaforbusiness-2017-11-09.examples.json │ │ ├── appintegrations-2020-07-29.examples.json │ │ ├── auditmanager-2017-07-25.examples.json │ │ ├── cloudcontrol-2021-09-30.examples.json │ │ ├── clouddirectory-2016-05-10.examples.json │ │ ├── clouddirectory-2017-01-11.examples.json │ │ ├── cloudformation-2010-05-15.examples.json │ │ ├── codeartifact-2018-09-22.examples.json │ │ ├── codeguruprofiler-2019-07-18.examples.json │ │ ├── codepipeline-2015-07-09.examples.json │ │ ├── cognito-identity-2014-06-30.examples.json │ │ ├── cognito-sync-2014-06-30.examples.json │ │ ├── datapipeline-2012-10-29.examples.json │ │ ├── directconnect-2012-10-25.examples.json │ │ ├── elasticmapreduce-2009-03-31.examples.json │ │ ├── emr-containers-2020-10-01.examples.json │ │ ├── finspace-data-2020-07-13.examples.json │ │ ├── forecastquery-2018-06-26.examples.json │ │ ├── frauddetector-2019-11-15.examples.json │ │ ├── greengrassv2-2020-11-30.examples.json │ │ ├── groundstation-2019-05-23.examples.json │ │ ├── identitystore-2020-06-15.examples.json │ │ ├── imagebuilder-2019-12-02.examples.json │ │ ├── iot-jobs-data-2017-09-29.examples.json │ │ ├── iotanalytics-2017-11-27.examples.json │ │ ├── iotdeviceadvisor-2020-09-18.examples.json │ │ ├── iotevents-data-2018-10-23.examples.json │ │ ├── iotthingsgraph-2018-09-06.examples.json │ │ ├── kafkaconnect-2021-09-14.examples.json │ │ ├── kinesisanalytics-2015-08-14.examples.json │ │ ├── kinesisvideo-2017-09-30.examples.json │ │ ├── lakeformation-2017-03-31.examples.json │ │ ├── license-manager-2018-08-01.examples.json │ │ ├── lookoutequipment-2020-12-15.examples.json │ │ ├── lookoutmetrics-2017-07-25.examples.json │ │ ├── lookoutvision-2020-11-20.examples.json │ │ ├── machinelearning-2014-12-12.examples.json │ │ ├── mediastore-data-2017-09-01.examples.json │ │ ├── models.lex.v2-2020-08-07.examples.json │ │ ├── mturk-requester-2017-01-17.examples.json │ │ ├── network-firewall-2020-11-12.examples.json │ │ ├── networkmanager-2019-07-05.examples.json │ │ ├── pinpoint-email-2018-07-26.examples.json │ │ ├── qldb-session-2019-07-11.examples.json │ │ ├── redshift-data-2019-12-20.examples.json │ │ ├── resource-groups-2017-11-27.examples.json │ │ ├── route53domains-2014-05-15.examples.json │ │ ├── route53resolver-2018-04-01.examples.json │ │ ├── sagemaker-edge-2020-09-23.examples.json │ │ ├── savingsplans-2019-06-28.examples.json │ │ ├── service-quotas-2019-06-24.examples.json │ │ ├── servicecatalog-2015-12-10.examples.json │ │ ├── ssm-incidents-2018-05-10.examples.json │ │ ├── timestream-query-2018-11-01.examples.json │ │ ├── timestream-write-2018-11-01.examples.json │ │ ├── wellarchitected-2020-03-31.examples.json │ │ ├── application-insights-2018-11-25.examples.json │ │ ├── autoscaling-plans-2018-01-06.examples.json │ │ ├── chime-sdk-identity-2021-04-20.examples.json │ │ ├── chime-sdk-messaging-2021-05-15.examples.json │ │ ├── codeguru-reviewer-2019-09-19.examples.json │ │ ├── codestar-connections-2019-12-01.examples.json │ │ ├── comprehendmedical-2018-10-30.examples.json │ │ ├── compute-optimizer-2019-11-01.examples.json │ │ ├── connect-contact-lens-2020-08-21.examples.json │ │ ├── connectparticipant-2018-09-07.examples.json │ │ ├── customer-profiles-2020-08-15.examples.json │ │ ├── elastic-inference-2017-07-25.examples.json │ │ ├── elastictranscoder-2012-09-25.examples.json │ │ ├── globalaccelerator-2018-08-08.examples.json │ │ ├── iot1click-projects-2018-05-14.examples.json │ │ ├── iotsecuretunneling-2018-10-05.examples.json │ │ ├── kinesis-video-media-2017-09-30.examples.json │ │ ├── kinesisanalyticsv2-2018-05-23.examples.json │ │ ├── managedblockchain-2018-09-24.examples.json │ │ ├── marketplace-catalog-2018-09-17.examples.json │ │ ├── meteringmarketplace-2016-01-14.examples.json │ │ ├── migrationhub-config-2019-06-30.examples.json │ │ ├── personalize-events-2018-03-22.examples.json │ │ ├── personalize-runtime-2018-05-22.examples.json │ │ ├── runtime.sagemaker-2017-05-13.examples.json │ │ ├── sagemaker-a2i-runtime-2019-11-07.examples.json │ │ ├── workmailmessageflow-2019-05-01.examples.json │ │ ├── applicationcostprofiler-2020-09-10.examples.json │ │ ├── codestar-notifications-2019-10-15.examples.json │ │ ├── entitlement.marketplace-2017-01-11.examples.json │ │ ├── kinesis-video-signaling-2019-12-04.examples.json │ │ ├── resourcegroupstaggingapi-2017-01-26.examples.json │ │ ├── route53-recovery-cluster-2019-12-02.examples.json │ │ ├── servicecatalog-appregistry-2020-06-24.examples.json │ │ ├── snow-device-management-2021-08-04.examples.json │ │ ├── kinesis-video-archived-media-2017-09-30.examples.json │ │ ├── marketplacecommerceanalytics-2015-07-01.examples.json │ │ ├── sagemaker-featurestore-runtime-2020-07-01.examples.json │ │ ├── ds-2015-04-16.paginators.json │ │ ├── mediastore-2017-09-01.paginators.json │ │ ├── mediastore-data-2017-09-01.paginators.json │ │ ├── cur-2017-01-06.paginators.json │ │ ├── iotsecuretunneling-2018-10-05.paginators.json │ │ ├── polly-2016-06-10.paginators.json │ │ ├── connectparticipant-2018-09-07.paginators.json │ │ ├── iotfleethub-2020-11-03.paginators.json │ │ ├── migrationhub-config-2019-06-30.paginators.json │ │ ├── mq-2017-11-27.paginators.json │ │ ├── connect-contact-lens-2020-08-21.paginators.json │ │ ├── s3outposts-2017-07-25.paginators.json │ │ ├── acm-2015-12-08.paginators.json │ │ ├── amplifybackend-2020-08-11.paginators.json │ │ ├── mwaa-2020-07-01.paginators.json │ │ ├── cognito-identity-2014-06-30.paginators.json │ │ ├── iot-data-2015-05-28.paginators.json │ │ ├── kinesis-video-archived-media-2017-09-30.paginators.json │ │ ├── elastic-inference-2017-07-25.paginators.json │ │ ├── sagemaker-a2i-runtime-2019-11-07.paginators.json │ │ ├── applicationcostprofiler-2020-09-10.paginators.json │ │ ├── importexport-2010-06-01.paginators.json │ │ ├── cloudsearch-2011-02-01.paginators.json │ │ ├── mobile-2017-07-01.paginators.json │ │ ├── outposts-2019-12-03.paginators.json │ │ ├── timestream-query-2018-11-01.paginators.json │ │ ├── identitystore-2020-06-15.paginators.json │ │ ├── ebs-2019-11-02.paginators.json │ │ ├── macie-2017-12-19.paginators.json │ │ ├── timestream-write-2018-11-01.paginators.json │ │ ├── cloudcontrol-2021-09-30.paginators.json │ │ ├── codestar-connections-2019-12-01.paginators.json │ │ ├── marketplace-catalog-2018-09-17.paginators.json │ │ ├── secretsmanager-2017-10-17.paginators.json │ │ ├── appstream-2016-12-01.paginators.json │ │ ├── iotdeviceadvisor-2020-09-18.paginators.json │ │ ├── cloud9-2017-09-23.paginators.json │ │ ├── discovery-2015-11-01.paginators.json │ │ ├── email-2010-12-01.waiters.json │ │ ├── elastictranscoder-2012-09-25.waiters.json │ │ ├── sdb-2009-04-15.paginators.json │ │ ├── lambda-2014-11-11.paginators.json │ │ ├── route53-2013-04-01.waiters2.json │ │ ├── resource-groups-2017-11-27.paginators.json │ │ ├── route53domains-2014-05-15.paginators.json │ │ ├── snowball-2016-06-30.paginators.json │ │ ├── sqs-2012-11-05.paginators.json │ │ ├── sso-2019-06-10.paginators.json │ │ ├── braket-2019-09-01.paginators.json │ │ ├── iot1click-projects-2018-05-14.paginators.json │ │ ├── kinesisvideo-2017-09-30.paginators.json │ │ ├── amp-2020-08-01.paginators.json │ │ ├── email-2010-12-01.waiters2.json │ │ ├── cloudsearch-2013-01-01.paginators.json │ │ ├── detective-2018-10-26.paginators.json │ │ ├── email-2010-12-01.paginators.json │ │ ├── cloudhsmv2-2017-04-28.paginators.json │ │ ├── fis-2020-12-01.paginators.json │ │ ├── pricing-2017-10-15.paginators.json │ │ ├── kendra-2019-02-03.paginators.json │ │ ├── elasticloadbalancing-2012-06-01.paginators.json │ │ ├── signer-2017-08-25.paginators.json │ │ ├── translate-2017-07-01.paginators.json │ │ ├── healthlake-2017-07-01.paginators.json │ │ ├── lakeformation-2017-03-31.paginators.json │ │ ├── chime-sdk-identity-2021-04-20.paginators.json │ │ ├── elasticloadbalancingv2-2015-12-01.paginators.json │ │ ├── serverlessrepo-2017-09-08.paginators.json │ │ ├── ce-2017-10-25.paginators.json │ │ ├── workspaces-2015-04-08.paginators.json │ │ ├── glacier-2012-06-01.waiters.json │ │ ├── directconnect-2012-10-25.paginators.json │ │ ├── lookoutvision-2020-11-20.paginators.json │ │ ├── acm-pca-2017-08-22.paginators.json │ │ ├── codestar-notifications-2019-10-15.paginators.json │ │ ├── emr-containers-2020-10-01.paginators.json │ │ ├── mediapackage-2017-10-12.paginators.json │ │ ├── appflow-2020-08-23.paginators.json │ │ ├── kafkaconnect-2021-09-14.paginators.json │ │ ├── mediapackage-vod-2018-11-07.paginators.json │ │ ├── workdocs-2016-05-01.paginators.json │ │ ├── dynamodb-2012-08-10.waiters.json │ │ ├── elastictranscoder-2012-09-25.paginators.json │ │ ├── elasticfilesystem-2015-02-01.paginators.json │ │ ├── synthetics-2017-10-11.paginators.json │ │ ├── voice-id-2021-09-27.paginators.json │ │ ├── opsworkscm-2016-11-01.waiters2.json │ │ ├── qldb-2019-01-02.paginators.json │ │ ├── support-2013-04-15.paginators.json │ │ ├── signer-2017-08-25.waiters2.json │ │ ├── codeguruprofiler-2019-07-18.paginators.json │ │ ├── datapipeline-2012-10-29.paginators.json │ │ ├── dynamodb-2011-12-05.paginators.json │ │ ├── glacier-2012-06-01.paginators.json │ │ ├── kinesis-2013-12-02.paginators.json │ │ ├── kinesis-2013-12-02.waiters2.json │ │ ├── shield-2016-06-02.paginators.json │ │ ├── codeguru-reviewer-2019-09-19.paginators.json │ │ ├── elastictranscoder-2012-09-25.waiters2.json │ │ ├── s3-2006-03-01.waiters.json │ │ ├── cloudtrail-2013-11-01.paginators.json │ │ ├── honeycode-2020-03-01.paginators.json │ │ ├── appmesh-2018-10-01.paginators.json │ │ ├── monitoring-2010-08-01.waiters2.json │ │ ├── dynamodb-2011-12-05.waiters.json │ │ ├── codedeploy-2014-10-06.waiters2.json │ │ ├── machinelearning-2014-12-12.paginators.json │ │ ├── opsworkscm-2016-11-01.paginators.json │ │ ├── resourcegroupstaggingapi-2017-01-26.paginators.json │ │ ├── datasync-2018-11-09.paginators.json │ │ ├── states-2016-11-23.paginators.json │ │ ├── iotanalytics-2017-11-27.paginators.json │ │ ├── snow-device-management-2021-08-04.paginators.json │ │ ├── mgn-2020-02-26.paginators.json │ │ ├── sms-2016-10-24.paginators.json │ │ ├── ecr-public-2020-10-30.paginators.json │ │ ├── network-firewall-2020-11-12.paginators.json │ │ ├── servicediscovery-2017-03-14.paginators.json │ │ ├── apprunner-2020-05-15.paginators.json │ │ ├── mediaconnect-2018-11-14.paginators.json │ │ ├── iotwireless-2020-11-22.paginators.json │ │ ├── lookoutequipment-2020-12-15.paginators.json │ │ ├── worklink-2018-09-25.paginators.json │ │ ├── batch-2016-08-10.paginators.json │ │ ├── servicecatalog-appregistry-2020-06-24.paginators.json │ │ ├── route53-recovery-control-config-2020-11-02.paginators.json │ │ ├── application-autoscaling-2016-02-06.paginators.json │ │ ├── dynamodb-2011-12-05.waiters2.json │ │ ├── dynamodb-2012-08-10.waiters2.json │ │ ├── kms-2014-11-01.paginators.json │ │ ├── cloudcontrol-2021-09-30.waiters2.json │ │ ├── cloudfront-2015-04-17.waiters.json │ │ ├── glacier-2012-06-01.waiters2.json │ │ ├── managedblockchain-2018-09-24.paginators.json │ │ ├── schemas-2019-12-02.paginators.json │ │ ├── mediaconvert-2017-08-29.paginators.json │ │ ├── schemas-2019-12-02.waiters2.json │ │ ├── rds-2013-09-09.waiters.json │ │ ├── rds-2014-10-31.waiters.json │ │ ├── application-insights-2018-11-25.paginators.json │ │ ├── dataexchange-2017-07-25.paginators.json │ │ ├── appconfig-2019-10-09.paginators.json │ │ ├── pinpoint-email-2018-07-26.paginators.json │ │ ├── acm-2015-12-08.waiters2.json │ │ ├── codedeploy-2014-10-06.paginators.json │ │ ├── fms-2018-01-01.paginators.json │ │ ├── s3control-2018-08-20.paginators.json │ │ ├── dynamodb-2012-08-10.paginators.json │ │ ├── AWSMigrationHub-2017-05-31.paginators.json │ │ ├── transfer-2018-11-05.paginators.json │ │ ├── redshift-2012-12-01.waiters.json │ │ ├── redshift-data-2019-12-20.paginators.json │ │ ├── route53-2013-04-01.paginators.json │ │ ├── fsx-2018-03-01.paginators.json │ │ ├── lookoutmetrics-2017-07-25.paginators.json │ │ └── ivs-2020-07-14.paginators.json │ ├── ec2.lua │ ├── ecs.lua │ ├── iam.lua │ ├── s3.lua │ ├── sns.lua │ ├── sqs.lua │ ├── sts.lua │ ├── swf.lua │ ├── athena.lua │ ├── lambda.lua │ ├── dynamodb.lua │ ├── firehose.lua │ ├── kinesis.lua │ ├── cloudwatch.lua │ └── cloudwatchlog.lua ├── engines │ ├── json │ │ ├── cjson.lua │ │ └── dkjson.lua │ ├── available.lua │ ├── fs │ │ ├── os.lua │ │ ├── lfs.lua │ │ └── mock.lua │ └── http │ │ └── msys-http-client.lua ├── signer.lua ├── request.lua └── credentials.lua ├── lua-aws-0.1-1.rockspec └── .github └── workflows └── test.yml /test/resource/subdir/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | dest.jpg 2 | .DS_Store 3 | -------------------------------------------------------------------------------- /test/tools/lambda/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /lua-aws/init.lua: -------------------------------------------------------------------------------- 1 | return require('lua-aws.core') 2 | -------------------------------------------------------------------------------- /lua-aws/signers/v3.lua: -------------------------------------------------------------------------------- 1 | -- Intentionally blank 2 | -------------------------------------------------------------------------------- /lua-aws/signers/cloudfront.lua: -------------------------------------------------------------------------------- 1 | -- Intentionally blank 2 | -------------------------------------------------------------------------------- /lua-aws/signers/v3https.lua: -------------------------------------------------------------------------------- 1 | -- Intentionally blank 2 | -------------------------------------------------------------------------------- /lua-aws/services/specs/apigatewayv2-2018-11-29.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination" : { } 3 | } -------------------------------------------------------------------------------- /lua-aws/services/specs/dax-2017-04-19.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /lua-aws/services/specs/dlm-2018-01-12.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /lua-aws/services/specs/events-2015-10-07.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /lua-aws/services/specs/pi-2018-02-27.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /lua-aws/services/specs/rds-2014-09-01.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /lua-aws/services/specs/runtime.lex.v2-2020-08-07.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": {} 3 | } -------------------------------------------------------------------------------- /lua-aws/services/specs/sts-2011-06-15.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /lua-aws/services/specs/waf-2015-08-24.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /lua-aws/services/specs/wafv2-2019-07-29.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /lua-aws/services/specs/account-2021-02-01.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /lua-aws/services/specs/amplify-2017-07-25.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /lua-aws/services/specs/appsync-2017-07-25.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /lua-aws/services/specs/cloudhsm-2014-05-30.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /lua-aws/services/specs/codestar-2017-04-19.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /lua-aws/services/specs/eventbridge-2015-10-07.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /lua-aws/services/specs/finspace-2021-03-12.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /lua-aws/services/specs/firehose-2015-08-04.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /lua-aws/services/specs/iotevents-2018-07-27.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /lua-aws/services/specs/lightsail-2016-11-28.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /lua-aws/services/specs/memorydb-2021-01-01.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /lua-aws/services/specs/rds-data-2018-08-01.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /lua-aws/services/specs/runtime.lex-2016-11-28.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /lua-aws/services/specs/sso-oidc-2019-06-10.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /lua-aws/services/specs/textract-2018-06-27.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /lua-aws/services/specs/apigatewaymanagementapi-2018-11-29.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination" : { } 3 | } -------------------------------------------------------------------------------- /lua-aws/services/specs/appintegrations-2020-07-29.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /lua-aws/services/specs/appmesh-2018-10-01.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { } 4 | } -------------------------------------------------------------------------------- /lua-aws/services/specs/cognito-sync-2014-06-30.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /lua-aws/services/specs/finspace-data-2020-07-13.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /lua-aws/services/specs/forecastquery-2018-06-26.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /lua-aws/services/specs/iot-jobs-data-2017-09-29.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /lua-aws/services/specs/iotevents-data-2018-10-23.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /lua-aws/services/specs/kinesis-2013-12-02.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": {} 4 | } -------------------------------------------------------------------------------- /lua-aws/services/specs/kinesisanalytics-2015-08-14.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /lua-aws/services/specs/license-manager-2018-08-01.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /lua-aws/services/specs/qldb-session-2019-07-11.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /lua-aws/services/specs/sagemaker-edge-2020-09-23.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /lua-aws/services/specs/savingsplans-2019-06-28.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /lua-aws/services/specs/streams.dynamodb-2012-08-10.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /lua-aws/services/specs/waf-regional-2016-11-28.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /lua-aws/services/specs/autoscaling-plans-2018-01-06.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /lua-aws/services/specs/comprehendmedical-2018-10-30.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /lua-aws/services/specs/compute-optimizer-2019-11-01.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /lua-aws/services/specs/customer-profiles-2020-08-15.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /lua-aws/services/specs/ec2-instance-connect-2018-04-02.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /lua-aws/services/specs/kinesis-video-media-2017-09-30.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /lua-aws/services/specs/kinesisanalyticsv2-2018-05-23.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /lua-aws/services/specs/meteringmarketplace-2016-01-14.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /lua-aws/services/specs/personalize-events-2018-03-22.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /lua-aws/services/specs/personalize-runtime-2018-05-22.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /lua-aws/services/specs/runtime.sagemaker-2017-05-13.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /lua-aws/services/specs/workmailmessageflow-2019-05-01.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /lua-aws/services/specs/acm-2015-12-08.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/amp-2020-08-01.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/athena-2017-05-18.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/backup-2018-11-15.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/braket-2019-09-01.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/ce-2017-10-25.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/chime-2018-05-01.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/config-2014-11-12.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/dax-2017-04-19.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/dlm-2018-01-12.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/docdb-2014-10-31.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/ds-2015-04-16.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/ebs-2019-11-02.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/entitlement.marketplace-2017-01-11.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /lua-aws/services/specs/es-2015-01-01.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/events-2015-10-07.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/fis-2020-12-01.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/fms-2018-01-01.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/glue-2017-03-31.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/health-2016-08-04.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/iot-2015-05-28.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/ivs-2020-07-14.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/kendra-2019-02-03.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/kinesis-video-signaling-2019-12-04.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /lua-aws/services/specs/lambda-2015-03-31.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/logs-2014-03-28.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/macie-2017-12-19.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/mgn-2020-02-26.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/mobile-2017-07-01.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/mwaa-2020-07-01.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/pi-2018-02-27.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/proton-2020-07-20.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/qldb-2019-01-02.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/ram-2018-01-04.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/rds-2013-01-10.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/rds-2013-02-12.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/rds-2013-09-09.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/rds-2014-09-01.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/route53-recovery-cluster-2019-12-02.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /lua-aws/services/specs/runtime.lex.v2-2020-08-07.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": {} 4 | } -------------------------------------------------------------------------------- /lua-aws/services/specs/sesv2-2019-09-27.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/shield-2016-06-02.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/signer-2017-08-25.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/sms-2016-10-24.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/sns-2010-03-31.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/sqs-2012-11-05.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/ssm-2014-11-06.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/sso-2019-06-10.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/states-2016-11-23.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/swf-2012-01-25.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/wafv2-2019-07-29.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/wisdom-2020-10-19.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/xray-2016-04-12.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /test/resource/BmB9X3YIEAARNWy.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/umegaya/lua-aws/HEAD/test/resource/BmB9X3YIEAARNWy.jpg -------------------------------------------------------------------------------- /lua-aws/services/specs/account-2021-02-01.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/acm-pca-2017-08-22.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/amplify-2017-07-25.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/apigateway-2015-07-09.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/appconfig-2019-10-09.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/appflow-2020-08-23.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/appmesh-2019-01-25.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/apprunner-2020-05-15.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/appstream-2016-12-01.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/appsync-2017-07-25.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/budgets-2016-10-20.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/cloudfront-2017-10-30.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/cloudfront-2018-06-18.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/cloudfront-2018-11-05.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/cloudfront-2019-03-26.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/cloudfront-2020-05-31.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/cloudhsm-2014-05-30.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/cloudhsmv2-2017-04-28.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/cloudsearch-2013-01-01.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/cloudtrail-2013-11-01.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/codebuild-2016-10-06.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/codecommit-2015-04-13.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/codedeploy-2014-10-06.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/codestar-2017-04-19.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/cognito-idp-2016-04-18.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/comprehend-2017-11-27.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/connect-2017-08-08.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/databrew-2017-07-25.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/datasync-2018-11-09.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/detective-2018-10-26.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/devops-guru-2020-12-01.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/discovery-2015-11-01.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/dynamodb-2011-12-05.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/ecr-public-2020-10-30.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/eventbridge-2015-10-07.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/finspace-2021-03-12.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/firehose-2015-08-04.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/forecast-2018-06-26.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/gamelift-2015-10-01.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/guardduty-2017-11-28.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/healthlake-2017-07-01.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/honeycode-2020-03-01.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/iot-data-2015-05-28.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/iotevents-2018-07-27.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/iotfleethub-2020-11-03.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/iotsitewise-2019-12-02.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/iotwireless-2020-11-22.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/lightsail-2016-11-28.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/location-2020-11-19.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/marketplacecommerceanalytics-2015-07-01.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /lua-aws/services/specs/mediastore-2017-09-01.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/memorydb-2021-01-01.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/monitoring-2010-08-01.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/neptune-2014-10-31.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/opensearch-2021-01-01.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/opsworks-2013-02-18.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/opsworkscm-2016-11-01.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/outposts-2019-12-03.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/personalize-2018-05-22.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/pinpoint-2016-12-01.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/quicksight-2018-04-01.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/rds-data-2018-08-01.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/redshift-2012-12-01.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/robomaker-2018-06-29.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/runtime.lex-2016-11-28.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/s3control-2018-08-20.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/s3outposts-2017-07-25.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/sagemaker-2017-07-24.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/sagemaker-featurestore-runtime-2020-07-01.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /lua-aws/services/specs/securityhub-2018-10-26.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/sso-admin-2020-07-20.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/sso-oidc-2019-06-10.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/support-2013-04-15.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/synthetics-2017-10-11.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/textract-2018-06-27.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/transcribe-2017-10-26.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/transfer-2018-11-05.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/translate-2017-07-01.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/voice-id-2021-09-27.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/workdocs-2016-05-01.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/worklink-2018-09-25.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/workmail-2017-10-01.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/workspaces-2015-04-08.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/AWSMigrationHub-2017-05-31.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/accessanalyzer-2019-11-01.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/alexaforbusiness-2017-11-09.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/appintegrations-2020-07-29.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/auditmanager-2017-07-25.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/cloudcontrol-2021-09-30.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/clouddirectory-2016-05-10.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/clouddirectory-2017-01-11.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/cloudformation-2010-05-15.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/codeartifact-2018-09-22.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/codeguruprofiler-2019-07-18.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/codepipeline-2015-07-09.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/cognito-identity-2014-06-30.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/cognito-sync-2014-06-30.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/datapipeline-2012-10-29.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/directconnect-2012-10-25.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/elasticmapreduce-2009-03-31.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/emr-containers-2020-10-01.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/finspace-data-2020-07-13.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/forecastquery-2018-06-26.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/frauddetector-2019-11-15.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/greengrassv2-2020-11-30.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/groundstation-2019-05-23.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/identitystore-2020-06-15.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/imagebuilder-2019-12-02.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/iot-jobs-data-2017-09-29.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/iotanalytics-2017-11-27.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/iotdeviceadvisor-2020-09-18.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/iotevents-data-2018-10-23.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/iotthingsgraph-2018-09-06.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/kafkaconnect-2021-09-14.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/kinesisanalytics-2015-08-14.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/kinesisvideo-2017-09-30.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/lakeformation-2017-03-31.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/license-manager-2018-08-01.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/lookoutequipment-2020-12-15.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/lookoutmetrics-2017-07-25.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/lookoutvision-2020-11-20.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/machinelearning-2014-12-12.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/mediastore-data-2017-09-01.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/models.lex.v2-2020-08-07.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/mturk-requester-2017-01-17.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/network-firewall-2020-11-12.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/networkmanager-2019-07-05.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/pinpoint-email-2018-07-26.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/qldb-session-2019-07-11.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/redshift-data-2019-12-20.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/resource-groups-2017-11-27.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/route53domains-2014-05-15.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/route53resolver-2018-04-01.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/sagemaker-edge-2020-09-23.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/savingsplans-2019-06-28.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/service-quotas-2019-06-24.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/servicecatalog-2015-12-10.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/ssm-incidents-2018-05-10.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/timestream-query-2018-11-01.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/timestream-write-2018-11-01.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/wellarchitected-2020-03-31.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/application-insights-2018-11-25.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/autoscaling-plans-2018-01-06.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/chime-sdk-identity-2021-04-20.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/chime-sdk-messaging-2021-05-15.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/codeguru-reviewer-2019-09-19.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/codestar-connections-2019-12-01.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/comprehendmedical-2018-10-30.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/compute-optimizer-2019-11-01.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/connect-contact-lens-2020-08-21.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/connectparticipant-2018-09-07.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/customer-profiles-2020-08-15.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/elastic-inference-2017-07-25.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/elastictranscoder-2012-09-25.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/globalaccelerator-2018-08-08.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/iot1click-projects-2018-05-14.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/iotsecuretunneling-2018-10-05.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/kinesis-video-media-2017-09-30.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/kinesisanalyticsv2-2018-05-23.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/managedblockchain-2018-09-24.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/marketplace-catalog-2018-09-17.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/meteringmarketplace-2016-01-14.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/migrationhub-config-2019-06-30.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/personalize-events-2018-03-22.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/personalize-runtime-2018-05-22.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/runtime.sagemaker-2017-05-13.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/sagemaker-a2i-runtime-2019-11-07.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/workmailmessageflow-2019-05-01.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/applicationcostprofiler-2020-09-10.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/codestar-notifications-2019-10-15.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/entitlement.marketplace-2017-01-11.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/kinesis-video-signaling-2019-12-04.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/resourcegroupstaggingapi-2017-01-26.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/route53-recovery-cluster-2019-12-02.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/servicecatalog-appregistry-2020-06-24.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/snow-device-management-2021-08-04.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/kinesis-video-archived-media-2017-09-30.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/marketplacecommerceanalytics-2015-07-01.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/specs/sagemaker-featurestore-runtime-2020-07-01.examples.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "examples": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/engines/json/cjson.lua: -------------------------------------------------------------------------------- 1 | local cjson = require 'cjson' 2 | 3 | return { 4 | encode = cjson.encode, 5 | decode = cjson.decode, 6 | null = cjson.null 7 | } 8 | -------------------------------------------------------------------------------- /lua-aws/engines/available.lua: -------------------------------------------------------------------------------- 1 | return { 2 | http = { "luasocket", "curl", "lua-resty-http" }, 3 | fs = { "lfs", "os", "mock" }, 4 | json = { "cjson", "dkjson" }, 5 | } 6 | -------------------------------------------------------------------------------- /lua-aws/services/ec2.lua: -------------------------------------------------------------------------------- 1 | local class = require ('lua-aws.class') 2 | local Service = require ('lua-aws.services.base') 3 | 4 | return class.AWS_EC2.extends(Service) { 5 | 6 | } 7 | -------------------------------------------------------------------------------- /lua-aws/services/ecs.lua: -------------------------------------------------------------------------------- 1 | local class = require ('lua-aws.class') 2 | local Service = require ('lua-aws.services.base') 3 | 4 | return class.AWS_ECS.extends(Service) { 5 | 6 | } 7 | -------------------------------------------------------------------------------- /lua-aws/services/iam.lua: -------------------------------------------------------------------------------- 1 | local class = require ('lua-aws.class') 2 | local Service = require ('lua-aws.services.base') 3 | 4 | return class.AWS_IAM.extends(Service) { 5 | 6 | } 7 | -------------------------------------------------------------------------------- /lua-aws/services/s3.lua: -------------------------------------------------------------------------------- 1 | local class = require ('lua-aws.class') 2 | local Service = require ('lua-aws.services.base') 3 | 4 | return class.AWS_S3.extends(Service) { 5 | 6 | } 7 | -------------------------------------------------------------------------------- /lua-aws/services/sns.lua: -------------------------------------------------------------------------------- 1 | local class = require ('lua-aws.class') 2 | local Service = require ('lua-aws.services.base') 3 | 4 | return class.AWS_SNS.extends(Service) { 5 | 6 | } 7 | -------------------------------------------------------------------------------- /lua-aws/services/sqs.lua: -------------------------------------------------------------------------------- 1 | local class = require ('lua-aws.class') 2 | local Service = require ('lua-aws.services.base') 3 | 4 | return class.AWS_SQS.extends(Service) { 5 | 6 | } 7 | -------------------------------------------------------------------------------- /lua-aws/services/sts.lua: -------------------------------------------------------------------------------- 1 | local class = require ('lua-aws.class') 2 | local Service = require ('lua-aws.services.base') 3 | 4 | return class.AWS_STS.extends(Service) { 5 | 6 | } 7 | -------------------------------------------------------------------------------- /lua-aws/services/swf.lua: -------------------------------------------------------------------------------- 1 | local class = require ('lua-aws.class') 2 | local Service = require ('lua-aws.services.base') 3 | 4 | return class.AWS_SWF.extends(Service) { 5 | 6 | } 7 | -------------------------------------------------------------------------------- /lua-aws/services/athena.lua: -------------------------------------------------------------------------------- 1 | local class = require ('lua-aws.class') 2 | local Service = require ('lua-aws.services.base') 3 | 4 | return class.AWS_Athena.extends(Service) { 5 | 6 | } 7 | -------------------------------------------------------------------------------- /lua-aws/services/lambda.lua: -------------------------------------------------------------------------------- 1 | local class = require ('lua-aws.class') 2 | local Service = require ('lua-aws.services.base') 3 | 4 | return class.AWS_Lambda.extends(Service) { 5 | 6 | } 7 | -------------------------------------------------------------------------------- /lua-aws/engines/fs/os.lua: -------------------------------------------------------------------------------- 1 | local util = require 'lua-aws.util' 2 | 3 | return { 4 | scandir = function (path, prefix, fn) 5 | return util.dir(path..prefix.."*"):each(fn) 6 | end, 7 | } 8 | -------------------------------------------------------------------------------- /lua-aws/services/dynamodb.lua: -------------------------------------------------------------------------------- 1 | local class = require ('lua-aws.class') 2 | local Service = require ('lua-aws.services.base') 3 | 4 | return class.AWS_DynamoDB.extends(Service) { 5 | 6 | } 7 | -------------------------------------------------------------------------------- /lua-aws/services/firehose.lua: -------------------------------------------------------------------------------- 1 | local class = require ('lua-aws.class') 2 | local Service = require ('lua-aws.services.base') 3 | 4 | return class.AWS_Firehose.extends(Service) { 5 | 6 | } 7 | -------------------------------------------------------------------------------- /lua-aws/services/kinesis.lua: -------------------------------------------------------------------------------- 1 | local class = require ('lua-aws.class') 2 | local Service = require ('lua-aws.services.base') 3 | 4 | return class.AWS_Kinesis.extends(Service) { 5 | 6 | } 7 | -------------------------------------------------------------------------------- /lua-aws/services/cloudwatch.lua: -------------------------------------------------------------------------------- 1 | local class = require ('lua-aws.class') 2 | local Service = require ('lua-aws.services.base') 3 | 4 | return class.AWS_CloudWatch.extends(Service) { 5 | 6 | } 7 | -------------------------------------------------------------------------------- /test/tools/lambda/test.js: -------------------------------------------------------------------------------- 1 | const blake2 = require('blake2') 2 | 3 | const text = "lua-aws" 4 | console.log(blake2.createHash('blake2b').update( 5 | Buffer.from(text) 6 | ).digest('hex')) 7 | -------------------------------------------------------------------------------- /lua-aws/services/cloudwatchlog.lua: -------------------------------------------------------------------------------- 1 | local class = require ('lua-aws.class') 2 | local Service = require ('lua-aws.services.base') 3 | 4 | return class.AWS_CloudWatchLog.extends(Service) { 5 | 6 | } 7 | -------------------------------------------------------------------------------- /lua-aws/services/specs/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 | -------------------------------------------------------------------------------- /lua-aws/services/specs/mediastore-2017-09-01.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListContainers": { 4 | "input_token": "NextToken", 5 | "output_token": "NextToken", 6 | "limit_key": "MaxResults" 7 | } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /lua-aws/services/specs/mediastore-data-2017-09-01.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListItems": { 4 | "input_token": "NextToken", 5 | "output_token": "NextToken", 6 | "limit_key": "MaxResults" 7 | } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /lua-aws/services/specs/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 | -------------------------------------------------------------------------------- /lua-aws/services/specs/iotsecuretunneling-2018-10-05.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListTunnels": { 4 | "input_token": "nextToken", 5 | "output_token": "nextToken", 6 | "limit_key": "maxResults" 7 | } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /lua-aws/services/specs/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 | -------------------------------------------------------------------------------- /lua-aws/services/specs/connectparticipant-2018-09-07.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "GetTranscript": { 4 | "input_token": "NextToken", 5 | "output_token": "NextToken", 6 | "limit_key": "MaxResults" 7 | } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /lua-aws/services/specs/iotfleethub-2020-11-03.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListApplications": { 4 | "input_token": "nextToken", 5 | "output_token": "nextToken", 6 | "result_key": "applicationSummaries" 7 | } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /lua-aws/services/specs/migrationhub-config-2019-06-30.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "DescribeHomeRegionControls": { 4 | "input_token": "NextToken", 5 | "output_token": "NextToken", 6 | "limit_key": "MaxResults" 7 | } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /lua-aws/services/specs/mq-2017-11-27.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListBrokers": { 4 | "input_token": "NextToken", 5 | "output_token": "NextToken", 6 | "limit_key": "MaxResults", 7 | "result_key": "BrokerSummaries" 8 | } 9 | } 10 | } -------------------------------------------------------------------------------- /lua-aws/signers/base.lua: -------------------------------------------------------------------------------- 1 | local class = require ('lua-aws.class') 2 | local util = require ('lua-aws.util') 3 | 4 | return class.AWS_BaseSigner { 5 | initialize = function (self) 6 | end, 7 | sign = function (self, req, credentials, date) 8 | assert(false) 9 | end, 10 | } 11 | -------------------------------------------------------------------------------- /lua-aws/engines/fs/lfs.lua: -------------------------------------------------------------------------------- 1 | local lfs = require 'lfs' 2 | 3 | return { 4 | scandir = function (path, prefix, fn) 5 | local pattern = "^"..prefix 6 | for file in lfs.dir(path) do 7 | if file:match(pattern) then 8 | fn(path..file) 9 | end 10 | end 11 | end, 12 | } 13 | -------------------------------------------------------------------------------- /lua-aws/services/specs/connect-contact-lens-2020-08-21.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListRealtimeContactAnalysisSegments": { 4 | "input_token": "NextToken", 5 | "output_token": "NextToken", 6 | "limit_key": "MaxResults" 7 | } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /lua-aws/services/specs/s3outposts-2017-07-25.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListEndpoints": { 4 | "input_token": "NextToken", 5 | "limit_key": "MaxResults", 6 | "output_token": "NextToken", 7 | "result_key": "Endpoints" 8 | } 9 | } 10 | } -------------------------------------------------------------------------------- /lua-aws/services/specs/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 | } -------------------------------------------------------------------------------- /lua-aws/services/specs/amplifybackend-2020-08-11.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListBackendJobs": { 4 | "input_token": "NextToken", 5 | "output_token": "NextToken", 6 | "limit_key": "MaxResults", 7 | "result_key": "Jobs" 8 | } 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /lua-aws/services/specs/mwaa-2020-07-01.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListEnvironments": { 4 | "input_token": "NextToken", 5 | "output_token": "NextToken", 6 | "limit_key": "MaxResults", 7 | "result_key": "Environments" 8 | } 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /lua-aws/services/specs/cognito-identity-2014-06-30.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListIdentityPools": { 4 | "input_token": "NextToken", 5 | "limit_key": "MaxResults", 6 | "output_token": "NextToken", 7 | "result_key": "IdentityPools" 8 | } 9 | } 10 | } -------------------------------------------------------------------------------- /lua-aws/services/specs/iot-data-2015-05-28.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListRetainedMessages": { 4 | "input_token": "nextToken", 5 | "limit_key": "maxResults", 6 | "output_token": "nextToken", 7 | "result_key": "retainedTopics" 8 | } 9 | } 10 | } -------------------------------------------------------------------------------- /lua-aws/services/specs/kinesis-video-archived-media-2017-09-30.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListFragments": { 4 | "input_token": "NextToken", 5 | "limit_key": "MaxResults", 6 | "output_token": "NextToken", 7 | "result_key": "Fragments" 8 | } 9 | } 10 | } -------------------------------------------------------------------------------- /lua-aws/services/specs/elastic-inference-2017-07-25.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "DescribeAccelerators": { 4 | "input_token": "nextToken", 5 | "output_token": "nextToken", 6 | "limit_key": "maxResults", 7 | "result_key": "acceleratorSet" 8 | } 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /lua-aws/services/specs/sagemaker-a2i-runtime-2019-11-07.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListHumanLoops": { 4 | "input_token": "NextToken", 5 | "output_token": "NextToken", 6 | "limit_key": "MaxResults", 7 | "result_key": "HumanLoopSummaries" 8 | } 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /lua-aws/engines/fs/mock.lua: -------------------------------------------------------------------------------- 1 | local util = require ('lua-aws.util') 2 | local context = {} 3 | 4 | return { 5 | mocking = function (files) 6 | context.files = files 7 | end, 8 | scandir = function (path, prefix, fn) 9 | for _, file in ipairs(context.files) do 10 | fn(file) 11 | end 12 | end, 13 | } 14 | -------------------------------------------------------------------------------- /lua-aws/services/specs/applicationcostprofiler-2020-09-10.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListReportDefinitions": { 4 | "input_token": "nextToken", 5 | "output_token": "nextToken", 6 | "limit_key": "maxResults", 7 | "result_key": "reportDefinitions" 8 | } 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /lua-aws/services/specs/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 | -------------------------------------------------------------------------------- /lua-aws/engines/json/dkjson.lua: -------------------------------------------------------------------------------- 1 | local json = require ('lua-aws.deps.dkjson') 2 | 3 | return { 4 | encode = function (data) 5 | return json.encode(setmetatable(data, { __jsontype = "object" })) 6 | end, 7 | decode = function (data) 8 | return json.decode(data, 1, json.null) 9 | end, 10 | null = json.null 11 | } 12 | -------------------------------------------------------------------------------- /test/tools/lambda/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM node:12-slim as dev 2 | RUN apt-get update && apt-get install -y make python gcc g++ && rm -rf /var/lib/apt/lists/* 3 | COPY package*.json ./ 4 | RUN npm i 5 | 6 | FROM amazon/aws-lambda-nodejs:12 as latest 7 | COPY --from=0 ./node_modules . 8 | COPY app.js ./ 9 | CMD [ "app.lambdaHandler" ] 10 | -------------------------------------------------------------------------------- /lua-aws/signer.lua: -------------------------------------------------------------------------------- 1 | local _M = {} 2 | 3 | _M.cloudfront = require('lua-aws.signers.cloudfront') 4 | _M.s3 = require ('lua-aws.signers.s3') 5 | _M.v2 = require ('lua-aws.signers.v2') 6 | _M.v3 = require ('lua-aws.signers.v3') 7 | _M.v3https = require ('lua-aws.signers.v3https') 8 | _M.v4 = require ('lua-aws.signers.v4') 9 | 10 | return _M 11 | -------------------------------------------------------------------------------- /test/tools/lambda/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "lua-aws-lambad-test", 3 | "version": "1.0.0", 4 | "description": "", 5 | "main": "app.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "author": "", 10 | "license": "ISC", 11 | "dependencies": { 12 | "blake2": "^4.0.2" 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /lua-aws/services/specs/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 | -------------------------------------------------------------------------------- /lua-aws/request.lua: -------------------------------------------------------------------------------- 1 | local _M = {} 2 | 3 | _M.query = require ('lua-aws.requests.query') 4 | _M.ec2 = _M.query -- seems to same 5 | _M.json = require ('lua-aws.requests.json') 6 | _M.rest = require ('lua-aws.requests.rest') 7 | _M["rest-json"] = require ('lua-aws.requests.rest_json') 8 | _M["rest-xml"] = require ('lua-aws.requests.rest_xml') 9 | 10 | return _M 11 | 12 | -------------------------------------------------------------------------------- /lua-aws/services/specs/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 | -------------------------------------------------------------------------------- /lua-aws/services/specs/outposts-2019-12-03.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListOutposts": { 4 | "input_token": "NextToken", 5 | "output_token": "NextToken", 6 | "limit_key": "MaxResults" 7 | }, 8 | "ListSites": { 9 | "input_token": "NextToken", 10 | "output_token": "NextToken", 11 | "limit_key": "MaxResults" 12 | } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /lua-aws/services/specs/timestream-query-2018-11-01.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "Query": { 4 | "input_token": "NextToken", 5 | "limit_key": "MaxRows", 6 | "non_aggregate_keys": [ 7 | "ColumnInfo", 8 | "QueryId", 9 | "QueryStatus" 10 | ], 11 | "output_token": "NextToken", 12 | "result_key": "Rows" 13 | } 14 | } 15 | } -------------------------------------------------------------------------------- /lua-aws/services/specs/identitystore-2020-06-15.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListGroups": { 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 | -------------------------------------------------------------------------------- /lua-aws/services/specs/ebs-2019-11-02.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListChangedBlocks": { 4 | "input_token": "NextToken", 5 | "output_token": "NextToken", 6 | "limit_key": "MaxResults" 7 | }, 8 | "ListSnapshotBlocks": { 9 | "input_token": "NextToken", 10 | "output_token": "NextToken", 11 | "limit_key": "MaxResults" 12 | } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /lua-aws/services/specs/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 | -------------------------------------------------------------------------------- /lua-aws/services/specs/timestream-write-2018-11-01.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListDatabases": { 4 | "input_token": "NextToken", 5 | "output_token": "NextToken", 6 | "limit_key": "MaxResults" 7 | }, 8 | "ListTables": { 9 | "input_token": "NextToken", 10 | "output_token": "NextToken", 11 | "limit_key": "MaxResults" 12 | } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /lua-aws/services/specs/cloudcontrol-2021-09-30.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListResourceRequests": { 4 | "input_token": "NextToken", 5 | "output_token": "NextToken", 6 | "limit_key": "MaxResults" 7 | }, 8 | "ListResources": { 9 | "input_token": "NextToken", 10 | "output_token": "NextToken", 11 | "limit_key": "MaxResults" 12 | } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /lua-aws/services/specs/codestar-connections-2019-12-01.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListConnections": { 4 | "input_token": "NextToken", 5 | "output_token": "NextToken", 6 | "limit_key": "MaxResults" 7 | }, 8 | "ListHosts": { 9 | "input_token": "NextToken", 10 | "output_token": "NextToken", 11 | "limit_key": "MaxResults" 12 | } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /lua-aws/services/specs/marketplace-catalog-2018-09-17.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListChangeSets": { 4 | "input_token": "NextToken", 5 | "output_token": "NextToken", 6 | "limit_key": "MaxResults" 7 | }, 8 | "ListEntities": { 9 | "input_token": "NextToken", 10 | "output_token": "NextToken", 11 | "limit_key": "MaxResults" 12 | } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /lua-aws/services/specs/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 | -------------------------------------------------------------------------------- /lua-aws/services/specs/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 | -------------------------------------------------------------------------------- /lua-aws/services/specs/iotdeviceadvisor-2020-09-18.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListSuiteDefinitions": { 4 | "input_token": "nextToken", 5 | "output_token": "nextToken", 6 | "limit_key": "maxResults" 7 | }, 8 | "ListSuiteRuns": { 9 | "input_token": "nextToken", 10 | "output_token": "nextToken", 11 | "limit_key": "maxResults" 12 | } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /lua-aws/services/specs/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 | -------------------------------------------------------------------------------- /lua-aws/services/specs/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 | "DescribeImportTasks": { 9 | "input_token": "nextToken", 10 | "output_token": "nextToken", 11 | "limit_key": "maxResults" 12 | } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /lua-aws/services/specs/email-2010-12-01.waiters.json: -------------------------------------------------------------------------------- 1 | { 2 | "waiters": { 3 | "__default__": { 4 | "interval": 3, 5 | "max_attempts": 20 6 | }, 7 | "IdentityExists": { 8 | "operation": "GetIdentityVerificationAttributes", 9 | "success_type": "output", 10 | "success_path": "VerificationAttributes[].VerificationStatus", 11 | "success_value": true 12 | } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /lua-aws/services/specs/elastictranscoder-2012-09-25.waiters.json: -------------------------------------------------------------------------------- 1 | { 2 | "waiters": { 3 | "JobComplete": { 4 | "operation": "ReadJob", 5 | "success_type": "output", 6 | "success_path": "Job.Status", 7 | "interval": 30, 8 | "max_attempts": 120, 9 | "success_value": "Complete", 10 | "failure_value": [ 11 | "Canceled", 12 | "Error" 13 | ] 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /lua-aws/services/specs/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 | -------------------------------------------------------------------------------- /test/modules/credentials.lua: -------------------------------------------------------------------------------- 1 | local helper = require 'test.helper.util' 2 | local Credentials = require ('lua-aws.credentials') 3 | 4 | local credentials = Credentials.new({ 5 | accessKeyId = os.getenv('AWS_ACCESS_KEY'), 6 | secretAccessKey = os.getenv('AWS_SECRET_KEY'), 7 | }) 8 | 9 | assert(credentials.accessKeyId) 10 | assert(credentials.secretAccessKey) 11 | assert(not credentials:needsRefresh()) 12 | assert(credentials:get()) 13 | -------------------------------------------------------------------------------- /lua-aws/services/specs/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 | -------------------------------------------------------------------------------- /lua-aws/services/specs/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 | -------------------------------------------------------------------------------- /lua-aws/services/specs/resource-groups-2017-11-27.paginators.json: -------------------------------------------------------------------------------- 1 | {"pagination":{"ListGroupResources":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults","result_key":["ResourceIdentifiers","Resources"]},"ListGroups":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults","result_key":"GroupIdentifiers"},"SearchResources":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults","result_key":"ResourceIdentifiers"}}} -------------------------------------------------------------------------------- /lua-aws/services/specs/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 | } -------------------------------------------------------------------------------- /lua-aws/services/specs/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 | } -------------------------------------------------------------------------------- /lua-aws/services/specs/sqs-2012-11-05.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListDeadLetterSourceQueues": { 4 | "input_token": "NextToken", 5 | "limit_key": "MaxResults", 6 | "output_token": "NextToken", 7 | "result_key": "queueUrls" 8 | }, 9 | "ListQueues": { 10 | "input_token": "NextToken", 11 | "limit_key": "MaxResults", 12 | "output_token": "NextToken", 13 | "result_key": "QueueUrls" 14 | } 15 | } 16 | } -------------------------------------------------------------------------------- /lua-aws/services/specs/sso-2019-06-10.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListAccountRoles": { 4 | "input_token": "nextToken", 5 | "output_token": "nextToken", 6 | "limit_key": "maxResults", 7 | "result_key": "roleList" 8 | }, 9 | "ListAccounts": { 10 | "input_token": "nextToken", 11 | "output_token": "nextToken", 12 | "limit_key": "maxResults", 13 | "result_key": "accountList" 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /lua-aws/services/specs/braket-2019-09-01.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "SearchDevices": { 4 | "input_token": "nextToken", 5 | "output_token": "nextToken", 6 | "limit_key": "maxResults", 7 | "result_key": "devices" 8 | }, 9 | "SearchQuantumTasks": { 10 | "input_token": "nextToken", 11 | "output_token": "nextToken", 12 | "limit_key": "maxResults", 13 | "result_key": "quantumTasks" 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /lua-aws/services/specs/iot1click-projects-2018-05-14.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListPlacements": { 4 | "input_token": "nextToken", 5 | "limit_key": "maxResults", 6 | "output_token": "nextToken", 7 | "result_key": "placements" 8 | }, 9 | "ListProjects": { 10 | "input_token": "nextToken", 11 | "limit_key": "maxResults", 12 | "output_token": "nextToken", 13 | "result_key": "projects" 14 | } 15 | } 16 | } -------------------------------------------------------------------------------- /lua-aws/services/specs/kinesisvideo-2017-09-30.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListSignalingChannels": { 4 | "input_token": "NextToken", 5 | "limit_key": "MaxResults", 6 | "output_token": "NextToken", 7 | "result_key": "ChannelInfoList" 8 | }, 9 | "ListStreams": { 10 | "input_token": "NextToken", 11 | "limit_key": "MaxResults", 12 | "output_token": "NextToken", 13 | "result_key": "StreamInfoList" 14 | } 15 | } 16 | } -------------------------------------------------------------------------------- /lua-aws/services/specs/amp-2020-08-01.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListRuleGroupsNamespaces": { 4 | "input_token": "nextToken", 5 | "output_token": "nextToken", 6 | "limit_key": "maxResults", 7 | "result_key": "ruleGroupsNamespaces" 8 | }, 9 | "ListWorkspaces": { 10 | "input_token": "nextToken", 11 | "output_token": "nextToken", 12 | "limit_key": "maxResults", 13 | "result_key": "workspaces" 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /lua-aws/services/specs/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 | -------------------------------------------------------------------------------- /lua-aws/services/specs/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 | } -------------------------------------------------------------------------------- /lua-aws/services/specs/detective-2018-10-26.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListGraphs": { 4 | "input_token": "NextToken", 5 | "output_token": "NextToken", 6 | "limit_key": "MaxResults" 7 | }, 8 | "ListInvitations": { 9 | "input_token": "NextToken", 10 | "output_token": "NextToken", 11 | "limit_key": "MaxResults" 12 | }, 13 | "ListMembers": { 14 | "input_token": "NextToken", 15 | "output_token": "NextToken", 16 | "limit_key": "MaxResults" 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /lua-aws/services/specs/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 | } -------------------------------------------------------------------------------- /lua-aws/services/specs/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 | -------------------------------------------------------------------------------- /lua-aws/services/specs/fis-2020-12-01.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListActions": { 4 | "input_token": "nextToken", 5 | "output_token": "nextToken", 6 | "limit_key": "maxResults" 7 | }, 8 | "ListExperimentTemplates": { 9 | "input_token": "nextToken", 10 | "output_token": "nextToken", 11 | "limit_key": "maxResults" 12 | }, 13 | "ListExperiments": { 14 | "input_token": "nextToken", 15 | "output_token": "nextToken", 16 | "limit_key": "maxResults" 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /lua-aws/services/specs/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 | -------------------------------------------------------------------------------- /lua-aws/services/specs/kendra-2019-02-03.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListDataSourceSyncJobs": { 4 | "input_token": "NextToken", 5 | "output_token": "NextToken", 6 | "limit_key": "MaxResults" 7 | }, 8 | "ListDataSources": { 9 | "input_token": "NextToken", 10 | "output_token": "NextToken", 11 | "limit_key": "MaxResults" 12 | }, 13 | "ListIndices": { 14 | "input_token": "NextToken", 15 | "output_token": "NextToken", 16 | "limit_key": "MaxResults" 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /lua-aws/services/specs/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 | } -------------------------------------------------------------------------------- /lua-aws/services/specs/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 | -------------------------------------------------------------------------------- /lua-aws/services/specs/translate-2017-07-01.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListParallelData": { 4 | "input_token": "NextToken", 5 | "limit_key": "MaxResults", 6 | "output_token": "NextToken" 7 | }, 8 | "ListTerminologies": { 9 | "input_token": "NextToken", 10 | "limit_key": "MaxResults", 11 | "output_token": "NextToken" 12 | }, 13 | "ListTextTranslationJobs": { 14 | "input_token": "NextToken", 15 | "limit_key": "MaxResults", 16 | "output_token": "NextToken" 17 | } 18 | } 19 | } -------------------------------------------------------------------------------- /lua-aws/services/specs/healthlake-2017-07-01.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListFHIRDatastores": { 4 | "input_token": "NextToken", 5 | "output_token": "NextToken", 6 | "limit_key": "MaxResults" 7 | }, 8 | "ListFHIRExportJobs": { 9 | "input_token": "NextToken", 10 | "output_token": "NextToken", 11 | "limit_key": "MaxResults" 12 | }, 13 | "ListFHIRImportJobs": { 14 | "input_token": "NextToken", 15 | "output_token": "NextToken", 16 | "limit_key": "MaxResults" 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /test/athena.lua: -------------------------------------------------------------------------------- 1 | local helper = require 'test.helper.util' 2 | local AWS = require ('lua-aws.init') 3 | 4 | local aws = AWS.new({ 5 | accessKeyId = os.getenv('AWS_ACCESS_KEY'), 6 | secretAccessKey = os.getenv('AWS_SECRET_KEY'), 7 | endpoint = helper.MOCK_HOST(), 8 | }) 9 | 10 | if not helper.MOCK_HOST() then 11 | -- 2018/08/07 iyatomi moto_server does not seem to support 12 | local ok,r = aws.Athena:api():listNamedQueries() 13 | 14 | if not ok then 15 | helper.dump = true 16 | helper.dump_res('athena', r) 17 | assert(false, 'error:' .. r) 18 | end 19 | 20 | end -------------------------------------------------------------------------------- /lua-aws/services/specs/lakeformation-2017-03-31.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "GetEffectivePermissionsForPath": { 4 | "input_token": "NextToken", 5 | "output_token": "NextToken", 6 | "limit_key": "MaxResults" 7 | }, 8 | "ListPermissions": { 9 | "input_token": "NextToken", 10 | "output_token": "NextToken", 11 | "limit_key": "MaxResults" 12 | }, 13 | "ListResources": { 14 | "input_token": "NextToken", 15 | "output_token": "NextToken", 16 | "limit_key": "MaxResults" 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /lua-aws/services/specs/chime-sdk-identity-2021-04-20.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListAppInstanceAdmins": { 4 | "input_token": "NextToken", 5 | "output_token": "NextToken", 6 | "limit_key": "MaxResults" 7 | }, 8 | "ListAppInstanceUsers": { 9 | "input_token": "NextToken", 10 | "output_token": "NextToken", 11 | "limit_key": "MaxResults" 12 | }, 13 | "ListAppInstances": { 14 | "input_token": "NextToken", 15 | "output_token": "NextToken", 16 | "limit_key": "MaxResults" 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /lua-aws/services/specs/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 | } -------------------------------------------------------------------------------- /lua-aws/services/specs/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 | "ListApplicationDependencies" : { 14 | "input_token" : "NextToken", 15 | "output_token" : "NextToken", 16 | "limit_key" : "MaxItems" 17 | } 18 | } 19 | } -------------------------------------------------------------------------------- /test/firehose.lua: -------------------------------------------------------------------------------- 1 | local helper = require 'test.helper.util' 2 | local AWS = require ('lua-aws.init') 3 | 4 | local aws = AWS.new({ 5 | accessKeyId = os.getenv('AWS_ACCESS_KEY'), 6 | secretAccessKey = os.getenv('AWS_SECRET_KEY'), 7 | endpoint = helper.MOCK_HOST(), 8 | }) 9 | 10 | if not helper.MOCK_HOST() then 11 | -- 2018/08/07 iyatomi moto_server does not seem to support 12 | 13 | local ok,r = aws.Firehose:api():listDeliveryStreams() 14 | 15 | if not ok then 16 | helper.dump = true 17 | helper.dump_res('athena', r) 18 | assert(false, 'error:' .. r) 19 | end 20 | end 21 | -------------------------------------------------------------------------------- /lua-aws/services/specs/ce-2017-10-25.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "GetSavingsPlansCoverage": { 4 | "input_token": "NextToken", 5 | "output_token": "NextToken", 6 | "limit_key": "MaxResults" 7 | }, 8 | "GetSavingsPlansUtilizationDetails": { 9 | "input_token": "NextToken", 10 | "output_token": "NextToken", 11 | "limit_key": "MaxResults" 12 | }, 13 | "ListCostCategoryDefinitions": { 14 | "input_token": "NextToken", 15 | "output_token": "NextToken", 16 | "limit_key": "MaxResults" 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /test/sts.lua: -------------------------------------------------------------------------------- 1 | local helper = require 'test.helper.util' 2 | local AWS = require ('lua-aws.init') 3 | local aws = AWS.new({ 4 | accessKeyId = os.getenv('AWS_ACCESS_KEY'), 5 | secretAccessKey = os.getenv('AWS_SECRET_KEY'), 6 | region = 'us-east-1' 7 | }) 8 | 9 | local roleName = "lua-aws-test-default-role" 10 | local roleArn = helper.create_service_role(aws, roleName) 11 | 12 | local ok, r = aws.STS:api():assumeRole({ 13 | RoleArn = roleArn, 14 | RoleSessionName = "LuaAwsSTSTestSession" 15 | }) 16 | 17 | print(ok, r) 18 | 19 | helper.dump = true 20 | helper.dump_res('assumeRole', r) 21 | -------------------------------------------------------------------------------- /test/tools/lambda/app.js: -------------------------------------------------------------------------------- 1 | const blake2 = require('blake2') 2 | 3 | exports.lambdaHandler = async (event) => { 4 | const text = event.text 5 | const hashed = blake2.createHash('blake2b').update( 6 | Buffer.from(text) 7 | ).digest('hex') 8 | const response = { 9 | statusCode: 200, 10 | headers: { 11 | 'Content-Type': 'application/json' 12 | }, 13 | isBase64Encoded: true, 14 | body: { 15 | message: "hello lua aws from container in lambda:" + hashed 16 | } 17 | }; 18 | return response; 19 | }; 20 | -------------------------------------------------------------------------------- /test/dynamodb.lua: -------------------------------------------------------------------------------- 1 | local helper = require 'test.helper.util' 2 | local AWS = require ('lua-aws.init') 3 | helper.iterate_all_engines("dynamodb", function (preferred) 4 | local aws = AWS.new({ 5 | accessKeyId = os.getenv('AWS_ACCESS_KEY'), 6 | secretAccessKey = os.getenv('AWS_SECRET_KEY'), 7 | preferred_engines = preferred, 8 | endpoint = helper.MOCK_HOST(), 9 | }) 10 | 11 | local ok,r 12 | 13 | ok,r = aws.DynamoDB:api():listTables() 14 | 15 | if ok then 16 | helper.dump_res("listTables", r) 17 | else 18 | assert(false, 'error:' .. helper.dump_res("listTables", r)) 19 | end 20 | end) 21 | -------------------------------------------------------------------------------- /lua-aws/services/specs/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 | } -------------------------------------------------------------------------------- /lua-aws/services/specs/glacier-2012-06-01.waiters.json: -------------------------------------------------------------------------------- 1 | { 2 | "waiters": { 3 | "__default__": { 4 | "interval": 3, 5 | "max_attempts": 15 6 | }, 7 | "__VaultState": { 8 | "operation": "DescribeVault" 9 | }, 10 | "VaultExists": { 11 | "extends": "__VaultState", 12 | "ignore_errors": [ 13 | "ResourceNotFoundException" 14 | ], 15 | "success_type": "output" 16 | }, 17 | "VaultNotExists": { 18 | "extends": "__VaultState", 19 | "success_type": "error", 20 | "success_value": "ResourceNotFoundException" 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /lua-aws/services/specs/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 | } -------------------------------------------------------------------------------- /test/tools/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM openresty/openresty:1.19.3.1-2-bionic 2 | 3 | ENV LUAROCKS /usr/local/openresty/luajit/bin/luarocks 4 | 5 | RUN apt-get update && apt-get install -y libssl-dev libcurl4-openssl-dev python3-pip 6 | RUN ln -s /usr/include/x86_64-linux-gnu/curl /usr/include/curl 7 | 8 | RUN $LUAROCKS install luafilesystem && \ 9 | $LUAROCKS install lua-curl && \ 10 | $LUAROCKS install lua-resty-http && \ 11 | $LUAROCKS install luasec && \ 12 | $LUAROCKS install luasocket && \ 13 | $LUAROCKS install lua-cjson && \ 14 | $LUAROCKS install --server=http://luarocks.org/dev ltn12 15 | 16 | RUN pip3 install moto flask 17 | 18 | RUN apt-get install -y zip -------------------------------------------------------------------------------- /lua-aws/services/specs/lookoutvision-2020-11-20.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListDatasetEntries": { 4 | "input_token": "NextToken", 5 | "output_token": "NextToken", 6 | "limit_key": "MaxResults", 7 | "result_key": "DatasetEntries" 8 | }, 9 | "ListModels": { 10 | "input_token": "NextToken", 11 | "output_token": "NextToken", 12 | "limit_key": "MaxResults", 13 | "result_key": "Models" 14 | }, 15 | "ListProjects": { 16 | "input_token": "NextToken", 17 | "output_token": "NextToken", 18 | "limit_key": "MaxResults", 19 | "result_key": "Projects" 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /lua-aws/services/specs/acm-pca-2017-08-22.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListCertificateAuthorities": { 4 | "input_token": "NextToken", 5 | "limit_key": "MaxResults", 6 | "output_token": "NextToken", 7 | "result_key": "CertificateAuthorities" 8 | }, 9 | "ListPermissions": { 10 | "input_token": "NextToken", 11 | "limit_key": "MaxResults", 12 | "output_token": "NextToken", 13 | "result_key": "Permissions" 14 | }, 15 | "ListTags": { 16 | "input_token": "NextToken", 17 | "limit_key": "MaxResults", 18 | "output_token": "NextToken", 19 | "result_key": "Tags" 20 | } 21 | } 22 | } -------------------------------------------------------------------------------- /lua-aws/services/specs/codestar-notifications-2019-10-15.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListEventTypes": { 4 | "input_token": "NextToken", 5 | "limit_key": "MaxResults", 6 | "output_token": "NextToken", 7 | "result_key": "EventTypes" 8 | }, 9 | "ListNotificationRules": { 10 | "input_token": "NextToken", 11 | "limit_key": "MaxResults", 12 | "output_token": "NextToken", 13 | "result_key": "NotificationRules" 14 | }, 15 | "ListTargets": { 16 | "input_token": "NextToken", 17 | "limit_key": "MaxResults", 18 | "output_token": "NextToken", 19 | "result_key": "Targets" 20 | } 21 | } 22 | } -------------------------------------------------------------------------------- /lua-aws/services/specs/emr-containers-2020-10-01.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListJobRuns": { 4 | "input_token": "nextToken", 5 | "output_token": "nextToken", 6 | "limit_key": "maxResults", 7 | "result_key": "jobRuns" 8 | }, 9 | "ListManagedEndpoints": { 10 | "input_token": "nextToken", 11 | "output_token": "nextToken", 12 | "limit_key": "maxResults", 13 | "result_key": "endpoints" 14 | }, 15 | "ListVirtualClusters": { 16 | "input_token": "nextToken", 17 | "output_token": "nextToken", 18 | "limit_key": "maxResults", 19 | "result_key": "virtualClusters" 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /lua-aws/services/specs/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 | "ListHarvestJobs": { 16 | "input_token": "NextToken", 17 | "output_token": "NextToken", 18 | "limit_key": "MaxResults", 19 | "result_key": "HarvestJobs" 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /lua-aws/services/specs/appflow-2020-08-23.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "DescribeConnectorProfiles": { 4 | "input_token": "nextToken", 5 | "output_token": "nextToken", 6 | "limit_key": "maxResults" 7 | }, 8 | "DescribeConnectors": { 9 | "input_token": "nextToken", 10 | "output_token": "nextToken" 11 | }, 12 | "DescribeFlowExecutionRecords": { 13 | "input_token": "nextToken", 14 | "output_token": "nextToken", 15 | "limit_key": "maxResults" 16 | }, 17 | "ListFlows": { 18 | "input_token": "nextToken", 19 | "output_token": "nextToken", 20 | "limit_key": "maxResults" 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /lua-aws/services/specs/kafkaconnect-2021-09-14.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListConnectors": { 4 | "input_token": "nextToken", 5 | "output_token": "nextToken", 6 | "limit_key": "maxResults", 7 | "result_key": "connectors" 8 | }, 9 | "ListCustomPlugins": { 10 | "input_token": "nextToken", 11 | "output_token": "nextToken", 12 | "limit_key": "maxResults", 13 | "result_key": "customPlugins" 14 | }, 15 | "ListWorkerConfigurations": { 16 | "input_token": "nextToken", 17 | "output_token": "nextToken", 18 | "limit_key": "maxResults", 19 | "result_key": "workerConfigurations" 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /lua-aws/services/specs/mediapackage-vod-2018-11-07.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListAssets": { 4 | "input_token": "NextToken", 5 | "limit_key": "MaxResults", 6 | "output_token": "NextToken", 7 | "result_key": "Assets" 8 | }, 9 | "ListPackagingConfigurations": { 10 | "input_token": "NextToken", 11 | "limit_key": "MaxResults", 12 | "output_token": "NextToken", 13 | "result_key": "PackagingConfigurations" 14 | }, 15 | "ListPackagingGroups": { 16 | "input_token": "NextToken", 17 | "limit_key": "MaxResults", 18 | "output_token": "NextToken", 19 | "result_key": "PackagingGroups" 20 | } 21 | } 22 | } -------------------------------------------------------------------------------- /lua-aws/services/specs/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 | } -------------------------------------------------------------------------------- /lua-aws/services/specs/dynamodb-2012-08-10.waiters.json: -------------------------------------------------------------------------------- 1 | { 2 | "waiters": { 3 | "__default__": { 4 | "interval": 20, 5 | "max_attempts": 25 6 | }, 7 | "__TableState": { 8 | "operation": "DescribeTable" 9 | }, 10 | "TableExists": { 11 | "extends": "__TableState", 12 | "ignore_errors": [ 13 | "ResourceNotFoundException" 14 | ], 15 | "success_type": "output", 16 | "success_path": "Table.TableStatus", 17 | "success_value": "ACTIVE" 18 | }, 19 | "TableNotExists": { 20 | "extends": "__TableState", 21 | "success_type": "error", 22 | "success_value": "ResourceNotFoundException" 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /lua-aws/services/specs/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 | } -------------------------------------------------------------------------------- /lua-aws/services/specs/elasticfilesystem-2015-02-01.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "DescribeAccessPoints": { 4 | "input_token": "NextToken", 5 | "output_token": "NextToken", 6 | "limit_key": "MaxResults" 7 | }, 8 | "DescribeFileSystems": { 9 | "input_token": "Marker", 10 | "output_token": "NextMarker", 11 | "limit_key": "MaxItems" 12 | }, 13 | "DescribeTags": { 14 | "input_token": "Marker", 15 | "output_token": "NextMarker", 16 | "limit_key": "MaxItems" 17 | }, 18 | "ListTagsForResource": { 19 | "input_token": "NextToken", 20 | "output_token": "NextToken", 21 | "limit_key": "MaxResults" 22 | } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /lua-aws/services/specs/synthetics-2017-10-11.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "DescribeCanaries": { 4 | "input_token": "NextToken", 5 | "limit_key": "MaxResults", 6 | "output_token": "NextToken" 7 | }, 8 | "DescribeCanariesLastRun": { 9 | "input_token": "NextToken", 10 | "limit_key": "MaxResults", 11 | "output_token": "NextToken" 12 | }, 13 | "DescribeRuntimeVersions": { 14 | "input_token": "NextToken", 15 | "limit_key": "MaxResults", 16 | "output_token": "NextToken" 17 | }, 18 | "GetCanaryRuns": { 19 | "input_token": "NextToken", 20 | "limit_key": "MaxResults", 21 | "output_token": "NextToken" 22 | } 23 | } 24 | } -------------------------------------------------------------------------------- /lua-aws/services/specs/voice-id-2021-09-27.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListDomains": { 4 | "input_token": "NextToken", 5 | "output_token": "NextToken", 6 | "limit_key": "MaxResults" 7 | }, 8 | "ListFraudsterRegistrationJobs": { 9 | "input_token": "NextToken", 10 | "output_token": "NextToken", 11 | "limit_key": "MaxResults" 12 | }, 13 | "ListSpeakerEnrollmentJobs": { 14 | "input_token": "NextToken", 15 | "output_token": "NextToken", 16 | "limit_key": "MaxResults" 17 | }, 18 | "ListSpeakers": { 19 | "input_token": "NextToken", 20 | "output_token": "NextToken", 21 | "limit_key": "MaxResults" 22 | } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /lua-aws/services/specs/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 | -------------------------------------------------------------------------------- /lua-aws/services/specs/qldb-2019-01-02.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListJournalKinesisStreamsForLedger": { 4 | "input_token": "NextToken", 5 | "output_token": "NextToken", 6 | "limit_key": "MaxResults" 7 | }, 8 | "ListJournalS3Exports": { 9 | "input_token": "NextToken", 10 | "output_token": "NextToken", 11 | "limit_key": "MaxResults" 12 | }, 13 | "ListJournalS3ExportsForLedger": { 14 | "input_token": "NextToken", 15 | "output_token": "NextToken", 16 | "limit_key": "MaxResults" 17 | }, 18 | "ListLedgers": { 19 | "input_token": "NextToken", 20 | "output_token": "NextToken", 21 | "limit_key": "MaxResults" 22 | } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /lua-aws/services/specs/support-2013-04-15.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "DescribeCases": { 4 | "input_token": "nextToken", 5 | "limit_key": "maxResults", 6 | "output_token": "nextToken", 7 | "result_key": "cases" 8 | }, 9 | "DescribeCommunications": { 10 | "input_token": "nextToken", 11 | "limit_key": "maxResults", 12 | "output_token": "nextToken", 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 | } -------------------------------------------------------------------------------- /test/tools/lambda/package-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "lua-aws-lambad-test", 3 | "version": "1.0.0", 4 | "lockfileVersion": 1, 5 | "requires": true, 6 | "dependencies": { 7 | "blake2": { 8 | "version": "4.0.2", 9 | "resolved": "https://registry.npmjs.org/blake2/-/blake2-4.0.2.tgz", 10 | "integrity": "sha512-Z7yip562cm1s1pXBYfn64ScLH9HVy6zarw5FCKEVqTBRxyXn736sPmM3nYSCWw1zWt+zEUSwrbEXbElgwDi9aw==", 11 | "requires": { 12 | "nan": "^2.14.2" 13 | } 14 | }, 15 | "nan": { 16 | "version": "2.14.2", 17 | "resolved": "https://registry.npmjs.org/nan/-/nan-2.14.2.tgz", 18 | "integrity": "sha512-M2ufzIiINKCuDfBSAUr1vWQ+vuVcA9kqx8JJUsbQi6yf1uGRyb7HfpdfUr5qLXf3B/t8dPvcjhKMmlfnP47EzQ==" 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /lua-aws/services/specs/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 | } -------------------------------------------------------------------------------- /lua-aws/services/specs/codeguruprofiler-2019-07-18.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "GetFindingsReportAccountSummary": { 4 | "input_token": "nextToken", 5 | "output_token": "nextToken", 6 | "limit_key": "maxResults" 7 | }, 8 | "ListFindingsReports": { 9 | "input_token": "nextToken", 10 | "output_token": "nextToken", 11 | "limit_key": "maxResults" 12 | }, 13 | "ListProfileTimes": { 14 | "input_token": "nextToken", 15 | "output_token": "nextToken", 16 | "limit_key": "maxResults", 17 | "result_key": "profileTimes" 18 | }, 19 | "ListProfilingGroups": { 20 | "input_token": "nextToken", 21 | "output_token": "nextToken", 22 | "limit_key": "maxResults" 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /lua-aws-0.1-1.rockspec: -------------------------------------------------------------------------------- 1 | package = "lua-aws" 2 | version = "0.1-1" 3 | source = { 4 | url = "git://github.com/umegaya/lua-aws.git" 5 | } 6 | description = { 7 | summary = "Pure-lua implementation of AWS REST APIs", 8 | detailed = [[ 9 | It heavily inspired by aws-sdk-js, 10 | which main good point is define all AWS sevices by JS data structure. 11 | and library read these data and building API code on the fly. 12 | still in alpha status. only limited AWS API is supported. 13 | ]], 14 | homepage = "https://github.com/umegaya/lua-aws", 15 | license = " Apache License 2.0" 16 | } 17 | dependencies = { 18 | "lua ~> 5.1" 19 | } 20 | build = { 21 | type = "builtin", 22 | type = "command", 23 | install_command = "cp -r lua-aws /usr/local/share/lua/5.1/lua-aws" 24 | } 25 | -------------------------------------------------------------------------------- /lua-aws/services/specs/datapipeline-2012-10-29.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "DescribeObjects": { 4 | "input_token": "marker", 5 | "more_results": "hasMoreResults", 6 | "output_token": "marker", 7 | "result_key": "pipelineObjects" 8 | }, 9 | "DescribePipelines": { 10 | "result_key": "pipelineDescriptionList" 11 | }, 12 | "ListPipelines": { 13 | "input_token": "marker", 14 | "more_results": "hasMoreResults", 15 | "output_token": "marker", 16 | "result_key": "pipelineIdList" 17 | }, 18 | "QueryObjects": { 19 | "input_token": "marker", 20 | "limit_key": "limit", 21 | "more_results": "hasMoreResults", 22 | "output_token": "marker", 23 | "result_key": "ids" 24 | } 25 | } 26 | } -------------------------------------------------------------------------------- /lua-aws/services/specs/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 | } -------------------------------------------------------------------------------- /lua-aws/services/specs/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 | } -------------------------------------------------------------------------------- /lua-aws/services/specs/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 | } -------------------------------------------------------------------------------- /lua-aws/services/specs/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 | -------------------------------------------------------------------------------- /lua-aws/services/specs/shield-2016-06-02.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListAttacks": { 4 | "input_token": "NextToken", 5 | "limit_key": "MaxResults", 6 | "output_token": "NextToken", 7 | "result_key": "AttackSummaries" 8 | }, 9 | "ListProtectionGroups": { 10 | "input_token": "NextToken", 11 | "limit_key": "MaxResults", 12 | "output_token": "NextToken" 13 | }, 14 | "ListProtections": { 15 | "input_token": "NextToken", 16 | "limit_key": "MaxResults", 17 | "output_token": "NextToken", 18 | "result_key": "Protections" 19 | }, 20 | "ListResourcesInProtectionGroup": { 21 | "input_token": "NextToken", 22 | "limit_key": "MaxResults", 23 | "output_token": "NextToken" 24 | } 25 | } 26 | } -------------------------------------------------------------------------------- /lua-aws/services/specs/codeguru-reviewer-2019-09-19.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListCodeReviews": { 4 | "input_token": "NextToken", 5 | "output_token": "NextToken", 6 | "limit_key": "MaxResults" 7 | }, 8 | "ListRecommendationFeedback": { 9 | "input_token": "NextToken", 10 | "output_token": "NextToken", 11 | "limit_key": "MaxResults" 12 | }, 13 | "ListRecommendations": { 14 | "input_token": "NextToken", 15 | "output_token": "NextToken", 16 | "limit_key": "MaxResults" 17 | }, 18 | "ListRepositoryAssociations": { 19 | "input_token": "NextToken", 20 | "output_token": "NextToken", 21 | "limit_key": "MaxResults", 22 | "result_key": "RepositoryAssociationSummaries" 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /lua-aws/services/specs/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 | -------------------------------------------------------------------------------- /lua-aws/services/specs/s3-2006-03-01.waiters.json: -------------------------------------------------------------------------------- 1 | { 2 | "waiters": { 3 | "__default__": { 4 | "interval": 5, 5 | "max_attempts": 20 6 | }, 7 | "BucketExists": { 8 | "operation": "HeadBucket", 9 | "ignore_errors": [ 10 | 404 11 | ], 12 | "success_type": "output" 13 | }, 14 | "BucketNotExists": { 15 | "operation": "HeadBucket", 16 | "success_type": "error", 17 | "success_value": 404 18 | }, 19 | "ObjectExists": { 20 | "operation": "HeadObject", 21 | "ignore_errors": [ 22 | 404 23 | ], 24 | "success_type": "output" 25 | }, 26 | "ObjectNotExists": { 27 | "operation": "HeadObject", 28 | "success_type": "error", 29 | "success_value": 404 30 | } 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /lua-aws/services/specs/cloudtrail-2013-11-01.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "DescribeTrails": { 4 | "result_key": "trailList" 5 | }, 6 | "ListPublicKeys": { 7 | "input_token": "NextToken", 8 | "output_token": "NextToken", 9 | "result_key": "PublicKeyList" 10 | }, 11 | "ListTags": { 12 | "input_token": "NextToken", 13 | "output_token": "NextToken", 14 | "result_key": "ResourceTagList" 15 | }, 16 | "ListTrails": { 17 | "input_token": "NextToken", 18 | "output_token": "NextToken", 19 | "result_key": "Trails" 20 | }, 21 | "LookupEvents": { 22 | "input_token": "NextToken", 23 | "limit_key": "MaxResults", 24 | "output_token": "NextToken", 25 | "result_key": "Events" 26 | } 27 | } 28 | } -------------------------------------------------------------------------------- /lua-aws/services/specs/honeycode-2020-03-01.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListTableColumns": { 4 | "input_token": "nextToken", 5 | "output_token": "nextToken", 6 | "result_key": "tableColumns" 7 | }, 8 | "ListTableRows": { 9 | "input_token": "nextToken", 10 | "output_token": "nextToken", 11 | "limit_key": "maxResults", 12 | "result_key": "rows" 13 | }, 14 | "ListTables": { 15 | "input_token": "nextToken", 16 | "output_token": "nextToken", 17 | "limit_key": "maxResults", 18 | "result_key": "tables" 19 | }, 20 | "QueryTableRows": { 21 | "input_token": "nextToken", 22 | "output_token": "nextToken", 23 | "limit_key": "maxResults", 24 | "result_key": "rows" 25 | } 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /test/iam_role.lua: -------------------------------------------------------------------------------- 1 | local helper = require 'test.helper.util' 2 | local util = require 'lua-aws.util' 3 | local AWS = require 'lua-aws.init' 4 | local dump_res = helper.dump_res 5 | 6 | local aws = AWS.new({ 7 | accessKeyId = os.getenv('AWS_ACCESS_KEY'), 8 | secretAccessKey = os.getenv('AWS_SECRET_KEY'), 9 | region = 'us-east-1' 10 | }) 11 | 12 | if not helper.MOCK_HOST() then 13 | local roleName = "lua-aws-test-default-role" 14 | local roleArn = helper.create_service_role(aws, roleName) 15 | local roleArnFound = helper.find_service_role(aws, roleName) 16 | assert(roleArn and (roleArn == roleArnFound), "role not created or found") 17 | helper.delete_service_role(aws, roleName) 18 | roleArnFound = helper.find_service_role(aws, roleName) 19 | assert(not roleArnFound, "role should not be found") 20 | end 21 | -------------------------------------------------------------------------------- /test/service/base.lua: -------------------------------------------------------------------------------- 1 | local helper = require 'test.helper.util' 2 | local AWS = require ('lua-aws.init') 3 | local mock = require ('lua-aws.engines.fs.mock') 4 | local EC2 = require ('lua-aws.services.ec2') 5 | 6 | -- test issue #53 (PR #56) 7 | mock.mocking({ 8 | './lua-aws/services/specs/ec2-2016-11-15.min.json', 9 | './lua-aws/services/specs/ec2-2015-04-15.min.json', 10 | }) 11 | 12 | local aws = AWS.new({ 13 | accessKeyId = os.getenv('AWS_ACCESS_KEY'), 14 | secretAccessKey = os.getenv('AWS_SECRET_KEY'), 15 | sslEnabled = not helper.MOCK_HOST(), 16 | endpoint = helper.MOCK_HOST(), 17 | lazyInitialization = true, 18 | preferred_engines = { 19 | fs = "mock", 20 | }, 21 | }) 22 | 23 | local ec2 = EC2.new(aws) 24 | 25 | assert(ec2:api():version() == '2016-11-15', 'version wrong:'..ec2:api():version()) 26 | -------------------------------------------------------------------------------- /lua-aws/services/specs/appmesh-2018-10-01.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListMeshes": { 4 | "input_token": "nextToken", 5 | "limit_key": "limit", 6 | "output_token": "nextToken", 7 | "result_key": "meshes" 8 | }, 9 | "ListRoutes": { 10 | "input_token": "nextToken", 11 | "limit_key": "limit", 12 | "output_token": "nextToken", 13 | "result_key": "routes" 14 | }, 15 | "ListVirtualNodes": { 16 | "input_token": "nextToken", 17 | "limit_key": "limit", 18 | "output_token": "nextToken", 19 | "result_key": "virtualNodes" 20 | }, 21 | "ListVirtualRouters": { 22 | "input_token": "nextToken", 23 | "limit_key": "limit", 24 | "output_token": "nextToken", 25 | "result_key": "virtualRouters" 26 | } 27 | } 28 | } -------------------------------------------------------------------------------- /lua-aws/services/specs/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 | "CompositeAlarmExists": { 18 | "delay": 5, 19 | "maxAttempts": 40, 20 | "operation": "DescribeAlarms", 21 | "acceptors": [ 22 | { 23 | "matcher": "path", 24 | "expected": true, 25 | "argument": "length(CompositeAlarms[]) > `0`", 26 | "state": "success" 27 | } 28 | ] 29 | } 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /lua-aws/services/specs/dynamodb-2011-12-05.waiters.json: -------------------------------------------------------------------------------- 1 | { 2 | "waiters": { 3 | "__default__": { 4 | "interval": 20, 5 | "max_attempts": 25 6 | }, 7 | "__TableState": { 8 | "operation": "DescribeTable" 9 | }, 10 | "TableExists": { 11 | "extends": "__TableState", 12 | "description": "Wait until a table exists and can be accessed", 13 | "ignore_errors": [ 14 | "ResourceNotFoundException" 15 | ], 16 | "success_type": "output", 17 | "success_path": "Table.TableStatus", 18 | "success_value": "ACTIVE" 19 | }, 20 | "TableNotExists": { 21 | "extends": "__TableState", 22 | "description": "Wait until a table is deleted", 23 | "success_type": "error", 24 | "success_value": "ResourceNotFoundException" 25 | } 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /lua-aws/services/specs/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 | -------------------------------------------------------------------------------- /lua-aws/services/specs/machinelearning-2014-12-12.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "DescribeBatchPredictions": { 4 | "input_token": "NextToken", 5 | "limit_key": "Limit", 6 | "output_token": "NextToken", 7 | "result_key": "Results" 8 | }, 9 | "DescribeDataSources": { 10 | "input_token": "NextToken", 11 | "limit_key": "Limit", 12 | "output_token": "NextToken", 13 | "result_key": "Results" 14 | }, 15 | "DescribeEvaluations": { 16 | "input_token": "NextToken", 17 | "limit_key": "Limit", 18 | "output_token": "NextToken", 19 | "result_key": "Results" 20 | }, 21 | "DescribeMLModels": { 22 | "input_token": "NextToken", 23 | "limit_key": "Limit", 24 | "output_token": "NextToken", 25 | "result_key": "Results" 26 | } 27 | } 28 | } -------------------------------------------------------------------------------- /lua-aws/services/specs/opsworkscm-2016-11-01.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "DescribeBackups": { 4 | "input_token": "NextToken", 5 | "limit_key": "MaxResults", 6 | "output_token": "NextToken", 7 | "result_key": "Backups" 8 | }, 9 | "DescribeEvents": { 10 | "input_token": "NextToken", 11 | "limit_key": "MaxResults", 12 | "output_token": "NextToken", 13 | "result_key": "ServerEvents" 14 | }, 15 | "DescribeServers": { 16 | "input_token": "NextToken", 17 | "limit_key": "MaxResults", 18 | "output_token": "NextToken", 19 | "result_key": "Servers" 20 | }, 21 | "ListTagsForResource": { 22 | "input_token": "NextToken", 23 | "limit_key": "MaxResults", 24 | "output_token": "NextToken", 25 | "result_key": "Tags" 26 | } 27 | } 28 | } -------------------------------------------------------------------------------- /lua-aws/services/specs/resourcegroupstaggingapi-2017-01-26.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "GetComplianceSummary": { 4 | "input_token": "PaginationToken", 5 | "limit_key": "MaxResults", 6 | "output_token": "PaginationToken", 7 | "result_key": "SummaryList" 8 | }, 9 | "GetResources": { 10 | "input_token": "PaginationToken", 11 | "limit_key": "ResourcesPerPage", 12 | "output_token": "PaginationToken", 13 | "result_key": "ResourceTagMappingList" 14 | }, 15 | "GetTagKeys": { 16 | "input_token": "PaginationToken", 17 | "output_token": "PaginationToken", 18 | "result_key": "TagKeys" 19 | }, 20 | "GetTagValues": { 21 | "input_token": "PaginationToken", 22 | "output_token": "PaginationToken", 23 | "result_key": "TagValues" 24 | } 25 | } 26 | } -------------------------------------------------------------------------------- /lua-aws/services/specs/datasync-2018-11-09.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListAgents": { 4 | "input_token": "NextToken", 5 | "output_token": "NextToken", 6 | "limit_key": "MaxResults" 7 | }, 8 | "ListLocations": { 9 | "input_token": "NextToken", 10 | "output_token": "NextToken", 11 | "limit_key": "MaxResults" 12 | }, 13 | "ListTagsForResource": { 14 | "input_token": "NextToken", 15 | "output_token": "NextToken", 16 | "limit_key": "MaxResults" 17 | }, 18 | "ListTaskExecutions": { 19 | "input_token": "NextToken", 20 | "output_token": "NextToken", 21 | "limit_key": "MaxResults" 22 | }, 23 | "ListTasks": { 24 | "input_token": "NextToken", 25 | "output_token": "NextToken", 26 | "limit_key": "MaxResults" 27 | } 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /lua-aws/services/specs/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 | } -------------------------------------------------------------------------------- /lua-aws/services/specs/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 | -------------------------------------------------------------------------------- /lua-aws/services/specs/snow-device-management-2021-08-04.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListDeviceResources": { 4 | "input_token": "nextToken", 5 | "output_token": "nextToken", 6 | "limit_key": "maxResults", 7 | "result_key": "resources" 8 | }, 9 | "ListDevices": { 10 | "input_token": "nextToken", 11 | "output_token": "nextToken", 12 | "limit_key": "maxResults", 13 | "result_key": "devices" 14 | }, 15 | "ListExecutions": { 16 | "input_token": "nextToken", 17 | "output_token": "nextToken", 18 | "limit_key": "maxResults", 19 | "result_key": "executions" 20 | }, 21 | "ListTasks": { 22 | "input_token": "nextToken", 23 | "output_token": "nextToken", 24 | "limit_key": "maxResults", 25 | "result_key": "tasks" 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /test/swf.lua: -------------------------------------------------------------------------------- 1 | local helper = require 'test.helper.util' 2 | local AWS = require ('lua-aws.init') 3 | 4 | if helper.MOCK_HOST() then 5 | -- 2017/12/30 current moto_server does not seems to support swf 6 | -- it raises KeyError: 'swf' at this line: 7 | -- backend = list(BACKENDS[service].values())[0] 8 | return 9 | end 10 | 11 | local aws = AWS.new({ 12 | accessKeyId = os.getenv('AWS_ACCESS_KEY'), 13 | secretAccessKey = os.getenv('AWS_SECRET_KEY'), 14 | endpoint = helper.MOCK_HOST(), 15 | }) 16 | 17 | local ok,r = aws.SWF:api():listDomains({ 18 | registrationStatus = "REGISTERED", 19 | }) 20 | 21 | if ok then 22 | --local serpent = require ('serpent') 23 | --print(serpent.dump(res, { compact = false })) 24 | assert(type(r.domainInfos) == 'table') 25 | else 26 | helper.dump = true 27 | helper.dump_res('swf', r) 28 | assert(false, 'error:' .. r) 29 | end 30 | -------------------------------------------------------------------------------- /lua-aws/services/specs/mgn-2020-02-26.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "DescribeJobLogItems": { 4 | "input_token": "nextToken", 5 | "output_token": "nextToken", 6 | "limit_key": "maxResults", 7 | "result_key": "items" 8 | }, 9 | "DescribeJobs": { 10 | "input_token": "nextToken", 11 | "output_token": "nextToken", 12 | "limit_key": "maxResults", 13 | "result_key": "items" 14 | }, 15 | "DescribeReplicationConfigurationTemplates": { 16 | "input_token": "nextToken", 17 | "output_token": "nextToken", 18 | "limit_key": "maxResults", 19 | "result_key": "items" 20 | }, 21 | "DescribeSourceServers": { 22 | "input_token": "nextToken", 23 | "output_token": "nextToken", 24 | "limit_key": "maxResults", 25 | "result_key": "items" 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /lua-aws/services/specs/sms-2016-10-24.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "GetConnectors": { 4 | "input_token": "nextToken", 5 | "limit_key": "maxResults", 6 | "output_token": "nextToken", 7 | "result_key": "connectorList" 8 | }, 9 | "GetReplicationJobs": { 10 | "input_token": "nextToken", 11 | "limit_key": "maxResults", 12 | "output_token": "nextToken", 13 | "result_key": "replicationJobList" 14 | }, 15 | "GetReplicationRuns": { 16 | "input_token": "nextToken", 17 | "limit_key": "maxResults", 18 | "output_token": "nextToken", 19 | "result_key": "replicationRunList" 20 | }, 21 | "GetServers": { 22 | "input_token": "nextToken", 23 | "limit_key": "maxResults", 24 | "output_token": "nextToken", 25 | "result_key": "serverList" 26 | } 27 | } 28 | } -------------------------------------------------------------------------------- /lua-aws/services/specs/ecr-public-2020-10-30.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "DescribeImageTags": { 4 | "input_token": "nextToken", 5 | "limit_key": "maxResults", 6 | "output_token": "nextToken", 7 | "result_key": "imageTagDetails" 8 | }, 9 | "DescribeImages": { 10 | "input_token": "nextToken", 11 | "limit_key": "maxResults", 12 | "output_token": "nextToken", 13 | "result_key": "imageDetails" 14 | }, 15 | "DescribeRegistries": { 16 | "input_token": "nextToken", 17 | "limit_key": "maxResults", 18 | "output_token": "nextToken", 19 | "result_key": "registries" 20 | }, 21 | "DescribeRepositories": { 22 | "input_token": "nextToken", 23 | "limit_key": "maxResults", 24 | "output_token": "nextToken", 25 | "result_key": "repositories" 26 | } 27 | } 28 | } -------------------------------------------------------------------------------- /lua-aws/services/specs/network-firewall-2020-11-12.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListFirewallPolicies": { 4 | "input_token": "NextToken", 5 | "output_token": "NextToken", 6 | "limit_key": "MaxResults", 7 | "result_key": "FirewallPolicies" 8 | }, 9 | "ListFirewalls": { 10 | "input_token": "NextToken", 11 | "output_token": "NextToken", 12 | "limit_key": "MaxResults", 13 | "result_key": "Firewalls" 14 | }, 15 | "ListRuleGroups": { 16 | "input_token": "NextToken", 17 | "output_token": "NextToken", 18 | "limit_key": "MaxResults", 19 | "result_key": "RuleGroups" 20 | }, 21 | "ListTagsForResource": { 22 | "input_token": "NextToken", 23 | "output_token": "NextToken", 24 | "limit_key": "MaxResults", 25 | "result_key": "Tags" 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /lua-aws/services/specs/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 | -------------------------------------------------------------------------------- /lua-aws/services/specs/apprunner-2020-05-15.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "DescribeCustomDomains": { 4 | "input_token": "NextToken", 5 | "output_token": "NextToken", 6 | "limit_key": "MaxResults" 7 | }, 8 | "ListAutoScalingConfigurations": { 9 | "input_token": "NextToken", 10 | "output_token": "NextToken", 11 | "limit_key": "MaxResults" 12 | }, 13 | "ListConnections": { 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 | -------------------------------------------------------------------------------- /lua-aws/services/specs/mediaconnect-2018-11-14.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination" : { 3 | "ListEntitlements" : { 4 | "input_token" : "NextToken", 5 | "output_token" : "NextToken", 6 | "limit_key" : "MaxResults", 7 | "result_key" : "Entitlements" 8 | }, 9 | "ListFlows" : { 10 | "input_token" : "NextToken", 11 | "output_token" : "NextToken", 12 | "limit_key" : "MaxResults", 13 | "result_key" : "Flows" 14 | }, 15 | "ListOfferings" : { 16 | "input_token" : "NextToken", 17 | "output_token" : "NextToken", 18 | "limit_key" : "MaxResults", 19 | "result_key" : "Offerings" 20 | }, 21 | "ListReservations" : { 22 | "input_token" : "NextToken", 23 | "output_token" : "NextToken", 24 | "limit_key" : "MaxResults", 25 | "result_key" : "Reservations" 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /lua-aws/services/specs/iotwireless-2020-11-22.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListDestinations": { 4 | "input_token": "NextToken", 5 | "output_token": "NextToken", 6 | "limit_key": "MaxResults" 7 | }, 8 | "ListDeviceProfiles": { 9 | "input_token": "NextToken", 10 | "output_token": "NextToken", 11 | "limit_key": "MaxResults" 12 | }, 13 | "ListServiceProfiles": { 14 | "input_token": "NextToken", 15 | "output_token": "NextToken", 16 | "limit_key": "MaxResults" 17 | }, 18 | "ListWirelessDevices": { 19 | "input_token": "NextToken", 20 | "output_token": "NextToken", 21 | "limit_key": "MaxResults" 22 | }, 23 | "ListWirelessGateways": { 24 | "input_token": "NextToken", 25 | "output_token": "NextToken", 26 | "limit_key": "MaxResults" 27 | } 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /lua-aws/services/specs/lookoutequipment-2020-12-15.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListDataIngestionJobs": { 4 | "input_token": "NextToken", 5 | "output_token": "NextToken", 6 | "limit_key": "MaxResults" 7 | }, 8 | "ListDatasets": { 9 | "input_token": "NextToken", 10 | "output_token": "NextToken", 11 | "limit_key": "MaxResults" 12 | }, 13 | "ListInferenceExecutions": { 14 | "input_token": "NextToken", 15 | "output_token": "NextToken", 16 | "limit_key": "MaxResults" 17 | }, 18 | "ListInferenceSchedulers": { 19 | "input_token": "NextToken", 20 | "output_token": "NextToken", 21 | "limit_key": "MaxResults" 22 | }, 23 | "ListModels": { 24 | "input_token": "NextToken", 25 | "output_token": "NextToken", 26 | "limit_key": "MaxResults" 27 | } 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /lua-aws/services/specs/worklink-2018-09-25.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListDevices": { 4 | "input_token": "NextToken", 5 | "output_token": "NextToken", 6 | "limit_key": "MaxResults" 7 | }, 8 | "ListDomains": { 9 | "input_token": "NextToken", 10 | "output_token": "NextToken", 11 | "limit_key": "MaxResults" 12 | }, 13 | "ListFleets": { 14 | "input_token": "NextToken", 15 | "output_token": "NextToken", 16 | "limit_key": "MaxResults" 17 | }, 18 | "ListWebsiteAuthorizationProviders": { 19 | "input_token": "NextToken", 20 | "output_token": "NextToken", 21 | "limit_key": "MaxResults" 22 | }, 23 | "ListWebsiteCertificateAuthorities": { 24 | "input_token": "NextToken", 25 | "output_token": "NextToken", 26 | "limit_key": "MaxResults" 27 | } 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /lua-aws/services/specs/batch-2016-08-10.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "DescribeComputeEnvironments": { 4 | "input_token": "nextToken", 5 | "output_token": "nextToken", 6 | "limit_key": "maxResults", 7 | "result_key": "computeEnvironments" 8 | }, 9 | "DescribeJobDefinitions": { 10 | "input_token": "nextToken", 11 | "output_token": "nextToken", 12 | "limit_key": "maxResults", 13 | "result_key": "jobDefinitions" 14 | }, 15 | "DescribeJobQueues": { 16 | "input_token": "nextToken", 17 | "output_token": "nextToken", 18 | "limit_key": "maxResults", 19 | "result_key": "jobQueues" 20 | }, 21 | "ListJobs": { 22 | "input_token": "nextToken", 23 | "output_token": "nextToken", 24 | "limit_key": "maxResults", 25 | "result_key": "jobSummaryList" 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /lua-aws/services/specs/servicecatalog-appregistry-2020-06-24.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListApplications": { 4 | "input_token": "nextToken", 5 | "output_token": "nextToken", 6 | "limit_key": "maxResults", 7 | "result_key": "applications" 8 | }, 9 | "ListAssociatedAttributeGroups": { 10 | "input_token": "nextToken", 11 | "output_token": "nextToken", 12 | "limit_key": "maxResults", 13 | "result_key": "attributeGroups" 14 | }, 15 | "ListAssociatedResources": { 16 | "input_token": "nextToken", 17 | "output_token": "nextToken", 18 | "limit_key": "maxResults", 19 | "result_key": "resources" 20 | }, 21 | "ListAttributeGroups": { 22 | "input_token": "nextToken", 23 | "output_token": "nextToken", 24 | "limit_key": "maxResults", 25 | "result_key": "attributeGroups" 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /lua-aws/services/specs/route53-recovery-control-config-2020-11-02.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination" : { 3 | "ListAssociatedRoute53HealthChecks" : { 4 | "input_token" : "NextToken", 5 | "output_token" : "NextToken", 6 | "limit_key" : "MaxResults" 7 | }, 8 | "ListClusters" : { 9 | "input_token" : "NextToken", 10 | "output_token" : "NextToken", 11 | "limit_key" : "MaxResults" 12 | }, 13 | "ListControlPanels" : { 14 | "input_token" : "NextToken", 15 | "output_token" : "NextToken", 16 | "limit_key" : "MaxResults" 17 | }, 18 | "ListRoutingControls" : { 19 | "input_token" : "NextToken", 20 | "output_token" : "NextToken", 21 | "limit_key" : "MaxResults" 22 | }, 23 | "ListSafetyRules" : { 24 | "input_token" : "NextToken", 25 | "output_token" : "NextToken", 26 | "limit_key" : "MaxResults" 27 | } 28 | } 29 | } -------------------------------------------------------------------------------- /lua-aws/services/specs/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 | "DescribeScheduledActions": { 22 | "input_token": "NextToken", 23 | "limit_key": "MaxResults", 24 | "output_token": "NextToken", 25 | "result_key": "ScheduledActions" 26 | } 27 | } 28 | } -------------------------------------------------------------------------------- /lua-aws/services/specs/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 | -------------------------------------------------------------------------------- /lua-aws/services/specs/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 | -------------------------------------------------------------------------------- /test/modules/api.lua: -------------------------------------------------------------------------------- 1 | local helper = require 'test.helper.util' 2 | local class = require ('lua-aws.class') 3 | local API = require ('lua-aws.api') 4 | local util = require ('lua-aws.util') 5 | 6 | local AWS = require ('lua-aws.init') 7 | local aws = AWS.new({ 8 | accessKeyId = os.getenv('AWS_ACCESS_KEY'), 9 | secretAccessKey = os.getenv('AWS_SECRET_KEY'), 10 | }) 11 | local aws2 = AWS.new({ 12 | accessKeyId = os.getenv('AWS_ACCESS_KEY'), 13 | secretAccessKey = os.getenv('AWS_SECRET_KEY'), 14 | endpoint = 'hoge.amazonaws.com', 15 | }) 16 | 17 | local region = aws.DynamoDB:api():region() 18 | local endpoint_prefix = aws.DynamoDB:api():endpoint_prefix() 19 | 20 | assert(aws.DynamoDB:api():endpoint() == endpoint_prefix..'.'..region..'.amazonaws.com') 21 | assert(aws2.DynamoDB:api():endpoint() == 'hoge.amazonaws.com') 22 | 23 | assert(aws.S3:api():endpoint() == 's3.amazonaws.com') 24 | assert(aws2.S3:api():endpoint() == 'hoge.amazonaws.com') 25 | -------------------------------------------------------------------------------- /test/cloudwatch.lua: -------------------------------------------------------------------------------- 1 | local helper = require 'test.helper.util' 2 | local AWS = require ('lua-aws.init') 3 | 4 | AWS = AWS.new({ 5 | accessKeyId = os.getenv('AWS_ACCESS_KEY'), 6 | secretAccessKey = os.getenv('AWS_SECRET_KEY'), 7 | endpoint = helper.MOCK_HOST(), 8 | }) 9 | 10 | local ok,r 11 | 12 | if not helper.MOCK_HOST() then 13 | -- 2017/12/30 current moto_server does not seems to support cloud watch logs 14 | ok,r = AWS.CloudWatchLog:api():DescribeLogGroups() 15 | if ok then 16 | -- helper.dump_res('cwlog', r) 17 | assert(type(r.logGroups) == 'table') 18 | else 19 | assert(false, 'error:' .. r.code .. "|" ..tostring(r.message)) 20 | end 21 | end 22 | 23 | ok,r = AWS.CloudWatch:api():ListMetrics() 24 | if ok then 25 | -- helper.dump_res('cw', r) 26 | assert(r.value.ListMetricsResponse.xarg.xmlns == "http://monitoring.amazonaws.com/doc/2010-08-01/") 27 | else 28 | assert(false, 'error:' .. r.code .. "|" ..tostring(r.message)) 29 | end 30 | -------------------------------------------------------------------------------- /lua-aws/services/specs/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 | } -------------------------------------------------------------------------------- /lua-aws/services/specs/cloudcontrol-2021-09-30.waiters2.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 2, 3 | "waiters": { 4 | "ResourceRequestSuccess": { 5 | "description": "Wait until resource operation request is successful", 6 | "operation": "GetResourceRequestStatus", 7 | "delay": 5, 8 | "maxAttempts": 720, 9 | "acceptors": [ 10 | { 11 | "state": "success", 12 | "matcher": "path", 13 | "argument": "ProgressEvent.OperationStatus", 14 | "expected": "SUCCESS" 15 | }, 16 | { 17 | "state": "failure", 18 | "matcher": "path", 19 | "argument": "ProgressEvent.OperationStatus", 20 | "expected": "FAILED" 21 | }, 22 | { 23 | "state": "failure", 24 | "matcher": "path", 25 | "argument": "ProgressEvent.OperationStatus", 26 | "expected": "CANCEL_COMPLETE" 27 | } 28 | ] 29 | } 30 | } 31 | } -------------------------------------------------------------------------------- /lua-aws/services/specs/cloudfront-2015-04-17.waiters.json: -------------------------------------------------------------------------------- 1 | { 2 | "waiters": { 3 | "__default__": { 4 | "success_type": "output", 5 | "success_path": "Status" 6 | }, 7 | "StreamingDistributionDeployed": { 8 | "operation": "GetStreamingDistribution", 9 | "description": "Wait until a streaming distribution is deployed.", 10 | "interval": 60, 11 | "max_attempts": 25, 12 | "success_value": "Deployed" 13 | }, 14 | "DistributionDeployed": { 15 | "operation": "GetDistribution", 16 | "description": "Wait until a distribution is deployed.", 17 | "interval": 60, 18 | "max_attempts": 25, 19 | "success_value": "Deployed" 20 | }, 21 | "InvalidationCompleted": { 22 | "operation": "GetInvalidation", 23 | "description": "Wait until an invalidation has completed.", 24 | "interval": 20, 25 | "max_attempts": 30, 26 | "success_value": "Completed" 27 | } 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /lua-aws/services/specs/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 | -------------------------------------------------------------------------------- /lua-aws/services/specs/managedblockchain-2018-09-24.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListInvitations": { 4 | "input_token": "NextToken", 5 | "output_token": "NextToken", 6 | "limit_key": "MaxResults" 7 | }, 8 | "ListMembers": { 9 | "input_token": "NextToken", 10 | "output_token": "NextToken", 11 | "limit_key": "MaxResults" 12 | }, 13 | "ListNetworks": { 14 | "input_token": "NextToken", 15 | "output_token": "NextToken", 16 | "limit_key": "MaxResults" 17 | }, 18 | "ListNodes": { 19 | "input_token": "NextToken", 20 | "output_token": "NextToken", 21 | "limit_key": "MaxResults" 22 | }, 23 | "ListProposalVotes": { 24 | "input_token": "NextToken", 25 | "output_token": "NextToken", 26 | "limit_key": "MaxResults" 27 | }, 28 | "ListProposals": { 29 | "input_token": "NextToken", 30 | "output_token": "NextToken", 31 | "limit_key": "MaxResults" 32 | } 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /lua-aws/services/specs/schemas-2019-12-02.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListDiscoverers": { 4 | "input_token": "NextToken", 5 | "output_token": "NextToken", 6 | "limit_key": "Limit", 7 | "result_key": "Discoverers" 8 | }, 9 | "ListRegistries": { 10 | "input_token": "NextToken", 11 | "output_token": "NextToken", 12 | "limit_key": "Limit", 13 | "result_key": "Registries" 14 | }, 15 | "ListSchemaVersions": { 16 | "input_token": "NextToken", 17 | "output_token": "NextToken", 18 | "limit_key": "Limit", 19 | "result_key": "SchemaVersions" 20 | }, 21 | "ListSchemas": { 22 | "input_token": "NextToken", 23 | "output_token": "NextToken", 24 | "limit_key": "Limit", 25 | "result_key": "Schemas" 26 | }, 27 | "SearchSchemas": { 28 | "input_token": "NextToken", 29 | "output_token": "NextToken", 30 | "limit_key": "Limit", 31 | "result_key": "Schemas" 32 | } 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /lua-aws/services/specs/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 | } -------------------------------------------------------------------------------- /lua-aws/services/specs/schemas-2019-12-02.waiters2.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 2, 3 | "waiters": { 4 | "CodeBindingExists": { 5 | "description": "Wait until code binding is generated", 6 | "delay": 2, 7 | "operation": "DescribeCodeBinding", 8 | "maxAttempts": 30, 9 | "acceptors": [ 10 | { 11 | "expected": "CREATE_COMPLETE", 12 | "matcher": "path", 13 | "state": "success", 14 | "argument": "Status" 15 | }, 16 | { 17 | "expected": "CREATE_IN_PROGRESS", 18 | "matcher": "path", 19 | "state": "retry", 20 | "argument": "Status" 21 | }, 22 | { 23 | "expected": "CREATE_FAILED", 24 | "matcher": "path", 25 | "state": "failure", 26 | "argument": "Status" 27 | }, 28 | { 29 | "matcher": "error", 30 | "expected": "NotFoundException", 31 | "state": "failure" 32 | } 33 | ] 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /lua-aws/services/specs/rds-2013-09-09.waiters.json: -------------------------------------------------------------------------------- 1 | { 2 | "waiters": { 3 | "__default__": { 4 | "interval": 30, 5 | "max_attempts": 60 6 | }, 7 | "__DBInstanceState": { 8 | "operation": "DescribeDBInstances", 9 | "acceptor_path": "DBInstances[].DBInstanceStatus", 10 | "acceptor_type": "output" 11 | }, 12 | "DBInstanceAvailable": { 13 | "extends": "__DBInstanceState", 14 | "success_value": "available", 15 | "failure_value": [ 16 | "deleted", 17 | "deleting", 18 | "failed", 19 | "incompatible-restore", 20 | "incompatible-parameters", 21 | "incompatible-parameters", 22 | "incompatible-restore" 23 | ] 24 | }, 25 | "DBInstanceDeleted": { 26 | "extends": "__DBInstanceState", 27 | "success_value": "deleted", 28 | "failure_value": [ 29 | "creating", 30 | "modifying", 31 | "rebooting", 32 | "resetting-master-credentials" 33 | ] 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /lua-aws/services/specs/rds-2014-10-31.waiters.json: -------------------------------------------------------------------------------- 1 | { 2 | "waiters": { 3 | "__default__": { 4 | "interval": 30, 5 | "max_attempts": 60 6 | }, 7 | "__DBInstanceState": { 8 | "operation": "DescribeDBInstances", 9 | "acceptor_path": "DBInstances[].DBInstanceStatus", 10 | "acceptor_type": "output" 11 | }, 12 | "DBInstanceAvailable": { 13 | "extends": "__DBInstanceState", 14 | "success_value": "available", 15 | "failure_value": [ 16 | "deleted", 17 | "deleting", 18 | "failed", 19 | "incompatible-restore", 20 | "incompatible-parameters", 21 | "incompatible-parameters", 22 | "incompatible-restore" 23 | ] 24 | }, 25 | "DBInstanceDeleted": { 26 | "extends": "__DBInstanceState", 27 | "success_value": "deleted", 28 | "failure_value": [ 29 | "creating", 30 | "modifying", 31 | "rebooting", 32 | "resetting-master-credentials" 33 | ] 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /lua-aws/services/specs/application-insights-2018-11-25.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListApplications": { 4 | "input_token": "NextToken", 5 | "output_token": "NextToken", 6 | "limit_key": "MaxResults" 7 | }, 8 | "ListComponents": { 9 | "input_token": "NextToken", 10 | "output_token": "NextToken", 11 | "limit_key": "MaxResults" 12 | }, 13 | "ListConfigurationHistory": { 14 | "input_token": "NextToken", 15 | "output_token": "NextToken", 16 | "limit_key": "MaxResults" 17 | }, 18 | "ListLogPatternSets": { 19 | "input_token": "NextToken", 20 | "output_token": "NextToken", 21 | "limit_key": "MaxResults" 22 | }, 23 | "ListLogPatterns": { 24 | "input_token": "NextToken", 25 | "output_token": "NextToken", 26 | "limit_key": "MaxResults" 27 | }, 28 | "ListProblems": { 29 | "input_token": "NextToken", 30 | "output_token": "NextToken", 31 | "limit_key": "MaxResults" 32 | } 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /lua-aws/services/specs/dataexchange-2017-07-25.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListDataSetRevisions": { 4 | "input_token": "NextToken", 5 | "output_token": "NextToken", 6 | "limit_key": "MaxResults", 7 | "result_key": "Revisions" 8 | }, 9 | "ListDataSets": { 10 | "input_token": "NextToken", 11 | "output_token": "NextToken", 12 | "limit_key": "MaxResults", 13 | "result_key": "DataSets" 14 | }, 15 | "ListEventActions": { 16 | "input_token": "NextToken", 17 | "output_token": "NextToken", 18 | "limit_key": "MaxResults", 19 | "result_key": "EventActions" 20 | }, 21 | "ListJobs": { 22 | "input_token": "NextToken", 23 | "output_token": "NextToken", 24 | "limit_key": "MaxResults", 25 | "result_key": "Jobs" 26 | }, 27 | "ListRevisionAssets": { 28 | "input_token": "NextToken", 29 | "output_token": "NextToken", 30 | "limit_key": "MaxResults", 31 | "result_key": "Assets" 32 | } 33 | } 34 | } -------------------------------------------------------------------------------- /lua-aws/credentials.lua: -------------------------------------------------------------------------------- 1 | local class = require ('lua-aws.class') 2 | 3 | return class.AWS_Credentials { 4 | initialize = function(self, options) 5 | self.expired = false 6 | self.expireTime = nil 7 | self.accessKeyId = options.accessKeyId 8 | self.secretAccessKey = options.secretAccessKey 9 | self.sessionToken = options.sessionToken 10 | end, 11 | 12 | expiryWindow = 15, 13 | 14 | needsRefresh = function(self) 15 | if not self.expireTime then 16 | return self.expired or (not self.accessKeyId) or (not self.secretAccessKey) 17 | end 18 | 19 | local currentTime = os.time() 20 | local adjustedTime = currentTime + self.expiryWindow 21 | return adjustedTime > self.expireTime 22 | end, 23 | 24 | get = function(self) 25 | if self:needsRefresh() then 26 | local ok, err = self:refresh() 27 | if ok then 28 | self.expired = false 29 | end 30 | return ok, err 31 | else 32 | return true 33 | end 34 | end, 35 | 36 | refresh = function(self) 37 | self.expired = false 38 | return true 39 | end, 40 | } 41 | -------------------------------------------------------------------------------- /lua-aws/services/specs/appconfig-2019-10-09.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListApplications": { 4 | "input_token": "NextToken", 5 | "output_token": "NextToken", 6 | "limit_key": "MaxResults" 7 | }, 8 | "ListConfigurationProfiles": { 9 | "input_token": "NextToken", 10 | "output_token": "NextToken", 11 | "limit_key": "MaxResults" 12 | }, 13 | "ListDeploymentStrategies": { 14 | "input_token": "NextToken", 15 | "output_token": "NextToken", 16 | "limit_key": "MaxResults" 17 | }, 18 | "ListDeployments": { 19 | "input_token": "NextToken", 20 | "output_token": "NextToken", 21 | "limit_key": "MaxResults" 22 | }, 23 | "ListEnvironments": { 24 | "input_token": "NextToken", 25 | "output_token": "NextToken", 26 | "limit_key": "MaxResults" 27 | }, 28 | "ListHostedConfigurationVersions": { 29 | "input_token": "NextToken", 30 | "output_token": "NextToken", 31 | "limit_key": "MaxResults" 32 | } 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /lua-aws/services/specs/pinpoint-email-2018-07-26.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "GetDedicatedIps": { 4 | "input_token": "NextToken", 5 | "output_token": "NextToken", 6 | "limit_key": "PageSize" 7 | }, 8 | "ListConfigurationSets": { 9 | "input_token": "NextToken", 10 | "output_token": "NextToken", 11 | "limit_key": "PageSize" 12 | }, 13 | "ListDedicatedIpPools": { 14 | "input_token": "NextToken", 15 | "output_token": "NextToken", 16 | "limit_key": "PageSize" 17 | }, 18 | "ListDeliverabilityTestReports": { 19 | "input_token": "NextToken", 20 | "output_token": "NextToken", 21 | "limit_key": "PageSize" 22 | }, 23 | "ListDomainDeliverabilityCampaigns": { 24 | "input_token": "NextToken", 25 | "output_token": "NextToken", 26 | "limit_key": "PageSize" 27 | }, 28 | "ListEmailIdentities": { 29 | "input_token": "NextToken", 30 | "output_token": "NextToken", 31 | "limit_key": "PageSize" 32 | } 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /lua-aws/services/specs/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 | -------------------------------------------------------------------------------- /lua-aws/services/specs/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 | } -------------------------------------------------------------------------------- /lua-aws/services/specs/fms-2018-01-01.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListAppsLists": { 4 | "input_token": "NextToken", 5 | "limit_key": "MaxResults", 6 | "output_token": "NextToken", 7 | "result_key": "AppsLists" 8 | }, 9 | "ListComplianceStatus": { 10 | "input_token": "NextToken", 11 | "limit_key": "MaxResults", 12 | "output_token": "NextToken", 13 | "result_key": "PolicyComplianceStatusList" 14 | }, 15 | "ListMemberAccounts": { 16 | "input_token": "NextToken", 17 | "limit_key": "MaxResults", 18 | "output_token": "NextToken", 19 | "result_key": "MemberAccounts" 20 | }, 21 | "ListPolicies": { 22 | "input_token": "NextToken", 23 | "limit_key": "MaxResults", 24 | "output_token": "NextToken", 25 | "result_key": "PolicyList" 26 | }, 27 | "ListProtocolsLists": { 28 | "input_token": "NextToken", 29 | "limit_key": "MaxResults", 30 | "output_token": "NextToken", 31 | "result_key": "ProtocolsLists" 32 | } 33 | } 34 | } -------------------------------------------------------------------------------- /lua-aws/services/specs/s3control-2018-08-20.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListAccessPoints": { 4 | "input_token": "NextToken", 5 | "output_token": "NextToken", 6 | "limit_key": "MaxResults" 7 | }, 8 | "ListAccessPointsForObjectLambda": { 9 | "input_token": "NextToken", 10 | "output_token": "NextToken", 11 | "limit_key": "MaxResults", 12 | "result_key": "ObjectLambdaAccessPointList" 13 | }, 14 | "ListJobs": { 15 | "input_token": "NextToken", 16 | "output_token": "NextToken", 17 | "limit_key": "MaxResults" 18 | }, 19 | "ListMultiRegionAccessPoints": { 20 | "input_token": "NextToken", 21 | "output_token": "NextToken", 22 | "limit_key": "MaxResults" 23 | }, 24 | "ListRegionalBuckets": { 25 | "input_token": "NextToken", 26 | "output_token": "NextToken", 27 | "limit_key": "MaxResults" 28 | }, 29 | "ListStorageLensConfigurations": { 30 | "input_token": "NextToken", 31 | "output_token": "NextToken" 32 | } 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /lua-aws/services/specs/dynamodb-2012-08-10.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "BatchGetItem": { 4 | "input_token": "RequestItems", 5 | "output_token": "UnprocessedKeys" 6 | }, 7 | "ListContributorInsights": { 8 | "input_token": "NextToken", 9 | "limit_key": "MaxResults", 10 | "output_token": "NextToken" 11 | }, 12 | "ListExports": { 13 | "input_token": "NextToken", 14 | "limit_key": "MaxResults", 15 | "output_token": "NextToken" 16 | }, 17 | "ListTables": { 18 | "input_token": "ExclusiveStartTableName", 19 | "limit_key": "Limit", 20 | "output_token": "LastEvaluatedTableName", 21 | "result_key": "TableNames" 22 | }, 23 | "Query": { 24 | "input_token": "ExclusiveStartKey", 25 | "limit_key": "Limit", 26 | "output_token": "LastEvaluatedKey", 27 | "result_key": "Items" 28 | }, 29 | "Scan": { 30 | "input_token": "ExclusiveStartKey", 31 | "limit_key": "Limit", 32 | "output_token": "LastEvaluatedKey", 33 | "result_key": "Items" 34 | } 35 | } 36 | } -------------------------------------------------------------------------------- /lua-aws/services/specs/AWSMigrationHub-2017-05-31.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListApplicationStates": { 4 | "input_token": "NextToken", 5 | "limit_key": "MaxResults", 6 | "output_token": "NextToken", 7 | "result_key": "ApplicationStateList" 8 | }, 9 | "ListCreatedArtifacts": { 10 | "input_token": "NextToken", 11 | "limit_key": "MaxResults", 12 | "output_token": "NextToken", 13 | "result_key": "CreatedArtifactList" 14 | }, 15 | "ListDiscoveredResources": { 16 | "input_token": "NextToken", 17 | "limit_key": "MaxResults", 18 | "output_token": "NextToken", 19 | "result_key": "DiscoveredResourceList" 20 | }, 21 | "ListMigrationTasks": { 22 | "input_token": "NextToken", 23 | "limit_key": "MaxResults", 24 | "output_token": "NextToken", 25 | "result_key": "MigrationTaskSummaryList" 26 | }, 27 | "ListProgressUpdateStreams": { 28 | "input_token": "NextToken", 29 | "limit_key": "MaxResults", 30 | "output_token": "NextToken", 31 | "result_key": "ProgressUpdateStreamSummaryList" 32 | } 33 | } 34 | } -------------------------------------------------------------------------------- /lua-aws/services/specs/transfer-2018-11-05.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListAccesses": { 4 | "input_token": "NextToken", 5 | "output_token": "NextToken", 6 | "limit_key": "MaxResults" 7 | }, 8 | "ListExecutions": { 9 | "input_token": "NextToken", 10 | "output_token": "NextToken", 11 | "limit_key": "MaxResults" 12 | }, 13 | "ListSecurityPolicies": { 14 | "input_token": "NextToken", 15 | "output_token": "NextToken", 16 | "limit_key": "MaxResults" 17 | }, 18 | "ListServers": { 19 | "input_token": "NextToken", 20 | "output_token": "NextToken", 21 | "limit_key": "MaxResults" 22 | }, 23 | "ListTagsForResource": { 24 | "input_token": "NextToken", 25 | "output_token": "NextToken", 26 | "limit_key": "MaxResults" 27 | }, 28 | "ListUsers": { 29 | "input_token": "NextToken", 30 | "output_token": "NextToken", 31 | "limit_key": "MaxResults" 32 | }, 33 | "ListWorkflows": { 34 | "input_token": "NextToken", 35 | "output_token": "NextToken", 36 | "limit_key": "MaxResults" 37 | } 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /lua-aws/services/specs/redshift-2012-12-01.waiters.json: -------------------------------------------------------------------------------- 1 | { 2 | "waiters": { 3 | "__default__": { 4 | "acceptor_type": "output" 5 | }, 6 | "__ClusterState": { 7 | "interval": 60, 8 | "max_attempts": 30, 9 | "operation": "DescribeClusters", 10 | "acceptor_path": "Clusters[].ClusterStatus" 11 | }, 12 | "ClusterAvailable": { 13 | "extends": "__ClusterState", 14 | "ignore_errors": [ 15 | "ClusterNotFound" 16 | ], 17 | "success_value": "available", 18 | "failure_value": [ 19 | "deleting" 20 | ] 21 | }, 22 | "ClusterDeleted": { 23 | "extends": "__ClusterState", 24 | "success_type": "error", 25 | "success_value": "ClusterNotFound", 26 | "failure_value": [ 27 | "creating", 28 | "rebooting" 29 | ] 30 | }, 31 | "SnapshotAvailable": { 32 | "interval": 15, 33 | "max_attempts": 20, 34 | "operation": "DescribeClusterSnapshots", 35 | "acceptor_path": "Snapshots[].Status", 36 | "success_value": "available", 37 | "failure_value": [ 38 | "failed", 39 | "deleted" 40 | ] 41 | } 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /lua-aws/services/specs/redshift-data-2019-12-20.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "DescribeTable": { 4 | "input_token": "NextToken", 5 | "output_token": "NextToken", 6 | "limit_key": "MaxResults", 7 | "result_key": "ColumnList" 8 | }, 9 | "GetStatementResult": { 10 | "input_token": "NextToken", 11 | "output_token": "NextToken", 12 | "result_key": "Records" 13 | }, 14 | "ListDatabases": { 15 | "input_token": "NextToken", 16 | "output_token": "NextToken", 17 | "limit_key": "MaxResults", 18 | "result_key": "Databases" 19 | }, 20 | "ListSchemas": { 21 | "input_token": "NextToken", 22 | "output_token": "NextToken", 23 | "limit_key": "MaxResults", 24 | "result_key": "Schemas" 25 | }, 26 | "ListStatements": { 27 | "input_token": "NextToken", 28 | "output_token": "NextToken", 29 | "limit_key": "MaxResults", 30 | "result_key": "Statements" 31 | }, 32 | "ListTables": { 33 | "input_token": "NextToken", 34 | "output_token": "NextToken", 35 | "limit_key": "MaxResults", 36 | "result_key": "Tables" 37 | } 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- 1 | name: Test 2 | 3 | on: 4 | pull_request: 5 | branches: 6 | - master 7 | 8 | jobs: 9 | resty: 10 | name: Run test with resty 11 | # This job runs on Linux 12 | runs-on: ubuntu-latest 13 | container: umegaya/lua-aws-test 14 | steps: 15 | - uses: actions/checkout@v2 16 | - name: Run Test 17 | env: 18 | AWS_ACCESS_KEY: ${{ secrets.AWS_ACCESS_KEY }} 19 | AWS_SECRET_KEY: ${{ secrets.AWS_SECRET_KEY }} 20 | AWS_DEFAULT_REGION: ${{ secrets.AWS_DEFAULT_REGION }} 21 | EC2_URL: ${{ secrets.EC2_URL }} 22 | run: pwd && make runtest 23 | luajit: 24 | needs: resty 25 | name: Run test with luajit 26 | # This job runs on Linux 27 | runs-on: ubuntu-latest 28 | container: umegaya/lua-aws-test-luajit 29 | steps: 30 | - uses: actions/checkout@v2 31 | - name: Run Test 32 | env: 33 | AWS_ACCESS_KEY: ${{ secrets.AWS_ACCESS_KEY }} 34 | AWS_SECRET_KEY: ${{ secrets.AWS_SECRET_KEY }} 35 | AWS_DEFAULT_REGION: ${{ secrets.AWS_DEFAULT_REGION }} 36 | EC2_URL: ${{ secrets.EC2_URL }} 37 | run: pwd && make runtest 38 | -------------------------------------------------------------------------------- /lua-aws/engines/http/msys-http-client.lua: -------------------------------------------------------------------------------- 1 | -- Copyright (c) 2015, 2016 Message Systems, Inc. All rights reserved 2 | 3 | require('msys.http.client'); 4 | local util = require 'lua-aws.util' 5 | 6 | return function (req) 7 | local h = msys.http.client.new(); 8 | util.fill_header(req) 9 | for k, v in pairs(req.headers) do 10 | h:set_header(k .. ": " .. v) 11 | end 12 | if req.method == 'GET' then 13 | elseif req.method == 'POST' then 14 | else 15 | assert(false, "not supported:" .. req.method) 16 | end 17 | -- XXX Make this support parsing req.protocol 18 | local uri = "https://" .. req.host .. ":" .. req.port .. req.path 19 | -- XXX: Unable to transparently hand off work to a threadpool here, 20 | -- so we use a sync request and require the caller of lua-aws 21 | -- to use msys.runInPool(). 22 | -- See https://github.com/MessageSystems/lua-aws/issues/6 23 | local success, errstr, errcode = h:request(req.method, uri, req.body); 24 | 25 | local status = h:get_status(); 26 | return { 27 | status = tonumber(status), 28 | body = success and h:get_body() or nil, 29 | headers = success and h:get_headers() or nil, 30 | } 31 | end 32 | 33 | -- vim:ts=2:sw=2:et: 34 | -------------------------------------------------------------------------------- /lua-aws/services/specs/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 | "ListQueryLoggingConfigs": { 18 | "input_token": "NextToken", 19 | "limit_key": "MaxResults", 20 | "output_token": "NextToken", 21 | "result_key": "QueryLoggingConfigs" 22 | }, 23 | "ListResourceRecordSets": { 24 | "input_token": [ 25 | "StartRecordName", 26 | "StartRecordType", 27 | "StartRecordIdentifier" 28 | ], 29 | "limit_key": "MaxItems", 30 | "more_results": "IsTruncated", 31 | "output_token": [ 32 | "NextRecordName", 33 | "NextRecordType", 34 | "NextRecordIdentifier" 35 | ], 36 | "result_key": "ResourceRecordSets" 37 | } 38 | } 39 | } -------------------------------------------------------------------------------- /lua-aws/services/specs/fsx-2018-03-01.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "DescribeBackups": { 4 | "input_token": "NextToken", 5 | "output_token": "NextToken", 6 | "limit_key": "MaxResults" 7 | }, 8 | "DescribeDataRepositoryTasks": { 9 | "input_token": "NextToken", 10 | "output_token": "NextToken", 11 | "limit_key": "MaxResults" 12 | }, 13 | "DescribeFileSystemAliases": { 14 | "input_token": "NextToken", 15 | "output_token": "NextToken", 16 | "limit_key": "MaxResults" 17 | }, 18 | "DescribeFileSystems": { 19 | "input_token": "NextToken", 20 | "output_token": "NextToken", 21 | "limit_key": "MaxResults" 22 | }, 23 | "DescribeStorageVirtualMachines": { 24 | "input_token": "NextToken", 25 | "output_token": "NextToken", 26 | "limit_key": "MaxResults" 27 | }, 28 | "DescribeVolumes": { 29 | "input_token": "NextToken", 30 | "output_token": "NextToken", 31 | "limit_key": "MaxResults" 32 | }, 33 | "ListTagsForResource": { 34 | "input_token": "NextToken", 35 | "output_token": "NextToken", 36 | "limit_key": "MaxResults" 37 | } 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /lua-aws/services/specs/lookoutmetrics-2017-07-25.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "DescribeAnomalyDetectionExecutions": { 4 | "input_token": "NextToken", 5 | "output_token": "NextToken", 6 | "limit_key": "MaxResults" 7 | }, 8 | "GetFeedback": { 9 | "input_token": "NextToken", 10 | "output_token": "NextToken", 11 | "limit_key": "MaxResults" 12 | }, 13 | "ListAlerts": { 14 | "input_token": "NextToken", 15 | "output_token": "NextToken", 16 | "limit_key": "MaxResults" 17 | }, 18 | "ListAnomalyDetectors": { 19 | "input_token": "NextToken", 20 | "output_token": "NextToken", 21 | "limit_key": "MaxResults" 22 | }, 23 | "ListAnomalyGroupSummaries": { 24 | "input_token": "NextToken", 25 | "output_token": "NextToken", 26 | "limit_key": "MaxResults" 27 | }, 28 | "ListAnomalyGroupTimeSeries": { 29 | "input_token": "NextToken", 30 | "output_token": "NextToken", 31 | "limit_key": "MaxResults" 32 | }, 33 | "ListMetricSets": { 34 | "input_token": "NextToken", 35 | "output_token": "NextToken", 36 | "limit_key": "MaxResults" 37 | } 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /lua-aws/services/specs/ivs-2020-07-14.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 | "ListPlaybackKeyPairs": { 10 | "input_token": "nextToken", 11 | "output_token": "nextToken", 12 | "limit_key": "maxResults", 13 | "result_key": "keyPairs" 14 | }, 15 | "ListRecordingConfigurations": { 16 | "input_token": "nextToken", 17 | "output_token": "nextToken", 18 | "limit_key": "maxResults", 19 | "result_key": "recordingConfigurations" 20 | }, 21 | "ListStreamKeys": { 22 | "input_token": "nextToken", 23 | "output_token": "nextToken", 24 | "limit_key": "maxResults", 25 | "result_key": "streamKeys" 26 | }, 27 | "ListStreams": { 28 | "input_token": "nextToken", 29 | "output_token": "nextToken", 30 | "limit_key": "maxResults", 31 | "result_key": "streams" 32 | }, 33 | "ListTagsForResource": { 34 | "input_token": "nextToken", 35 | "output_token": "nextToken", 36 | "limit_key": "maxResults" 37 | } 38 | } 39 | } 40 | --------------------------------------------------------------------------------